/* =====================================================================
   Ember & Oak — stylesheet
   Color system follows the HTML CSS Style Color Guide (awesome-copilot):
   - 60-30-10 rule. Primary (60%) + Secondary (30%) are cool/light.
   - Accent (10%) is a single, restrained complementary warm tone,
     used ONLY for small elements (never backgrounds / large sections).
   - Backgrounds: off-white + light cool tones + subtle same-family
     linear gradients with minimal color shift.
   - Text: dark neutrals on light; near-white on dark. High contrast,
     WCAG-aware. No yellow, pink, neon, or hot-color backgrounds.
   ===================================================================== */

:root {
  /* Primary (60%) — cool + light / cool-dark anchor */
  --bg: #f5f7fa;            /* off-white primary background */
  --surface: #ffffff;       /* cards / panels */
  --ink-900: #1f2328;       /* near-black primary text */
  --ink-700: #24292f;       /* headings */
  --ink-500: #4d4d4d;       /* body dark gray */
  --ink-400: #6c757d;       /* muted dark gray */

  /* Secondary (30%) — cool tones */
  --cool-050: #eaf1f6;      /* section tint */
  --cool-100: #e6f2ff;      /* light cool near-white (on dark) */
  --cool-200: #cbd9e2;      /* borders / hairlines */
  --cool-700: #3a5a66;      /* secondary cool text / links */
  --cool-900: #1f4e5f;      /* deep teal — header/footer/dark anchor */

  /* Accent (10%) — single restrained warm tone; small elements only */
  --ember: #c06a2b;         /* muted ember/terracotta */
  --ember-600: #a85821;     /* hover / active */
  --ember-tint: #f3e3d4;    /* very light wash for tiny chips */

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(31, 78, 95, 0.08), 0 2px 8px rgba(31, 78, 95, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 78, 95, 0.12);
  --maxw: 1120px;
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink-700);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--cool-700); }
a:hover { color: var(--cool-900); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utilities / a11y ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--cool-900); color: var(--cool-100);
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 100; transition: top 0.18s ease; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--cool-700);
  outline-offset: 2px;
  border-radius: 4px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cool-700);
  margin: 0 0 0.6em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  font: inherit; font-weight: 650;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

/* Accent used sparingly: the primary CTA is the ~10% warm element */
.btn-primary {
  background: var(--ember);
  color: #ffffff;
  border-color: var(--ember);
}
.btn-primary:hover { background: var(--ember-600); border-color: var(--ember-600); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--cool-900);
  border-color: var(--cool-200);
}
.btn-ghost:hover { background: var(--cool-050); color: var(--cool-900); border-color: var(--cool-700); }

.btn-block { width: 100%; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--cool-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--cool-050);
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.22rem; font-weight: 700; color: var(--cool-900);
}
.brand-tag { font-size: 0.72rem; color: var(--ink-400); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none; display: flex; align-items: center; gap: 4px;
  margin: 0; padding: 0;
}
.nav-menu a {
  display: inline-block; padding: 0.55em 0.9em;
  color: var(--ink-700); text-decoration: none; font-weight: 600;
  border-radius: 999px; transition: background 0.15s ease, color 0.15s ease;
}
.nav-menu a:hover { background: var(--cool-050); color: var(--cool-900); }
.nav-cta {
  background: var(--cool-900); color: var(--cool-100) !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--cool-700); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--cool-200); background: var(--surface);
  border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--ink-700); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  /* subtle, same-family linear gradient, minimal shift */
  background: linear-gradient(160deg, #f5f7fa 0%, #eaf1f6 60%, #e6f2ff 100%);
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.lede { font-size: 1.14rem; color: var(--ink-500); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }

.hero-facts {
  display: flex; gap: 34px; margin: 0; padding-top: 22px;
  border-top: 1px solid var(--cool-200);
}
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-400); font-weight: 700;
}
.hero-facts dd { margin: 4px 0 0; font-weight: 650; color: var(--ink-700); }

.hero-card {
  background: var(--cool-900);
  color: var(--cool-100);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.hero-badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700;
  color: var(--cool-900); background: var(--ember-tint);
  padding: 4px 10px; border-radius: 999px;
}
/* small warm accent dot on the badge keeps "ember" present but tiny */
.hero-card-title {
  color: #ffffff; font-size: 1.7rem; margin: 14px 0 2px;
}
.hero-card-sub { color: #bcd3dc; margin: 0 0 18px; }
.hero-card-notes { list-style: none; margin: 0 0 18px; padding: 0; }
.hero-card-notes li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(230, 242, 255, 0.14);
  font-size: 0.96rem;
}
.hero-card-notes li span { color: #9fc0cb; }
.hero-card-foot {
  margin: 4px 0 0; font-size: 0.9rem; color: #bcd3dc;
}

/* ---- Trust strip ---- */
.strip {
  background: var(--surface);
  border-bottom: 1px solid var(--cool-200);
}
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 22px 24px;
}
.strip-item { display: flex; align-items: center; gap: 12px; }
.strip-item p { margin: 0; font-size: 0.95rem; color: var(--ink-500); font-weight: 600; }
.strip-icon {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--cool-050); color: var(--cool-900);
  font-size: 1rem; flex: none;
}

