/* ==========================================================================
   Flagstick Bistro — site components & layout
   Reproduces the NDIS-Connect design-system Button / Card primitives and the
   image-slot placeholder using the shared design tokens. No framework.
   ========================================================================== */

body { margin: 0; background: var(--paper); }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-800); text-decoration: underline; }

input, select, textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm); padding: 11px 13px; width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: var(--sh-focus);
}
label {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-3);
}

.wrap { max-width: 1180px; margin: 0 auto; }

/* ---- Button ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; letter-spacing: -.01em;
  font-size: 15px; line-height: 1; white-space: nowrap;
  padding: 11px 18px; border: 1.5px solid transparent;
  border-radius: var(--r-pill); cursor: pointer; text-decoration: none;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--sm { font-size: 13.5px; padding: 8px 14px; }
.btn--lg { font-size: 16.5px; padding: 14px 24px; }
.btn--full { width: 100%; }

.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-800); color: #fff; box-shadow: var(--sh-md); }

.btn--ochre { background: var(--ochre-600); color: #fff; }
.btn--ochre:hover { background: var(--ochre-700); color: #fff; box-shadow: var(--sh-md); }

.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { background: var(--paper-2); border-color: var(--ink-4); color: var(--ink); }

/* ---- Card -------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  padding: 24px; overflow: hidden;
}
.card--hover { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card--hover:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); border-color: var(--line-2); }
.card--btn {
  display: block; width: 100%; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
}

/* ---- Image / photo placeholder (image-slot stand-in) ------------------- */
.img-slot {
  position: relative; width: 100%; height: 100%; min-height: inherit;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 11px, rgba(31,85,64,.05) 11px, rgba(31,85,64,.05) 22px),
    var(--paper-2);
  color: var(--ink-4); font-size: 13px; font-weight: 600; letter-spacing: .01em;
  text-align: center; padding: 14px;
}
.img-slot::before {
  content: ""; position: absolute; inset: 8px;
  border: 1.5px dashed var(--line-2); border-radius: inherit; pointer-events: none;
}
.img-slot span { position: relative; max-width: 22ch; }

/* ---- Small shared bits ------------------------------------------------- */
.dish-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 2px 8px; border-radius: var(--r-pill);
}

/* ---- Responsive collapse for fixed two-column blocks ------------------- */
@media (max-width: 860px) {
  .rows-2 { grid-template-columns: 1fr !important; }
}
/* Desktop-only column flip: keep heading-first in the DOM (mobile reading order),
   but render the photo on the left on wide screens for alternating sections. */
