/* =========================================================
   Hosszú Asztal – demóoldal saját stílusa (Kódműves referencia)
   ========================================================= */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-italic.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff") format("woff"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --oak: #1A1512;
  --oak-2: #241B15;
  --oak-3: #120E0C;
  --cream: #F3EBDD;
  --cream-2: #E9DDC9;
  --paper: #FFFDF8;
  --gold: #C9A35C;
  --gold-2: #E2C485;
  --wine: #7A2E2A;
  --wine-2: #5C2622;
  --ink: #2A211A;
  --muted-d: #B8AC9A;
  --muted-l: #5A4C3E;
  --line-d: rgba(243, 235, 221, .14);
  --line-l: rgba(42, 33, 26, .18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oak); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--oak); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.serif { font-family: var(--serif); }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.light .eyebrow { color: var(--wine); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 70px); line-height: 1; letter-spacing: -.01em; }
.h2 em { font-style: italic; color: var(--gold); }
.light .h2 em { color: var(--wine); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.light { background: var(--cream); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- gombok ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1px solid transparent; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--oak); }
.btn-gold::before { background: var(--gold-2); }
.btn-line { border-color: rgba(243, 235, 221, .5); color: var(--cream); }
.btn-line::before { background: var(--cream); }
.btn-line:hover { color: var(--oak); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark::before { background: var(--wine); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--wine); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- függöny-betöltő ---------- */
.curtain { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--oak-3); transition: transform 1s var(--ease) .15s; }
.curtain-mark { font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); font-weight: 500; letter-spacing: .02em; opacity: 0; animation: mark .9s var(--ease) .1s forwards; }
.curtain-mark span { display: block; height: 1px; margin: 14px auto 0; background: var(--gold); width: 0; animation: line .8s var(--ease) .5s forwards; }
.is-loaded .curtain { transform: translateY(-100%); }
@keyframes mark { to { opacity: 1; } }
@keyframes line { to { width: 60%; } }

