/* ===== ULVANO — palette & type taken from the logo ===== */
:root {
  --wine: #6B0A17;        /* logo background */
  --wine-deep: #480610;   /* shadows / dark sections */
  --wine-soft: #8C2332;   /* hover / accents */
  --ivory: #FBF7F2;       /* logo lettering */
  --blush: #F3E8E6;       /* light section tint */
  --ink: #221416;
  --muted: #7A6468;
  --line: rgba(251,247,242,.55);

  --wordmark: 'Bodoni Moda', 'Didot', 'Playfair Display', serif;  /* ULVANO wordmark (Latin) */
  --serif: 'Playfair Display', 'Didot', Georgia, serif;           /* headings, AZ/RU/EN */
  --sans: 'Inter', system-ui, sans-serif;

  /* tone-on-tone interlocking monogram pattern, like the logo background */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='3'%3E%3Cellipse cx='30' cy='44' rx='22' ry='16'/%3E%3Cellipse cx='58' cy='44' rx='22' ry='16'/%3E%3Cellipse cx='44' cy='0' rx='16' ry='22'/%3E%3Cellipse cx='44' cy='88' rx='16' ry='22'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; color: var(--ink); background: var(--ivory); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; color: var(--wine); }
h2.light { color: var(--ivory); }
.eyebrow { font-size: .74rem; letter-spacing: .35em; text-transform: uppercase; color: var(--ivory); opacity: .85; margin-bottom: 1rem; }
.eyebrow.dark { color: var(--wine-soft); opacity: 1; }
.muted { color: var(--muted); margin-bottom: 2rem; }

/* ===== NAV ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center;
  padding: 18px 40px;
  background: linear-gradient(to bottom, rgba(72,6,16,.75), transparent);
  color: var(--ivory);
}
.nav nav { margin-left: auto; }
.logo { display: inline-flex; align-items: center; gap: 14px; font-family: var(--wordmark); font-size: 1.55rem; letter-spacing: .32em; font-weight: 400; }
.logo.small { font-size: 1.05rem; gap: 10px; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); transition: transform .5s ease; }
.logo:hover .logo-img { transform: scale(1.07); }
.logo.small .logo-img { width: 32px; height: 32px; }
.nav nav a { margin-left: 32px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; position: relative; transition: opacity .3s; }
.nav nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--ivory); transition: width .35s; }
.nav nav a:hover { opacity: 1; }
.nav nav a:hover::after { width: 100%; }

/* language switch */
.lang { display: flex; flex: none; margin-left: 36px; border: 1px solid var(--line); }
.logo { min-width: 0; white-space: nowrap; }
.nav .logo span { overflow: hidden; text-overflow: clip; }
.lang button {
  background: none; border: none; color: var(--ivory); cursor: pointer;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .15em;
  padding: 7px 11px; opacity: .75; transition: background .3s, color .3s, opacity .3s;
}
.lang button + button { border-left: 1px solid var(--line); }
.lang button:hover { opacity: 1; }
.lang button.active { background: var(--ivory); color: var(--wine); opacity: 1; }

/* ===== SPLASH — logo on its own wine background ===== */
.splash {
  position: fixed; inset: 0; z-index: 200;
  background: var(--wine) var(--pattern);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .9s ease, visibility .9s;
}
.splash img { width: min(340px, 72vw); aspect-ratio: 1; object-fit: cover; animation: logoIn 1.2s ease both; }
.splash p { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ivory); animation: fadeup 1.2s .35s ease both; }
.splash.hide { opacity: 0; visibility: hidden; }
@keyframes logoIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* ===== HERO ===== */
.hero { position: relative; height: 100vh; min-height: 600px; display: grid; place-items: center; overflow: hidden; background: var(--wine-deep); }
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img, .hero-media video { animation: slowzoom 22s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(72,6,16,.85) 5%, rgba(107,10,23,.45) 55%, rgba(0,0,0,.2) 100%); }
.hero-content { position: relative; text-align: center; color: var(--ivory); padding: 0 24px; animation: fadeup 1.4s ease both; }
.hero-logo {
  width: clamp(120px, 15vw, 170px); aspect-ratio: 1; margin: 0 auto 30px;
  padding: 6px; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(40,0,8,.55);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero h1 { font-family: var(--wordmark); font-weight: 400; font-size: clamp(3rem, 8.5vw, 6.6rem); letter-spacing: .14em; text-transform: uppercase; }
.hero h1 span { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: .6em; display: block; margin-top: .2em; }
.line { width: 80px; height: 1px; background: var(--ivory); opacity: .6; margin: 26px auto; }
.slogan { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.5vw, 1.8rem); margin-bottom: 40px; }
@keyframes fadeup { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 38px; border: 1px solid var(--ivory);
  font-size: .76rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ivory); transition: background .35s, color .35s, border-color .35s;
}
.btn:hover { background: var(--ivory); color: var(--wine); }
.btn.dark { color: var(--wine); border-color: var(--wine); }
.btn.dark:hover { background: var(--wine); color: var(--ivory); }