@media (min-width: 861px) {
  .rows-flip > *:first-child { order: 2; }
  .rows-flip > *:last-child { order: 1; }
}
@media (max-width: 620px) {
  .hero-pad { padding-left: 20px !important; padding-right: 20px !important; }
  .header-book { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .card--hover:hover { transform: none; }
}

/* ==========================================================================
   HERITAGE COUNTRY CLUB — the Flagstick identity.
   Deep forest green · warm bone & ivory grounds · antique-brass accent ·
   a soft serif display (Kaisei Decol) + Montserrat body · tailored geometry.
   Loaded last, so this :root block wins the cascade over the base tokens.
   ========================================================================== */
:root {
  /* ---- Forest green (primary) ---- */
  --teal-900: #10241a;   /* near-black forest — hero grounds, footer */
  --teal-800: #173726;   /* deep panels */
  --teal-700: #1f5540;   /* PRIMARY — hunter green */
  --teal-600: #2a6a4d;
  --teal-500: #3a8160;
  --teal-300: #8fb4a1;
  --teal-100: #d5e4db;
  --teal-50:  #eaf1ec;

  /* ---- Antique brass (accent — replaces the amber ochre) ---- */
  --ochre-700: #9a7500;  /* deep gold — labels/eyebrows on light bone */
  --ochre-600: #eec50a;  /* gold — button hover */
  --ochre-500: #fdd017;  /* golden (client-specified #FDD017) — buttons, dark eyebrows, highlights */
  --ochre-100: #fceeae;
  --ochre-50:  #fef7dc;

  /* ---- Warm bone neutrals ---- */
  --ink:    #1b241d;     /* deep green-black text */
  --ink-2:  #47514a;     /* secondary */
  --ink-3:  #6b746c;     /* tertiary / captions */
  --ink-4:  #9aa199;     /* hints */
  --line:   #e3dccc;     /* warm hairline */
  --line-2: #d1c8b2;     /* stronger border */
  --paper:  #f4efe4;     /* bone page background */
  --paper-2:#ece5d5;     /* alt sections — deeper sand */
  --surface:#fcfaf4;     /* cards — warm ivory */
  --surface-tint: #f2ecdd;
  --glass:  rgba(255, 253, 249, 0.94);   /* nav bar — bright warm white */

  /* ---- Semantic tints re-warmed to the bone ground ---- */
  --ok-bg:   #e4eede;
  --warn-bg: #f4ecd5;
  --muted-bg:#eae6da;

  /* ---- Tailored geometry — smaller radii than the SaaS default ---- */
  --r-xs: 3px; --r-sm: 5px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;

  /* ---- Flatter, ink-tinted shadows (less "floating SaaS card") ---- */
  --sh-xs: 0 1px 2px rgba(24, 36, 28, 0.05);
  --sh-sm: 0 1px 2px rgba(24, 36, 28, 0.06);
  --sh-md: 0 2px 4px rgba(24, 36, 28, 0.05), 0 12px 26px -16px rgba(24, 36, 28, 0.24);
  --sh-lg: 0 3px 6px rgba(24, 36, 28, 0.06), 0 26px 50px -24px rgba(24, 36, 28, 0.30);
  --sh-focus: 0 0 0 3px rgba(31, 85, 64, 0.26);

  /* ---- Type: Kaisei Decol serif display + Montserrat sans body (Ascot pairing) ---- */
  --sans: 'Montserrat', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Kaisei Decol', Georgia, 'Times New Roman', serif;
  --display: 'Kaisei Decol', Georgia, 'Times New Roman', serif;
  --display-weight: 500;
  --display-spacing: 0em;

  --hero-grad: radial-gradient(1100px 520px at 78% -8%, var(--teal-50), transparent 60%), radial-gradient(800px 400px at 0% 100%, var(--ochre-50), transparent 55%);
  --on-tint: var(--teal-800);
}

/* Serif headings pick up the high-contrast display cut at large sizes. */
h1, h2, h3, h4, .display, .serif { font-optical-sizing: auto; }

/* Refined cards on the warm ground: hairline border, flat-then-soft shadow. */
.card { border-color: var(--line); box-shadow: var(--sh-sm); }
.card--hover:hover { box-shadow: var(--sh-md); border-color: var(--line-2); transform: translateY(-2px); }

/* Buttons: tailored rectangles, not full pills — quiet, letter-spaced labels. */
.btn { border-radius: var(--r-sm); letter-spacing: .012em; }
.btn--ochre { background: var(--ochre-500); color: var(--teal-900); }
.btn--ochre:hover { background: var(--ochre-600); color: var(--teal-900); }

/* Eyebrows / kickers read as engraved brass small-caps. */
.eyebrow { color: var(--ochre-700); letter-spacing: .2em; }

/* Inputs on the bone ground. */
input, select, textarea { border-color: var(--line-2); background: var(--surface); }

/* A hairline brass rule for section breaks. */
.rule-brass { height: 1px; background: linear-gradient(90deg, var(--ochre-500), transparent); border: 0; }

/* Links / nav / cards stay unadorned until hover. */
nav a, a.card, a[data-act] { text-decoration: none; }
nav a:hover, a.card:hover, a[data-act]:hover { text-decoration: none; }

/* Nav dropdown — "Bistro menu" reveals venue menus + maps on hover/focus. */
.nav-dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 252px; padding-top: 10px; margin-top: -2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease; z-index: 60;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-h { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); padding: 8px 12px 5px; }
.nav-dd-a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-dd-a:hover { background: var(--teal-50); color: var(--teal-800); text-decoration: none; }
@media (max-width: 620px) { .nav-dd-menu { display: none; } }

/* Nav links get a lively green hover (inline styles need !important to lose). */
header nav a:hover { background: var(--teal-50) !important; color: var(--teal-900) !important; }

/* Mobile navigation — hamburger + slide-down panel below 820px. */
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--teal-800); border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.nav-toggle:active { transform: translateY(1px); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--glass); }
.mnav-a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--teal-800); font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.mnav-a:hover, .mnav-a--on { color: var(--teal-600); }
@media (max-width: 820px) {
  .desktop-nav { display: none !important; }
  .header-book { display: none !important; }
  .nav-toggle { display: inline-flex; }
  header .wrap img[alt="Flagstick Bistro"] { height: 54px !important; }
}
@media (min-width: 821px) { .mobile-nav { display: none !important; } }

/* Eyebrow kicker labels removed for a cleaner, premium look. */
.eyebrow { display: none !important; }

/* Hero: parallax on desktop, plain scroll on phones (fixed bg is buggy on mobile); tighter hero padding on small screens so it fits. */
@media (max-width: 820px) {
  .hero-bg { background-attachment: scroll !important; }
  .hero-pad { padding-top: 60px !important; padding-bottom: 56px !important; }
}

