/* Maison Amélie — fictional French restaurant */
:root {
  --night: #1e1513;
  --night-2: #2a1d19;
  --paper: #f6f0e6;
  --paper-2: #efe6d6;
  --wine: #6b1f2a;
  --gold: #c7a46b;
  --gold-ink: #8a6a35;
  --text: #2a211d;
  --muted: #6c5d52;
  --line: rgba(42, 33, 29, 0.16);
  --serif: "Playfair Display", "Didot", Georgia, serif;
  --sans: "Karla", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --d-error: #9e2a1d;
}
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.7; }
.wrap { width: min(100% - 2 * clamp(1rem, 4vw, 3rem), 1200px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-ink); }
.note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0.85rem 1.8rem; border: 1px solid var(--gold); background: none; color: inherit; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: #d9bb86; }
.btn--line:hover { background: var(--gold); color: var(--night); }
.btn--sm { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.7rem; }
.btn--full { width: 100%; margin-top: 0.5rem; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(30, 21, 19, 0.92); color: var(--paper); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow 0.3s; }
.hdr.is-scrolled { box-shadow: 0 1px 0 rgba(199, 164, 107, 0.25); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-size: 1.6rem; font-style: italic; text-decoration: none; color: inherit; }
.brand span { font-style: normal; font-family: var(--sans); font-size: 0.6em; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-right: 0.25em; vertical-align: 0.15em; }
.brand--lg { font-size: 2.2rem; }
.menu-nav { display: flex; align-items: center; gap: 2rem; }
.menu-nav ul { display: flex; gap: 1.8rem; }
.menu-nav ul a { font-size: 0.85rem; letter-spacing: 0.1em; text-decoration: none; }
.menu-nav ul a:hover { color: var(--gold); }
.lang-switch { font-size: 0.8rem; }
@media (max-width: 860px) {
  .d-toggle { display: inline-flex; position: relative; z-index: 2; }
  .menu-nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 2rem; background: var(--night); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
  .menu-nav.is-open { opacity: 1; visibility: visible; }
  .menu-nav ul { flex-direction: column; align-items: center; gap: 1rem; }
  .menu-nav ul a { font-family: var(--serif); font-size: 2rem; font-style: italic; letter-spacing: 0; }
  .lang-switch { font-size: 1rem; }
}

/* Hero */
.hero { background: radial-gradient(90% 80% at 80% 40%, #3a2621, var(--night) 70%); color: var(--paper); padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.8rem, 1.6rem + 4.8vw, 5.4rem); line-height: 1.04; letter-spacing: -0.01em; }
.hero .eyebrow { color: var(--gold); }
.hero__text { margin-top: 1.75rem; max-width: 30rem; font-size: 1.15rem; color: #e3d8c7; }
.hero__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__plate { position: relative; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 60px 90px -40px rgba(0,0,0,0.7); max-width: 560px; justify-self: end; width: 100%; }
.hero__plate svg { width: 100%; height: 100%; transform: scale(1.02); transition: transform 2.5s var(--ease); }
.hero__plate:hover svg { transform: scale(1.06); }
.hero__plate figcaption { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); padding: 0.45rem 1rem; background: var(--night); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 0.95rem; white-space: nowrap; }
@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; } .hero__plate { justify-self: center; max-width: 420px; } }

/* Sections */
.sec { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.sec h2 { margin-top: 1rem; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); line-height: 1.1; color: var(--night); }
.sec h2 em { color: var(--wine); }

.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.story__body p + p { margin-top: 1.25rem; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 4.2rem; line-height: 0.85; padding: 0.3rem 0.6rem 0 0; color: var(--wine); }
.story__sign { font-family: var(--serif); font-style: italic; color: var(--muted); }
.stats { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 1.75rem 1.5rem 0 0; }
.stats li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.8rem; color: var(--wine); }
.stats span { font-size: 0.95rem; }
@media (max-width: 820px) { .story__grid { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } .stats li, .stats li + li { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.menu { background: var(--paper-2); }
.menu__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.menu__head h2 { font-style: italic; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); }
.menu__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.menu__col h3 { font-size: 1.15rem; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; color: var(--wine); text-align: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.menu__col li { padding: 0.9rem 0; }
.dish__top { display: flex; align-items: baseline; gap: 0.6rem; }
.dish__name { font-family: var(--serif); font-size: 1.2rem; color: var(--night); }
.dish__dots { flex: 1; border-bottom: 1px dotted rgba(42, 33, 29, 0.35); transform: translateY(-4px); min-width: 1rem; }
.dish__price { font-family: var(--serif); color: var(--wine); white-space: nowrap; }
.dish__desc { font-size: 0.92rem; color: var(--muted); }
.menu .note { text-align: center; }
.plates__label { margin-top: clamp(3.5rem, 7vw, 5.5rem); text-align: center; font-style: italic; font-size: 2rem; color: var(--night); }
.plates { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plates figure { position: relative; aspect-ratio: 1; overflow: hidden; }
.plates svg { width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.plates figure:hover svg { transform: scale(1.05); }
.plates figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: 0.35rem 0.8rem; background: rgba(30,21,19,0.85); color: var(--paper); font-family: var(--serif); font-style: italic; font-size: 0.95rem; }
@media (max-width: 860px) { .menu__cols { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plates { grid-template-columns: 1fr 1fr; } .plates li:last-child { display: none; } }

.hours { background: var(--night); color: #e3d8c7; }
.hours h2 { color: var(--paper); }
.hours .eyebrow { color: var(--gold); }
.hours__grid { display: grid; grid-template-columns: 1fr 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hours__list > div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(199,164,107,0.25); }
.hours__list dt { font-family: var(--serif); font-size: 1.15rem; color: var(--paper); }
.hours__list dd { margin: 0; text-align: right; }
.hours__info h3 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.hours__info p + h3 { margin-top: 1.5rem; }
@media (max-width: 900px) { .hours__grid { grid-template-columns: 1fr; } }

.res__in { max-width: 860px; }
.res__head { text-align: center; margin-bottom: 2.5rem; }
.res__head p:last-child { margin: 1rem auto 0; max-width: 36rem; }
.form { background: #fff; padding: clamp(1.5rem, 4vw, 3rem); border-top: 3px solid var(--wine); box-shadow: 0 40px 70px -50px rgba(30,21,19,0.5); }
.form .note { margin: 0 0 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.d-field { margin-bottom: 1.3rem; }
.d-field label { display: block; margin-bottom: 0.45rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; color: var(--night); }
.req { color: var(--d-error); }
.opt { font-weight: 300; color: var(--muted); }
.d-field input, .d-field select, .d-field textarea { width: 100%; padding: 0.8rem 0.9rem; background: var(--paper); border: 1px solid var(--line); border-radius: 0; font-weight: 300; }
.d-field input:focus, .d-field select:focus, .d-field textarea:focus { outline: none; border-color: var(--wine); background: #fff; }
.form .btn--gold { background: var(--wine); border-color: var(--wine); color: var(--paper); }
.form .btn--gold:hover { background: #821f2f; }
@media (max-width: 640px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }

/* Footer */
.ftr { background: var(--night); color: #d6cab8; padding-top: clamp(3rem, 6vw, 4.5rem); }
.ftr .brand { color: var(--paper); }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 2.5rem; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ftr__nav a { text-decoration: none; font-size: 0.9rem; }
.ftr__nav a:hover { color: var(--gold); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding: 1.5rem 0; border-top: 1px solid rgba(199,164,107,0.2); font-size: 0.8rem; color: #b0a291; }
