/* ==========================================================================
   Meyboom Restored - restoration of the original meyboombar.com design.
   Palette and type come from the archived GoDaddy-era site and the original
   logo artwork:  navy #00205C (script)  gold #C9AC00 (tree)
                  body 'Gentium Basic' 20px   display 'Dancing Script'
   ========================================================================== */

/* ---------- tokens ------------------------------------------------------ */
:root {
  --navy: #00205c;
  --navy-deep: #001742;
  --navy-soft: #0b2f78;
  --gold: #c9ac00;
  --gold-deep: #a68d00;
  --gold-light: #e6cf5c;
  --ink: #1b1b1b;
  --muted: #55555f;
  --line: #e2e2e6;
  --paper: #ffffff;
  --paper-alt: #f6f6f6;
  --paper-warm: #faf8f0;

  --font-body: 'Gentium Basic', Georgia, 'Times New Roman', serif;
  --font-display: 'Dancing Script', Georgia, cursive;
  --font-accent: 'Great Vibes', 'Dancing Script', cursive;

  --wrap: 1200px;
  --wrap-narrow: 800px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(2.75rem, 6vw, 5rem);
  --radius: 4px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .08);
  --shadow-lift: 0 10px 28px rgba(0, 32, 92, .15);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.25rem;      /* 20px, matching the original */
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

figure { margin: 0; }

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover { color: var(--gold-deep); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- typography -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h4 { font-size: clamp(1.3rem, 2.6vw, 1.5rem); }

h5, h6 {
  font-family: var(--font-body);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

blockquote {
  margin: 1.5em 0;
  padding: .25em 0 .25em 1.25em;
  border-left: 3px solid var(--gold);
  font-style: italic;
  color: var(--muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ---------- utilities --------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-alt); }
.section--warm { background: var(--paper-warm); }

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy a { color: #fff; }

.section__head {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto clamp(1.75rem, 4vw, 3rem);
}

.section__head p { color: var(--muted); }
.section--navy .section__head p { color: rgba(255, 255, 255, .82); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .6rem;
}

.section--navy .eyebrow { color: var(--gold-light); }

.rule {
  width: 92px;
  height: 3px;
  background: var(--gold);
  border: 0;
  margin: 1rem auto 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  font-family: var(--font-body);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  color: #fff;
}

/* ---------- buttons ----------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85em 1.9em;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
}

.btn--ghost:hover { color: var(--navy-deep); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn--onDark {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.btn--onDark:hover,
.btn--onDark:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}

.btn-row--center { justify-content: center; }

/* ---------- top bar ----------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  letter-spacing: .04em;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding-block: .45rem;
  text-align: center;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.topbar__social {
  display: flex;
  gap: .85rem;
  align-items: center;
}

.topbar__social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.topbar__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- header ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: .7rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}

.site-brand img {
  width: auto;
  height: clamp(48px, 8vw, 72px);
}

.site-brand__text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  line-height: 1.1;
}

.site-brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- navigation -------------------------------------------------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55em 1em;
  border-radius: var(--radius);
}

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.8vw, 1.6rem);
}

.primary-nav li { position: relative; }

.primary-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: .35em 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

/* highlight CTA items */
.primary-nav .menu-item--cta > a {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .7em 1.2em;
  border-radius: var(--radius);
  border-bottom: 0;
}

.primary-nav .menu-item--cta > a:hover,
.primary-nav .menu-item--cta > a:focus-visible {
  background: var(--gold);
  color: var(--navy-deep);
  border-bottom: 0;
}

/* dropdowns */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  padding: .4rem 0;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  font-size: 1.15rem;
  padding: .45em 1.1em;
  border-bottom: 0;
}

.primary-nav .sub-menu a:hover { background: var(--paper-alt); }

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: .4em;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

/* mobile nav */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    inset: auto 0 0 0;
    top: var(--header-offset, 96px);
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    padding: 1rem var(--gutter) 2.5rem;
    transform: translateX(100%);
    transition: transform .22s ease;
    visibility: hidden;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav li { border-bottom: 1px solid var(--line); }

  .primary-nav a {
    font-size: 1.5rem;
    padding: .7em 0;
    border-bottom: 0;
  }

  .primary-nav .menu-item--cta > a {
    display: inline-block;
    margin: .8rem 0;
  }

  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 .5rem 1rem;
    min-width: 0;
  }

  .primary-nav .sub-menu a { font-size: 1.25rem; }

  .menu-item-has-children > a::after { display: none; }

  body.nav-open { overflow: hidden; }
}

