/* Hearth — a multi-page restaurant design (home, menu, about, catering,
   feature, menu_detail). Ported from the Foragers and Azalea Astro sites
   2026-11. Every color and face comes from the brand kit; the shades below
   are mixed from it. Namespaces: .hearth-*, plus the look of the shared
   .announcement-bar partial. */

/* ─── Brand-kit shades ───
   The Astro sites' --primary-50, --primary-a75… mixed from the brand kit so a
   new palette carries through without new numbers. */
:root {
  --primary-50: color-mix(in oklch, var(--color-primary) 85%, white);
  --primary-a75: color-mix(in oklch, var(--color-primary) 75%, transparent);
  --primary-a25: color-mix(in oklch, var(--color-primary) 25%, transparent);
  --secondary-45: color-mix(in oklch, var(--color-secondary) 50%, black);

  --ideal-content-width: 55ch;
  --max-content-width: 90vw;
}

/* Foragers' site sets no line-height and no box-sizing: its copy reads at
   the browser's normal leading, and its padded boxes (the hero, the hours
   card, the dish showcase, the menu cards' strips, the closing dishes) grow
   by their padding (content-box) where those rules say so below. Azalea's
   site sets 1.5 (type_style caps) and border-box (box_model border). */
body {
  display: flex;
  flex-direction: column;
  line-height: normal;
  min-height: 100vh;
}

body.hearth-type-caps {
  line-height: 1.5;
}

.hearth-page {
  flex: 1;
}

/* ─── Announcement Bar (shared partial) ───
   base.css rotates it; this is how it looks. */
.announcement-bar {
  background: var(--color-text);
  color: var(--color-background);
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-align: center;
  text-transform: uppercase;
}

.announcement-bar a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-bar__item {
  text-wrap: balance;
}

/* Closed: Azalea's bar, the secondary color with a ruled line inset from
   its edge. */
.announcement-bar--closed {
  background: var(--color-secondary);
  color: var(--color-text);
  outline: 1px solid var(--color-text);
  outline-offset: -0.5rem;
  padding: 1rem;
}

/* An accent-colored banner alone in the bar (tone secondary; base.css
   gives it the secondary color): a site's default banner, Foragers' Order
   Online or Traditions' View Menu and phone. It keeps the look of the strip
   the theme used to draw for them: 1.5rem tall, tight tracking, links
   underlined only on hover. */
.announcement-bar:has(> .announcement-bar__item--secondary:only-child) {
  align-items: center;
  display: flex;
  justify-content: center;
  letter-spacing: -0.025rem;
  min-height: 1.5rem;
  padding: 0 1rem;
}

.announcement-bar__item--secondary:only-child {
  margin-bottom: -2px;
}

.announcement-bar__item--secondary:only-child a {
  text-decoration: none;
}

.announcement-bar__item--secondary:only-child a:hover {
  text-decoration: underline;
}

/* ─── Nav ───
   One nav partial, two styles: band (nav_style's default, a solid
   primary-colored band, these rules) and overlay (transparent over the
   page's first band, under "nav_style overlay" below). They share the same
   fold point (below 768px the links become a full-screen menu behind the
   CSS-only toggle; from 768px they sit in the row), a fixed-width logo that
   never shrinks, and the same icons; they differ only in background and
   placement. */
.hearth-nav {
  align-items: center;
  background: var(--color-primary);
  display: flex;
  isolation: isolate;
  justify-content: space-between;
  padding: 1rem;
  position: relative;
  z-index: 10;
}

.hearth-nav__logo {
  color: var(--color-background);
  display: block;
  flex: none;
  text-decoration: none;
  width: 140px;
  z-index: 9;
}

/* The logo sits on the text line (an inline image, as the Astro sites'), so
   the line's descent adds a few pixels under it. */
.hearth-nav__logo img {
  display: inline;
  vertical-align: baseline;
}

.hearth-nav__name {
  display: block;
  font: normal 400 1.5rem/1 var(--font-display);
}

.hearth-nav__links {
  align-items: center;
  background: var(--color-primary);
  display: none;
  flex: 1;
  flex-direction: column;
  gap: 4vh;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 8;
}

.hearth-nav__toggle:checked ~ .hearth-nav__links {
  display: flex;
}

.hearth-nav__links a {
  color: var(--color-background);
  font: normal 400 clamp(2rem, 6vh, 4rem)/1 var(--font-accent);
  text-decoration: none;
}

.hearth-nav__links a:hover,
.hearth-nav__links a[aria-current="page"] {
  color: var(--color-secondary);
}

/* The solid glyphs (the default icon_style) at Azalea's sizes, on a text
   line a little taller than the icon, the icon at its top, as the Astro
   sites' inline SVGs sit. */
.hearth-nav__social {
  align-items: center;
  display: none;
  font-size: 1rem;
  gap: 0.5rem;
  line-height: 1.5;
}

.hearth-nav__social a {
  color: var(--color-background);
}

.hearth-nav__social svg {
  display: inline;
  vertical-align: baseline;
}

.hearth-nav__social a:hover {
  color: var(--color-secondary);
}

.hearth-nav__social svg {
  height: 1.3rem;
  width: 1.3rem;
}

.hearth-nav__button {
  color: var(--color-background);
  cursor: pointer;
  display: grid;
  place-content: center;
  z-index: 9;
}

.hearth-nav__button:hover {
  color: var(--color-secondary);
}

