/* B · Terrace & Terracotta: the club badge, arched like the logo, terracotta pots, kraft cups and the mustard rattan chairs out front. */
:root {
  --bg: #f3ece0;
  --surface: #fffaf2;
  --alt: #e9dcc6;
  --ink: #2a211b;
  --muted: #5c4f44;
  --title: #2a211b;
  --accent: #9c4325;
  --accent-deep: #7e3419;
  --on-accent: #fffaf2;
  --soft-on-accent: #f8dfae;
  --mustard: #d9a531;
  --mustard-deep: #b5861f;
  --footer: #2a211b;
  --on-footer: #f3ece0;
  --header: 68px;
  --bar-h: 60px;
  --serif: 'Gloock', 'Bodoni 72', Georgia, serif;
  --sans: 'Karla', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
section[id] { scroll-margin-top: calc(var(--header) + 8px); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }

.label {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.label-light { color: var(--soft-on-accent); }
.section-title { font-size: clamp(36px, 8vw, 58px); color: var(--title); margin-bottom: .4em; }
.small { font-size: 14px; color: var(--muted); }

/* Arches, after the oval of the club badge */
.arch { border-radius: 999px 999px 10px 10px; overflow: hidden; background: var(--alt); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Mustard rattan weave band, from the terrace chairs */
.weave {
  height: 16px;
  background:
    repeating-linear-gradient(45deg, var(--mustard) 0 5px, transparent 5px 10px),
    repeating-linear-gradient(-45deg, var(--mustard-deep) 0 5px, var(--bg) 5px 10px);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid var(--accent);
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--on-accent); }
.btn-light { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.btn-light:hover { background: var(--soft-on-accent); border-color: var(--soft-on-accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--alt);
  box-shadow: 0 2px 0 var(--alt);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 23px; color: var(--ink); text-decoration: none; }
.brand img { width: auto; height: 50px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta { background: var(--accent); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--accent-deep); color: var(--on-accent); }
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--accent); cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }

  .site-nav {
    position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 3px solid var(--mustard);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 16px; border-top: 1px solid var(--alt); }
  .site-nav .nav-cta { margin: 12px 16px 16px; text-align: center; }
}

/* Hero: status line and call button must sit above the fold at 390x844 */
.hero { padding-bottom: 48px; }
.hero-grid { display: grid; gap: 36px; padding-top: 26px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.hero h1 { font-size: clamp(48px, 13vw, 96px); line-height: .98; margin-bottom: 16px; }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-lead { font-size: clamp(18px, 4.4vw, 21px); max-width: 27em; margin-bottom: 18px; color: var(--muted); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1.5px solid var(--alt); padding: 8px 16px; border-radius: 999px;
  font-weight: 700; margin-bottom: 22px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status:has([data-state='open']) .dot { background: #3f8a4c; }
.status:has([data-state='closed']) .dot { background: var(--accent); }
.hero-art { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.hero-photo { aspect-ratio: 4 / 5; border: 8px solid var(--surface); box-shadow: 0 20px 40px rgba(42, 33, 27, .18); }
.hero-photo img { object-position: center 60%; }
.hero-badge {
  position: absolute; left: -6px; bottom: -22px; width: 112px;
  background: var(--surface); border-radius: 50%; padding: 6px;
  transform: rotate(-8deg); box-shadow: 0 8px 20px rgba(42, 33, 27, .2);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 56px; gap: 56px; }
  .hero { padding-bottom: 88px; }
  .hero-badge { width: 150px; left: -48px; bottom: 28px; }
}

/* Split layouts */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.about { padding: 64px 0; }
.about-photos { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: end; }
.about-photos .arch { aspect-ratio: 3 / 4; }
.about-photos .small-arch { aspect-ratio: 3 / 5; transform: translateY(28px); }
.signoff { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--accent); margin-top: 1.2em; }

/* Menu: tabbed card with dotted leaders. Without JS every panel stays visible as one long menu. */
.menu { padding: 64px 0; background: var(--alt); }
.menu-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 6px 20px 24px;
  margin-top: 10px;
  box-shadow: 0 14px 30px rgba(42, 33, 27, .1);
  border: 1px solid #ddcdb3;
}
.menu-tabs {
  display: flex; gap: 4px; overflow-x: auto;
  margin: 0 -20px 8px; padding: 0 12px;
  border-bottom: 2px solid var(--alt);
  scrollbar-width: thin;
}
.menu-tabs button {
  flex: none;
  font: inherit; font-weight: 700; font-size: 15px;
  padding: 16px 12px 12px;
  border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px;
  background: none; color: var(--muted);
  cursor: pointer;
}
.menu-tabs button[aria-selected='true'] { color: var(--accent); border-bottom-color: var(--accent); }
.menu-tabs:not(.is-ready) { display: none; }
.menu-panel { padding-top: 12px; }
.menu-panel + .menu-panel { border-top: 2px solid var(--alt); margin-top: 18px; }
.menu-tabs.is-ready ~ .menu-panel { border-top: 0; margin-top: 0; }
.menu-cols { display: grid; gap: 8px 48px; }
.group-title { font-size: 28px; color: var(--accent); margin: 14px 0 10px; }
.items { list-style: none; margin: 0 0 8px; padding: 0; }
.items li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-weight: 500; }
.items li::after { content: ''; flex: 1; order: 1; border-bottom: 2px dotted #c9b79b; min-width: 16px; transform: translateY(-4px); }
.items li > span:first-child { flex: 0 1 auto; }
.price { order: 2; font-weight: 700; white-space: nowrap; }
.menu-panel .small a { color: var(--accent); font-weight: 700; }
.menu-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 800px) {
  .menu-card { padding: 6px 40px 30px; }
  .menu-tabs { margin: 0 -40px 8px; padding: 0 28px; }
  .menu-cols { grid-template-columns: 1fr 1fr; }
}