/* ---------- fejléc ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(18, 14, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-d); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo b { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: .01em; }
.logo small { font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.menu { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.menu a:not(.btn) { position: relative; text-decoration: none; padding: 6px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.menu a:not(.btn):hover::after, .menu a.active::after { transform: scaleX(1); transform-origin: left; }
.menu .btn { min-height: 44px; padding: 0 22px; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line-d); border-radius: 50%; background: transparent; cursor: pointer; position: relative; z-index: 60; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--oak-2); }
.hero-bg { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,14,12,.94) 0%, rgba(18,14,12,.72) 42%, rgba(18,14,12,.12) 100%), linear-gradient(0deg, rgba(18,14,12,.9) 0%, transparent 30%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 48px; padding-top: 140px; padding-bottom: clamp(36px, 6vw, 72px); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 8.2vw, 124px); line-height: .94; letter-spacing: -.015em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-loaded .hero h1 .ln > span { transform: none; }
.is-loaded .hero h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.hero-rule { width: 0; height: 1px; background: var(--gold); margin: 34px 0; transition: width 1.2s var(--ease) .6s; }
.is-loaded .hero-rule { width: 96px; }
.hero-lead { margin: 0; max-width: 31em; font-size: clamp(17px, 1.5vw, 20px); color: #DCD0BE; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .fade-up { opacity: 1; transform: none; }
.is-loaded .d1 { transition-delay: .55s; } .is-loaded .d2 { transition-delay: .7s; } .is-loaded .d3 { transition-delay: .85s; } .is-loaded .d4 { transition-delay: 1s; }

.polaroid { justify-self: end; width: min(100%, 340px); margin: 0 0 20px; background: var(--cream); padding: 14px 14px 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); transform: perspective(900px) rotate(3deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.polaroid img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.polaroid figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.2; color: #3A2E25; }
.polaroid figcaption small { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin-bottom: 4px; }

.hours { position: relative; z-index: 2; border-top: 1px solid var(--line-d); }
.hours-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 48px; padding-top: 20px; padding-bottom: 20px; font-size: 15px; }
.hours dl { display: contents; }
.hours div { display: flex; gap: 12px; }
.hours dt { color: var(--gold); }
.hours dd { margin: 0; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--line-d); border-radius: 999px; font-size: 13px; font-weight: 600; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #8C8073; }
.status.open i { background: #9BC27A; box-shadow: 0 0 0 0 rgba(155, 194, 122, .6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(155, 194, 122, 0); } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 96px; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 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; } }

/* ---------- futószalag ---------- */
.marquee { overflow: hidden; background: var(--gold); color: var(--oak); border-block: 1px solid rgba(0, 0, 0, .1); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 34px; padding: 18px 17px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); white-space: nowrap; }
.marquee span::after { content: ""; width: 8px; height: 8px; background: var(--wine); transform: rotate(45deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- az asztal ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.story-img { position: relative; }
.story-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-img::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--wine); z-index: -1; }
.story-badge { position: absolute; left: -28px; bottom: 40px; width: 132px; height: 132px; border-radius: 50%; background: var(--wine); color: var(--cream); display: grid; place-items: center; text-align: center; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.1; box-shadow: 0 20px 40px rgba(42, 33, 26, .3); animation: spin 26s linear infinite; }
.story-badge span { animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.story p { color: var(--muted-l); font-size: 18px; }
.story .lead-quote { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.3; color: var(--ink); font-style: italic; margin: 30px 0 22px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(64px, 8vw, 110px); }
.pillar { border-top: 1px solid var(--ink); padding-top: 26px; }
.pillar svg { width: 30px; height: 30px; color: var(--wine); }
.pillar h3 { margin: 16px 0 8px; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.pillar p { margin: 0; color: var(--muted-l); }
.pillar .no { float: right; font-family: var(--serif); font-style: italic; color: var(--wine); font-size: 20px; }

/* ---------- étlap ---------- */
.menu-sec { background: var(--oak); }
.menu-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(201, 163, 92, .12), transparent 70%); pointer-events: none; }
.menu-head { text-align: center; max-width: 720px; margin: 0 auto; }
.menu-head p:last-child { color: var(--muted-d); margin: 20px auto 0; max-width: 34em; }
.tabs { position: relative; display: flex; justify-content: center; gap: 6px; margin: 48px auto 44px; padding: 6px; width: max-content; max-width: 100%; border: 1px solid var(--line-d); border-radius: 999px; }
.tab { position: relative; z-index: 1; min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; color: var(--cream); font-weight: 600; font-size: 15px; cursor: pointer; transition: color .4s var(--ease); }
.tab[aria-selected="true"] { color: var(--oak); }
.tab-ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 999px; background: var(--gold); transition: transform .5s var(--ease), width .5s var(--ease); }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; max-width: 1040px; margin-inline: auto; }
.dish { padding: 24px 0; border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(14px); animation: dishIn .7s var(--ease) forwards; }
.dish:nth-child(2) { animation-delay: .06s; } .dish:nth-child(3) { animation-delay: .12s; } .dish:nth-child(4) { animation-delay: .18s; }
@keyframes dishIn { to { opacity: 1; transform: none; } }
.dish-row { display: flex; align-items: baseline; gap: 12px; }
.dish h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.dish .dots { flex: 1; border-bottom: 1px dotted rgba(243, 235, 221, .3); transform: translateY(-6px); }
.dish .price { color: var(--gold); font-weight: 600; white-space: nowrap; }
.dish p { margin: 6px 0 0; color: var(--muted-d); font-size: 15px; }
.dish .tag { display: inline-block; margin-left: 10px; padding: 2px 9px; border: 1px solid var(--gold); border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); vertical-align: middle; }
.tasting { max-width: 1040px; margin: 56px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 30px 36px; border: 1px solid var(--gold); position: relative; }
.tasting::before, .tasting::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); background: var(--oak); transform: rotate(45deg); top: 50%; margin-top: -7px; }
.tasting::before { left: -8px; } .tasting::after { right: -8px; }
.tasting h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 32px; }
.tasting p { margin: 4px 0 0; color: var(--muted-d); }
.tasting strong { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--gold); }
.menu-note { text-align: center; margin: 28px 0 0; font-size: 14px; color: #8E8272; }

/* ---------- esték ---------- */
.events { background: var(--wine); color: #F7EFE3; overflow: hidden; }
.events .eyebrow { color: #F2CFA0; }
.events .h2 em { color: #F2CFA0; }
.events-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.events-intro p { color: #EBD9C6; max-width: 28em; margin: 24px 0 0; }
.event-cards { display: grid; gap: 22px; }
.event { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; background: #F7EFE3; color: var(--ink); padding: 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.event:hover { transform: translateX(-8px); box-shadow: 12px 12px 0 rgba(0, 0, 0, .22); }
.event-date { text-align: center; border-right: 1px solid var(--line-l); padding-right: 24px; }
.event-date b { display: block; font-family: var(--serif); font-size: 58px; line-height: .9; color: var(--wine); font-weight: 600; }
.event-date span { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-l); }
.event small { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); }
.event h3 { margin: 6px 0 6px; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.05; }
.event p { margin: 0 0 6px; color: var(--muted-l); }
.event .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 600; color: var(--ink); }
.event .meta .link-arrow { margin-left: auto; min-height: 32px; }
.events-deco { position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border: 1px solid rgba(242, 207, 160, .25); border-radius: 50%; pointer-events: none; }
.events-deco::after { content: ""; position: absolute; inset: 40px; border: 1px solid rgba(242, 207, 160, .15); border-radius: 50%; }

/* ---------- galéria ---------- */
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 44px; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 16px; }
.g-item { position: relative; overflow: hidden; padding: 0; border: 0; cursor: zoom-in; background: var(--oak-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(18, 14, 12, .82)); color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 21px; text-align: left; transform: translateY(100%); transition: transform .5s var(--ease); }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; }
.g1 { grid-column: span 5; grid-row: span 2; } .g2 { grid-column: span 4; } .g3 { grid-column: span 3; } .g4 { grid-column: span 3; } .g5 { grid-column: span 4; }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; gap: 12px; padding: 40px 24px; background: rgba(12, 9, 7, .95); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 24px; }
.lb-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--oak); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { position: absolute; top: 20px; right: 20px; }