/* The checkbox is visually hidden but focusable; its label shows the focus. */
.hearth-nav__toggle:focus-visible ~ .hearth-nav__button {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.hearth-nav__button svg {
  height: 1.5rem;
  width: 1.5rem;
}

.hearth-nav__close-icon,
.hearth-nav__toggle:checked ~ .hearth-nav__button .hearth-nav__open-icon {
  display: none;
}

.hearth-nav__toggle:checked ~ .hearth-nav__button .hearth-nav__close-icon {
  display: block;
}

/* While the phone menu is open, the page under it is out of reach, so Tab
   can't land on a link the overlay hides. */
@media (max-width: 767.98px) {
  body:has(#hearth-nav-toggle:checked) :is(.announcement-bar, .hearth-page, .hearth-newsletter, .hearth-footer) {
    visibility: hidden;
  }
}

@media (min-width: 768px) {
  .hearth-nav__links,
  .hearth-nav__toggle:checked ~ .hearth-nav__links {
    background: transparent;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    inset: auto;
    position: relative;
  }

  /* nav_font_size sets --nav-font-size on the links (band nav only; the
     phone menu and the overlay nav keep their own sizes). */
  .hearth-nav__links a {
    font-size: var(--nav-font-size, 1.75rem);
  }

  /* Azalea's spacing between the icons, for both nav styles. */
  .hearth-nav__social {
    display: flex;
    gap: 2rem;
  }

  /* The band's row is three columns, the outer two equal, so the links sit
     on the page's center line whatever the widths of the logo and the icons
     (an empty third column, for a site without social links, still counts;
     a grid item ignores the links' flex: 1, so the middle column is auto).
     Where the row is too tight to center (Traditions just above 768px), the
     logo's column holds its width and the links sit beside it, the column
     gap keeping them off the logo. The overlay nav keeps its flex row. */
  body:not(.hearth-nav-overlay) .hearth-nav {
    column-gap: 0.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  body:not(.hearth-nav-overlay) .hearth-nav__logo {
    grid-column: 1;
    justify-self: start;
  }

  body:not(.hearth-nav-overlay) .hearth-nav__links {
    grid-column: 2;
    justify-self: center;
  }

  body:not(.hearth-nav-overlay) .hearth-nav__social {
    grid-column: 3;
    justify-self: end;
  }

  /* No menu to open at this width, so no stop for the keyboard either. */
  .hearth-nav__toggle,
  .hearth-nav__button {
    display: none;
  }
}

/* ─── Hours ───
   Day and hours on one row; today's row in the secondary color. Light text,
   for the primary-colored footer it sits in. Foragers' blocks (hours, the
   showcase words, stay in touch, the footer) set no line-height, so they
   read at the browser's normal, not base.css's 1.5. */
.hearth-hours {
  align-items: center;
  display: flex;
  flex-direction: column;
  line-height: normal;
}

.hearth-hours__header {
  color: var(--color-secondary);
  font: normal 400 2rem/0.9 var(--font-display);
  padding-bottom: 1rem;
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 3px;
}

.hearth-hours__row {
  color: var(--color-background);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  width: 100%;
}

/* A split day's line wraps under itself, right-aligned, at phone width. */
.hearth-hours__row > :last-child {
  text-align: right;
}

.hearth-hours__row[data-today] {
  color: var(--color-secondary);
  font-weight: 700;
}

.hearth-hours__closed {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
}

/* ─── Stay in touch ───
   Heading, eyebrow, intro and the social links with their names, on the
   secondary color. */
.hearth-newsletter {
  background: var(--color-secondary);
  color: var(--color-text);
  isolation: isolate;
  line-height: normal;
  padding: 6rem 0;
}

.hearth-newsletter__inner {
  margin: auto;
  max-width: var(--max-content-width);
  width: 50ch;
}

/* The eyebrow follows the heading in the source and sits above it on screen. */
.hearth-newsletter__header {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.hearth-newsletter__header h2 {
  color: var(--color-primary);
  font: normal 900 3rem/0.9 var(--font-display);
}

.hearth-newsletter__eyebrow {
  font: normal 900 1.5rem/1 var(--font-accent);
}

.hearth-newsletter__online {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
}

.hearth-newsletter__online-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.hearth-newsletter__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.hearth-newsletter__social a {
  --scale-x: 0;

  align-items: center;
  color: var(--color-text);
  display: flex;
  flex: 1;
  gap: 0.25rem;
  text-decoration: none;
}

.hearth-newsletter__social a:hover {
  --scale-x: 1;
  color: var(--color-primary);
}

.hearth-newsletter__social svg {
  height: 1rem;
  width: 1rem;
}

.hearth-newsletter__social span {
  position: relative;
}

.hearth-newsletter__social span::after {
  background: var(--color-primary);
  content: "";
  height: 0.1rem;
  inset: 100% 0 auto;
  position: absolute;
  scale: var(--scale-x) 1;
  transform-origin: 0 0;
  transition: scale 200ms ease-in-out;
}

/* The signup form, as foragers-astro's NewsletterForm: each label sits on
   its field's top border (the band's color behind it), the border and label
   turn primary while the field has focus, and the button is a dark block,
   full width on phones and at the right from 576px. The Contact page's form
   (.hearth-contact) shares the fields, the button and the honeypot, on the
   page's background instead of the band's (--field-band). */
.hearth-newsletter__signup {
  margin-top: 1rem;
}

.hearth-newsletter__form-intro {
  font: normal 900 1.5rem/1 var(--font-accent);
  margin-bottom: 1rem;
}

.hearth-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  isolation: isolate;
}

.hearth-newsletter__error,
.hearth-contact__error {
  border-left: 0.25rem solid var(--color-text);
  font-weight: 700;
  padding-left: 0.75rem;
}

.hearth-newsletter__field,
.hearth-contact__field {
  --highlight-color: var(--color-text);

  display: flex;
  flex-direction: column;
  z-index: -1;
}

:is(.hearth-newsletter__field, .hearth-contact__field):focus-within {
  --highlight-color: var(--color-primary);
}

:is(.hearth-newsletter__field, .hearth-contact__field) label {
  background: var(--field-band, var(--color-secondary));
  color: var(--highlight-color);
  font-weight: 700;
  padding: 0 0.5rem 0 0;
  translate: 0 0.5rem;
  width: fit-content;
  z-index: 2;
}

/* The original's fields keep the browser's own face and size. */
:is(.hearth-newsletter__field, .hearth-contact__field) :is(input, textarea) {
  background: var(--field-band, var(--color-secondary));
  border: 2px solid var(--highlight-color);
  border-radius: 0.25rem;
  color: var(--color-text);
  font: normal 700 0.8333rem/normal Arial, Helvetica, sans-serif;
  outline: 0;
  padding: 1rem 1rem 0.75rem;
}

.hearth-newsletter__field input:autofill,
.hearth-contact__field input:autofill {
  box-shadow: inset 0 0 0 100vmax var(--field-band, var(--color-secondary));
}

:is(.hearth-newsletter__field, .hearth-contact__field) :is(input, textarea)::placeholder {
  font-size: 1rem;
}

/* The honeypot: off-screen, so people never meet it and bots still fill it. */
.hearth-newsletter__trap,
.hearth-contact__trap {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.hearth-newsletter__form button,
.hearth-contact__form button {
  align-items: center;
  align-self: stretch;
  background: var(--color-text);
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  font: normal 900 1.5rem/1 var(--font-accent);
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  padding: 1rem 2rem;
}

:is(.hearth-newsletter__form, .hearth-contact__form) button span {
  margin-bottom: -0.125rem;
}

.hearth-newsletter__send,
.hearth-contact__send {
  height: 1.5rem;
  width: 1.5rem;
}

.hearth-newsletter__form button:hover .hearth-newsletter__send,
.hearth-contact__form button:hover .hearth-contact__send {
  translate: 0.125rem 0;
}

:is(.hearth-newsletter__form, .hearth-contact__form) button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

@media (min-width: 576px) {
  :is(.hearth-newsletter__form, .hearth-contact__form) button {
    align-self: flex-end;
  }
}

.hearth-newsletter__thanks,
.hearth-contact__thanks {
  font: normal 900 2rem/1 var(--font-accent);
}

/* ─── Contact ───
   The Contact page's form beside the location's phone, address and hours
   (stacked on phones). The details sit on the primary color, as the footer
   does, so the hours and links read the same in both places. A site with
   no location has the form alone, at the theme's reading width. */
.hearth-contact {
  --field-band: var(--color-background);

  align-items: start;
  display: grid;
  gap: 3rem;
  line-height: normal;
  margin: 0 auto;
  max-width: var(--max-content-width);
  padding: 4rem 0;
  width: var(--ideal-content-width);
}

.hearth-contact:has(.hearth-contact__details) {
  width: 64rem;
}

/* The form comes back to this heading (#hearth-contact-heading); the margin
   keeps it clear of overlay mode's sticky closed bar. */
.hearth-contact__heading {
  color: var(--color-primary);
  font: normal 900 2.5rem/1 var(--font-display);
  scroll-margin-top: 4rem;
  text-wrap: balance;
}

.hearth-contact__intro {
  margin-top: 1rem;
}

.hearth-contact__signup {
  margin-top: 1.5rem;
}

.hearth-contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  isolation: isolate;
}

.hearth-contact__optional {
  font-weight: 400;
}

.hearth-contact__field textarea {
  min-height: 9rem;
  resize: vertical;
}

.hearth-contact__details {
  background: var(--color-primary);
  border-radius: 0.25rem;
  color: var(--color-background);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.hearth-contact__address {
  display: flex;
  flex-direction: column;
  font-style: normal;
  gap: 1rem;
}

.hearth-contact__address span {
  align-items: start;
  display: flex;
  gap: 0.5rem;
}

.hearth-contact__address svg {
  flex: none;
  height: 1.25rem;
  width: 1.25rem;
}

.hearth-contact__address a {
  border-bottom: 1px dotted transparent;
  color: var(--color-secondary);
  text-decoration: none;
}

.hearth-contact__address a:hover {
  border-bottom-color: var(--color-background);
}

@media (min-width: 768px) {
  .hearth-contact:has(.hearth-contact__details) {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

/* Links inside the owner's words (rich_text) are underlined, so they don't
   rest on color alone; each block sets its own link color. The menu
   description's links share the menu note's rule. */
.hearth-about__story a,
.hearth-catering__text a,
.hearth-feature__copy a,
.hearth-feature__events-copy a,
.hearth-showcase__text a,
.hearth-special__body a,
.hearth-team__bio a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ─── Footer ───
   Logo and hours, the nav's pages, phone and address, copyright; dashed
   rules between, on the primary color. */
.hearth-footer {
  --y-gap: 1rem;

  background: var(--color-primary);
  color: var(--color-background);
  display: grid;
  gap: var(--y-gap);
  justify-items: center;
  line-height: normal;
  padding: 2rem 0;
}

.hearth-footer > * {
  max-width: var(--max-content-width);
  width: var(--ideal-content-width);
}

.hearth-footer__brand {
  align-items: center;
  border-bottom: 1px dashed var(--primary-50);
  column-gap: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: var(--y-gap);
  row-gap: 2rem;
}

.hearth-footer__logo {
  width: 100px;
}

/* Stands in for the 100px logo, so it wraps to sit beside the hours. */
.hearth-footer__name {
  font: normal 400 2rem/1 var(--font-display);
  max-width: 9rem;
  text-align: center;
}

.hearth-footer__brand .hearth-hours {
  width: 16rem;
}

.hearth-footer__links {
  align-items: center;
  border-bottom: 1px dashed var(--primary-50);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: var(--y-gap);
  row-gap: 0.5rem;
}

.hearth-footer__links li {
  padding: 0 0.75rem;
}

.hearth-footer__links li:not(:first-child) {
  border-left: 1px dashed var(--primary-50);
}

.hearth-footer__links a {
  color: var(--color-background);
  font: normal 400 1.5rem/1 var(--font-accent);
  text-decoration: none;
}

.hearth-footer__links a:hover,
.hearth-footer__links a[aria-current="page"] {
  color: var(--color-secondary);
}

.hearth-footer__contact {
  align-items: start;
  border-bottom: 1px dashed var(--primary-50);
  column-gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  font-style: normal;
  justify-content: center;
  padding-bottom: var(--y-gap);
}

.hearth-footer__contact span {
  align-items: start;
  display: flex;
  gap: 0.5rem;
}

.hearth-footer__contact svg {
  flex: none;
  height: 1em;
  width: 1em;
}

.hearth-footer__contact a {
  border-bottom: 1px dotted transparent;
  color: var(--color-secondary);
  letter-spacing: -1px;
  text-decoration: none;
}

.hearth-footer__contact a:hover {
  border-bottom-color: var(--color-background);
}

.hearth-footer__copyright {
  font-size: 0.85rem;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 576px) {
  .hearth-footer__links li {
    padding: 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hearth-newsletter__social span::after {
    transition: none;
  }
}

/* ─── Home ───
   The hero, today's special, the dish showcase and the special-occasion
   popup. Light text on the photos and the primary color is the background
   color; dark text on the secondary color is the text color. */

/* Hero: the photo under a radial vignette that darkens the edges (the Astro
   Hero). The three widths come in from the partial as --img-sm/md/lg. */
.hearth-hero {
  --shape: 120% 60%;
  --from: color-mix(in oklch, black 15%, transparent);
  --to: black;
  --img-url: var(--img-sm);

  align-items: center;
  background-attachment: local;
  background-blend-mode: darken;
  background-image: var(--img-url), radial-gradient(var(--shape), var(--from), var(--to));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-background);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: var(--min-height, 94vh);
  position: relative;
  width: 100%;
}

/* Hero.astro pads only a wide screen, outside its min-height. */
@media (min-aspect-ratio: 1.4/1) {
  .hearth-hero {
    padding: 2rem 0;
  }
}

@media (min-width: 576px) {
  .hearth-hero {
    --shape: 140% 67%;
    --img-url: var(--img-md);
  }
}

@media (min-width: 992px) {
  .hearth-hero {
    --img-url: var(--img-lg);
  }
}

/* No photo set: the primary color, no vignette. */
.hearth-hero--plain {
  background: var(--color-primary);
}

.hearth-hero__article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  max-width: var(--max-content-width);
  width: var(--ideal-content-width);
}

/* Hero.astro's article ends in an empty footer: one more 2rem gap. */
.hearth-hero__article::after {
  content: "";
}

.hearth-hero__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.hearth-hero__heading {
  font: normal 400 var(--heading-size, 5rem)/0.9 var(--font-display);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hearth-hero__subheading {
  font: normal 400 2rem/1 var(--font-accent);
  text-wrap: balance;
}

.hearth-hero__body {
  font-size: 1.25rem;
  line-height: 1;
  margin: 0 auto;
  max-width: 55ch;
  text-align: center;
}

/* Foragers' hours box: translucent primary inside a dashed secondary line. */
.hearth-hero__hours {
  background: var(--primary-a75);
  border-radius: 0.25rem;
  box-sizing: content-box;
  max-width: 80vw;
  outline: 0.05rem dashed var(--color-secondary);
  outline-offset: -0.5rem;
  padding: 2rem;
  width: 20rem;
}

/* Daily specials: a band in the secondary color with an inset rule. */
.hearth-specials {
  align-items: center;
  background: var(--color-secondary);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  outline: 0.1rem solid var(--color-text);
  outline-offset: -0.75rem;
  padding: 2rem 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.hearth-specials__heading {
  font: normal 400 1rem/1 var(--font-body);
  padding-bottom: 0.5rem;
}

.hearth-specials__today {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hearth-specials__day {
  font: normal 400 1.35rem/0.9 var(--font-display);
  text-transform: none;
}

.hearth-specials__name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.hearth-specials__note {
  font-style: italic;
}

.hearth-specials__fallback {
  text-transform: none;
  text-wrap: balance;
}

.hearth-specials__link,
.hearth-popup__footer a {
  align-items: center;
  background: var(--color-text);
  color: var(--color-secondary);
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.hearth-specials__link {
  margin-top: 1rem;
}

.hearth-specials__link:hover,
.hearth-popup__footer a:hover {
  color: var(--color-background);
}

.hearth-specials__link svg,
.hearth-popup__footer svg {
  height: 0.9rem;
  transition: translate 200ms;
  width: 0.9rem;
}

.hearth-specials__link:hover svg,
.hearth-popup__footer a:hover svg {
  translate: 0.15rem 0;
}

/* Dish showcase: dishes and the words in a grid, one column on phones and
   two side by side, sized from the viewport as DishShowcase.astro is: a
   fixed height (plus its padding) shared by 1fr rows, so the words' row
   takes what its text needs and the dish rows share the rest. A missing dish
   leaves fewer, taller rows; words longer than the whole grow it
   (min-height: min-content) rather than spill. */
.hearth-showcase {
  --gap: 1rem;
  --cols: 1;
  --height: 200vh;

  box-sizing: content-box;
  display: grid;
  gap: var(--gap);
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(var(--cols), 1fr);
  height: var(--height);
  margin: auto;
  max-width: 100vmax;
  min-height: min-content;
  padding: var(--gap);
}

@media (min-width: 768px) and (max-aspect-ratio: 1.4/1) {
  .hearth-showcase {
    --cols: 2;
    --height: 100vh;

    max-width: 100vh;
  }
}

@media (min-aspect-ratio: 1.4/1) {
  .hearth-showcase {
    --cols: 2;
  }
}

@media (min-height: 768px) {
  .hearth-showcase {
    --height: 100vh;

    max-width: 100vh;
  }
}

.hearth-showcase__content {
  background: var(--color-primary);
  padding: var(--gap);
}

.hearth-showcase__text {
  color: var(--color-background);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  line-height: normal;
  outline: 0.05rem dashed var(--color-secondary);
}

.hearth-showcase__text p {
  box-sizing: content-box;
  letter-spacing: 1px;
  margin: 0 auto;
  max-width: 90%;
  padding: var(--gap);
}

.hearth-showcase__text strong {
  color: var(--color-secondary);
}

.hearth-showcase__text a {
  color: var(--color-secondary);
}

.hearth-dish {
  background: var(--color-background);
  isolation: isolate;
  position: relative;
}

.hearth-dish img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hearth-dish__name {
  background: var(--color-background);
  border-top-right-radius: 0.25rem;
  bottom: 0;
  color: var(--color-text);
  font: normal 400 1.25rem/0.9 var(--font-display);
  left: 0;
  padding: 0.5rem var(--gap);
  position: absolute;
  z-index: 1;
}

@media (min-width: 768px) {
  .hearth-dish--right .hearth-dish__name {
    border-radius: 0.25rem 0 0;
    left: auto;
    right: 0;
  }
}

/* Special-occasion popup: Azalea's card on the primary color with an inset
   secondary line, over a blurred page. Image first: the special's cover
   photo across the top, then its name, date line and pricing. 36rem wide on
   a desktop, the screen less 1.5rem a side on a phone, and never taller than
   the screen: the photo gives way first, then the words scroll inside, so
   the close button in the corner stays in reach. */
.hearth-popup {
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  box-shadow:
    color-mix(in oklch, black 25%, transparent) 0 5px 10px 2px,
    color-mix(in oklch, black 5%, transparent) 0 10px 15px 5px;
  margin: auto;
  max-height: calc(100dvh - 3rem);
  max-width: none;
  overflow: visible;
  padding: 0;
  width: min(36rem, 100vw - 3rem);
}

/* The dialog takes the focus as it opens; the card is the sign of it. */
.hearth-popup:focus {
  outline: none;
}

.hearth-popup::backdrop {
  backdrop-filter: blur(0.25rem);
  background: color-mix(in oklch, var(--color-background) 25%, transparent);
}

.hearth-popup__frame {
  background: var(--color-primary);
  border-radius: 0.25rem;
  color: var(--color-background);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  max-height: calc(100dvh - 3rem);
  overflow: clip;
  position: relative;
}

.hearth-popup__frame::after {
  border-radius: 0.65rem;
  content: "";
  inset: 0;
  outline: 1px solid var(--color-secondary);
  outline-offset: -0.5rem;
  pointer-events: none;
  position: absolute;
  z-index: 9;
}

.hearth-popup__close {
  background: var(--color-secondary);
  border: 0;
  color: var(--color-text);
  cursor: pointer;
  display: grid;
  height: 2.75rem;
  place-content: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 2.75rem;
  z-index: 10;
}

.hearth-popup__close:focus-visible {
  outline: 2px solid var(--color-background);
  outline-offset: -0.35rem;
}

.hearth-popup__close svg {
  height: 1.5rem;
  width: 1.5rem;
}

.hearth-popup__cover {
  aspect-ratio: 16 / 9;
  display: block;
  flex-shrink: 1;
  height: auto;
  min-height: 6rem;
  object-fit: cover;
  width: 100%;
}

.hearth-popup__article {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.75rem;
  max-height: calc(100dvh - 9rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.75rem 2.25rem 2rem;
}

.hearth-popup__close + .hearth-popup__article {
  padding-top: 3.25rem;
}

/* The eyebrow follows the name in the source and sits above it on screen. */
.hearth-popup__header {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

.hearth-popup__header h2 {
  color: var(--color-secondary);
  font: normal 700 clamp(2rem, 1.4rem + 2.5vw, 2.75rem) / 0.95 var(--font-display);
  text-wrap: balance;
}

.hearth-popup__eyebrow {
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}

.hearth-popup__when {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.hearth-popup__body {
  font-size: 1.05rem;
  line-height: 1.4;
}

.hearth-popup__body p + p {
  margin-top: 0.5rem;
}

.hearth-popup__body a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hearth-popup__footer {
  display: flex;
  justify-content: end;
  padding-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .hearth-specials__link svg,
  .hearth-popup__footer svg {
    transition: none;
  }
}

/* ─── Menu ───
   The menu page (Foragers' menu.astro): today's special occasions, then the
   primary menus as full-width bands alternating two schemes (odd: primary
   with secondary accents; even: the reverse), each a cover photo in a dashed
   inset frame with its season and name, then the secondary menus as a plain
   list in the next scheme, then two dishes. Each menu's own page lists its
   sections, items and choice panels. */

/* The scheme a band hands its children: --menu-bg fills it, --menu-bg2 is
   the name strip and frame line, --menu-accent the button. */
.hearth-menus {
  display: grid;
  min-height: 60vh;
}

.hearth-menus > :nth-child(odd) {
  --menu-accent: var(--color-text);
  --menu-bg: var(--color-primary);
  --menu-bg2: var(--color-secondary);
  --menu-justify: end;
  --menu-pad: 0 1rem 0 0;
  --menu-t: -1rem;
  --menu-txt-align: right;
}

.hearth-menus > :nth-child(even) {
  --menu-accent: var(--color-background);
  --menu-bg: var(--color-secondary);
  --menu-bg2: var(--color-primary);
  --menu-justify: start;
  --menu-pad: 0 0 0 1rem;
  --menu-t: 1rem;
  --menu-txt-align: left;
}

.hearth-menus__empty {
  margin: 4rem auto;
  max-width: var(--max-content-width);
  text-align: center;
  width: var(--ideal-content-width);
}

/* "View Menu →": the band's accent with the strip color for text. Outside a
   band (a menu's own page) it takes the text color on the secondary. */
.hearth-menus__link {
  --tx: 0;

  align-items: center;
  background: var(--menu-accent, var(--color-text));
  color: var(--menu-bg2, var(--color-secondary));
  display: flex;
  font: normal 400 1.5rem/1 var(--font-accent);
  gap: 0.25rem;
  padding: 1rem 2rem 0.75rem;
  text-decoration: none;
  width: fit-content;
}

.hearth-menus__link:hover {
  --tx: 0.1rem;
}

.hearth-menus__link svg {
  height: 1em;
  transition: translate 100ms ease-in-out;
  translate: var(--tx) -0.125rem;
  width: 1em;
}

/* A primary menu's band and its dashed frame. */
.hearth-menu-card {
  background: var(--menu-bg);
  color: var(--menu-bg);
}

.hearth-menus > .hearth-menu-card:first-child {
  padding-top: 10.8rem;
}

.hearth-special ~ .hearth-menus > .hearth-menu-card:first-child {
  padding-top: 0;
}

@media (min-width: 576px) {
  .hearth-menu-card {
    padding-bottom: 4rem;
  }

  .hearth-menu-card:not(:first-child) {
    padding-top: 4rem;
  }
}

.hearth-menu-card__frame {
  --inset: 1rem;
  --w: 100%;

  align-items: var(--menu-justify);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: var(--menu-justify);
  margin: auto;
  max-width: 768px;
  overflow: hidden;
  padding: 12rem 0;
  position: relative;
}

.hearth-menu-card__frame::before {
  border: 0.075rem dashed var(--menu-bg2);
  content: "";
  inset: calc(var(--inset) / 2);
  pointer-events: none;
  position: absolute;
}

@media (min-width: 576px) {
  .hearth-menu-card__frame {
    --inset: 2rem;
    --w: 55%;
  }
}

.hearth-menu-card__cover {
  aspect-ratio: 736 / 491;
  display: block;
  height: auto;
  margin: auto;
  max-width: calc(100% - var(--inset));
  object-fit: cover;
  width: 100%;
}

/* The words' column and the name strips are as wide as their share plus
   their padding (menu.astro's content-box), so on phones a strip runs to the
   band's edges. */
.hearth-menu-card__body {
  align-items: center;
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-width: fit-content;
  padding: 0 0.5rem;
  position: relative;
  row-gap: 2rem;
  width: var(--w);
}

@media (min-width: 576px) {
  .hearth-menu-card__cover {
    translate: var(--menu-t);
  }

  .hearth-menu-card__body {
    margin-top: 1rem;
    padding: var(--menu-pad);
    translate: calc(var(--menu-t) * -1);
  }
}

.hearth-menu-card__header,
.hearth-menu-list__header {
  align-items: var(--menu-justify);
  background: var(--menu-bg2);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  width: 100%;
}

.hearth-menu-card__season {
  color: var(--menu-accent);
  font: normal 400 0.9rem/1 var(--font-body);
  letter-spacing: 2px;
  padding: 0 1rem;
  text-transform: uppercase;
}

.hearth-menu-card__name {
  font: normal 600 3rem/0.9 var(--font-display);
  margin: 0.5rem 0 0;
  padding: 0 1rem;
  text-align: var(--menu-txt-align);
  text-wrap: balance;
  width: fit-content;
}

/* The secondary menus: a plain list in the band after the last card. */
.hearth-menu-list {
  align-items: center;
  background: var(--menu-bg);
  color: var(--menu-bg);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 4rem;
}

.hearth-menu-list__header {
  align-items: start;
}

.hearth-menu-list__menu {
  display: flex;
  flex-direction: column;
  max-width: calc(768px - 1rem);
  row-gap: 1rem;
  width: 90%;
}

.hearth-menu-list__name {
  font: normal 900 2rem/0.9 var(--font-display);
  margin: 1rem 0.5rem;
}

@media (min-width: 1200px) {
  .hearth-menu-list {
    align-items: end;
    flex-direction: row;
  }

  .hearth-menu-list__menu {
    max-width: 25vw;
    width: 40%;
  }
}

/* "Join Us For": a special occasion's card on the primary color, its
   corners cut in the primary across the secondary. */
/* The menu page's first band leaves 10.8rem above it, as menu.astro's does:
   the special occasions when there are any, else the first card. */
.hearth-special {
  background: var(--color-primary);
  padding: 2rem 0;
}

.hearth-special:first-of-type {
  padding-top: 10.8rem;
}

.hearth-special__card {
  --inset: 1rem;
  --p: 2rem;
  --s1: 5%;
  --s2: 95%;

  background: linear-gradient(
    45deg,
    var(--color-primary) var(--s1),
    var(--color-secondary) var(--s1),
    var(--color-secondary) var(--s2),
    var(--color-primary) var(--s2)
  );
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: auto;
  padding: var(--p);
  width: calc(100% - var(--inset));
}

@media (min-width: 576px) {
  .hearth-special__card {
    --inset: 2rem;
    --p: 3rem 4rem;

    max-width: calc(768px - var(--inset));
  }
}

.hearth-special__header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hearth-special__eyebrow {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hearth-special__header h2 {
  font: normal 900 2.5rem/0.9 var(--font-display);
  letter-spacing: -1px;
}

.hearth-special__body p {
  font-size: 1.1rem;
  margin: 0;
}

.hearth-special__body p + p {
  margin-top: 0.5rem;
}

.hearth-special__body a {
  color: inherit;
}

.hearth-special__footer {
  display: flex;
  justify-content: end;
  padding-top: 1rem;
}

.hearth-special__footer a {
  align-items: center;
  background: var(--color-text);
  color: var(--color-secondary);
  display: flex;
  font-weight: 600;
  gap: 0.5rem;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  text-decoration: none;
  text-transform: uppercase;
  width: fit-content;
}

.hearth-special__footer a:hover {
  color: var(--color-background);
}

.hearth-special__footer svg {
  height: 1rem;
  transition: translate 200ms;
  width: 1rem;
}

.hearth-special__footer a:hover svg {
  translate: 0.25rem 0;
}

/* The two dishes that close the page; the second only from 576px. */
.hearth-menus__dishes {
  --gap: 1rem;

  box-sizing: content-box;
  display: flex;
  gap: var(--gap);
  height: var(--dishes-height, min(700px, max(50vh, 40vw)));
  margin: auto;
  max-width: 768px;
  padding: var(--gap);
}

.hearth-menus__dishes .hearth-dish {
  flex: 1;
}

.hearth-menus__dishes .hearth-dish:nth-child(2) {
  display: none;
}

@media (min-width: 576px) {
  .hearth-menus__dishes .hearth-dish:nth-child(2) {
    display: block;
  }
}

/* A menu's own page: its name and words, the PDF, then each section's items
   with dot leaders to the price and its choice panels under it. */
/* No Astro original (the sites link PDFs), so it keeps the 1.5 leading it
   was built with. */
.hearth-menu-detail {
  line-height: 1.5;
  padding: 3rem 1rem 4rem;
}

.hearth-menu-detail__intro {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
}

.hearth-menu-detail__title {
  color: var(--color-primary);
  font: normal 400 clamp(2.5rem, 10vw, 4rem)/0.9 var(--font-display);
  text-wrap: balance;
}

.hearth-menu-detail__subtitle {
  font: normal 400 0.9rem/1 var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hearth-menu-detail__description p + p {
  margin-top: 0.5rem;
}

.hearth-menu-detail__description a,
.hearth-menu-detail__note a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hearth-menu-detail__sections {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  margin: 2.5rem auto 0;
  max-width: 44rem;
}

.hearth-menu-detail__empty,
.hearth-menu-detail__note {
  font-size: 0.9rem;
  margin-top: 2.5rem;
  text-align: center;
}

.hearth-menu-section__heading {
  border-bottom: 0.075rem dashed var(--color-primary);
  color: var(--color-primary);
  font: normal 400 2rem/1 var(--font-display);
  padding-bottom: 0.5rem;
  text-align: center;
}

.hearth-menu-section__items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

/* Name … price, with dot leaders filling the gap. */
.hearth-menu-item__head {
  align-items: baseline;
  display: flex;
  gap: 0.5rem;
}

.hearth-menu-item__name {
  font-size: 1.1rem;
  font-weight: 700;
}

.hearth-menu-item__dots {
  border-bottom: 1px dotted color-mix(in oklch, var(--color-text) 35%, transparent);
  flex: 1;
  translate: 0 -0.25rem;
}

.hearth-menu-item__price,
.hearth-menu-item__tier-price {
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}

/* Size/quantity variants, each its own pill. */
.hearth-menu-item__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.hearth-menu-item__tier {
  align-items: center;
  border: 1px solid var(--primary-a25);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.85rem;
  gap: 0.35rem;
  line-height: 1;
  padding: 0.2rem 0.6rem;
}

.hearth-menu-item__tier-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hearth-menu-item__description {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 0.3rem;
  max-width: 38rem;
}

/* Choice panels: the showcase's look, primary inside a dashed secondary
   line, under the section they answer. */
.hearth-menu-options {
  background: var(--color-primary);
  color: var(--color-background);
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem auto 0;
  outline: 0.05rem dashed var(--color-secondary);
  outline-offset: -0.5rem;
  padding: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hearth-menu-options {
    padding: 2rem;
    width: 67%;
  }
}

/* The background color, not secondary: at this size secondary on primary
   can fall short of contrast. */
.hearth-menu-options__name {
  color: var(--color-background);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hearth-menu-options__list {
  font-size: 0.95rem;
  line-height: 1.35;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hearth-menu-options__list li {
  break-inside: avoid;
  margin-bottom: 0.25rem;
}

.hearth-menu-options__price {
  color: var(--color-secondary);
  font-weight: 700;
}

.hearth-menu-options__note {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .hearth-menus__link svg,
  .hearth-special__footer svg {
    transition: none;
  }
}

/* ─── About ───
   Foragers' about.astro: the story under the hero, its first letter a drop
   cap on a secondary pill and its bold words on a skewed secondary mark;
   then the team, each a portrait above (beside, from 768px) the name, the
   role on a skewed primary badge, and the bio. */
.hearth-about,
.hearth-team {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

.hearth-about__story {
  isolation: isolate;
  max-width: var(--max-content-width);
  width: var(--ideal-content-width);
}

/* about.astro's paragraphs keep the browser's 1em margins. */
.hearth-about__story p {
  margin: 1rem 0;
}

.hearth-about__story strong {
  font-weight: 700;
  padding: 0 0.2rem;
  position: relative;
}

.hearth-about__story strong::after {
  background: var(--color-secondary);
  border-radius: 0.125rem;
  content: "";
  inset: -2px -3px 0;
  position: absolute;
  transform: skew(-20deg, 0deg);
  z-index: -1;
}

.hearth-about__story a,
.hearth-team__bio a {
  color: var(--color-primary);
}

.hearth-about__story p:first-child::first-letter,
.hearth-team__bio p:first-child::first-letter {
  background: var(--color-secondary);
  border-radius: 9999px;
  color: var(--color-text);
  font: normal 400 3rem/0.9 var(--font-display);
  margin: 0 -1rem 0.25rem -1rem;
  padding: 0 1rem;
}

.hearth-team__member {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  isolation: isolate;
  max-width: var(--max-content-width);
}

.hearth-team__member + .hearth-team__member {
  border-top: 1px dashed var(--primary-a25);
  padding-top: 2rem;
}

.hearth-team__portrait {
  border-radius: 0.25rem;
  box-shadow: 0 0.2rem 0.5rem 0.25rem color-mix(in oklch, black 5%, transparent);
  height: 500px;
  max-height: 50vh;
  min-width: 250px;
  object-fit: cover;
  width: 100%;
}

.hearth-team__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--max-content-width);
  width: var(--ideal-content-width);
}

/* On phones the name rides up over the bottom of the portrait, outlined in
   the background color so it reads on the photo. */
.hearth-team__header {
  --name-shadow:
    0.075rem 0.075rem 0 var(--color-background),
    -0.075rem -0.075rem 0 var(--color-background),
    0.075rem -0.075rem 0 var(--color-background),
    -0.075rem 0.075rem 0 var(--color-background);

  align-items: center;
  column-gap: 3rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  z-index: 1;
}

.hearth-team__portrait + .hearth-team__text .hearth-team__header {
  margin: -3.25rem 0 1rem;
}

.hearth-team__name {
  color: var(--color-primary);
  font: normal 900 clamp(3.5rem, 6vw, 4rem)/0.9 var(--font-display);
  margin: 0.25rem 0 0.75rem;
  padding-top: 0.5rem;
  position: relative;
  text-shadow: var(--name-shadow);
}

.hearth-team__role {
  color: var(--color-secondary);
  flex: 1;
  font: normal 900 1.5rem/1 var(--font-accent);
  height: fit-content;
  margin: 0 0 0 0.5rem;
  max-width: var(--max-content-width);
  position: relative;
  text-transform: uppercase;
}

.hearth-team__role::after {
  background: var(--color-primary);
  border-radius: 0.125rem;
  content: "";
  inset: calc(-0.5rem - 1px) -1rem calc(-0.5rem + 1px);
  position: absolute;
  transform: skew(-20deg, 0deg);
  z-index: -1;
}

.hearth-team__bio p {
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .hearth-team__member {
    flex-direction: row;
    gap: 2rem;
  }

  .hearth-team__portrait {
    width: 33vw;
  }

  .hearth-team__text {
    max-width: var(--ideal-content-width);
    width: 45ch;
  }

  .hearth-team__header {
    --name-shadow: none;

    flex-direction: row;
  }

  .hearth-team__portrait + .hearth-team__text .hearth-team__header {
    margin: 0;
  }

  .hearth-team__role {
    margin: -0.5rem 2rem 0;
    max-width: 35%;
  }
}

@media (min-width: 1024px) {
  .hearth-team__text {
    width: var(--ideal-content-width);
  }
}

/* ─── Catering ───
   Foragers' catering.astro: under the hero, a block in the text color with a
   dashed secondary line inset from its edge, the heading in the secondary
   color and the call to action as a secondary button in the accent face;
   then the catering photos as square crops, two by two from 768px and one
   sideways-scrolling row on phones. */
.hearth-catering {
  background: var(--color-text);
  display: grid;
  margin: 0.5rem;
  outline: 0.05rem dashed var(--color-secondary);
  outline-offset: -0.75rem;
  padding: 2rem 0;
  place-content: center;
}

.hearth-catering__intro {
  align-items: center;
  color: var(--color-background);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: calc(var(--max-content-width) - 2rem);
  padding: 2rem 0;
  width: var(--ideal-content-width);
}

.hearth-catering__heading {
  color: var(--color-secondary);
  font: normal 900 3rem/0.9 var(--font-display);
  text-align: center;
  text-wrap: balance;
}

/* Foragers' paragraph keeps the browser's 1em margin; this file's reset
   doesn't, so the words get it back here. */
.hearth-catering__text {
  margin-block: 1rem;
}

.hearth-catering__text p + p {
  margin-top: 1rem;
}

.hearth-catering__text a {
  color: var(--color-secondary);
}

.hearth-catering__cta a {
  --tx: 0;

  align-items: center;
  background: var(--color-secondary);
  border-radius: 0.25rem;
  color: var(--color-text);
  display: flex;
  font: normal 900 1.5rem/1 var(--font-accent);
  gap: 0.25rem;
  padding: 1rem 2rem 0.75rem;
  text-decoration: none;
  width: fit-content;
}

.hearth-catering__cta a:hover {
  --tx: 0.125rem;
}

.hearth-catering__cta svg {
  height: 1em;
  transition: translate 100ms ease-in-out;
  translate: var(--tx) -0.125rem;
  width: 1em;
}

.hearth-gallery {
  display: flex;
  justify-content: start;
  overflow-x: auto;
  width: 100%;
}

.hearth-gallery:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.hearth-gallery__grid {
  display: grid;
  gap: 1rem;
  grid-auto-flow: column;
  padding: 1rem;
}

.hearth-gallery__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  width: 50vw;
}

.hearth-gallery__item :is(img, video) {
  aspect-ratio: 1;
  border-radius: 0.25rem;
  box-shadow: 0 0.2rem 0.5rem 0.25rem color-mix(in oklch, black 5%, transparent);
  display: block;
  height: auto;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.hearth-gallery__caption {
  font-size: 0.9rem;
  text-align: center;
}

/* The menu page's food photos: a heading above the grid, and the grid (not
   the section) is the strip that scrolls on phones. */
.hearth-gallery--menu {
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  overflow-x: visible;
  padding-top: 2rem;
}

.hearth-gallery--menu .hearth-gallery__grid {
  max-width: min(100%, 1024px);
  overflow-x: auto;
}

.hearth-gallery--menu .hearth-gallery__grid:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.hearth-gallery__heading {
  color: var(--color-primary);
  font: normal 400 2rem/1 var(--font-display);
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hearth-catering {
    margin: 1rem;
  }

  .hearth-gallery {
    justify-content: center;
  }

  .hearth-gallery__grid {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    max-width: 1024px;
    padding: 1rem 0;
    width: var(--max-content-width);
  }

  .hearth-gallery__item {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hearth-catering__cta svg {
    transition: none;
  }
}

/* ─── Feature ───
   Azalea's patio.astro: two photos with clipped corners beside the copy in
   a primary box with an inset secondary line (on phones the second photo
   hides), a wide photo, then a block in the text color with its heading in
   the secondary color, one photo beside it from 992px and one below. Flex
   rows, so a part left unset closes up instead of leaving a hole. */
.hearth-feature__intro,
.hearth-feature__events {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem auto 0;
  max-width: 1260px;
  padding: 0 1rem;
}

.hearth-feature__photos {
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-evenly;
  margin-top: 1rem;
}

/* On the text line, as patio.astro's images are: the line's descent adds a
   few pixels under each photo. */
.hearth-feature__photo img {
  display: inline;
  height: auto;
  vertical-align: baseline;
  width: 100%;
}

.hearth-feature__photos img,
.hearth-feature__events img {
  clip-path: polygon(0% 0%, 90% 0%, 100% 10%, 100% 100%, 10% 100%, 0% 90%);
  object-fit: cover;
}

.hearth-feature__photo--wide-only {
  display: none;
}

.hearth-feature__copy {
  background: var(--color-primary);
  color: var(--color-background);
  display: grid;
  font-size: 1.2rem;
  outline: 2px solid var(--color-secondary);
  outline-offset: -1rem;
  padding: 10%;
  place-content: center;
}

.hearth-feature__copy p {
  margin-bottom: 1rem;
}

.hearth-feature__copy a,
.hearth-feature__events-copy a {
  color: var(--color-secondary);
}

.hearth-feature__wide {
  margin: 0 auto;
  max-width: 1260px;
  padding: 1rem;
}

.hearth-feature__events {
  flex-flow: row wrap;
  margin: 0 auto 1rem;
}

.hearth-feature__events > * {
  flex: 1 1 100%;
}

.hearth-feature__events-copy {
  background: var(--color-text);
  display: grid;
  min-height: max(25rem, min(50vh, 400px));
  outline: 2px solid var(--color-secondary);
  outline-offset: -1rem;
  place-content: center;
}

.hearth-feature__events-copy article {
  color: var(--color-background);
  font: normal 400 1.2rem/1.5 var(--font-body);
  padding: 4rem 2.5rem;
}

.hearth-feature__events-copy h2 {
  color: var(--color-secondary);
  font: normal 400 clamp(1.5rem, 10vw, 3rem)/0.9 var(--font-display);
}

.hearth-feature__events-copy p {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  /* Equal columns, as many as there are parts. */
  .hearth-feature__intro {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
  }

  .hearth-feature__photo--wide-only {
    display: block;
  }

  .hearth-feature__events > .hearth-feature__photo {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .hearth-feature__events-copy article {
    padding: 4rem;
  }

  .hearth-feature__events-copy p {
    margin-top: 2rem;
  }
}

@media (min-width: 992px) {
  .hearth-feature__events-copy {
    flex: 1 1 0;
    min-height: auto;
  }

  /* 40% of the row, centred beside the words (patio.astro's 1fr 40% grid). */
  .hearth-feature__events > .hearth-feature__photo--beside {
    align-self: center;
    flex: 0 0 40%;
  }

  .hearth-feature__events > .hearth-feature__photo--below {
    flex-basis: 100%;
  }
}

/* ─── Site variants ───
   What a site's settings pick (_page_top.html.erb turns them into body
   classes, hearth-<setting>-<variant>). Every rule above is the default,
   Foragers' look; each block below is one setting's other value, Azalea's,
   from azalea-astro. */

/* nav_style "overlay" (Navbar.astro): no band. The masthead (the nav) has
   no height of its own, so the page's first band, a hero or the menu's
   first card, starts under the announcement bar and the nav lies over it. Links fold below 768px, as the band's do; the current page and a
   hovered link get a bar under them. */
.hearth-masthead {
  flex: none;
  height: 0;
  position: relative;
  z-index: 10;
}

.hearth-nav-overlay .announcement-bar--closed {
  display: grid;
  height: 3.5rem;
  padding: 0 1rem;
  place-content: center;
  position: sticky;
  top: 0;
  z-index: 20;
}

/* Azalea's default banner: the strip it had, taller, at normal tracking,
   its links always underlined. */
.hearth-nav-overlay .announcement-bar:has(> .announcement-bar__item--secondary:only-child) {
  letter-spacing: normal;
  padding: 0.75rem 1rem;
}

.hearth-nav-overlay .announcement-bar__item--secondary:only-child {
  margin-bottom: 0;
}

.hearth-nav-overlay .announcement-bar__item--secondary:only-child a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.hearth-nav-overlay .hearth-nav {
  background: transparent;
  margin: 0 auto;
  max-width: 1200px;
  padding: 1rem;
  width: 100%;
}

.hearth-nav-overlay .hearth-nav__logo {
  flex: none;
  padding: 0.4rem 0;
  width: 10rem;
}

.hearth-nav-overlay .hearth-nav__logo img {
  width: 100%;
}

.hearth-nav-overlay .hearth-nav__links {
  gap: 2rem;
}

/* The bar hugs the words (line-height 1.2); the margins make up the rest of
   the original's 1.5 line. */
.hearth-nav-overlay .hearth-nav__links a {
  font-size: 3rem;
  isolation: isolate;
  line-height: 1.2;
  margin-block: 0.15em;
  position: relative;
}

.hearth-nav-overlay .hearth-nav__links a::after {
  background: var(--color-secondary);
  bottom: 0;
  content: "";
  height: 0.25rem;
  left: 0;
  position: absolute;
  scale: 1 0;
  transform-origin: bottom;
  transition: scale 200ms ease-in-out;
  translate: -2px 0;
  width: 100%;
  z-index: -1;
}

.hearth-nav-overlay .hearth-nav__links a:hover::after,
.hearth-nav-overlay .hearth-nav__links a[aria-current="page"]::after {
  scale: 1 1;
}

.hearth-nav-overlay .hearth-nav__button svg {
  height: 1.75rem;
  width: 1.75rem;
}

@media (min-width: 576px) {
  .hearth-nav-overlay .hearth-nav {
    padding: 1rem 2rem;
  }
}

/* 576–767px: still the phone menu. */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hearth-nav-overlay .hearth-nav__links,
  .hearth-nav-overlay .hearth-nav__toggle:checked ~ .hearth-nav__links {
    background: var(--color-primary);
    display: none;
    flex-direction: column;
    gap: 2rem;
    inset: 0;
    position: fixed;
  }

  .hearth-nav-overlay .hearth-nav__toggle:checked ~ .hearth-nav__links {
    display: flex;
  }

  .hearth-nav-overlay .hearth-nav__links a {
    font-size: 3rem;
  }

  .hearth-nav-overlay .hearth-nav__social {
    display: none;
  }

  .hearth-nav-overlay .hearth-nav__toggle {
    display: block;
  }

  .hearth-nav-overlay .hearth-nav__button {
    display: grid;
  }

  body.hearth-nav-overlay:has(#hearth-nav-toggle:checked) :is(.hearth-page, .hearth-newsletter, .hearth-footer) {
    visibility: hidden;
  }
}

/* The sticky closed banner stays above the open phone menu, as Azalea's.
   Only that one: a banner (a default's links) stays hidden under the menu. */
@media (max-width: 767.98px) {
  body.hearth-nav-overlay:has(#hearth-nav-toggle:checked) .announcement-bar--closed {
    visibility: visible;
  }
}

@media (min-width: 768px) {
  .hearth-nav-overlay .hearth-nav__links a {
    font-size: 1rem;
  }
}

/* The menu's first band already leaves room for the nav; a menu's own page,
   which has no band, gets a strip of the primary color to carry it. Both
   measure 10.8rem from the top of the page in menu.astro, where the 3rem
   strip above the nav lay over the page too; it is the announcement bar
   now, above the page, so they start 3rem lower and are 3rem shorter. */
.hearth-nav-overlay .hearth-menus > .hearth-menu-card:first-child,
.hearth-nav-overlay .hearth-special:first-of-type {
  padding-top: 7.8rem;
}

.hearth-nav-overlay .hearth-special ~ .hearth-menus > .hearth-menu-card:first-child {
  padding-top: 0;
}

.hearth-nav-overlay .hearth-menu-detail {
  background: linear-gradient(var(--color-primary) 7.8rem, transparent 0);
  padding-top: calc(7.8rem + 3rem);
}

@media (prefers-reduced-motion: reduce) {
  .hearth-nav-overlay .hearth-nav__links a::after {
    transition: none;
  }
}

/* type_style "caps" (Azalea): copy at line-height 1.5; the accent face (the
   brand kit's, Barlow) set bold, uppercase and letter-spaced wherever it
   shows; the dish, menu and team names move from the display face to it;
   the hero heading tops out at 3.8rem. */
.hearth-type-caps :is(.hearth-hours, .hearth-newsletter, .hearth-contact, .hearth-footer, .hearth-showcase__text) {
  line-height: 1.5;
}

.hearth-type-caps .hearth-newsletter__field :is(label, input),
.hearth-type-caps .hearth-contact__field label {
  text-transform: uppercase;
}

.hearth-type-caps :is(.hearth-newsletter__form, .hearth-contact__form) button {
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hearth-type-caps .hearth-nav__links a {
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hearth-type-caps .hearth-hero__article {
  width: 65ch;
}

.hearth-type-caps .hearth-hero__header {
  gap: 1.7rem;
}

/* A long word runs past the column rather than breaking, as Azalea's does. */
.hearth-type-caps .hearth-hero__heading {
  font-size: clamp(1.5rem, 15vw, 3.8rem);
  margin-top: 2rem;
  overflow-wrap: normal;
}

.hearth-type-caps .hearth-hero__subheading {
  font: normal 700 1.5rem/1 var(--font-accent);
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.hearth-type-caps .hearth-showcase__text strong {
  font-weight: inherit;
}

.hearth-type-caps .hearth-dish__name {
  border-radius: 0;
  font: normal 700 1rem/1.5 var(--font-accent);
  text-transform: uppercase;
}

/* Caps type style (Azalea): the right-hand dish name stays in the right
   corner on phones too. The script style moves it left below 768px, as
   Foragers' original does. */
.hearth-type-caps .hearth-dish--right .hearth-dish__name {
  left: auto;
  right: 0;
}

.hearth-type-caps .hearth-menus__link {
  font: normal 700 1rem/1.5 var(--font-accent);
  gap: 0.5rem;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  text-transform: uppercase;
}

.hearth-type-caps .hearth-menus__link svg {
  translate: var(--tx) 0;
}

.hearth-type-caps .hearth-menus__link:hover {
  --tx: 0.25rem;
}

.hearth-type-caps .hearth-menu-card__season {
  letter-spacing: 4px;
  padding: 0;
}

.hearth-type-caps :is(.hearth-menu-card__name, .hearth-menu-list__name) {
  font: normal 700 3rem/0.85 var(--font-accent);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

/* Azalea's secondary menus run to 40% of the band from 1200px, no 25vw cap,
   room for the 3rem names. */
@media (min-width: 1200px) {
  .hearth-type-caps .hearth-menu-list__menu {
    max-width: calc(768px - 1rem);
  }
}

.hearth-type-caps .hearth-menu-section__heading {
  font: normal 700 2rem/1 var(--font-accent);
  text-transform: uppercase;
}

.hearth-type-caps .hearth-footer__links a {
  font: normal 700 1rem/1.5 var(--font-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hearth-type-caps .hearth-footer__contact {
  align-items: center;
  column-gap: 2rem;
}

.hearth-type-caps .hearth-footer__contact span {
  align-items: center;
}

.hearth-type-caps .hearth-footer__contact a {
  letter-spacing: normal;
}

.hearth-type-caps .hearth-footer__copyright {
  letter-spacing: 1px;
}

/* heading_style "caps" (Traditions): every heading set in the display face
   in capitals, as the old site set Balboa, with a little air between the
   letters. Names type_style "caps" moves to the accent face are capitals
   already; this block also adds its 1px letter-spacing to them. */
.hearth-heading-caps :is(.hearth-nav__name, .hearth-hours__header, .hearth-newsletter__header h2,
                         .hearth-contact__heading, .hearth-footer__name, .hearth-hero__heading,
                         .hearth-specials__day, .hearth-dish__name, .hearth-popup__header h2,
                         .hearth-menu-card__name, .hearth-menu-list__name, .hearth-special__header h2,
                         .hearth-menu-detail__title, .hearth-menu-section__heading, .hearth-team__name,
                         .hearth-catering__heading, .hearth-feature__events-copy h2, .hearth-gallery__heading) {
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Its menu names, 3rem under type_style "caps", crowd their strips. Smaller,
   and with padding of their own: under box_model "content" a card's strip
   overhangs its frame, which clips the strip's 0.5rem on the outer side, so
   a name with none (type_style "caps" sets 0) sits on the strip's edge. */
.hearth-heading-caps :is(.hearth-menu-card__name, .hearth-menu-list__name) {
  font-size: 2.25rem;
  padding: 0.15em 0.75rem;
}

/* drop_cap "none" (Traditions): Oswald's narrow capitals sit badly in the
   pill, so the About story and the team bios open on a plain first letter. */
.hearth-drop-cap-none .hearth-about__story p:first-child::first-letter,
.hearth-drop-cap-none .hearth-team__bio p:first-child::first-letter {
  background: none;
  border-radius: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  padding: 0;
}

/* frame_style "solid" (Azalea): a solid line round the menu cards, the
   showcase words and the menu's choice panels; dotted rules in the footer. */
.hearth-frame-solid .hearth-menu-card__frame::before {
  border: 2px solid var(--menu-bg2);
}

.hearth-frame-solid .hearth-showcase__text {
  align-items: start;
  border: 2px solid var(--color-secondary);
  gap: var(--gap);
  outline: 0;
  padding: var(--gap);
}

.hearth-frame-solid .hearth-showcase__text p {
  padding: var(--gap) 0 0;
}

.hearth-frame-solid .hearth-menu-section__heading {
  border-bottom: 2px solid var(--color-primary);
}

.hearth-frame-solid .hearth-menu-options {
  outline: 2px solid var(--color-secondary);
}

.hearth-frame-solid :is(.hearth-footer__brand, .hearth-footer__links, .hearth-footer__contact) {
  border-bottom-style: dotted;
}

.hearth-frame-solid .hearth-footer__links li:not(:first-child) {
  border-left-style: dotted;
}

/* hours_style "plain" (Azalea): hours as plain words. On the home hero, a
   bold "Hours:", the rows, then the address, in uppercase at the foot of a
   60vh box (70vh on phones) whose top holds the heading; in the footer, a
   bold "Hours" over the rows in two columns, wrapping under the logo. */
.hearth-hours-plain .hearth-hours {
  color: var(--color-background);
  text-transform: uppercase;
}

.hearth-hours-plain .hearth-hours__header {
  color: inherit;
  font: normal 700 1rem/1.5 var(--font-body);
  padding: 0;
  text-decoration: none;
}

.hearth-hours-plain .hearth-hours__closed {
  color: inherit;
  font-weight: 400;
}

.hearth-hours-plain .hearth-hours__row,
.hearth-hours-plain .hearth-hours__row[data-today] {
  color: inherit;
}

.hearth-hours-plain .hearth-hero:not(.hearth-hero--page) {
  box-sizing: border-box;
  justify-content: space-between;
  min-height: 94vh;
  padding: 17vh 0 7vh;
}

.hearth-hours-plain .hearth-hero__hours {
  background: none;
  border-radius: 0;
  max-width: none;
  outline: 0;
  padding: 0;
  width: auto;
}

.hearth-hours-plain .hearth-hero__hours .hearth-hours {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hearth-hours-plain .hearth-hero__hours .hearth-hours__header::after {
  content: ":";
}

.hearth-hours-plain .hearth-hero__hours .hearth-hours__closed {
  line-height: 1.1;
}

.hearth-hours-plain .hearth-hero__hours .hearth-hours__row {
  font-weight: 700;
  gap: 1ch;
  justify-content: center;
  line-height: 1.1;
}

.hearth-hours-plain .hearth-hours__address {
  font-weight: 700;
  margin-top: 0.75rem;
}

.hearth-hours-plain .hearth-footer__brand {
  row-gap: 1rem;
}

.hearth-hours-plain .hearth-footer__brand .hearth-hours {
  column-gap: 1ch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: auto;
}

.hearth-hours-plain .hearth-footer .hearth-hours__header {
  grid-column: 1 / 3;
}

.hearth-hours-plain .hearth-footer .hearth-hours__row {
  display: contents;
}

/* Plain hours keep their box's own alignment (left in the footer grid,
   centered in the hero), not the default rows' right-aligned times. */
.hearth-hours-plain .hearth-hours__row > :last-child {
  text-align: inherit;
}

@media (min-width: 992px) {
  .hearth-hours-plain .hearth-hero:not(.hearth-hero--page) {
    padding: 27vh 0 7vh;
  }
}

/* page_hero_style "left" (Azalea's about and patio): the inner pages' hero
   fills the screen under an even shade, its words left-aligned in a 65ch
   column. */
.hearth-page-hero-left .hearth-hero--page {
  box-sizing: border-box;
  background-image: var(--img-url), radial-gradient(200% 50%, rgb(0 0 0 / 30%), rgb(0 0 0 / 70%));
  min-height: 94vh;
  padding: 8rem 0 4rem;
}

.hearth-page-hero-left .hearth-hero--page.hearth-hero--plain {
  background: var(--color-primary);
}

.hearth-page-hero-left .hearth-hero--page .hearth-hero__article {
  gap: 0;
  width: 65ch;
}

.hearth-page-hero-left .hearth-hero--page :is(.hearth-hero__header, .hearth-hero__body) {
  gap: 0;
  text-align: left;
}

.hearth-page-hero-left .hearth-hero--page .hearth-hero__heading {
  font-size: clamp(1.5rem, 15vw, 3.8rem);
  margin: 2rem 0 3.3rem;
}

.hearth-page-hero-left .hearth-hero--page .hearth-hero__body {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* About: the heading, a bold uppercase line, then the words. */
.hearth-page-hero-left .hearth-hero--about .hearth-hero__heading {
  font-size: clamp(1.25rem, 2.65rem, 14vw);
  margin: 0 0 0.5rem;
  padding: 2rem 0 0.5rem;
}

.hearth-page-hero-left .hearth-hero--about .hearth-hero__subheading {
  font: normal 700 1.25rem/1.2 var(--font-accent);
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.hearth-page-hero-left .hearth-hero--about .hearth-hero__body {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

@media (min-width: 576px) {
  .hearth-page-hero-left .hearth-hero--page {
    padding: 0;
  }
}

@media (min-width: 769px) {
  .hearth-page-hero-left .hearth-hero--page .hearth-hero__body {
    font-size: 1.25rem;
  }

  .hearth-page-hero-left .hearth-hero--about .hearth-hero__body {
    font-size: 1rem;
  }
}

/* team_style "band" (Azalea's about): each member on a primary band, the
   portrait 375px tall above the words (beside them from 768px), the name
   bold in the secondary color, the role a small uppercase line, no badge
   and no drop cap. */
.hearth-team-band .hearth-team {
  background: var(--color-primary);
  color: var(--color-background);
  gap: 0;
  padding: 0;
}

.hearth-team-band .hearth-team__member,
.hearth-team-band .hearth-team__member + .hearth-team__member {
  border: 0;
  gap: 2rem;
  justify-content: space-between;
  margin: auto;
  max-width: min(90vw, 50ch);
  padding: 4rem 0;
  width: 100%;
}

.hearth-team-band .hearth-team__portrait {
  border-radius: 0;
  box-shadow: none;
  height: 375px;
  max-height: none;
  max-width: 100%;
  min-width: 0;
  object-fit: cover;
  width: fit-content;
}

.hearth-team-band .hearth-team__text {
  gap: 0;
  width: auto;
}

.hearth-team-band .hearth-team__header,
.hearth-team-band .hearth-team__portrait + .hearth-team__text .hearth-team__header {
  --name-shadow: none;

  align-items: start;
  display: block;
  margin: 0;
  text-align: left;
}

.hearth-team-band .hearth-team__name {
  color: var(--color-secondary);
  font: normal 700 2rem/1 var(--font-body);
  margin: 0 0 0.5rem;
  padding: 0;
}

.hearth-team-band .hearth-team__role {
  color: inherit;
  display: block;
  font: normal 700 1rem/1.5 var(--font-body);
  letter-spacing: 2px;
  margin: 0;
  max-width: none;
  text-wrap: balance;
}

.hearth-team-band .hearth-team__role::after {
  content: none;
}

.hearth-team-band .hearth-team__bio p {
  line-height: 1.5;
  margin: 1rem 0;
  padding: 0;
}

.hearth-team-band .hearth-team__bio p:first-child::first-letter {
  background: none;
  border-radius: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  padding: 0;
}

.hearth-team-band .hearth-team__bio a {
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .hearth-team-band .hearth-team__member,
  .hearth-team-band .hearth-team__member + .hearth-team__member {
    align-items: center;
    gap: 0;
    justify-content: space-evenly;
    max-width: min(95vw, 768px);
  }

  .hearth-team-band .hearth-team__portrait {
    width: fit-content;
  }

  .hearth-team-band .hearth-team__text {
    max-width: 45ch;
    width: auto;
  }

  .hearth-team-band .hearth-team__role {
    margin: 0;
    max-width: none;
  }
}

/* newsletter_style "cut" (Azalea): the band's corners cut away in the
   background color, the heading in the text color, the social links large
   and bold in two columns. */
.hearth-newsletter-cut .hearth-newsletter {
  background: linear-gradient(
    45deg,
    var(--color-background) 5%,
    var(--color-secondary) 5%,
    var(--color-secondary) 95%,
    var(--color-background) 95%
  );
}

.hearth-newsletter-cut .hearth-newsletter__header {
  flex-direction: column;
  gap: 0;
}

.hearth-newsletter-cut .hearth-newsletter__header h2 {
  color: inherit;
}

.hearth-newsletter-cut .hearth-newsletter__eyebrow {
  font: normal 400 1.5rem/1 var(--font-body);
  text-transform: uppercase;
}

.hearth-newsletter-cut .hearth-newsletter__online {
  gap: 1.5rem;
  padding: 1rem 0;
}

.hearth-newsletter-cut .hearth-newsletter__online-title {
  font-weight: 400;
}

.hearth-newsletter-cut .hearth-newsletter__social {
  display: grid;
  gap: 1.5rem 0;
  grid-template-columns: 1fr 1fr;
}

.hearth-newsletter-cut .hearth-newsletter__social a {
  font-size: 1.25rem;
  font-weight: 700;
  gap: 0.5rem;
}

.hearth-newsletter-cut .hearth-newsletter__social a:nth-child(2n) {
  justify-self: end;
}

.hearth-newsletter-cut .hearth-newsletter__social svg {
  height: 2rem;
  width: 2rem;
}

.hearth-newsletter-cut .hearth-newsletter__social span::after {
  content: none;
}

.hearth-newsletter-cut .hearth-newsletter__social span {
  border-bottom: 2px dotted transparent;
}

.hearth-newsletter-cut .hearth-newsletter__social a:hover {
  color: var(--color-text);
}

.hearth-newsletter-cut .hearth-newsletter__social a:hover span {
  border-bottom-color: var(--color-text);
}

/* The cut band's form, as azalea-astro styled ActiveCampaign's: its intro
   line set like the eyebrow, labels further onto the borders, larger bold
   fields, the email marked required, and the button an arrow at the right. */
.hearth-newsletter-cut .hearth-newsletter__signup {
  margin-top: 0;
}

.hearth-newsletter-cut .hearth-newsletter__form-intro {
  font: normal 400 1.5rem/1 var(--font-body);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hearth-newsletter-cut .hearth-newsletter__thanks {
  font: normal 400 1.5rem/1 var(--font-body);
  text-transform: uppercase;
}

.hearth-newsletter-cut .hearth-newsletter__form {
  gap: 1.25rem;
}

.hearth-newsletter-cut .hearth-newsletter__field label {
  font: normal 700 1rem/1 var(--font-body);
  margin-bottom: 0.3125rem;
  padding: 0 0.5rem 0.5rem 0;
  translate: 0 1rem;
}

.hearth-newsletter-cut .hearth-newsletter__field--required label::after {
  color: #ff0000;
  content: "*";
  font-size: 0.875rem;
  vertical-align: top;
}

.hearth-newsletter-cut .hearth-newsletter__field input {
  font: normal 700 1.25rem/1 var(--font-body);
  padding: 0.75rem;
}

.hearth-newsletter-cut .hearth-newsletter__field input::placeholder {
  color: oklch(from var(--color-secondary) 45% c h);
}

.hearth-newsletter-cut .hearth-newsletter__form button {
  --x: 80%;
  --y: 0%;

  align-self: flex-end;
  background: none;
  font: normal 700 1.25rem/1 var(--font-body);
  isolation: isolate;
  letter-spacing: 2px;
  padding: 1.25rem 2rem 1.25rem 1rem;
  position: relative;
}

.hearth-newsletter-cut .hearth-newsletter__form button::after {
  background: var(--color-text);
  clip-path: polygon(0% var(--y), var(--x) var(--y), var(--x) 0%, 100% 50%, var(--x) 100%,
                     var(--x) calc(100% - var(--y)), 0% calc(100% - var(--y)));
  content: "";
  inset: 0;
  position: absolute;
  transition: clip-path 200ms ease;
  z-index: -1;
}

.hearth-newsletter-cut .hearth-newsletter__form button:hover {
  --x: 70%;
  --y: 17%;

  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hearth-newsletter-cut .hearth-newsletter__form button::after {
    transition: none;
  }
}

.hearth-newsletter-cut .hearth-newsletter__form button span {
  margin-bottom: 0;
}

.hearth-newsletter-cut .hearth-newsletter__send {
  display: none;
}

/* box_model "border" (Azalea's global.css): padded boxes keep their set
   size, padding inside. */
.hearth-box-border :is(.hearth-hero, .hearth-hero__hours, .hearth-showcase, .hearth-showcase__text p,
                       .hearth-menu-card__body, .hearth-menu-card__header, .hearth-menu-list__header,
                       .hearth-menus__dishes) {
  box-sizing: border-box;
}

/* Font Awesome's filled glyphs (_glyph.html.erb), the default icon_style;
   the base rules above size them. */
.hearth-glyph {
  flex: none;
}

/* icon_style "line" is a per-site opt-in (Foragers Canteen's original icons):
   lucide's outline icons at their own, larger sizes, the nav's 0.5rem apart
   as on that site. Solid is the default; a new site gets line only by
   choosing it. */
.hearth-icon-line .hearth-nav__social {
  font-size: 1.75rem;
  gap: 0.5rem;
  line-height: inherit;
}

.hearth-icon-line .hearth-nav__social svg {
  height: 1.75rem;
  width: 1.75rem;
}

.hearth-icon-line .hearth-footer__contact svg {
  height: 1.25rem;
  width: 1.25rem;
}

/* Tabler's Facebook and Instagram (_glyph.html.erb) in two tones, as
   Foragers Canteen's original site draws them: in the band nav, a cream
   fill and an olive stroke, gold and near-black on hover; beside the
   newsletter, a gold fill and a near-black stroke on the gold section, an
   olive fill and a heavier stroke on hover. */
.hearth-social-line {
  fill: var(--social-fill, none);
  stroke: var(--social-stroke, currentColor);
  stroke-width: var(--social-stroke-width, 2);
}

.hearth-icon-line .hearth-nav__social a {
  --social-fill: var(--color-background);
  --social-stroke: var(--color-primary);
}

.hearth-icon-line .hearth-nav__social a:hover {
  --social-fill: var(--color-secondary);
  --social-stroke: var(--color-text);
}

.hearth-icon-line .hearth-newsletter__social a {
  --social-fill: var(--color-secondary);
  --social-stroke: var(--color-text);
  --social-stroke-width: 0.1rem;
}

.hearth-icon-line .hearth-newsletter__social a:hover {
  --social-fill: var(--color-primary);
  --social-stroke-width: 0.15rem;
}

.hearth-icon-line .hearth-newsletter__social .hearth-social-line {
  margin-top: -0.125rem;
  transition: fill 200ms, stroke-width 200ms;
}
