/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
:root {
  --bg: #0e0c09;
  --bg2: #141209;
  --cream: #f8f3eb;
  --cream2: #e8e0d0;
  --gold: #c9a96e;
  --gold2: #a07840;
  --text: #f8f3eb;
  --text-muted: rgba(248, 243, 235, .55);
  --text-dim: rgba(248, 243, 235, .35);
  --border: rgba(201, 169, 110, .18);
  --border2: rgba(248, 243, 235, .08);
  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body: 'Jost', sans-serif;
}
 
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--ff-body); font-weight: 300; line-height: 1.7; overflow-x: hidden; cursor: none; }
 
/* ═══ CURSOR ═══ */
.c-dot, .c-ring { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; transition: transform .1s; }
.c-dot { width: 6px; height: 6px; background: var(--gold); transform: translate(-50%, -50%); }
.c-ring { width: 32px; height: 32px; border: 1px solid rgba(201, 169, 110, .5); transform: translate(-50%, -50%); transition: width .3s, height .3s, opacity .3s; }
body:hover .c-ring { opacity: 1; }
 
/* ═══ NAV ═══ */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 3rem; transition: background .4s, padding .4s, backdrop-filter .4s; }
#nav.scrolled { background: rgba(14, 12, 9, .85); backdrop-filter: blur(12px); padding: 1rem 3rem; border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 400; color: var(--cream); text-decoration: none; letter-spacing: .02em; }
.nav-logo sub { font-size: .6em; color: var(--gold); vertical-align: baseline; margin-left: .3em; font-family: var(--ff-body); font-weight: 300; letter-spacing: .15em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; transition: color .3s; }
.nav-links a:hover { color: var(--cream); }
.nav-res { background: var(--gold) !important; color: var(--bg) !important; padding: .5rem 1.4rem; letter-spacing: .12em; transition: background .3s !important; }
.nav-res:hover { background: var(--gold2) !important; }
 
