/* demos/restaurant/site.css
   ⚠️ NEW (Portfolio Demos)

   Larkmoor — fictional seasonal restaurant, concept demo.

   WHY THIS FILE IS STANDALONE
   This demo shares no layout system with the real-estate, dental or
   construction demos. Its signature is deliberately the opposite of the
   real-estate site's: centred rather than left-aligned, serif for BODY copy
   and not just headings, a printed-menu device with dotted leaders, a
   drop cap, an offset collage instead of a grid of equal cards, and a
   single warm brass accent on a near-black/brown ground.

   It deliberately does NOT use: a card grid, uppercase sans-serif headings,
   a sticky search bar, or the numbered-rail process pattern — all of which
   belong to the other three demos.

   No inline <style> anywhere (D-003) — /demos/(.*) is a hash-free route.
*/

:root {
  --night: #0c0906;
  --night-soft: #150e08;
  --brown: #241a10;
  --cream: #efe6d8;
  --cream-dim: rgba(239, 230, 216, 0.66);
  /* Same three-way split as the real-estate demo, for the same reason:
     --brass on the cream ground measures 2.5:1, which the rendered-DOM
     scan caught across 12 nodes. --brass stays the decorative value for
     rules, borders and button fills; --brass-text is the darkened one
     small labels use on cream (5.1:1); --brass-bright is for near-black. */
  --brass: #b08d57;
  --brass-bright: #d3ad70;
  --brass-text: #7a5a24;
  --rule: rgba(239, 230, 216, 0.18);
  --rule-dark: rgba(36, 26, 16, 0.22);

  --serif: "Gambetta", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --apex-strip-bg: #060403;
  --apex-strip-ink: #efe6d8;
  --apex-strip-ink-dim: #9c8f7d;
  --apex-strip-line: rgba(239, 230, 216, 0.14);
  --apex-strip-accent: #b08d57;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
p { margin: 0; }
a { color: inherit; }

/* A18 (docs/website-quality-standard.md) -- every displayed phone number
   and email address is a real tel:/mailto: link, so a visitor on a phone
   places the call or opens a message with one tap instead of copying
   digits by hand. Deliberately identical to the surrounding text: these
   contact blocks were designed as data and this makes them actionable,
   not different. The underline appears on hover/focus so pointer and
   keyboard users still get an affordance. */
.lm-contactlink { color: inherit; text-decoration: none; }
.lm-contactlink:hover,
.lm-contactlink:focus-visible { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.16;
  margin: 0;
}
h1 { font-size: clamp(52px, 11vw, 128px); font-weight: 400; letter-spacing: 0.01em; }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(19px, 2vw, 24px); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--night); color: var(--cream);
  padding: 12px 20px; font-family: var(--sans); font-size: 14px; text-decoration: none;
}
.skip-link:focus { left: 0; }

.lm-wrap { width: min(1180px, 100% - clamp(28px, 8vw, 110px)); margin-inline: auto; }
.lm-wrap--narrow { width: min(760px, 100% - clamp(28px, 8vw, 110px)); }
.lm-nowrap { white-space: nowrap; }

/* ---------- small caps labels (the one sans-serif in the design) ------- */

.lm-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-text);
}
/* The near-black sections invert the relationship. */
.lm-hero .lm-kicker,
.lm-sec--dark .lm-kicker { color: var(--brass); }
.lm-kicker--center { text-align: center; }
.lm-kicker--dark { color: var(--brass-bright); }

.lm-h2-center { text-align: center; margin-top: 18px; }
.lm-sub-center {
  text-align: center;
  margin: 18px auto 0;
  max-width: 54ch;
  font-size: 16.5px;
  color: rgba(36, 26, 16, 0.66);
}
.lm-sub-center--dark { color: var(--cream-dim); }

/* ---------- buttons ---------- */

.lm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 38px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--brass); cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.lm-btn--brass { background: var(--brass); color: var(--night); }
.lm-btn--brass:hover { background: transparent; color: var(--brass-bright); }

/* ---------- navigation: links, centred wordmark, links --------------- */

