/* ============================================================
   SALT & EMBER — sample fine dining site
   Theme: dark dining room / charcoal and copper
   SAMPLE / PLACEHOLDER PROJECT · EulClavie web design demo
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:root {
  --char: #141312;
  --panel: #1C1A18;
  --copper: #C0714A;
  --copper-l: #DD9268;
  --bone: #EFE9E1;
  --muted: #918A82;
  --line: rgba(239,233,225,.14);
  --radius: 2px;
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1240px;
  --bar-h: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--bone); background: var(--char);
  padding-top: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--copper); color: var(--char); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; line-height: 1.06; letter-spacing: 0;  }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.35rem; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-l); }
.lead { color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 2px;
  font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em; text-transform: uppercase; font-size: 11.5px; letter-spacing: .18em;
  background: var(--copper); color: #141312;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--copper-l); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--bone); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--panel); }

/* ---------- sample warning bar ---------- */
.sample-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--copper); color: #141312;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding-inline: 14px; text-align: center;
}
.sample-bar .dim { color: rgba(20,19,18,.62); }
@media (max-width: 720px) { .sample-bar { font-size: 8.5px; letter-spacing: .14em; } .sample-bar .dim { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 150;
  background: rgba(20,19,18,.6);
  -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.nav.is-solid { border-bottom-color: var(--line); background: rgba(20,19,18,.95); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s; text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; }
.nav__links a:hover { color: var(--bone); }
.nav__toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav__toggle i { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--bone); transition: transform .35s var(--ease); }
.nav__toggle i:nth-child(1) { top: 14px; }
.nav__toggle i:nth-child(2) { top: 21px; }
body.menu-open .nav__toggle i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__toggle i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__toggle { display: block; } }
@media (max-width: 540px) { .nav__inner > .btn { display: none; } }

.menu {
  position: fixed; inset: calc(var(--bar-h) + 74px) 0 0 0; z-index: 140;
  background: var(--char); padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.menu a { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: 1.7rem; letter-spacing: .01em; padding-block: 12px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(58px, 8vw, 116px); }
.sechead { max-width: 660px; }
.sechead h2 { margin-top: 12px; }
.sechead p { margin-top: 14px; color: var(--muted); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sechead--split p { max-width: 40ch; margin-top: 0; }

/* ---------- sample notice ---------- */
.notice {
  border: 1px solid var(--line); background: var(--panel);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(14px, 3vw, 36px);
}
.notice b { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-l); }
.notice p { font-size: 13.5px; color: var(--muted); max-width: 64ch; }
.notice p + p { margin-top: 8px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: transparent; color: var(--bone); border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 76px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 46px); }
.foot__brand p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 32ch; }
.foot h4 { font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.foot li + li { margin-top: 8px; }
.foot li, .foot a { font-size: 14.5px; }
.foot a:hover { color: var(--copper-l); }
.foot__bottom { margin-top: clamp(32px, 4vw, 54px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) { .foot__top { grid-template-columns: repeat(2, 1fr); } .foot__brand { grid-column: 1 / -1; } }

/* ---------- reveal + page transition ---------- */
.rv { opacity: 0; transform: translateY(20px); }
.is-ready .rv { transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.page { opacity: 0; transition: opacity .4s ease; }
.page.is-visible { opacity: 1; }
.page.is-leaving { opacity: 0; transition-duration: .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .page { opacity: 1; }
}


.brand { font-family: "Cormorant Garamond", serif; font-size: 25px; letter-spacing: .16em; text-transform: uppercase; }

.hero { position: relative; min-height: calc(100svh - var(--bar-h)); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: drift 26s var(--ease) forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 80% at 50% 45%, rgba(20,19,18,.42), rgba(20,19,18,.92)); }
.hero__inner { position: relative; z-index: 2; padding-inline: var(--gutter); }
.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero .lead { margin-top: 22px; max-width: 42ch; margin-inline: auto; color: rgba(239,233,225,.72); }
.hero__rule { width: 54px; height: 1px; background: var(--copper); margin: 24px auto; }
.hero__cta { margin-top: 32px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* tasting menu */
.courses { max-width: 760px; margin-inline: auto; margin-top: clamp(30px, 4vw, 52px); }
.course { text-align: center; padding-block: clamp(20px, 2.6vw, 30px); border-bottom: 1px solid var(--line); }
.course:last-child { border-bottom: 0; }
.course span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--copper-l); }
.course h3 { font-family: "Cormorant Garamond", serif; margin-top: 10px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.course p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.courses__price { text-align: center; margin-top: clamp(24px, 3vw, 40px); }
.courses__price b { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: var(--copper-l); font-weight: 400; }
.courses__price span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* room */
.room { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 34px); align-items: end; }
.room__a { grid-column: 1 / 8; }
.room__b { grid-column: 8 / 13; }
.room figure { overflow: hidden; }
.room img { width: 100%; object-fit: cover; filter: saturate(.9) brightness(.92); transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.room__a img { aspect-ratio: 3 / 2; }
.room__b img { aspect-ratio: 3 / 4; }
.room figure:hover img { transform: scale(1.04); filter: none; }
.room figcaption { margin-top: 12px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .room__a, .room__b { grid-column: 1 / -1; } }

/* reserve */
.reserve { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); border: 1px solid var(--line); padding: clamp(26px, 4vw, 56px); align-items: start; }
.reserve dl div { display: flex; justify-content: space-between; gap: 18px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.reserve dt { color: var(--muted); }
.reserve__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .reserve { grid-template-columns: 1fr; } }

/* quote band */
.band { position: relative; height: clamp(360px, 58vh, 600px); overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.band__inner { position: relative; z-index: 2; padding-inline: var(--gutter); }
.band blockquote { font-family: "Cormorant Garamond", serif; font-size: clamp(1.4rem, 3vw, 2.4rem); font-style: italic; line-height: 1.3; max-width: 24ch; margin-inline: auto; }
.band cite { display: block; margin-top: 20px; font-style: normal; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(239,233,225,.66); }
