:root {
    --bottle: #123328;
    --brass: #D9A13B;
    --brick: #A63D2F;
    --frost: #E6EBDD;

    --hero-bg: #123328;
    --surface-1: #E6EBDD;
    --surface-2: #D5DDC9;
    --ink: #123328;
    --ink-soft: #3F5A4E;
    --line: rgba(18, 51, 40, .22);
    --line-strong: rgba(18, 51, 40, .55);
    --price: #A63D2F;
    --btn-bg: #123328;
    --btn-ink: #E6EBDD;
    --focus: #A63D2F;
    color-scheme: light;

    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--hero-bg);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --hero-bg: #0A1F18;
      --surface-1: #0F2B22;
      --surface-2: #153A2D;
      --ink: #E6EBDD;
      --ink-soft: #B4C4B5;
      --line: rgba(230, 235, 221, .22);
      --line-strong: rgba(230, 235, 221, .5);
      --price: #E8B14C;
      --btn-bg: #D9A13B;
      --btn-ink: #123328;
      --focus: #E8B14C;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --hero-bg: #0A1F18;
    --surface-1: #0F2B22;
    --surface-2: #153A2D;
    --ink: #E6EBDD;
    --ink-soft: #B4C4B5;
    --line: rgba(230, 235, 221, .22);
    --line-strong: rgba(230, 235, 221, .5);
    --price: #E8B14C;
    --btn-bg: #D9A13B;
    --btn-ink: #123328;
    --focus: #E8B14C;
    color-scheme: dark;
  }

  html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 110px); scroll-behavior: smooth; }
  *, *::before, *::after { box-sizing: inherit; }
  [hidden] { display: none !important; }

  body {
    margin: 0;
    background: var(--surface-1);
    color: var(--ink);
    font-family: Karla, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.55;
  }
  h1, h2, h3 {
    font-family: "Alfa Slab One", Rockwell, "Bookman Old Style", Georgia, serif;
    font-weight: 400;
    line-height: 1.05;
    margin: 0;
  }
  h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
  p { margin: 0 0 1em; }
  a { color: inherit; }

  .on-dark { --focus: #E8B14C; }
  :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

  .wrap { max-width: 1120px; margin: 0 auto; }
  .section { padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; }
  .alt { background: var(--surface-2); }

  /* Buttons */
  .btn {
    display: inline-block;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 700 1rem/1.2 Karla, system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
  }
  .btn-brass { background: var(--brass); color: var(--bottle); }
  .btn-line { border-color: rgba(230, 235, 221, .6); color: var(--frost); }
  .btn-solid { background: var(--btn-bg); color: var(--btn-ink); }
  .btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
  .btn-small { padding: .55rem 1.1rem; font-size: .95rem; }

  /* Header */
  .site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 10;
    background: var(--hero-bg);
    color: var(--frost);
    border-bottom: 1px solid rgba(230, 235, 221, .14);
  }
  .header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: .7rem 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
  }
  .brand {
    margin-right: auto;
    font-family: "Alfa Slab One", Rockwell, Georgia, serif;
    font-size: 1.4rem;
    color: var(--brass);
    text-decoration: none;
  }
  .site-nav { display: flex; gap: 1.5rem; }
  .site-nav a { color: var(--frost); text-decoration: none; font-weight: 500; }
  .site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
  @media (max-width: 760px) {
    .site-nav {
      order: 3; width: 100%; overflow-x: auto; white-space: nowrap; gap: 1.25rem;
      padding-bottom: .25rem;
    }
  }

  /* Hero */
  .hero { background: var(--hero-bg); color: var(--frost); overflow: hidden; }
  .hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) 1.25rem clamp(3.5rem, 9vw, 7rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.5rem;
    align-items: center;
  }
  .hero h1 { font-size: clamp(4.25rem, 15vw, 10.5rem); letter-spacing: -.01em; }
  .hero-copy { font-size: 1.25rem; max-width: 30ch; margin: 1.5rem 0 1.75rem; color: rgba(230, 235, 221, .9); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
  .hero-address { margin: 1.75rem 0 0; color: rgba(230, 235, 221, .72); font-size: 1rem; }

  .coaster {
    position: relative;
    width: clamp(170px, 22vw, 240px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--brass);
    color: var(--bottle);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 1rem;
    transform: rotate(-8deg);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  }
  .coaster::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px dashed rgba(18, 51, 40, .55);
  }
  .coaster .c-small { font-weight: 700; font-size: 1rem; line-height: 1.2; }
  .coaster .c-big {
    font-family: "Alfa Slab One", Rockwell, Georgia, serif;
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    line-height: 1;
    margin: .2rem 0;
  }
  @media (prefers-reduced-motion: no-preference) {
    .coaster { animation: drop .9s cubic-bezier(.2, .9, .3, 1.2) .25s both; }
  }
  @keyframes drop {
    from { opacity: 0; transform: translateY(-70px) rotate(-42deg); }
    to { opacity: 1; transform: translateY(0) rotate(-8deg); }
  }
  @media (max-width: 760px) {
    .hero-inner { grid-template-columns: 1fr; }
  }

  /* About */
  .about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
  .about-lead { font-size: 1.2rem; max-width: 46ch; }
  .facts { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
  .facts div { padding: 0 1.25rem; border-left: 2px solid var(--line-strong); }
  .facts div:first-child { padding-left: 0; border-left: 0; }
  .facts dt { font-weight: 700; margin-bottom: .3rem; }
  .facts dd { margin: 0; color: var(--ink-soft); font-size: .98rem; }
  @media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr; gap: 1.25rem; }
    .facts div { padding: 0 0 0 1rem; border-left: 2px solid var(--line-strong); }
    .facts div:first-child { padding-left: 1rem; border-left: 2px solid var(--line-strong); }
  }

  /* Menu */
  .menu-grid { display: grid; grid-template-columns: minmax(220px, 1fr) 1.6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
  .menu-intro p { color: var(--ink-soft); max-width: 30ch; margin-top: 1rem; }
  .menu-group + .menu-group { margin-top: 2rem; }
  .menu-group h3.group-title {
    font-family: Karla, system-ui, sans-serif; font-weight: 700; font-size: 1.05rem;
    color: var(--ink-soft); margin: 0 0 .5rem;
  }
  .tabs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; align-items: flex-start; }
  .tab {
    font: 700 1rem/1.2 Karla, system-ui, sans-serif;
    padding: .65rem 1.1rem;
    border-radius: 999px;
    border: 2px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .tab[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
  .items { list-style: none; margin: 0; padding: 0; }
  .item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .item:first-child { padding-top: 0; }
  .item-head { display: flex; align-items: baseline; gap: .6rem; }
  .item-head h3 { font-family: Karla, system-ui, sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
  .leader { flex: 1; border-bottom: 2px dotted var(--line-strong); transform: translateY(-.25em); min-width: 1rem; }
  .price { font-weight: 700; font-size: 1.2rem; color: var(--price); }
  .item p { margin: .2rem 0 0; color: var(--ink-soft); }
  .menu-note { margin-top: 1.5rem; color: var(--ink-soft); font-size: .98rem; }
  @media (max-width: 760px) {
    .menu-grid { grid-template-columns: 1fr; }
    .tabs { flex-direction: row; flex-wrap: wrap; }
  }

  /* Gallery */
  .gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
  .gallery-head p { margin: 0; color: var(--ink-soft); max-width: 36ch; }
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(170px, 22vw, 250px);
    gap: .75rem;
  }
  .tile { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
  .tile svg, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
  .tile.big { grid-column: span 2; grid-row: span 2; }
  .tile figcaption {
    position: absolute; left: 0; bottom: 0;
    background: var(--hero-bg); color: var(--frost);
    padding: .4rem .9rem; font-weight: 700; font-size: .95rem;
    border-top-right-radius: 10px;
  }
  @media (max-width: 720px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .tile.wide { grid-column: span 2; }
  }

  /* Reviews */
  .reviews { background: var(--hero-bg); color: var(--frost); }
  .reviews-grid { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
  .score { font-family: "Alfa Slab One", Rockwell, Georgia, serif; font-size: clamp(5rem, 12vw, 8rem); line-height: .9; color: var(--brass); margin: 0 0 .75rem; }
  .stars { display: block; width: 150px; height: 28px; margin-bottom: .6rem; }
  .rating-count { margin: 0 0 .5rem; font-size: 1.1rem; }
  .rating a { color: var(--brass); font-weight: 700; }
  blockquote { margin: 0; }
  .feature p { font-family: "Alfa Slab One", Rockwell, Georgia, serif; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.2; margin: 0 0 .9rem; }
  cite { font-style: normal; font-weight: 700; color: var(--brass); }
  .quotes-small { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; margin-top: 2.5rem; }
  .quotes-small blockquote { border-top: 1px solid rgba(230, 235, 221, .25); padding: 1.25rem 0 1.5rem; }
  .quotes-small p { font-size: 1.1rem; margin: 0 0 .6rem; }
  @media (max-width: 860px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .quotes-small { grid-template-columns: 1fr; }
  }

  /* Book */
  .book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
  .book-copy p { color: var(--ink-soft); max-width: 34ch; margin-top: 1rem; }
  .call-card {
    background: var(--surface-1);
    border: 2px solid var(--line-strong);
    border-radius: 16px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
  }
  .call-card .call-eyebrow { color: var(--ink-soft); font-weight: 700; margin-bottom: .4rem; }
  .call-card .call-status { margin-bottom: 1.25rem; font-size: .98rem; }
  .call-number {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: "Alfa Slab One", Rockwell, Georgia, serif;
    font-size: clamp(1.5rem, 4.4vw, 2.1rem);
    text-decoration: none;
    padding: .9rem 1.6rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink);
  }
  .call-number svg { width: 1.4rem; height: 1.4rem; flex: none; }
  .call-note { margin: 1.25rem 0 0; font-size: .95rem; color: var(--ink-soft); }
  @media (max-width: 760px) {
    .book-grid { grid-template-columns: 1fr; }
  }

  /* Find us */
  .find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
  address { font-style: normal; font-size: 1.35rem; line-height: 1.4; margin: 1.25rem 0 1.5rem; }
  .find-note { color: var(--ink-soft); max-width: 36ch; margin-top: 1.5rem; }
  .hours { width: 100%; border-collapse: collapse; }
  .hours caption { text-align: left; font-family: "Alfa Slab One", Rockwell, Georgia, serif; font-size: 1.6rem; padding-bottom: .75rem; }
  .hours th, .hours td { text-align: left; padding: .7rem .75rem .7rem 0; border-top: 1px solid var(--line); font-weight: 400; }
  .hours td { text-align: right; padding-right: 0; }
  .hours tr.today th, .hours tr.today td { font-weight: 700; }
  .hours tr.today th { box-shadow: inset 5px 0 0 var(--brass); padding-left: .9rem; }
  .today-tag { margin-left: .5rem; font-size: .85rem; font-weight: 700; color: var(--price); }
  @media (max-width: 760px) {
    .find-grid { grid-template-columns: 1fr; }
  }

  /* Footer */
  .site-footer { background: var(--hero-bg); color: rgba(230, 235, 221, .8); padding: 2.25rem 1.25rem; font-size: .95rem; }
  .footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
  .footer-inner strong { font-family: "Alfa Slab One", Rockwell, Georgia, serif; font-weight: 400; color: var(--brass); font-size: 1.2rem; }
  .footer-inner p { margin: 0; }