.lm-nav {
  position: sticky; top: 0; z-index: 60;
  background: transparent; color: var(--cream);
  transition: background-color .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.lm-nav.is-solid {
  background: rgba(12, 9, 6, 0.95);
  border-bottom-color: var(--rule);
  backdrop-filter: saturate(140%) blur(8px);
}

.lm-nav__inner {
  width: min(1180px, 100% - clamp(28px, 8vw, 110px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  gap: 20px;
}

.lm-nav__side { display: flex; gap: 30px; }
.lm-nav__side--right { justify-content: flex-end; }
.lm-nav__side a {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; opacity: 0.8; padding: 6px 0;
}
.lm-nav__side a:hover { opacity: 1; color: var(--brass-bright); }
.lm-nav__book { color: var(--brass-bright); opacity: 1 !important; border-bottom: 1px solid currentColor; }

.lm-mark { text-decoration: none; text-align: center; display: block; }
.lm-mark__rule { display: block; width: 34px; height: 1px; background: var(--brass); margin: 0 auto 8px; }
.lm-mark__name { display: block; font-family: var(--serif); font-size: 25px; letter-spacing: 0.06em; }
.lm-mark__sub {
  display: block; font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); margin-top: 4px;
}

.lm-burger {
  display: none; width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--rule); cursor: pointer;
  place-items: center; gap: 4px; justify-self: end;
}
.lm-burger span { display: block; width: 18px; height: 1px; background: var(--cream); transition: opacity .25s ease, transform .25s ease; }
.lm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.lm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.lm-mobile { background: rgba(12, 9, 6, 0.98); border-top: 1px solid var(--rule); }
.lm-mobile nav { display: flex; flex-direction: column; padding-bottom: 18px; }
.lm-mobile a {
  padding: 16px clamp(16px, 6vw, 40px);
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; color: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.lm-mobile__book { color: var(--brass-bright); border-bottom: 0 !important; }

/* ---------- hero: full-bleed, cinematic, centred ---------- */

.lm-hero {
  position: relative;
  margin-top: -96px;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  background: var(--night);
  overflow: hidden;
  padding: 150px 20px 90px;
}
.lm-hero__art { position: absolute; inset: 0; }
.lm-hero__art svg { width: 100%; height: 100%; }
.lm-hero__art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,9,6,0.72) 0%, rgba(12,9,6,0.34) 42%, rgba(12,9,6,0.9) 100%);
}
.lm-hero__copy { position: relative; z-index: 2; max-width: 720px; }
.lm-hero h1 { margin: 22px 0 0; }
.lm-hero__line {
  margin: 26px auto 0;
  max-width: 40ch;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--cream-dim);
}
.lm-hero .lm-btn { margin-top: 40px; }
.lm-hero__note {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(239, 230, 216, 0.55);
}

/* ---------- sections ---------- */

.lm-sec { padding: clamp(80px, 10vw, 148px) 0; }
.lm-sec--dark { background: var(--night); color: var(--cream); }

/* ---------- story: editorial columns with a drop cap ---------- */

.lm-story { background: var(--cream); }
.lm-columns {
  margin-top: clamp(36px, 4vw, 56px);
  column-count: 2;
  column-gap: clamp(36px, 5vw, 72px);
  column-rule: 1px solid var(--rule-dark);
}
.lm-columns p { margin-bottom: 22px; break-inside: avoid-column; }
.lm-dropcap::first-letter {
  float: left;
  font-size: 4.6em;
  line-height: 0.78;
  padding: 0.08em 0.1em 0 0;
  color: var(--brass);
  font-weight: 500;
}

/* ---------- this week: alternating plates, no cards ---------- */

.lm-plates { margin-top: clamp(44px, 5vw, 72px); }
/* The plate art is deliberately small. An earlier pass ran it at 200px with
   heavier padding, which left a ~450px void beside the short copy on the
   right-hand rows: the alternation read as a layout accident rather than a
   decision. Smaller art plus a capped text measure keeps the rows tight and
   makes the left/right rhythm legible. */
.lm-plate {
  display: grid;
  grid-template-columns: 56px 150px 1fr;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  padding: clamp(20px, 2.2vw, 30px) 0;
  border-top: 1px solid var(--rule);
}
.lm-plate:last-child { border-bottom: 1px solid var(--rule); }
.lm-plate:nth-child(even) { grid-template-columns: 56px 1fr 150px; }
.lm-plate:nth-child(even) .lm-plate__art { order: 3; }
.lm-plate:nth-child(even) .lm-plate__body { order: 2; text-align: right; }
.lm-plate__body { max-width: 56ch; }
.lm-plate:nth-child(even) .lm-plate__body { margin-left: auto; }

.lm-plate__num {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--brass);
  letter-spacing: 0.06em;
}
.lm-plate__art svg { width: 100%; height: auto; }
.lm-plate__body h3 { color: var(--cream); }
.lm-plate__body p { margin-top: 12px; color: var(--cream-dim); font-size: 16.5px; max-width: 52ch; }
.lm-plate:nth-child(even) .lm-plate__body p { margin-left: auto; }

/* ---------- the card: a printed menu, dotted leaders ---------- */

.lm-card {
  margin-top: clamp(40px, 5vw, 62px);
  border: 1px solid var(--rule-dark);
  padding: clamp(30px, 5vw, 62px);
  background: #f5efe5;
}
.lm-card__head {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-text);
  text-align: center;
  margin-bottom: 22px;
}
.lm-card__head + .lm-menu { margin-bottom: 42px; }
.lm-menu li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 17px;
}
.lm-menu__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(36, 26, 16, 0.42);
  transform: translateY(-5px);
  min-width: 24px;
}
.lm-menu__price { font-variant-numeric: tabular-nums; color: rgba(36, 26, 16, 0.72); }
.lm-card__foot {
  margin-top: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--rule-dark);
  text-align: center;
  font-size: 15.5px;
  color: rgba(36, 26, 16, 0.66);
}

/* ---------- collage: offset, deliberately unequal ---------- */