/* Friday bread */
.bread { padding: 72px 0; background: var(--accent); color: var(--on-accent); position: relative; }
.bread .section-title { color: var(--on-accent); }
.bread .arch { aspect-ratio: 4 / 5; max-height: 560px; border: 8px solid var(--on-accent); }
.stamp {
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  border: 2px solid var(--soft-on-accent); outline: 1px solid var(--soft-on-accent); outline-offset: 4px;
  font-family: var(--serif); font-size: 21px; line-height: 1; color: var(--soft-on-accent);
  transform: rotate(-10deg); margin: 0 0 22px 6px;
}
.stamp span + span { margin-top: 4px; }

/* Hours */
.hours { padding: 64px 0; }
.hours-grid { display: grid; gap: 40px; }
.ticket {
  background: var(--surface); padding: 30px 26px; border-radius: 14px;
  border: 2px dashed #d3c2a6;
}
.week { list-style: none; margin: 0; padding: 0; }
.week li { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--alt); }
.week li:last-child { border-bottom: 0; }
.week li.is-today { background: var(--accent); color: var(--on-accent); font-weight: 700; border-radius: 999px; }
.facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.facts li { padding-left: 28px; position: relative; color: var(--muted); }
.facts li strong { color: var(--ink); }
.facts li::before {
  content: ''; position: absolute; left: 2px; top: .4em; width: 14px; height: 12px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}
@media (min-width: 860px) { .hours-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* Gallery */
.gallery { padding: 64px 0; background: var(--surface); }
.gallery-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.gallery-grid figure { overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 5; background: var(--alt); }
.gallery-grid figure.arch { border-radius: 999px 999px 10px 10px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Reviews: themes from real reviews, never invented quotes */
.reviews { padding: 64px 0; }
.stars { color: var(--accent); letter-spacing: .1em; font-size: .6em; }
.reviews-sub { color: var(--muted); }
.themes { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.themes li { background: var(--surface); padding: 22px; border-radius: 14px; border-top: 5px solid var(--mustard); }
.themes h3 { font-size: 25px; color: var(--accent); margin-bottom: 8px; }
.themes p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .themes { grid-template-columns: repeat(3, 1fr); } }

/* Find us */
.find { padding: 64px 0; background: var(--alt); }
.find-grid { display: grid; gap: 28px; }
address { font-style: normal; font-size: 19px; margin-bottom: 14px; }
.directions { color: var(--muted); max-width: 30em; }
.map { border-radius: 14px; overflow: hidden; min-height: 340px; border: 6px solid var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1.2fr; align-items: center; } }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-footer); padding-bottom: 24px; }
.site-footer .weave { background:
    repeating-linear-gradient(45deg, var(--mustard) 0 5px, transparent 5px 10px),
    repeating-linear-gradient(-45deg, var(--mustard-deep) 0 5px, var(--footer) 5px 10px); }
.footer-grid { display: grid; gap: 28px; padding-top: 36px; }
.footer-brand-wrap img { width: 130px; margin-bottom: 12px; }
.footer-sub { font-family: var(--serif); font-size: 22px; margin: 0; }
.site-footer h2 { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.site-footer a { color: var(--on-footer); overflow-wrap: anywhere; }
.copyright { text-align: center; font-size: 13px; margin: 28px 16px 0; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1.2fr 1fr; } }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 14px rgba(42, 33, 27, .16);
}
.mobile-bar a {
  display: grid; place-items: center;
  font-weight: 700; font-size: 17px; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.mobile-bar .mobile-bar-alt { background: var(--surface); color: var(--accent); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
