/* The public information pages share the type, edges and rules of the shopfront. */
:root {
  --content-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --content-body: "DM Sans", Arial, sans-serif;
  --content-width: 76rem;
  --content-inset: clamp(1.25rem, 4vw, 3.5rem);
  --content-ink: #e8e8ec;
  --content-quiet: #c1c3c9;
  --content-line: #525761;
  --content-ground: #1b1d20;
}

.page-hero, .content-section, .alg, .error-page {
  font-family: var(--content-body);
  color: var(--content-ink);
}

.page-hero .container, .content-section .container, .content-inner, .menu-grid, .alg-w {
  width: 100%;
  max-width: var(--content-width);
  padding-inline: var(--content-inset);
  margin-inline: auto;
}

.page-hero {
  text-align: left;
  padding: clamp(2rem, 5.5vw, 5.25rem) 0 clamp(1.5rem, 3vw, 3rem);
  background: var(--content-ground);
}

.page-hero h1, .content-section h2, .four-card h4,
.perk-item h3, .error-page h1, .stat-number {
  color: var(--content-ink);
  font-family: var(--content-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(3.15rem, 10.6vw, 6.35rem);
  text-wrap: balance;
}

.page-hero p {
  max-width: 64ch;
  margin: .9rem 0 0;
  color: var(--content-quiet);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
}

.page-hero + .gold-rule {
  width: calc(100% - var(--content-inset) * 2);
  max-width: calc(var(--content-width) - var(--content-inset) * 2);
  margin-inline: auto;
  background: var(--content-line);
}

.content-section, .alg {
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem);
  background: var(--content-ground);
  font-size: 1rem;
  line-height: 1.6;
}

.content-inner > p, .content-inner > h2 {
  max-width: 68ch;
}

.content-section h2, .four-card h4, .perk-item h3 {
  font-size: clamp(1.85rem, 3.7vw, 3rem);
}

.content-inner > h2[style], .content-inner > p[style] {
  text-align: left !important;
}

.content-inner > .gold-div {
  background: var(--content-line);
  margin-block: clamp(1.75rem, 4vw, 3.25rem);
}

.content-inner p a:not([class]), .review-card h4 a, .error-page .help-links a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.content-section :is(.btn-primary, .btn-secondary, .btn-whatsapp), .error-page .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border-radius: 0;
  box-shadow: none;
  font: 700 .93rem/1.25 var(--content-body);
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: center;
}

.content-section .btn-primary, .error-page .button-primary {
  background: #ffc500;
  color: #152b48;
}

.content-section .btn-secondary, .content-section .btn-whatsapp, .error-page .button-secondary {
  background: transparent;
  border: 1px solid #858b96;
  color: var(--content-ink);
}

.content-section :is(.btn-primary, .btn-secondary, .btn-whatsapp):hover,
.error-page .button:hover {
  background: var(--content-ink);
  color: var(--content-ground);
  border-color: var(--content-ink);
  box-shadow: none;
  transform: translateY(-1px);
}

.content-section :focus-visible, .alg :focus-visible, .error-page :focus-visible {
  outline: 2px solid #ffc500;
  outline-offset: 3px;
}

/* Keep the menu action aligned with the categories, including on small screens. */
.content-section > div:has(> .btn-primary) {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--content-inset) !important;
  text-align: left !important;
}

.menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  column-gap: clamp(1rem, 2.6vw, 2.5rem);
  row-gap: 2.5rem;
}

.menu-card, .menu-card:hover, .four-card, .stat-card, .perk-item, .review-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.menu-card > img, .four-card > img, .two-col > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}

.menu-card-body, .four-card-body {
  padding: 1rem 0 0;
}

.menu-card h2 { margin: 0 0 .45rem; }

.menu-card p, .four-card p, .perk-item p, .stat-label {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--content-quiet);
}

.menu-items li {
  padding: .4rem 0;
  border-top: 1px solid var(--content-line);
  color: var(--content-ink);
  font: 550 1rem/1.45 var(--content-body);
  opacity: 1;
}

.menu-items { list-style: none; margin: 0; padding: 0; }

.stats-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 2rem;
}

.stat-card, .perk-item, .review-card {
  border-top: 1px solid var(--content-line);
  padding: 1rem 0;
  text-align: left;
}

.stat-number {
  font-size: clamp(2.75rem, 6vw, 5rem);
  color: #ffc500;
}

.two-col {
  gap: clamp(1.25rem, 4vw, 4rem);
  margin: 2rem 0;
}

.two-col > div { min-width: 0; }
.two-col h2 { margin-top: 0; }
.content-inner .two-col p { max-width: 60ch; }
.four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.four-card h4, .perk-item h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.perks-grid { margin-top: 0; }
.perk-item h3 { margin-top: .4rem; }
.perk-icon { font-size: 1.75rem; }
.content-inner:has(.perks-grid) { text-align: left !important; }
.contact-buttons { justify-content: flex-start; }

