/* Lê Lieu Restaurant: design system */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --forest: #122620;
  --forest-2: #1a332a;
  --forest-deep: #0b1a15;
  --ink: #1e1a12;
  --paper: #faf6ec;
  --paper-2: #f1e9d6;
  --brass: #ab8650;
  --brass-deep: #84652f;
  --brass-soft: rgba(171,134,80,.14);
  --teal: #2e635b;
  --line: rgba(30,26,18,.14);
  --line-dark: rgba(250,246,236,.16);
  --shadow: 0 18px 40px rgba(11,26,21,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
}

.script {
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--forest); color: var(--paper); padding: .8rem 1.4rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.6rem); }

/* ───────── Blossom divider motif ───────── */
.blossom { display: block; margin: 0 auto; opacity: .85; }
.blossom-row { display: flex; justify-content: center; padding: clamp(2.4rem,5vw,3.6rem) 0; }

/* ───────── Header ───────── */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18,38,32,.82); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
header.site.is-scrolled { background: rgba(14,30,25,.94); border-bottom-color: var(--line-dark); }
@media (prefers-reduced-transparency: reduce) {
  header.site { background: var(--forest); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: .7rem clamp(1.2rem,4vw,2.6rem); }
.brand { display: inline-flex; align-items: baseline; gap: .5rem; color: var(--paper); }
.brand .script { font-size: 2rem; color: var(--paper); }
.brand .tagline { font-family: 'Figtree', sans-serif; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,246,236,.55); display: block; margin-top: -.1rem; }

nav.primary { display: flex; align-items: center; gap: 2rem; }
nav.primary a.navlink {
  font-size: .85rem; letter-spacing: .02em; color: rgba(250,246,236,.75);
  padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
nav.primary a.navlink:hover, nav.primary a.navlink[aria-current="page"] { color: var(--paper); border-color: var(--brass); }
.nav-order {
  background: var(--brass); color: var(--forest-deep); font-weight: 600; font-size: .82rem;
  padding: .65rem 1.3rem; border-radius: 999px; letter-spacing: .01em;
  transition: background-color .2s ease, transform .15s cubic-bezier(.2,.8,.2,1);
}
.nav-order:hover { background: #c29d63; }
.nav-order:active { transform: scale(.96); }

.burger { display: none; background: none; border: 0; color: var(--paper); padding: .4rem; }
.burger svg { width: 23px; height: 23px; transition: transform .2s ease; }
.burger[aria-expanded="true"] svg { transform: rotate(90deg); }

#mobile-menu {
  display: flex; flex-direction: column; overflow: hidden; height: 0; opacity: 0;
  background: rgba(11,26,21,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 900px) {
  nav.primary .navlink, nav.primary .nav-order-desktop { display: none; }
  .burger { display: block; }
  #mobile-menu { padding: 0 clamp(1.2rem,4vw,2.6rem); border-top: 1px solid transparent; }
  #mobile-menu.is-open { border-top-color: var(--line-dark); }
  #mobile-menu a { padding: .9rem 0; font-size: 1rem; color: var(--paper); border-bottom: 1px solid var(--line-dark); }
  #mobile-menu a.nav-order { border-bottom: 0; text-align: center; margin: 1rem 0; }
}
@media (min-width: 901px) { .nav-order-mobile-only { display: none; } }

/* ───────── Buttons / links ───────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  padding: .85rem 1.7rem; border-radius: 999px;
  transition: transform .15s cubic-bezier(.2,.8,.2,1), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.96); }
.btn-brass { background: var(--brass); color: var(--forest-deep); }
.btn-brass:hover { background: #c29d63; }
.btn-line { border: 1.5px solid currentColor; }
.btn-line:hover { background: rgba(250,246,236,.08); }
.btn-ink { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--paper); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow .arrow { transition: transform .25s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ───────── Hero ───────── */
.hero { position: relative; background: var(--forest); color: var(--paper); overflow: hidden; min-height: 86vh; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,26,21,.35) 0%, rgba(11,26,21,.55) 55%, rgba(11,26,21,.92) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding: clamp(6rem,14vw,10rem) clamp(1.2rem,4vw,2.6rem) clamp(3rem,6vw,4.5rem); }
.hero-content { max-width: 760px; }
.hero .kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.6rem,6vw,4.6rem); margin-bottom: 1.2rem; }
.hero h1 .script { font-size: 1.25em; color: var(--brass); display: block; }
.hero .lead { font-size: 1.1rem; color: rgba(250,246,236,.82); max-width: 520px; margin-bottom: 2.2rem; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 2.2rem; font-size: .82rem; color: rgba(250,246,236,.68); border-top: 1px solid var(--line-dark); padding-top: 1.2rem; max-width: 620px; }
.hero-facts strong { color: var(--paper); font-weight: 600; }