/* ---------- hero -------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(420px, 74vh, 720px);
  isolation: isolate;
  background: var(--navy-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 12, 38, .58) 0%, rgba(0, 12, 38, .48) 45%, rgba(0, 12, 38, .72) 100%);
}

.hero__inner {
  text-align: center;
  color: #fff;
  padding-block: clamp(3rem, 9vw, 6rem);
}

.hero__logo {
  width: min(440px, 78vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .45));
}

.hero__title {
  color: #fff;
  margin-bottom: .35em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
}

.hero__meta {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 1.8rem;
}

/* ---------- page header (interior pages) -------------------------------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  isolation: isolate;
}

.page-hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 20, 60, .72);
}

.page-hero--media img.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: .2em;
}

.page-hero p {
  color: rgba(255, 255, 255, .85);
  max-width: 60ch;
  margin-inline: auto;
}

/* ---------- breadcrumbs ------------------------------------------------- */
.breadcrumbs {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--muted);
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: .4rem;
  color: var(--line);
}

.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 700; }

/* ---------- cards / promo grid ------------------------------------------ */
.card-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-alt);
}

.card__media--wide { aspect-ratio: 4 / 3; }

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.35rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.card__title {
  margin: 0;
  font-size: 1.7rem;
}

.card__text {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.card__cta { margin-top: auto; padding-top: .6rem; }

/* ---------- gallery ----------------------------------------------------- */
.gallery-grid {
  display: grid;
  gap: clamp(.6rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-alt);
  aspect-ratio: 1 / 1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-grid figure:hover img { transform: scale(1.04); }

.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem .9rem .7rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 12, 38, .8));
}

/* ---------- restaurant menu sections ------------------------------------ */
.menu-section + .menu-section { margin-top: clamp(2.25rem, 5vw, 3.5rem); }

.menu-section__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  margin-bottom: .2em;
}

.menu-section__title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 172, 0, 0));
}

.menu-section__note {
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.4rem;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .menu-list--two { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .15rem .9rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px dotted var(--line);
}

.menu-item__name {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.menu-item__price {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gold-deep);
  white-space: nowrap;
}

.menu-item__desc {
  grid-column: 1 / -1;
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

/* ---------- info / location --------------------------------------------- */
.info-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}

.info-block h3 { margin-bottom: .35em; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: .42rem 0;
  border-bottom: 1px dotted var(--line);
  font-weight: 400;
}

.hours-table th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  width: 8.5rem;
}

/* On any dark ground the day column must not inherit the navy ink. */
.section--navy .hours-table th,
.site-footer .hours-table th { color: var(--gold-light); }

.section--navy .hours-table td,
.site-footer .hours-table td { color: rgba(255, 255, 255, .9); }

.section--navy .hours-table th,
.section--navy .hours-table td,
.site-footer .hours-table th,
.site-footer .hours-table td { border-bottom-color: rgba(255, 255, 255, .18); }

.site-footer .hours-table th { width: 4.5rem; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  font-size: 1.05rem;
}

.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- historical notice ------------------------------------------- */
.historical-note {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--paper-warm);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--muted);
  border-radius: var(--radius);
  margin: 0 0 2rem;
}

.historical-note strong { color: var(--navy); }

/* ---------- entry content ----------------------------------------------- */
.entry-content > * + * { margin-top: 1.15em; }

.entry-content ul,
.entry-content ol { padding-left: 1.4em; }

.entry-content li + li { margin-top: .4em; }

.entry-content img { border-radius: var(--radius); }

.entry-content figcaption {
  font-size: .95rem;
  color: var(--muted);
  text-align: center;
  margin-top: .5rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: .6rem .75rem;
  text-align: left;
}

.entry-content th { background: var(--paper-alt); color: var(--navy); }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- archive / posts --------------------------------------------- */
.post-grid {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.post-card__meta {
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.entry-meta {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 3rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: .5em .9em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
}

.pagination .current,
.pagination .page-numbers:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- footer ------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .86);
  padding-block: clamp(2.5rem, 6vw, 4rem) 0;
  font-size: 1.02rem;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }

.site-footer h2,
.site-footer h3 { color: #fff; }

.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.footer-brand img {
  width: min(280px, 70%);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.1rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.footer-social svg { width: 19px; height: 19px; fill: currentColor; }

.site-footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-block: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}

.site-footer__bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

/* ---------- 404 / search ------------------------------------------------ */
.search-form {
  display: flex;
  gap: .5rem;
  max-width: 460px;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .7em .9em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.error-404 { text-align: center; }

.error-404 .helpful-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- print ------------------------------------------------------- */
@media print {
  .topbar, .site-header, .site-footer, .btn, .breadcrumbs { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { text-decoration: underline; }
}