/* ═══ HERO ═══ */
#hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-parallax { position: absolute; inset: -10%; z-index: 0; }
.hero-parallax img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.38) saturate(.7); }
.hero-grain { position: absolute; inset: 0; z-index: 1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E"); background-size: 200px; opacity: .5; pointer-events: none; }
.hero-vignette { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at center, transparent 30%, rgba(14, 12, 9, .8) 100%); }
.hero-content { position: relative; z-index: 3; padding: 0 3rem; max-width: 860px; }
.hero-label { display: flex; align-items: center; gap: .8rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.8rem; }
.hero-label-line { width: 36px; height: 1px; background: var(--gold); }
.hero-h1 { font-family: var(--ff-display); font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 300; line-height: 1.08; margin-bottom: 1.4rem; }
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1rem; color: var(--text-muted); max-width: 480px; margin-bottom: 2.4rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.btn-solid { background: var(--gold); color: var(--bg); padding: .8rem 2rem; font-family: var(--ff-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .3s; }
.btn-solid:hover { background: var(--gold2); }
.btn-line { border: 1px solid rgba(248, 243, 235, .3); color: var(--cream); padding: .8rem 2rem; font-family: var(--ff-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: border-color .3s, color .3s; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll { position: absolute; bottom: 2.5rem; right: 3rem; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-scroll-bar { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: scrollbar 1.8s ease-in-out infinite; }
@keyframes scrollbar {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-scroll-text { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); writing-mode: vertical-rl; }
 
/* ═══ INTRO BAND ═══ */
.intro-band { display: flex; align-items: center; justify-content: center; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.4rem 3rem; }
.ib-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; flex: 1; text-align: center; }
.ib-num { font-family: var(--ff-display); font-size: 2.8rem; font-weight: 300; color: var(--gold); line-height: 1; }
.ib-label { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); }
.intro-band-sep { width: 1px; height: 56px; background: var(--border); flex-shrink: 0; margin: 0 2rem; }
 
/* ═══ STORIA ═══ */
#storia { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 8rem 3rem; max-width: 1200px; margin: 0 auto; }
.pill { display: flex; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.pill-line { width: 24px; height: 1px; background: var(--gold); }
.storia-text h2 { font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; margin-bottom: 1.6rem; }
.storia-text h2 em { font-style: italic; color: var(--gold); }
.storia-text p { color: var(--text-muted); margin-bottom: 1.2rem; font-size: .95rem; }
.storia-visual { position: relative; }
.storia-frame { position: relative; }
.storia-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.storia-frame-border { position: absolute; top: 1.2rem; left: 1.2rem; right: -1.2rem; bottom: -1.2rem; border: 1px solid var(--border); pointer-events: none; z-index: -1; }
.storia-badge { position: absolute; bottom: -2rem; left: -2rem; background: var(--gold); color: var(--bg); padding: 1.4rem 1.8rem; text-align: center; }
.storia-badge-num { font-family: var(--ff-display); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.storia-badge-txt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .3rem; }
 
/* ═══ PHILOSOPHY ═══ */
.philosophy { padding: 7rem 3rem; text-align: center; border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); background: var(--bg2); }
.philosophy-quote { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 300; font-style: italic; color: var(--cream); max-width: 800px; margin: 0 auto 1.2rem; line-height: 1.5; list-style: none; }
.philosophy-attr { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
 
/* ═══ MENU ═══ */
#menu { padding: 8rem 3rem; max-width: 900px; margin: 0 auto; }
.menu-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 3rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.menu-header h2 { font-family: var(--ff-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; }
.menu-header h2 em { font-style: italic; color: var(--gold); }
.menu-season { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim); }
.course-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.cn-btn { background: none; border: 1px solid var(--border); color: var(--text-muted); padding: .55rem 1.3rem; font-family: var(--ff-body); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.cn-btn:hover, .cn-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.course-panel { display: none; }
.course-panel.active { display: block; }
.dishes { display: flex; flex-direction: column; }
 
/* DISH ROW */
.dish { display: grid; grid-template-columns: 1fr auto 80px; align-items: start; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border2); transition: background .2s; }
.dish:hover { background: rgba(201, 169, 110, .04); margin: 0 -1.5rem; padding: 1.4rem 1.5rem; }
.dish-name { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 400; color: var(--cream); margin-bottom: .3rem; }
.dish-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .5rem; }
.dish-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.dish-tag { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--border); color: var(--text-dim); padding: .15rem .5rem; }
.dish-right { text-align: right; flex-shrink: 0; }
.dish-price { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 300; color: var(--gold); white-space: nowrap; }
.dish-allergens { font-size: .68rem; color: var(--text-dim); margin-top: .3rem; letter-spacing: .05em; }
.dish-img-peek { width: 80px; height: 80px; overflow: hidden; flex-shrink: 0; }
.dish-img-peek img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(.8); transition: filter .3s; }
.dish:hover .dish-img-peek img { filter: brightness(.95) saturate(1); }
.wine-note { display: flex; gap: 1rem; align-items: flex-start; background: rgba(201, 169, 110, .06); border-left: 2px solid var(--gold); padding: 1.2rem 1.4rem; margin-top: 2rem; font-size: .82rem; color: var(--text-muted); }
.wine-note-icon { font-size: 1.2rem; flex-shrink: 0; }
 
/* ═══ GALLERY ═══ */
#gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 3px; }
#gallery .gal-item:first-child { grid-row: 1 / 3; }
.gal-item { position: relative; overflow: hidden; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: brightness(.75) saturate(.8); }
.gal-item:hover img { transform: scale(1.05); filter: brightness(.6) saturate(.9); }
.gal-item-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.4rem; }
.gal-caption { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--cream); opacity: 0; transform: translateY(8px); transition: all .3s; }
.gal-item:hover .gal-caption { opacity: 1; transform: translateY(0); }
 