/* ───────── Sections ───────── */
section { padding: clamp(4.5rem,9vw,7.5rem) 0; }
.section-forest { background: var(--forest); color: var(--paper); }
.section-paper2 { background: var(--paper-2); }

.section-head { margin-bottom: clamp(2.4rem,5vw,3.6rem); }
.section-head .kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .9rem; display: block; }
.section-forest .section-head .kicker { color: var(--brass); }
.section-head h2 { font-size: clamp(1.9rem,4vw,2.9rem); max-width: 640px; }
.section-head p { margin-top: 1rem; max-width: 560px; color: rgba(30,26,18,.68); font-size: 1rem; }
.section-forest .section-head p { color: rgba(250,246,236,.7); }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center p { margin-left: auto; margin-right: auto; }

/* ───────── Intro / editorial block ───────── */
.intro-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2.5rem,6vw,5rem); align-items: start; }
.intro-grid .lede { font-family: 'Marcellus', serif; font-size: clamp(1.4rem,2.6vw,1.9rem); line-height: 1.5; color: var(--forest); }
.intro-grid .lede em { font-style: normal; color: var(--brass-deep); }
.fact-list { display: flex; flex-direction: column; gap: 1.4rem; border-left: 1px solid var(--line); padding-left: 1.8rem; }
.fact-list dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .3rem; }
.fact-list dd { font-size: 1rem; }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } .fact-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; } }

/* ───────── Staggered dish showcase ───────── */
.dish-showcase { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.dish { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.dish:hover img { transform: scale(1.05); }
.dish-1 { grid-column: 1 / 4; grid-row: 1 / 3; aspect-ratio: 4/3.4; }
.dish-2 { grid-column: 4 / 7; grid-row: 1 / 2; aspect-ratio: 16/9; }
.dish-3 { grid-column: 4 / 7; grid-row: 2 / 3; aspect-ratio: 16/9; }
.dish-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; background: linear-gradient(0deg, rgba(11,26,21,.78), transparent); color: var(--paper); }
.dish-caption .name { font-family: 'Marcellus', serif; font-size: 1.05rem; }
.dish-caption .price { font-size: .8rem; color: var(--brass); margin-top: .15rem; }
@media (max-width: 760px) {
  .dish-showcase { grid-template-columns: 1fr; }
  .dish-1, .dish-2, .dish-3 { grid-column: 1 / 2; grid-row: auto; aspect-ratio: 16/11; }
}

/* ───────── Promo band (speisekarte / bestellen teasers) ───────── */
.promo-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,5vw,4rem); }
.promo-band .promo-visual { position: relative; }
.promo-band .promo-visual img { border-radius: 14px; box-shadow: var(--shadow); transform: rotate(-3deg); border: 8px solid var(--paper); }
.promo-band.reverse { grid-template-columns: 1fr 1fr; }
.promo-band.reverse .promo-visual { order: 2; }
.promo-band.reverse .promo-visual img { transform: rotate(3deg); }
.promo-text .kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; display: block; }
.promo-text h2 { font-size: clamp(1.8rem,3.6vw,2.6rem); margin-bottom: 1.1rem; }
.promo-text p { color: rgba(250,246,236,.78); margin-bottom: 1.8rem; max-width: 460px; }
@media (max-width: 820px) {
  .promo-band, .promo-band.reverse { grid-template-columns: 1fr; }
  .promo-band.reverse .promo-visual { order: -1; }
  .promo-band .promo-visual img { transform: rotate(0deg); max-width: 320px; margin: 0 auto; }
}

/* ───────── Info / hours strip ───────── */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 2.4rem; }
.info-col h3 { font-size: 1rem; margin-bottom: .9rem; color: var(--brass-deep); }
.info-col p, .info-col a { font-size: .95rem; line-height: 1.8; }
.hours-row { display: flex; justify-content: space-between; font-size: .92rem; padding: .25rem 0; }
.hours-row .day { color: rgba(30,26,18,.6); }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ───────── Footer ───────── */
footer.site { background: var(--forest-deep); color: rgba(250,246,236,.72); padding: 3.2rem 0 1.6rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .script { font-size: 2.1rem; color: var(--paper); }
.footer-brand p { font-size: .85rem; color: rgba(250,246,236,.55); margin-top: .5rem; max-width: 280px; }
.footer-cols { display: flex; gap: 3.2rem; flex-wrap: wrap; }
.footer-col h4 { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: .9rem; }
.footer-col a, .footer-col p { display: block; font-size: .88rem; margin-bottom: .55rem; color: rgba(250,246,236,.72); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .76rem; color: rgba(250,246,236,.4); }
.footer-bottom a { color: rgba(250,246,236,.4); }
.footer-bottom a:hover { color: rgba(250,246,236,.7); }
@media (max-width: 760px) { .footer-top { flex-direction: column; } }

/* ───────── Speisekarte: carousel ───────── */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem clamp(1.2rem,4vw,2.6rem) 1.4rem; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .page {
  flex: 0 0 auto; width: min(78vw, 420px); scroll-snap-align: center;
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper);
}
.carousel-track .page img { width: 100%; height: auto; display: block; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1rem; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, transform .15s ease;
}
.carousel-nav button:hover { background: var(--paper-2); }
.carousel-nav button:active { transform: scale(.94); }
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: background-color .2s ease, width .2s ease; }
.carousel-dots span.active { background: var(--brass); width: 20px; }