/* ===== ABOUT ===== */
.about { padding: 130px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.about p + p { margin-top: 1.2rem; }
.about .two-col > div:last-child { font-size: 1.05rem; color: #4a3a3c; border-left: 2px solid var(--wine); padding-left: 40px; }

/* ===== COLLECTION ===== */
.collection { padding: 110px 0; background: var(--blush); }
/* filter switch: All / Photos / Videos */
.filter-wrap { display: flex; justify-content: center; margin-top: 6px; }
.filter {
  position: relative; display: inline-flex; padding: 4px;
  border: 1px solid var(--wine); border-radius: 40px; background: var(--ivory);
  box-shadow: 0 6px 20px rgba(107,10,23,.08);
}
.filter[hidden] { display: none; }
.filter-glider {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0;
  border-radius: 40px; background: var(--wine);
  box-shadow: 0 4px 14px rgba(107,10,23,.35);
  transition: transform .45s cubic-bezier(.22,.8,.24,1), width .45s cubic-bezier(.22,.8,.24,1);
}
.filter button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border: none; background: none; cursor: pointer; border-radius: 40px;
  font-family: var(--sans); font-size: .74rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: var(--wine); transition: color .35s; -webkit-tap-highlight-color: transparent;
}
.filter button svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.filter button.active { color: var(--ivory); }
.filter button:not(.active):hover { color: var(--wine-soft); }

/* one page = 5 items: a tall feature + four; fixed height so the page never jumps */
.gallery {
  margin-top: 50px;
  display: grid; grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, 300px); gap: 18px;
  transition: opacity .38s ease, transform .38s ease;
}
.gallery.out-next { opacity: 0; transform: translate(-30px, -10px); }
.gallery.out-prev { opacity: 0; transform: translate(30px, -10px); }
.tile-in { animation: tileIn .7s cubic-bezier(.22,.8,.24,1) both; }
@keyframes tileIn {
  from { opacity: 0; transform: translate(26px, 22px) rotate(1.5deg) scale(.95); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* pager */
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.pager[hidden] { display: none; }
.pg-btn {
  width: 46px; height: 46px; border-radius: 50%; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--wine);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .2s; -webkit-tap-highlight-color: transparent;
}
.pg-btn svg { width: 22px; height: 22px; fill: var(--wine); transition: fill .3s; }
.pg-btn:hover { background: var(--wine); transform: scale(1.06); }
.pg-btn:hover svg { fill: var(--ivory); }
.pg-dots { display: flex; align-items: center; gap: 10px; }
.pg-dot {
  position: relative; width: 10px; height: 10px; padding: 0; border-radius: 10px; cursor: pointer;
  background: rgba(107,10,23,.22); border: none; overflow: hidden;
  transition: width .45s cubic-bezier(.22,.8,.24,1), background .3s;
}
.pg-dot.active { width: 44px; background: rgba(107,10,23,.22); }
.pg-dot span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--wine); border-radius: inherit; }
.pg-dot.active span { width: 100%; }
/* while auto-play runs, the active dot fills up like a timer */
.pager.running .pg-dot.active span { animation: pgTimer 5s linear forwards; }
@keyframes pgTimer { from { width: 0; } to { width: 100%; } }
.tile { position: relative; overflow: hidden; cursor: pointer; background: #e3d2cf; }
.tile.tall { grid-row: span 2; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover img, .tile:hover video { transform: scale(1.06); }
.tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(107,10,23,.45), transparent 50%); opacity: 0; transition: opacity .5s; z-index: 1; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,0); transition: border-color .5s; pointer-events: none; z-index: 2; }
.tile:hover::after { border-color: rgba(255,255,255,.75); }
.badge { position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: var(--ivory); font-size: .75rem; }
.loading { grid-column: 1 / -1; grid-row: 1 / -1; align-self: center; text-align: center; color: var(--muted); padding: 60px 0; }

