/* Joe's Bar and Grill — colours sampled from the original Squarespace site (2026-10-20) */
:root {
  --green: #3E7A40;
  --green-dark: #2F5E31;
  --teal: #257983;
  --sand: #F6F1E7;
  --ink: #1F3B3E;
  --white: #FFFFFF;
  --line: #E3DCCD;
  --radius: 12px;
  --font-head: "Alice", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--teal); background: var(--white); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green); line-height: 1.25; font-weight: 400; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); color: var(--teal); font-weight: 400; line-height: 1.7; margin-top: 14px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.btn { display: inline-block; margin-top: 22px; padding: 12px 26px; border-radius: 999px; background: var(--green); color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.9rem; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--green-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-light { background: var(--white); color: var(--green); border: 2px solid var(--green); }
.btn-light:hover { background: var(--sand); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--green); color: var(--white); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { background: #4F7A3F; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 60px; width: auto; }
nav { display: flex; gap: 26px; align-items: center; }
nav a { color: #F3F7EE; text-decoration: none; font-weight: 600; letter-spacing: 0.03em; }
nav a:hover, nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.nav-mobile { display: none; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 10px; color: var(--white); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.nav-mobile[open] .burger { background: transparent; }
.nav-mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
.nav-mobile nav { position: absolute; right: 0; top: 56px; flex-direction: column; align-items: flex-end; gap: 16px; background: #4F7A3F; padding: 20px 24px; border-radius: 0 0 12px 12px; min-width: 200px; box-shadow: 0 12px 24px rgba(0,0,0,.2); }

/* Home */
.hero { position: relative; color: var(--white); }
.hero-img { width: 100%; height: clamp(320px, 55vw, 620px); object-fit: cover; }
.hero-inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 56px; }
.hero-logo { margin-top: -160px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.stools { background: var(--sand); padding: 56px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.card p { margin-top: 8px; }
.owner, .community { padding: 56px 0; text-align: center; }
.community { background: var(--sand); }
.owner p { max-width: 640px; margin: 10px auto 0; }

/* Reconnect */
.reconnect { padding: 56px 0; }
.reconnect-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.reconnect-grid img { border-radius: var(--radius); }
.reconnect-grid p { margin-top: 14px; }
.find { background: var(--sand); padding: 56px 0; }
.find ul { margin: 20px 0 30px 20px; display: grid; gap: 12px; }
.find strong { color: var(--green); }

/* Contact */
.contact-page { padding: 56px 0; }
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-intro img { width: 180px; margin-bottom: 12px; }
.contact-intro p { margin-top: 10px; }
.form { display: grid; gap: 14px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--green); }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #CFC6B3; border-radius: 8px; background: var(--white); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.name-row { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0; }
.name-row legend { font-weight: 700; font-size: 0.9rem; color: var(--green); margin-bottom: 6px; }
.req { font-weight: 400; color: var(--teal); font-size: 0.8rem; }
.form-status { min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #A33A2A; }

/* Footer */
.site-footer { background: var(--green); color: var(--white); padding: 44px 0; text-align: center; }
.site-footer h4 { color: var(--white); margin-top: 0; }
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }

@media (max-width: 780px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; position: relative; }
  .brand img { height: 48px; }
  .hero-inner, .reconnect-grid, .contact, .cards { grid-template-columns: 1fr; }
  .hero-logo { margin: -90px auto 0; width: 200px; }
  .name-row { grid-template-columns: 1fr; }
}