/* ───────── Speisekarte: structured list ───────── */
.menu-cat { margin-bottom: clamp(2.8rem,6vw,4rem); }
.menu-cat-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1.4rem; }
.menu-cat-head h3 { font-size: 1.4rem; }
.menu-cat-head span { font-size: .78rem; color: rgba(30,26,18,.5); letter-spacing: .04em; text-transform: uppercase; }
.menu-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item .num { font-size: .8rem; color: var(--brass-deep); font-weight: 600; min-width: 2.4rem; }
.menu-item .name { font-weight: 600; }
.menu-item .desc { display: block; font-weight: 400; font-size: .86rem; color: rgba(30,26,18,.6); margin-top: .15rem; }
.menu-item .price { font-weight: 600; white-space: nowrap; }

.notice-box {
  background: var(--brass-soft); border: 1px solid rgba(171,134,80,.3); border-radius: 14px;
  padding: 1.4rem 1.6rem; font-size: .92rem; color: var(--ink); margin-bottom: clamp(2.8rem,6vw,4rem);
}
.notice-box strong { color: var(--brass-deep); }

/* ───────── Bestellen: order builder ───────── */
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.order-items .menu-item { grid-template-columns: auto 1fr auto auto; }
.qty-stepper { display: flex; align-items: center; gap: .6rem; background: var(--paper-2); border-radius: 999px; padding: .3rem; }
.qty-stepper button { width: 28px; height: 28px; border-radius: 999px; background: var(--paper); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.qty-stepper button:hover { background: var(--brass-soft); }
.qty-stepper .qty-val { min-width: 1.2rem; text-align: center; font-weight: 600; font-size: .9rem; }
.add-btn {
  background: var(--forest); color: var(--paper); border-radius: 999px; padding: .5rem 1.1rem; font-size: .82rem; font-weight: 600;
  transition: background-color .2s ease, transform .15s ease;
}
.add-btn:hover { background: var(--forest-2); }
.add-btn:active { transform: scale(.95); }

.cart-panel {
  position: sticky; top: 6.5rem; background: var(--paper-2); border-radius: 18px; padding: 1.6rem;
  box-shadow: var(--shadow);
}
.cart-panel h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.cart-empty { font-size: .9rem; color: rgba(30,26,18,.55); padding: 1rem 0; }
.cart-line { display: flex; justify-content: space-between; gap: .8rem; font-size: .88rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.cart-line .cl-name { font-weight: 600; }
.cart-line .cl-meta { color: rgba(30,26,18,.55); font-size: .8rem; }
.cart-line .cl-remove { color: var(--brass-deep); font-size: .78rem; text-decoration: underline; margin-top: .2rem; display: inline-block; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; padding-top: 1rem; margin-top: .4rem; }
.cart-panel .btn { width: 100%; justify-content: center; margin-top: 1.2rem; }
@media (max-width: 920px) {
  .order-layout { grid-template-columns: 1fr; }
  .cart-panel { position: static; }
}

.checkout-form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 520px; }
.checkout-form label { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(30,26,18,.6); display: block; margin-bottom: .4rem; }
.checkout-form input, .checkout-form textarea, .checkout-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  padding: .7rem .9rem; font-family: 'Figtree', sans-serif; font-size: .95rem; color: var(--ink);
}
.checkout-form input:focus, .checkout-form textarea:focus, .checkout-form select:focus { outline: none; border-color: var(--brass); }
.checkout-form textarea { resize: vertical; min-height: 90px; }

.pickup-note { display: flex; gap: .8rem; align-items: flex-start; background: var(--brass-soft); border-radius: 12px; padding: 1rem 1.2rem; font-size: .88rem; margin-top: 1.4rem; }

/* ───────── Legal pages ───────── */
.legal-body { max-width: 740px; }
.legal-body h1 { font-size: clamp(2rem,4vw,2.6rem); margin-bottom: 2rem; }
.legal-body h2 { font-size: 1.25rem; margin: 2.2rem 0 .8rem; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .92rem; line-height: 1.75; color: rgba(30,26,18,.75); margin-bottom: .9rem; }
.legal-body a { color: var(--brass-deep); border-bottom: 1px solid var(--line); }
.legal-body strong { color: var(--ink); }
.legal-body ul { margin-left: 1.2rem; list-style: disc; }
.legal-placeholder { background: var(--brass-soft); padding: .1rem .4rem; border-radius: 4px; color: var(--brass-deep); font-weight: 600; }