/* ---- Sections ---- */
.section { padding: 84px 0; }
.section-alt {
  background: linear-gradient(180deg, #eaf1f6 0%, #f5f7fa 100%);
  border-top: 1px solid var(--cool-200);
  border-bottom: 1px solid var(--cool-200);
}
.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-intro { color: var(--ink-500); font-size: 1.05rem; }

/* ---- Menu ---- */
.menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.menu-card {
  background: var(--surface);
  border: 1px solid var(--cool-200);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm);
}
.menu-card h3 {
  font-size: 1.3rem; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--cool-050);
  color: var(--cool-900);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 9px 0; font-size: 1rem;
}
.menu-list .item { color: var(--ink-700); font-weight: 560; }
.menu-list .dots {
  flex: 1 1 auto; border-bottom: 1px dotted var(--cool-200);
  transform: translateY(-3px);
}
.menu-list .price { color: var(--ink-500); font-weight: 700; font-variant-numeric: tabular-nums; }
.menu-note {
  margin: 16px 0 0; font-size: 0.9rem; color: var(--ink-400);
  font-style: italic;
}

/* ---- About ---- */
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px;
  align-items: center;
}
.about-media {
  border-radius: 20px; overflow: hidden;
  min-height: 380px;
  /* cool, same-family gradient stands in for photography; warm stamp is the tiny accent */
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(230,242,255,0.6), transparent 55%),
    linear-gradient(150deg, #1f4e5f 0%, #2d6475 70%, #3a5a66 100%);
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-media-inner { position: absolute; inset: 0; }
.about-stamp {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--ember-tint); color: var(--ember-600);
  font-family: var(--font-head); font-weight: 700;
  padding: 8px 16px; border-radius: 999px; font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.about-copy p { color: var(--ink-500); font-size: 1.05rem; }
.about-points { margin: 22px 0 0; padding: 0; list-style: none; }
.about-points li {
  position: relative; padding: 8px 0 8px 28px; color: var(--ink-500);
}
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ember); /* tiny warm bullet */
}
.about-points strong { color: var(--ink-700); }

/* ---- Hours + visit ---- */
.hours-visit {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px;
  align-items: start;
}
.hours-card, .visit-card {
  background: var(--surface);
  border: 1px solid var(--cool-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.hours-card h2, .visit-card h2 { font-size: 1.7rem; color: var(--cool-900); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours-table th, .hours-table td {
  text-align: left; padding: 12px 6px;
  border-bottom: 1px solid var(--cool-050);
  font-size: 1rem;
}
.hours-table th { font-weight: 600; color: var(--ink-700); }
.hours-table td { color: var(--ink-500); text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th,
.hours-table tr.is-today td { color: var(--cool-900); font-weight: 750; }
.hours-table tr.is-today {
  background: var(--cool-050);
}
.hours-note {
  margin: 18px 0 0; font-weight: 650; color: var(--cool-900);
  display: flex; align-items: center; gap: 8px;
}
.hours-note .dot {
  width: 9px; height: 9px; border-radius: 50%; display: inline-block;
}
.hours-note .dot.open { background: #2e7d5b; }     /* cool green = open */
.hours-note .dot.closed { background: var(--ink-400); }

.visit-address { font-style: normal; color: var(--ink-500); margin: 2px 0 18px; font-size: 1.05rem; }
.visit-contact { list-style: none; margin: 0 0 22px; padding: 0; }
.visit-contact li { padding: 10px 0; border-bottom: 1px solid var(--cool-050); }
.visit-label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-400); font-weight: 700; margin-bottom: 3px;
}
.visit-contact a { font-weight: 650; }
.map-embed {
  margin-top: 22px; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--cool-200); line-height: 0;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.contact-copy p { color: var(--ink-500); font-size: 1.05rem; }
.contact-highlights { list-style: none; margin: 20px 0 0; padding: 0; }
.contact-highlights li {
  position: relative; padding: 8px 0 8px 28px; color: var(--ink-500);
}
.contact-highlights li::before {
  content: "\2192"; position: absolute; left: 0; top: 8px;
  color: var(--cool-700); font-weight: 700;
}
.contact-highlights strong { color: var(--ink-700); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--cool-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 650; color: var(--ink-700);
  margin-bottom: 6px; font-size: 0.95rem;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink-900);
  padding: 0.7em 0.85em;
  border: 1.5px solid var(--cool-200);
  border-radius: var(--radius-sm);
  background: #fcfdfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cool-700);
  box-shadow: 0 0 0 3px rgba(58, 90, 102, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--ember-600);
  box-shadow: 0 0 0 3px rgba(168, 88, 33, 0.15);
}
.field-error {
  display: block; min-height: 1.1em; margin-top: 5px;
  font-size: 0.85rem; color: var(--ember-600); font-weight: 600;
}
.form-status {
  margin: 10px 0 0; font-weight: 650; min-height: 1.2em;
}
.form-status.ok { color: #2e7d5b; }

/* ---- Footer ---- */
.site-footer {
  background: var(--cool-900);
  color: var(--cool-100);
  padding: 54px 0 34px;
  margin-top: 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px;
  align-items: start;
}
.footer-brand .brand-name { color: #ffffff; font-size: 1.3rem; }
.footer-brand p { color: #bcd3dc; margin-top: 8px; max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--cool-100); text-decoration: none; font-weight: 600; width: fit-content; }
.footer-nav a:hover { color: #ffffff; text-decoration: underline; }
.footer-meta p { margin: 0 0 8px; color: #bcd3dc; }
.footer-meta a { color: var(--cool-100); }
.footer-copy { margin-top: 16px !important; font-size: 0.86rem; color: #8fb0bb !important; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-grid, .hours-visit, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--cool-200);
    padding: 10px 16px 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { width: 100%; padding: 0.8em 0.6em; border-radius: 10px; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }

  .menu-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 52px 0 70px; }
}

@media (max-width: 480px) {
  .strip-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-facts { flex-wrap: wrap; gap: 20px 34px; }
  .container { padding: 0 18px; }
}