/* ---------- foglalás ---------- */
.book { background: var(--oak); }
.book-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book-info p { color: var(--muted-d); max-width: 28em; margin: 24px 0 40px; }
.info { margin: 0; display: grid; gap: 26px; }
.info dt { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.info dd { margin: 6px 0 0; font-size: 17px; }
.info a { text-decoration: none; border-bottom: 1px solid var(--line-d); }
.form { position: relative; background: var(--cream); color: var(--ink); padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; box-shadow: 18px 18px 0 var(--wine); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend, .field .lbl { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.field input, .field textarea { min-height: 50px; padding: 0 14px; border: 1px solid #B9AA93; border-radius: 4px; background: var(--paper); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122, 46, 42, .15); }
.field input.bad { border-color: #B3261E; }
.err { min-height: 1.1em; margin: 0; font-size: 13px; color: #B3261E; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border: 1px solid #B9AA93; border-radius: 4px; background: var(--paper); }
.stepper button { width: 50px; height: 50px; border: 0; background: transparent; color: var(--wine); font-size: 22px; cursor: pointer; border-radius: 4px; transition: background-color .3s; }
.stepper button:hover { background: rgba(122, 46, 42, .08); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { font-weight: 600; }
.times { display: flex; flex-wrap: wrap; gap: 10px; }
.time { min-height: 44px; padding: 0 16px; border: 1px solid #B9AA93; border-radius: 4px; background: var(--paper); color: var(--ink); font-weight: 600; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.time:hover { border-color: var(--wine); }
.time[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #F7EFE3; transform: translateY(-2px); }
.form .btn { grid-column: 1 / -1; min-height: 56px; font-size: 16px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #6B5E50; text-align: center; }
.success { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px; background: var(--cream); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.success.show { opacity: 1; visibility: visible; }
.success svg { width: 64px; height: 64px; color: var(--wine); margin: 0 auto 18px; }
.success svg path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.success.show svg path { animation: draw .8s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: 40px; }
.success p { margin: 0 auto; max-width: 26em; color: var(--muted-l); }
.success .demo { display: inline-block; margin-top: 18px; padding: 6px 12px; border: 1px dashed var(--wine); font-size: 13px; color: var(--wine); }

/* ---------- lábléc ---------- */
.foot { background: var(--oak-3); border-top: 1px solid var(--line-d); }
.foot-big { padding: clamp(60px, 9vw, 110px) 0 40px; text-align: center; }
.foot-big p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(34px, 6vw, 84px); line-height: 1; color: var(--cream); }
.foot-big p em { color: var(--gold); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line-d); font-size: 14px; color: #8E8272; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-d); border-radius: 50%; color: var(--cream); transition: background-color .3s, color .3s; }
.socials a:hover { background: var(--gold); color: var(--oak); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Kódműves demójelvény ---------- */
.km-badge { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(245, 241, 233, .96); color: #1E1A16; text-decoration: none; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transform: translateY(140%); transition: transform .6s var(--ease); }
.is-loaded.past-hero .km-badge { transform: none; }
.km-badge img { width: 30px; height: 30px; border-radius: 8px; }
.km-badge span small { display: block; font-size: 11px; font-weight: 500; color: #5E554C; }
.km-badge:hover { background: #fff; }

/* ---------- görgetésre előtűnés ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d2 { transition-delay: .12s; } .rv.d3 { transition-delay: .24s; }
.no-js .rv, .no-js .fade-up { opacity: 1; transform: none; }
.no-js .hero h1 .ln > span { transform: none; }
.no-js .curtain { display: none; }

/* ---------- reszponzív ---------- */
@media (max-width: 1024px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; gap: 22px; background: var(--oak-3); font-size: 22px; clip-path: circle(0 at calc(100% - 50px) 42px); transition: clip-path .7s var(--ease); }
  .menu a:not(.btn) { font-family: var(--serif); font-size: 40px; }
  .menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 42px); }
  .hero-grid { grid-template-columns: 1fr; }
  .polaroid { justify-self: start; width: min(70%, 300px); }
  .story, .events-grid, .book-grid { grid-template-columns: 1fr; }
  .story-img { max-width: 520px; }
  .pillars { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .g1 { grid-column: span 6; } .g2, .g3, .g4, .g5 { grid-column: span 3; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .logo b { font-size: 25px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .polaroid { display: none; }
  .status { margin-left: 0; }
  .scroll-cue { display: none; }
  .dishes { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0 10px; font-size: 14px; }
  .tasting { padding: 24px 22px; }
  .event { grid-template-columns: 1fr; gap: 16px; }
  .event-date { text-align: left; border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line-l); padding-bottom: 12px; display: flex; align-items: baseline; gap: 12px; }
  .event-date b { font-size: 44px; }
  .event .meta .link-arrow { margin-left: 0; }
  .story-badge { left: auto; right: -6px; width: 108px; height: 108px; font-size: 16px; }
  .story-img::before { inset: 14px -10px -14px 14px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .g1 { grid-column: span 2; grid-row: span 2; } .g2, .g3, .g4, .g5 { grid-column: span 1; }
  .g-item figcaption { transform: none; font-size: 16px; padding: 30px 12px 10px; }
  .form { grid-template-columns: 1fr; box-shadow: 10px 10px 0 var(--wine); }
  .lightbox { grid-template-columns: 1fr 1fr; padding: 70px 14px 24px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: start; } .lb-next { grid-row: 2; justify-self: end; }
  .km-badge { left: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv, .fade-up { opacity: 1; transform: none; }
  .hero h1 .ln > span { transform: none; }
}
