/* Harbor & Vine Bistro — fine-dining editorial. Serif display, cream + wine, hairline rules, dotted-leader menu. */
:root {
  --cream: #faf6ef;
  --cream-deep: #f2ecdf;
  --ink: #2b2320;
  --wine: #7c2d12;
  --wine-deep: #5d200c;
  --gold: #b98a2e;
  --rule: #e2d9c8;
  --muted: #8a7d6e;
  --white: #fffdf9;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }

.display, h1, h2, h3, .wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 28px; }

/* ---- masthead ---- */
.masthead { padding: 30px 28px 26px; border-bottom: 1px solid var(--rule); text-align: center; }
.topnav { display: flex; justify-content: center; gap: 34px; margin-bottom: 26px; }
.topnav a {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.topnav a:hover { color: var(--wine); }
.wordmark { font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: 0.04em; color: var(--wine); }
.tagline {
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 8px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; row-gap: 4px;
}
.tagline span { white-space: nowrap; }
/* Hairline em-rule between segments — matches the site's hairline language.
   ::before attaches to the following segment so wrapped lines start with
   the rule and none ever dangle at a line end. */
.tagline span + span::before,
.footer-line span + span::before,
.hero-links a + a::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1px;
  background: var(--rule);
  vertical-align: middle;
  margin: 0 0.7em;
}

/* ---- hero ---- */
.hero { text-align: center; padding: 84px 28px 70px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.15; }
.hero h1 em { font-style: italic; color: var(--wine); }
.hero p { max-width: 34em; margin: 22px auto 30px; color: var(--muted); font-size: 1.02rem; }
.hero-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 0.9rem; }
.hero-links a { color: var(--wine); font-weight: 700; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.hero-links a:hover { color: var(--wine-deep); }

/* ---- story ---- */
.story { border-top: 1px solid var(--rule); padding: 70px 28px; text-align: center; }
.label {
  font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.pull {
  font-family: Georgia, serif; font-style: italic; font-size: clamp(1.4rem, 3vw, 1.9rem);
  max-width: 22em; margin: 0 auto 22px; color: var(--ink);
}
.story .body { max-width: 40em; margin: 0 auto; color: var(--muted); font-size: 0.98rem; }

/* ---- story: sourcing trio ---- */
.sourcing { display: flex; justify-content: center; gap: 56px; margin-top: 36px; }
.sourcing-item { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.sourcing-item svg { width: 22px; height: 22px; color: var(--gold); }
.sourcing-item span { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ---- menu: dotted leaders ---- */
.menu { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 70px 28px; }
.menu h2, .menu .label { text-align: center; }
.menu h2 { display: flex; align-items: center; justify-content: center; gap: 12px; }
.menu h2 svg { width: 24px; height: 24px; color: var(--wine); }
.menu-grid { max-width: 760px; margin: 36px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.menu-item { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: center; }
.menu-item h3 {
  font-size: 1.04rem; color: var(--ink);
  display: flex; align-items: baseline; gap: 10px;
}
.menu-item h3::after { content: ""; flex: 1; border-bottom: 1px dotted var(--gold); transform: translateY(-4px); }
.menu-item p { grid-column: 1; color: var(--muted); font-size: 0.86rem; margin-top: 3px; }
.menu-item .price { color: var(--wine); font-size: 0.98rem; }
.menu-note { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 30px; font-style: italic; }

/* ---- visit ---- */
.visit { padding: 70px 28px; text-align: center; }
.visit h2 { margin-bottom: 36px; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; text-align: left; }
.visit-col + .visit-col { border-left: 1px solid var(--rule); padding-left: 40px; }
.visit h3 { font-size: 1.06rem; color: var(--wine); margin-bottom: 14px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 9px; }
.visit h3 svg { width: 17px; height: 17px; color: var(--gold); }
.visit p { color: var(--muted); font-size: 0.9rem; margin-bottom: 6px; }
.hours { display: flex; flex-direction: column; }
.hours-row { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; font-size: 0.9rem; }
.hours-day { white-space: nowrap; }
.hours-lead { flex: 1; border-bottom: 1px dotted var(--gold); transform: translateY(-4px); }
.hours-time { color: var(--muted); white-space: nowrap; }
.btn-outline {
  display: inline-block; margin-top: 14px;
  border: 1px solid var(--wine); color: var(--wine);
  padding: 11px 26px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
}
.btn-outline:hover { background: var(--wine); color: var(--white); }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--rule); padding: 34px 28px 44px; text-align: center; color: var(--muted); font-size: 0.85rem; }
.footer-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; row-gap: 4px; }
.footer-line span { white-space: nowrap; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .visit-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .visit-col + .visit-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px; }
  .visit h3 { justify-content: center; }
  .hours { max-width: 300px; margin: 0 auto; text-align: left; }
  .sourcing { gap: 30px; flex-wrap: wrap; }
}

/* iOS landscape (viewport-fit=cover): keep content clear of the notch/home
   indicator while section backgrounds and separators stay full-bleed. */
@media (orientation: landscape) {
  .masthead, .hero, .story, .menu, .visit, .footer {
    padding-left: calc(28px + env(safe-area-inset-left, 0px));
    padding-right: calc(28px + env(safe-area-inset-right, 0px));
  }
}