/* ═══ INFO ═══ */
#info { padding: 8rem 3rem; max-width: 1200px; margin: 0 auto; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
#info h2 { font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; margin-bottom: 2.5rem; }
#info h2 em { font-style: italic; color: var(--gold); }
.info-blocks { display: flex; flex-direction: column; gap: 1.8rem; }
.info-block-label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.info-block-val { font-size: .92rem; color: var(--text-muted); line-height: 1.7; }
.info-block-val em { color: var(--text-dim); font-style: normal; }
.info-block-val a { color: var(--gold); text-decoration: none; }
.social-links { display: flex; gap: 1rem; margin-top: .8rem; flex-wrap: wrap; }
.social-links a { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border); padding: .4rem 1rem; transition: all .25s; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
 
/* MAP AREA */
.map-area { display: flex; flex-direction: column; gap: 1.5rem; }
.map-box { border: 1px solid var(--border); overflow: hidden; aspect-ratio: 4/3; position: relative; background: var(--bg2); }
.map-inner { position: relative; width: 100%; height: 100%; }
.map-block1, .map-block2, .map-block3, .map-block4 { position: absolute; background: rgba(201, 169, 110, .06); border: 1px solid var(--border); }
.map-block1 { top: 10%; left: 5%; width: 35%; height: 40%; }
.map-block2 { top: 5%; right: 8%; width: 28%; height: 55%; }
.map-block3 { bottom: 12%; left: 15%; width: 50%; height: 30%; }
.map-block4 { bottom: 5%; right: 5%; width: 25%; height: 35%; }
.map-road-h { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.map-road-v { position: absolute; left: 40%; top: 0; bottom: 0; width: 1px; background: var(--border); }
.map-pin-wrap { position: absolute; top: 44%; left: 36%; transform: translate(-50%, -50%); }
.map-pin-dot { width: 12px; height: 12px; background: var(--gold); border-radius: 50%; margin: 0 auto; box-shadow: 0 0 0 4px rgba(201, 169, 110, .25); }
.map-pin-label { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; margin-top: .4rem; text-align: center; }
.map-caption { font-size: .75rem; color: var(--text-dim); }
.map-caption a { color: var(--gold); text-decoration: none; }
.res-callout { display: flex; justify-content: space-between; align-items: center; background: var(--gold); color: var(--bg); padding: 1.4rem 1.8rem; }
.res-callout-title { font-size: .95rem; font-weight: 500; }
.res-callout-sub { font-size: .75rem; margin-top: .2rem; opacity: .7; }
.res-callout-tel { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 300; white-space: nowrap; }
 
/* ═══ FOOTER ═══ */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 3rem 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.ft-logo { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 400; color: var(--cream); margin-bottom: .4rem; }
.ft-logo sub { font-size: .55em; color: var(--gold); vertical-align: baseline; margin-left: .3em; font-family: var(--ff-body); font-weight: 300; letter-spacing: .15em; text-transform: uppercase; }
.ft-tagline { font-size: .8rem; font-style: italic; color: var(--text-dim); margin-top: .3rem; }
.ft-col-title { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.ft-links { display: flex; flex-direction: column; gap: .55rem; }
.ft-links a { font-size: .82rem; color: var(--text-muted); text-decoration: none; transition: color .25s; }
.ft-links a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid var(--border2); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom span { font-size: .72rem; color: var(--text-dim); letter-spacing: .05em; }
 
/* ═══ SCROLL REVEAL ═══ */
.sr, .sr-l, .sr-r { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.sr-l { transform: translateX(-28px); }
.sr-r { transform: translateX(28px); }
.sr.visible, .sr-l.visible, .sr-r.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }
 
/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  #storia { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .storia-visual { order: -1; }
  .info-grid { grid-template-columns: 1fr; gap: 3rem; }
  #gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  #gallery .gal-item:first-child { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  #nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero-content { padding: 0 1.5rem; }
  .intro-band { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; }
  .intro-band-sep { width: 80px; height: 1px; margin: 0; }
  #menu { padding: 5rem 1.5rem; }
  #gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  #gallery .gal-item { height: 220px; }
  #info { padding: 5rem 1.5rem; }
  footer { padding: 3rem 1.5rem 1.5rem; }
  .res-callout { flex-direction: column; gap: 1rem; text-align: center; }
  .dish { grid-template-columns: 1fr auto; }
  .dish-img-peek { display: none; }
}