/* ===== PROMISE — wine with the monogram pattern ===== */
.promise { padding: 120px 0; background: var(--wine) var(--pattern); color: var(--ivory); }
.promise .eyebrow { color: var(--ivory); }
.cards { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(251,247,242,.22); }
.card { background: rgba(72,6,16,.88); padding: 44px 30px; transition: background .4s; }
.card:hover { background: rgba(72,6,16,.6); }
.num { font-family: var(--wordmark); font-size: 2.3rem; opacity: .7; }
.card h3 { font-size: 1.45rem; margin: 14px 0 12px; }
.card p { font-size: .92rem; color: #e8d6d8; }

/* ===== CONTACT ===== */
.contact { padding: 120px 0; }
.contact-logo { width: 110px; height: 110px; object-fit: cover; margin-bottom: 26px; box-shadow: 0 0 0 1px var(--wine), 0 0 0 8px var(--ivory), 0 0 0 9px rgba(107,10,23,.3); }

/* ===== FOOTER ===== */
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 26px 40px; background: var(--wine-deep); color: #e2cfd1; font-size: .8rem; }
.footer .logo { color: var(--ivory); }
.footer > span:nth-child(2) { font-family: var(--serif); font-style: italic; font-size: 1rem; }

/* ===== LIGHTBOX — always covers the whole screen ===== */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body.lb-open { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  width: 100%; height: 100%;
  background: #2a050b var(--pattern);
  display: none; align-items: center; justify-content: center;
  padding: 0; overflow: hidden;
}
.lightbox.open { display: flex; animation: lbIn .35s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lb-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 16px 24px; box-sizing: border-box; }
.lb-inner > * { margin: auto; flex: 0 1 auto; min-width: 0; }
.lb-inner > img {
  display: block; max-width: 100%; max-height: 100%; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.close {
  position: absolute; z-index: 5; top: 14px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(107,10,23,.7); border: 1px solid var(--line);
  color: var(--ivory); font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .3s, color .3s, transform .3s;
}
.close:hover { background: var(--ivory); color: var(--wine); transform: rotate(90deg); }

/* ===== LIGHTBOX NAVIGATION ===== */
.lb-nav {
  position: absolute; z-index: 6; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; padding: 0;
  background: rgba(107,10,23,.8); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 26px rgba(0,0,0,.4);
  transition: background .3s, transform .25s;
  -webkit-tap-highlight-color: transparent;
}
.lb-nav svg { width: 26px; height: 26px; fill: var(--ivory); transition: fill .3s; }
.lb-nav:hover { background: var(--ivory); transform: translateY(-50%) scale(1.07); }
.lb-nav:hover svg { fill: var(--wine); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lightbox.single .lb-nav, .lightbox.single .lb-count { display: none; }

.lb-count {
  position: absolute; z-index: 6; top: 22px; left: 22px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px;
  background: rgba(72,6,16,.7); color: var(--ivory);
  font-size: .78rem; letter-spacing: .14em; font-variant-numeric: tabular-nums;
}

/* diagonal fly-out / sweep-in when browsing */
.lb-inner { position: relative; perspective: 1400px; }
.lb-item { position: relative; z-index: 2; will-change: transform, opacity; }
.lb-item.leaving { position: absolute; z-index: 1; pointer-events: none; }
.enter-next { animation: enterNext .6s cubic-bezier(.22,.8,.24,1) both; }
.enter-prev { animation: enterPrev .6s cubic-bezier(.22,.8,.24,1) both; }
.leave-next { animation: leaveNext .55s cubic-bezier(.55,0,.75,.4) forwards; }
.leave-prev { animation: leavePrev .55s cubic-bezier(.55,0,.75,.4) forwards; }
@keyframes enterNext {
  from { opacity: 0; transform: translate(28%, 10%) rotate(5deg) scale(.86); filter: blur(6px); }
  60%  { filter: blur(0); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes enterPrev {
  from { opacity: 0; transform: translate(-28%, 10%) rotate(-5deg) scale(.86); filter: blur(6px); }
  60%  { filter: blur(0); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes leaveNext { to { opacity: 0; transform: translate(-45%, -14%) rotate(-8deg) scale(.82); filter: blur(4px); } }
@keyframes leavePrev { to { opacity: 0; transform: translate(45%, -14%) rotate(8deg) scale(.82); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) {
  .enter-next, .enter-prev, .leave-next, .leave-prev { animation-duration: .01s; }
}

@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; background: rgba(107,10,23,.65); }
  .lb-nav svg { width: 22px; height: 22px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-count { top: 18px; left: 14px; font-size: .72rem; padding: 6px 12px; }
}

/* ===== CUSTOM VIDEO PLAYER — fills the lightbox, bar spans full width ===== */
.lb-inner:has(.player) { padding: 0; }
.player {
  position: relative; width: 100%; height: 100%;
  background: #000; overflow: hidden;
}
.player video {
  display: block; width: 100%; height: 100%;
  max-width: none; max-height: none; object-fit: contain; cursor: pointer;
}
.player.idle, .player.idle video { cursor: none; }

.player button {
  -webkit-appearance: none; appearance: none; margin: 0; padding: 0;
  font: inherit; line-height: 0; color: inherit; -webkit-tap-highlight-color: transparent;
}
.player svg { display: block; }

/* big centre button */
.big-play {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  width: 92px; height: 92px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--wine); border: 2px solid var(--ivory);
  box-shadow: 0 0 0 12px rgba(251,247,242,.12), 0 18px 50px rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: opacity .35s, transform .35s, background .3s;
}
.big-play svg { width: 38px; height: 38px; fill: var(--ivory); margin-left: 5px; }
.big-play:hover { background: var(--wine-soft); transform: translate(-50%, -50%) scale(1.07); }
.player:not(.paused) .big-play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.85); }

/* bottom bar */
.controls {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  padding: 60px 28px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(42,5,11,.96) 0%, rgba(72,6,16,.75) 45%, rgba(72,6,16,0) 100%);
  transition: opacity .4s, transform .4s;
}
.player.idle .controls { opacity: 0; transform: translateY(14px); pointer-events: none; }

/* progress track */
.track { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.track-bg { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(251,247,242,.22); overflow: hidden; transition: height .2s; }
.track-buf { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(251,247,242,.28); }
.track-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ivory); }
.knob {
  position: absolute; left: 0; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--wine); border: 2px solid var(--ivory);
  box-shadow: 0 0 0 5px rgba(251,247,242,.18), 0 2px 8px rgba(0,0,0,.4);
  transition: transform .2s;
}
.track:hover .track-bg, .player.dragging .track-bg { height: 6px; }
.track:hover .knob, .player.dragging .knob { transform: translate(-50%, -50%) scale(1.25); }

/* buttons row */
.ctl-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.spacer { flex: 1; }
.ctl {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(107,10,23,.75); border: 1px solid rgba(251,247,242,.6);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .3s, transform .2s;
}
.ctl svg { width: 20px; height: 20px; fill: var(--ivory); transition: fill .3s; }
.ctl:hover { background: var(--ivory); transform: scale(1.06); }
.ctl:hover svg { fill: var(--wine); }
/* main play/pause — solid ivory so it always stands out */
.ctl-main { width: 52px; height: 52px; background: var(--ivory); border-color: var(--ivory); }
.ctl-main svg { width: 24px; height: 24px; fill: var(--wine); }
.ctl-main:hover { background: var(--wine-soft); }
.ctl-main:hover svg { fill: var(--ivory); }

.time { display: flex; gap: 6px; font-size: .82rem; letter-spacing: .05em; color: var(--ivory); font-variant-numeric: tabular-nums; }
.time i { font-style: normal; opacity: .5; }

.player:fullscreen { width: 100vw; height: 100vh; }

@media (max-width: 640px) {
  .lb-inner { padding: 66px 10px 16px; }
  .big-play { width: 76px; height: 76px; }
  .big-play svg { width: 30px; height: 30px; margin-left: 4px; }
  .controls { padding: 50px 16px calc(14px + env(safe-area-inset-bottom)); }
  .ctl-row { gap: 10px; margin-top: 6px; }
  .ctl { width: 40px; height: 40px; }
  .ctl-main { width: 48px; height: 48px; }
  .time { font-size: .74rem; }
}

/* ===== GLOBAL MOBILE SAFETY ===== */
html { -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; }
section[id] { scroll-margin-top: 72px; }
.hero { height: 100vh; height: 100svh; }

/* nav turns solid wine once you scroll, so it stays readable over light sections */
.nav { transition: background .4s, padding .4s, box-shadow .4s; }
.nav.scrolled { background: rgba(72,6,16,.97); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.18); }