.lm-collage {
  margin-top: clamp(44px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
}
.lm-collage__item--tall { grid-row: span 2; }
.lm-collage__item--wide { grid-column: span 2; }
.lm-collage__item svg { width: 100%; height: auto; }
.lm-collage figcaption {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239, 230, 216, 0.66);
}
/* The tall image sits a little lower than its neighbours on purpose —
   an even top edge across all four would read as a grid, which is the
   thing this section is avoiding. */
.lm-collage__item:nth-child(2) { margin-top: clamp(18px, 3vw, 44px); }

/* ---------- plaque ---------- */

.lm-plaque {
  border: 1px solid var(--rule-dark);
  border-top: 3px solid var(--brass);
  padding: clamp(34px, 5vw, 64px);
  text-align: center;
}
.lm-plaque__grid {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  text-align: left;
}
.lm-plaque__grid dt {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-dark);
  margin-bottom: 10px;
}
.lm-plaque__grid dd { font-size: 16.5px; line-height: 1.6; }
.lm-plaque__note {
  margin-top: clamp(28px, 4vw, 44px);
  font-size: 15.5px;
  color: rgba(36, 26, 16, 0.78);
}

/* ---------- reservation ---------- */

.lm-reserve {
  background: var(--brown);
  color: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0;
}
.lm-form { margin-top: clamp(36px, 4vw, 54px); display: flex; flex-direction: column; gap: 24px; }
.lm-form__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lm-form__row:nth-of-type(2) { grid-template-columns: repeat(2, 1fr); }

.lm-field { display: flex; flex-direction: column; gap: 8px; }
.lm-field label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239, 230, 216, 0.62);
}
.lm-field input,
.lm-field select,
.lm-field textarea {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 11px 0;
  min-height: 46px;
  width: 100%;
}
.lm-field textarea { resize: vertical; min-height: 86px; }
.lm-field select { appearance: none; cursor: pointer; }
.lm-field input::placeholder, .lm-field textarea::placeholder { color: rgba(239, 230, 216, 0.34); }
.lm-field input:focus, .lm-field select:focus, .lm-field textarea:focus { border-bottom-color: var(--brass-bright); }

.lm-form__go { align-self: center; margin-top: 8px; }
.lm-form__status {
  text-align: center;
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(239, 230, 216, 0.55);
}
.lm-form__status.is-done { color: var(--brass-bright); }

/* ---------- footer ---------- */

.lm-footer {
  background: var(--night);
  color: var(--cream);
  padding: clamp(56px, 6vw, 88px) 0 42px;
  text-align: center;
}
.lm-footer__mark { font-size: 30px; }
.lm-footer__line { margin-top: 12px; font-size: 15.5px; color: var(--cream-dim); }
.lm-footer__nav {
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.lm-footer__nav a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  display: inline-block;
  padding: 7px 0;
}
.lm-footer__nav a:hover { color: var(--brass-bright); }
.lm-footer__legal {
  border-top: 1px solid var(--rule);
  padding-top: 26px;
  margin-inline: auto;
  max-width: 86ch;
  font-family: var(--sans);
  color: rgba(239, 230, 216, 0.5);
}
.lm-footer__legal strong { color: var(--cream); }
.lm-footer__legal a { color: var(--brass-bright); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .lm-nav__side { display: none; }
  .lm-nav__inner { grid-template-columns: 1fr auto 1fr; }
  .lm-mark { grid-column: 2; }
  .lm-burger { display: grid; grid-column: 3; }

  .lm-columns { column-count: 1; }
  .lm-collage { grid-template-columns: repeat(2, 1fr); }
  .lm-collage__item--tall { grid-row: auto; }
  .lm-collage__item--wide { grid-column: span 2; }
  .lm-collage__item:nth-child(2) { margin-top: 0; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }

  .lm-hero { min-height: 88svh; padding-top: 130px; }

  .lm-plate,
  .lm-plate:nth-child(even) {
    grid-template-columns: 56px 1fr;
    grid-template-areas: "num art" "body body";
    gap: 16px 18px;
    text-align: left;
  }
  .lm-plate__num { grid-area: num; }
  .lm-plate__art { grid-area: art; max-width: 150px; }
  .lm-plate__body { grid-area: body; text-align: left !important; }
  .lm-plate:nth-child(even) .lm-plate__art { order: 0; }
  .lm-plate:nth-child(even) .lm-plate__body { order: 0; }
  .lm-plate:nth-child(even) .lm-plate__body p { margin-left: 0; }

  .lm-plaque__grid { grid-template-columns: 1fr; gap: 24px; }
  .lm-form__row,
  .lm-form__row:nth-of-type(2) { grid-template-columns: 1fr; gap: 22px; }
  .lm-form__go { align-self: stretch; }
}

@media (max-width: 560px) {
  .lm-collage { grid-template-columns: 1fr; }
  .lm-collage__item--wide { grid-column: auto; }
  .lm-menu li { flex-wrap: wrap; gap: 4px 10px; }
  .lm-menu__dots { min-width: 20px; }
  .lm-card { padding: 26px 20px 30px; }
  .lm-plaque { padding: 30px 20px 34px; }
}

/* =========================================================
   MOTION
   ========================================================= */

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