/* ============================================================
   LANEWAY BAR — LAYOUT WIREFRAME (Restaurant & bar)
   Fonts: Playfair Display (display) / Inter (body)
   Palette: shared light wireframe greys; single optional accent
   ============================================================ */

:root {
  --bg: #ededed;
  --surface: #e2e2e2;
  --surface-2: #dcdcdc;
  --line: #c6c6c6;
  --text: #333333;
  --muted: #777777;
  --faint: #9a9a9a;
  --accent: var(--pop);
  --accent-ink: var(--pop-ink);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --speed: .4s;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .005em;
  margin: 0;
}
h1 em, h2 em, .reserve-success h3 em { font-style: italic; font-weight: 400; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; padding: 0; }
ul, ol, dl, figure { margin: 0; padding: 0; }
li { list-style: none; }

.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ============ PLACEHOLDER BOXES ============ */
.ph {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px dashed #a8a8a8;
  color: var(--muted);
  font: 500 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

.logo-ph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  background: var(--surface-2);
  border: 1px dashed #a8a8a8;
  color: var(--muted);
  font: 500 6.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

/* ============ SHARED BITS ============ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow-rule { width: 34px; height: 1px; background: var(--faint); flex: none; }

.section { padding: 104px 0 112px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-sub { color: var(--muted); margin: 18px 0 0; max-width: 54ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid var(--text);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000000); border-color: color-mix(in srgb, var(--accent) 85%, #000000); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color var(--speed) var(--ease), gap var(--speed) var(--ease);
}
.text-link:hover { gap: 12px; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(237, 237, 237, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.btn) {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.main-nav > a:not(.btn):hover { color: var(--text); border-bottom-color: var(--accent); }
.nav-cta { padding: 9px 18px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); max-width: 12ch; }
.hero-sub { color: var(--muted); margin: 26px 0 0; max-width: 46ch; font-size: 16.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.hero-facts > div { padding: 16px 32px 0; }
.hero-facts > div:first-child { padding-left: 0; }
.hero-facts > div + div { border-left: 1px solid var(--line); }
.hero-facts dt {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--faint);
  margin-bottom: 4px;
}
.hero-facts dd { margin: 0; font-size: 14px; font-weight: 500; }

.hero-photo { aspect-ratio: 4 / 5; width: 100%; max-height: 640px; }

/* ============ MENU / COURSE ACCORDION ============ */
.courses { border-top: 1px solid var(--line); }
.course { border-bottom: 1px solid var(--line); }

.course-head {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 32px);
  width: 100%;
  padding: 30px 8px;
  text-align: left;
  transition: background-color var(--speed) var(--ease);
}
.course-head:hover { background: var(--surface); }
.course-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--faint);
  flex: none;
  align-self: center;
}
.course-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  transition: font-style var(--speed) var(--ease);
}
.course-head[aria-expanded="true"] .course-name { font-style: italic; }
.course-note {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
  align-self: center;
}
.course-icon {
  position: relative;
  width: 15px;
  height: 15px;
  margin-left: auto;
  flex: none;
  align-self: center;
}
.course-icon::before, .course-icon::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 15px;
  height: 1.5px;
  background: var(--accent);
  transition: transform var(--speed) var(--ease);
}
.course-icon::after { transform: rotate(90deg); }
.course-head[aria-expanded="true"] .course-icon::after { transform: rotate(0deg); }

.course-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.dish-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
  padding: 6px 8px 40px calc(clamp(16px, 3vw, 32px) + 27px);
}
.dish { padding: 18px 0; border-top: 1px solid var(--line); }
.dish:nth-child(-n + 2) { border-top: none; }
.dish-row { display: flex; align-items: baseline; gap: 12px; }
.dish-row h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.dish-leader { flex: 1; border-bottom: 1px dashed var(--line); transform: translateY(-3px); }
.dish-price { font-size: 14px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.dish p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); max-width: 44ch; }

.menu-note {
  margin: 32px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ============ PRIVATE DINING ============ */
.private-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.private-photo { aspect-ratio: 3 / 2.4; }
.private-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.private-copy > p { color: var(--muted); margin: 20px 0 0; max-width: 52ch; }
.private-list { margin: 28px 0 34px; border-top: 1px solid var(--line); }
.private-list li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  position: relative;
}
.private-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 22px;
  width: 10px;
  height: 1.5px;
  background: var(--accent);
}

/* ============ REVIEWS ============ */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.quote-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { color: var(--accent); font-size: 14px; letter-spacing: .3em; }
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}
.quote-card figcaption {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.quote-card figcaption::before { content: '— '; color: var(--faint); }

/* ============ RESERVATIONS ============ */
.reserve-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.reserve-intro h2 { font-size: clamp(30px, 4vw, 46px); }
.reserve-notes { margin-top: 30px; border-top: 1px solid var(--line); }
.reserve-notes li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  position: relative;
}
.reserve-notes li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 22px;
  width: 10px;
  height: 1.5px;
  background: var(--accent);
}

.reserve-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 7px;
}
.field label .opt { text-transform: none; letter-spacing: .04em; font-weight: 500; color: var(--faint); }
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font: 400 15px/1.4 var(--font-body);
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease);
  appearance: none;
}
.field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" fill="none" stroke="%23777" stroke-width="1.6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input:hover, .field select:hover { border-color: var(--faint); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field.has-error input, .field.has-error select { border-color: var(--text); background: var(--surface); }
.field .err {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--text);
  min-height: 0;
}
.field .err:empty { display: none; }
.field .err::before { content: '— '; color: var(--faint); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form-note { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 34ch; }

.reserve-success { padding: 12px 0; }
.reserve-success:focus { outline: none; }
.success-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  border-radius: 2px;
}
.reserve-success h3 { font-size: clamp(26px, 3vw, 34px); }
.success-summary {
  margin: 18px 0 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.success-note { margin: 16px 0 26px; font-size: 13.5px; color: var(--muted); max-width: 46ch; }

/* ============ FOOTER ============ */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
  gap: clamp(32px, 4vw, 56px);
  padding: 64px 0 48px;
}
.footer-brand p { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); max-width: 30ch; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 16px;
}
.hours { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr:last-child td { border-bottom: none; }
.footer-contact li { padding: 6px 0; font-size: 13.5px; }
.footer-contact a { border-bottom: 1px solid transparent; transition: border-color var(--speed) var(--ease); }
.footer-contact a:hover { border-bottom-color: var(--accent); }
.footer-map { aspect-ratio: 4 / 2.6; align-self: start; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.footer-base p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { transition: color var(--speed) var(--ease); }
.footer-links a:hover { color: var(--text); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid, .private-grid, .reserve-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero h1 { max-width: 16ch; }
  .hero-photo { aspect-ratio: 16 / 10; max-height: none; }
  .private-photo { order: 2; }
  .quote-grid { grid-template-columns: 1fr; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-map { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
  .main-nav > a:not(.btn):hover { border-bottom-color: var(--line); }
  .nav-cta { margin-top: 16px; padding: 13px 18px; }

  .section { padding: 76px 0 84px; }
  .dish-list { grid-template-columns: 1fr; padding-left: 8px; }
  .dish:nth-child(2) { border-top: 1px solid var(--line); }
  .course-note { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts > div { padding: 12px 0; }
  .hero-facts > div:first-child { padding-left: 0; }
  .hero-facts > div + div { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; padding: 52px 0 40px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* COLOUR OPTION — accent is re-themed by the corner widget; default is wireframe grey */
:root { --pop: #9a9a9a; --pop-ink: #ffffff; }