/* burger button (hidden on desktop) */
.burger {
  display: none; flex: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; margin-left: 12px; padding: 0 10px;
  background: none; border: 1px solid var(--line); cursor: pointer;
}
.burger span { display: block; height: 1px; background: var(--ivory); transition: transform .3s, opacity .3s; }
.nav.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== TABLET ===== */
@media (max-width: 960px) {
  .burger { display: flex; }
  .lang { margin-left: auto; }
  .nav.menu-open { background: var(--wine-deep); }
  .nav nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    display: flex; flex-direction: column;
    background: var(--wine-deep) var(--pattern);
    padding: 0 24px; max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: max-height .4s ease, opacity .3s, padding .4s, visibility .4s;
  }
  .nav.menu-open nav { max-height: 360px; opacity: 1; visibility: visible; padding: 6px 24px 18px; box-shadow: 0 16px 30px rgba(0,0,0,.25); }
  .nav nav a { margin: 0; padding: 15px 0; font-size: .82rem; border-bottom: 1px solid rgba(251,247,242,.12); }
  .nav nav a::after { display: none; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .about .two-col > div:last-child { padding-left: 24px; }
  .gallery { grid-template-rows: repeat(2, 250px); gap: 12px; }
}

/* ===== PHONE ===== */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav { padding: 12px 16px; }
  .nav.scrolled { padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 1.05rem; letter-spacing: .25em; gap: 10px; }
  .logo-img { width: 34px; height: 34px; }
  .lang button { padding: 6px 8px; font-size: .68rem; }
  .burger { width: 36px; height: 36px; padding: 0 9px; }

  .hero { min-height: 540px; }
  .hero-logo { width: 92px; margin-bottom: 20px; padding: 4px; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); letter-spacing: .1em; }
  .eyebrow { font-size: .66rem; letter-spacing: .25em; }
  .line { margin: 18px auto; }
  .slogan { font-size: 1.2rem; margin-bottom: 28px; }
  .btn { padding: 13px 26px; font-size: .7rem; letter-spacing: .2em; }

  h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .about, .collection, .promise, .contact { padding: 72px 0; }
  .about .two-col > div:last-child { font-size: .98rem; padding-left: 18px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 185px); gap: 8px; margin-top: 32px; }
  .pager { gap: 12px; margin-top: 24px; }
  .filter button { padding: 9px 13px; gap: 6px; font-size: .66rem; letter-spacing: .12em; }
  .filter button svg { width: 14px; height: 14px; }
  .pg-btn { width: 40px; height: 40px; }
  .tile::after { inset: 8px; }
  .badge { width: 28px; height: 28px; top: 8px; right: 8px; font-size: .65rem; }

  .cards { grid-template-columns: 1fr; margin-top: 32px; }
  .card { padding: 30px 22px; }
  .num { font-size: 1.9rem; }
  .card h3 { font-size: 1.3rem; }

  .contact-logo { width: 88px; height: 88px; }
  .footer { flex-direction: column; justify-content: center; text-align: center; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); }
  .splash p { font-size: 1.1rem; }
}

/* very small phones */
@media (max-width: 380px) {
  .gallery { grid-template-rows: repeat(3, 160px); }
  .filter button { padding: 9px 10px; letter-spacing: .08em; }
  .logo { letter-spacing: .18em; }
  .lang button { padding: 6px 6px; }
}

/* phones held sideways */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { height: auto; min-height: 0; padding: 90px 0 50px; }
  .hero-logo { width: 70px; margin-bottom: 14px; }
  .hero h1 { font-size: 2.4rem; }
  .splash img { width: min(200px, 40vh); }
}
.filter-wrap + .gallery { margin-top: 36px; }