/* Bistro menu — clean two-column list; each dish stays whole; 1 column on mobile. */
.menu-cols { columns: 2 340px; column-gap: 48px; }

/* Home FAQ — native <details> accordion, no JS. */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-summary { list-style: none; cursor: pointer; padding: 20px 2px; display: flex; justify-content: space-between; align-items: center; gap: 22px; font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.35; color: var(--teal-900); transition: color .15s ease; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--teal-700); }
.faq-plus { flex: none; font-family: var(--sans); font-weight: 400; color: var(--teal-700); font-size: 26px; line-height: 1; transition: transform .2s ease; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 2px 22px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 72ch; }

/* About page — playful polaroids, cuisine cards, pull-quotes. */
.ab-poly { background: #fff; padding: 10px 10px 4px; border-radius: 12px; box-shadow: 0 12px 26px rgba(16, 36, 26, .15); }
.ab-poly > div { border-radius: 8px; }
.ab-pull { font-family: var(--display); font-weight: 500; }
.cuisine-card { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: 26px 24px; box-shadow: var(--sh-sm); transition: transform .14s ease, box-shadow .14s ease; }
.cuisine-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 36, 26, .14); }
@media (max-width: 560px) { .ab-poly { width: 43vw !important; } }
.wrap-wide { max-width: 1300px; margin: 0 auto; }
.ab-cols { columns: 2 300px; column-gap: 46px; }
@media (max-width: 700px) { .ab-spark { display: none; } }

/* Operate — theme-nights alternating timeline (Flagstick green line, gold nodes). */
.tn-line { position: relative; max-width: 920px; margin: 36px auto 0; }
.tn-line::before { content: ""; position: absolute; left: 50%; top: 12px; bottom: 12px; border-left: 2px dashed var(--teal-600); transform: translateX(-1px); }
.tn-row { position: relative; display: grid; grid-template-columns: 1fr 152px 1fr; align-items: center; column-gap: 24px; margin-bottom: 20px; }
.tn-node { grid-column: 2; justify-self: center; width: 132px; height: 132px; border-radius: 18px; border: 3px solid var(--ochre-500); overflow: hidden; background: #1e3a2a; box-shadow: 0 6px 16px rgba(16, 36, 26, .22); z-index: 1; }
.tn-node img, .tn-node svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-content { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 20px; box-shadow: var(--sh-sm); }
.tn-content h3 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin: 0; color: var(--teal-800); }
.tn-content p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 6px 0 0; }
.tn-left .tn-content { grid-column: 1; text-align: right; }
.tn-right .tn-content { grid-column: 3; text-align: left; }
@media (max-width: 640px) {
  .tn-line::before { left: 46px; }
  .tn-row { grid-template-columns: 92px 1fr; column-gap: 15px; }
  .tn-node { grid-column: 1; justify-self: start; width: 88px; height: 88px; border-radius: 14px; }
  .tn-left .tn-content, .tn-right .tn-content { grid-column: 2; text-align: left; }
}

/* Operate — theme-night bands (text one side, illustration the other, alternating). */
.tn-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--teal-800); border-radius: var(--r-xl); overflow: hidden; margin-bottom: 22px; }
.tn-band-text { padding: 40px 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.tn-band-text h3 { font-family: var(--display); font-weight: 600; font-size: clamp(23px, 2.7vw, 30px); letter-spacing: -.012em; margin: 0; color: #fff; }
.tn-band-text p { font-size: 16.5px; line-height: 1.62; color: #dbeae3; margin: 12px 0 0; max-width: 44ch; }
.tn-band-img { position: relative; min-height: 320px; background: #1e3a2a; }
.tn-band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-band-img svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tn-band--rev .tn-band-text { grid-column: 2; }
.tn-band--rev .tn-band-img { grid-column: 1; grid-row: 1; }
@media (max-width: 720px) {
  .tn-band { grid-template-columns: 1fr; }
  .tn-band-img, .tn-band--rev .tn-band-img { grid-column: 1; grid-row: 1; min-height: 230px; }
  .tn-band-text, .tn-band--rev .tn-band-text { grid-column: 1; grid-row: 2; padding: 30px 28px; }
}

/* Conversational enquiry — option chips. */
.eq-chip { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 12px 20px; border-radius: var(--r-pill); cursor: pointer; transition: border-color .12s ease, background .12s ease, color .12s ease, transform .08s ease; }
.eq-chip:hover { border-color: var(--teal-600); color: var(--teal-800); background: var(--teal-50); }
.eq-chip:active { transform: translateY(1px); }
.eq-chip--on { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.eq-chip--on:hover { background: var(--teal-800); color: #fff; }