.content-inner:has(.review-card) { max-width: var(--content-width) !important; }
.review-card { max-width: 72ch; margin: 0; }
.review-card p { font-size: 1rem; line-height: 1.65; font-style: normal; }
.review-card h4 { margin: 0 0 .5rem; font-size: 1rem; }
.review-stars { margin-bottom: .45rem; }
.review-platforms { justify-content: flex-start; }
.review-platforms h3 { margin: .6rem 0; font-family: var(--content-body); }

/* Keep the notice, search, and matrix colours meaningful for dietary use. */
.alg { --muted: #bec2c8; --red: #ff9494; --green: #85dca0; }
.alg-intro { max-width: 70ch; margin: 0 0 1.75rem; text-align: left; }
.alg-intro p, .alg-n { font-size: 1rem; line-height: 1.55; }
.alg-n, .alg-q input, .alg-pill, .alg-table-outer, .alg-legend, .alg-card, .gf-badge, .alg-tag {
  border-radius: 0;
}
.alg-n strong { font-size: .85rem; }
.alg-pill { min-height: 44px; font-size: .85rem; }
.alg-card-name { font-size: 1.05rem; flex-wrap: wrap; }
.alg-card-note, .alg-card-clear, .alg-info, .alg-legend { font-size: .88rem; }
.alg-tag { font-size: .8rem; }
.alg .dot, .alg-table-outer { box-shadow: none; }
.alg .dot { background: transparent; border: 5px solid #e8636c; }
.alg .lg-d.r { background: #e8636c; }
.alg .mx thead th { font-size: .7rem; }
.alg .mx tbody td:first-child { font-size: .95rem; }
.alg .pdf-dl a { border-radius: 0; }

.error-page { background: var(--content-ground); }
.error-page::after { display: none; }
.error-page h1 { font-size: clamp(3.25rem, 8vw, 6rem); }
.error-page h1 span, .error-page .help-links a { color: #ffc500; }
.error-page .intro, .error-page .help-links { color: var(--content-quiet); }
.error-page .fish-badge { animation: none; filter: none; }
.error-page .lost-tag { transform: none; border-radius: 0; box-shadow: none; }

@media (max-width: 768px) {
  .four-grid, .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .menu-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .menu-card { display: flow-root; padding-top: 1rem; border-top: 1px solid var(--content-line); }
  .menu-card > img {
    float: right;
    width: 29%;
    max-width: 8rem;
    aspect-ratio: 1;
    margin: 0 0 .75rem 1rem;
  }
  .menu-card-body { padding: 0; }
  .menu-items { clear: both; }
  .content-section .btn-primary, .content-section .btn-secondary,
  .content-section .btn-whatsapp { width: 100%; }
  .contact-buttons { align-items: stretch; }
  .four-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col > img { max-height: 20rem; }
  .perk-item { padding-block: .8rem; }
  .perks-grid { gap: .5rem; }
  .error-page .copy { text-align: left; }
  .error-page .actions, .error-page .eyebrow { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero *, .content-section *, .alg *, .error-page * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .shop-header, .site-footer { display: none !important; }
  .page-hero, .content-section, .alg { padding: .5rem 0; color: #111; background: white; }
  .page-hero h1 { font-size: 24pt; color: #111; }
  .page-hero p, .alg, .alg-intro strong, .alg-n, .alg-legend, .alg-rev { color: #111; }
  .alg-w { max-width: none; padding: 0; }
  .alg-intro { max-width: none; margin-bottom: .5rem; }
  .alg-notices { grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-bottom: .5rem; }
  .alg-n, .alg-n strong, .alg-intro p, .alg-legend { font-size: 9pt; }
  .alg .alg-n strong, .alg .i-note, .alg .mx thead th, .alg .mx tbody td:first-child { color: #111; }
  .alg .mx { min-width: 0; }
  .alg .mx thead th { font-size: 7pt; position: static; }
  .alg .mx thead th:first-child { min-width: 0; padding-left: .25rem; }
  .alg .mx tbody td:first-child { font-size: 8pt; padding-left: .25rem; }
  .alg .mx tbody td { padding: .1rem; }
  .alg .mx tr { break-inside: avoid; }
  .alg .alg-table-outer { overflow: visible; }
  .alg .dot { width: .75rem; height: .75rem; border: 4px solid #222; }
  .alg .lg-d.r { background: transparent; border: 4px solid #222; }
  .alg .dot-e { width: .75rem; height: .75rem; border-color: #aaa; }
  .alg .mx tbody tr.gf td:first-child { font-weight: 800; color: #111; text-decoration: underline; }
  .alg .lg-d.g { border: 2px solid #333; border-bottom-width: 4px; opacity: 1; }
}
