/* ===========================================================
   THE WHARF — Big Stone Lake dockside bar & grill
   Design plan:
   Color — Lake Navy #1C2B39 (primary/dark), Dock Teal #3F6C6C
     (secondary), Buoy Orange #D9722C (cta/accent), Fog White
     #F0F4F1 (background), Rope Tan #B99565 (dividers/utility),
     Ink #17222A (body text).
   Type — Bevan (display: stenciled, stamped-crate weight) for
     headlines, Karla (body/utility) for everything else, set in
     tracked uppercase for labels.
   Layout — full-bleed dusk-lake hero with a dock-post silhouette;
     nav styled as a routed wood plank; content in a single
     restrained column, never a boxed SaaS two-up hero.
   Signature — "specials board" cards: review quotes rendered like
     hand-written chalkboard specials, slightly rotated, pinned,
     torn-edge corner — the vernacular of a lake bar's daily board.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bevan&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --navy: #1C2B39;
  --navy-deep: #101B24;
  --teal: #3F6C6C;
  --orange: #D9722C;
  --fog: #F0F4F1;
  --tan: #B99565;
  --ink: #17222A;
  --paper: #FAF8F3;
  --chalk: #EDE7D8;

  --display: 'Bevan', serif;
  --body: 'Karla', system-ui, sans-serif;

  --max: 1120px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 0.6em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Plank navbar ---------- */
.plank-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.12) 0%, transparent 3%, transparent 97%, rgba(0,0,0,0.12) 100%),
    repeating-linear-gradient(90deg, #24384A 0px, #24384A 178px, #1C2B39 179px, #1C2B39 182px);
  border-bottom: 3px solid var(--tan);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.plank-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  font-family: var(--display);
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.brand small {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--tan);
  border-radius: var(--radius);
  color: #fff;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #E7ECEA;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links .nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: #c2621f; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy-deep);
    padding: 0 1.5rem;
    gap: 1rem;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.3s, padding 0.3s ease;
    border-bottom: 3px solid var(--tan);
  }
  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    padding: 1rem 1.5rem 1.5rem;
  }
}

/* ---------- Hero: dusk over the lake ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #2C4256 0%, #1C2B39 45%, #101B24 100%);
  color: #fff;
  padding: 5.5rem 0 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 8rem;
  max-width: 720px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  margin-bottom: 0.35em;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: 1.15rem;
  color: #D7E0DD;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 2.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tan);
}
.hero-tags span::after {
  content: '•';
  margin-left: 1rem;
  color: var(--teal);
}
.hero-tags span:last-child::after { content: ''; margin: 0; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(217,114,44,0.55);
}
.btn-primary:hover { background: #c2621f; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-deep); }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy); color: #EFEFEA; }
.section-navy h2 { color: #fff; }

.section-head {
  max-width: 60ch;
  margin-bottom: 2.5rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Feature strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.strip-card {
  background: var(--paper);
  border: 1px solid rgba(28,43,57,0.08);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.strip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px -14px rgba(28,43,57,0.35);
}
.strip-card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.strip-card p { margin: 0; color: #45525A; font-size: 0.95rem; }

@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr; }
}

/* ---------- Specials-board review cards (signature element) ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem 1.75rem;
}

.board-card {
  position: relative;
  background: var(--chalk);
  background-image:
    linear-gradient(rgba(23,34,42,0.045) 1px, transparent 1px);
  background-size: 100% 1.7em;
  border-radius: 2px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 10px 22px -12px rgba(23,34,42,0.4), inset 0 0 0 1px rgba(23,34,42,0.06);
  clip-path: polygon(0 0, 96% 0, 100% 6%, 100% 100%, 4% 100%, 0 94%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.board-card:nth-child(3n+1) { transform: rotate(-0.8deg); }
.board-card:nth-child(3n+2) { transform: rotate(0.6deg); }
.board-card:nth-child(3n)   { transform: rotate(-0.3deg); }
.board-card:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 18px 30px -14px rgba(23,34,42,0.45), inset 0 0 0 1px rgba(23,34,42,0.06);
}

.board-card::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  width: 20px;
  height: 20px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 3px 5px rgba(0,0,0,0.3), inset 0 0 0 3px rgba(255,255,255,0.25);
}

.board-quote {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.board-quote::before { content: '“'; }
.board-quote::after { content: '”'; }

.board-attr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.82rem;
  border-top: 1px dashed rgba(23,34,42,0.25);
  padding-top: 0.6rem;
  color: var(--teal);
  font-weight: 700;
}
.board-attr span.who { color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--teal);
  color: #fff;
  padding: 3.25rem 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #E4EFEC; max-width: 54ch; margin: 0 auto 1.75rem; }

/* ---------- Cards / grid (menu, info) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .info-grid { grid-template-columns: 1fr; }
}

.panel {
  background: var(--paper);
  border: 1px solid rgba(28,43,57,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.pdf-slot {
  border: 2px dashed var(--tan);
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(185,149,101,0.07) 0 10px, transparent 10px 20px);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--navy);
}
.pdf-slot .pdf-icon {
  width: 46px; height: 58px;
  margin: 0 auto 1rem;
  border: 2px solid var(--navy);
  border-radius: 3px;
  position: relative;
}
.pdf-slot .pdf-icon::before {
  content: 'PDF';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.pdf-slot h3 { margin-bottom: 0.35em; }
.pdf-slot p { color: #55636A; font-size: 0.92rem; }

.pdf-embed {
  width: 100%;
  height: 640px;
  border: 1px solid rgba(28,43,57,0.15);
  border-radius: var(--radius);
}

.pdf-mobile-fallback { display: none; }

@media (max-width: 700px) {
  .pdf-embed { display: none; }
  .pdf-mobile-fallback { display: block; }
  .pdf-download-line { display: none; }
}

.dish-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dish-list li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(28,43,57,0.15);
  font-size: 0.95rem;
}
.dish-list li:last-child { border-bottom: none; }
.dish-list .tag {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-weight: 700;
  margin-top: 0.15rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item .mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1rem;
}
.contact-item h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2em;
  color: var(--navy);
}
.contact-item p { margin: 0; color: #3C4850; }
.contact-item a:hover { color: var(--orange); }

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: #B9C3C1;
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
footer.site-footer .foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}
footer.site-footer .brand { color: #fff; }
footer.site-footer a:hover { color: var(--orange); }
footer.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
footer.site-footer .foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #7C8A88;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease-out;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #c2621f; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.page-header h1 { color: #fff; margin-bottom: 0.3em; }
.page-header p { color: #C9D3D0; max-width: 60ch; margin: 0; }

/* ---------- Utility ---------- */
.center-link {
  text-align: center;
  margin-top: 2.25rem;
}
.link-underline {
  color: var(--orange);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.link-underline:hover { border-color: var(--orange); }
