/*
 * Saffron: a warm, appetising, welcoming theme for restaurants, cafés, bakeries and patisseries, pizzerias, bistros,
 * catering, food trucks, bars, wine shops and delis. It looks a little like a retro bistro: a striped awning with a
 * scalloped edge hangs along the top of the header, headings are set in big display faces, small labels are ribbon
 * banners, lists and prices read like a menu with dotted leaders, coloured bands and the footer have scalloped edges,
 * photographs lie on a corner of checked tablecloth, and a round stamp carries the website's name.
 *
 * This file draws Saffron's own frame (header, phone menu, footer, breadcrumbs, the 404 page, the split hero, the
 * article body and the divider) and the few decorations that need a drawn shape (the menu ornament under section
 * headings). Every other block comes from the Theme Kit, styled by kit-theme.css. Colours come from the palette
 * (palettes/*.css): --background, --surface, --surface-alt, --primary, --primary-alt, --accent, --accent-ink,
 * --on-accent, --on-primary, --text-primary, --text-secondary and --border. The layout sets --saffron-heading-weight,
 * --saffron-strong-weight, --saffron-title-font and --saffron-title-weight from the font palette, and --saffron-leading,
 * which opens up the line spacing of headings set in a script. Plain CSS, no build step. Starts at 320px wide.
 */

/* ------------------------------------------------------------------ Tokens */

:root {
  --saffron-ink: var(--text-primary, #2b190e);
  --saffron-gutter: clamp(1.25rem, 4vw, 3rem);
  --saffron-width: 74rem;
  /* The frame (header, footer) spans the width the Theme Kit gives its widest sections, so it lines up with a hero. */
  --saffron-width-wide: 90rem;
  --saffron-header-height: 4.5rem;
  /* The awning: one stripe's width (each scallop is as wide as a stripe), and the height of the striped cloth above
     the scallops. */
  --saffron-stripe: clamp(1.15rem, 1.6vw, 1.6rem);
  --saffron-awning-cloth: 0.95rem;
  --saffron-awning: calc(var(--saffron-awning-cloth) + var(--saffron-stripe) / 2);
  --saffron-radius: 0.6rem;
  --saffron-radius-large: 0.9rem;
  --saffron-button-radius: 0.45rem;
  /* The scallops along the footer and the coloured bands. */
  --saffron-scallop: 0.7rem;
  --saffron-line: var(--border, color-mix(in srgb, var(--saffron-ink) 14%, transparent));
  --saffron-line-strong: color-mix(in srgb, var(--saffron-ink) 30%, transparent);
  /* Shadows are a warm near-black in every palette, so a dark palette gets no light glow under its cards. */
  --saffron-shade: #1a0f08;
  --saffron-shadow: 0 1px 2px color-mix(in srgb, var(--saffron-shade, #1a0f08) 8%, transparent), 0 18px 36px -24px color-mix(in srgb, var(--saffron-shade, #1a0f08) 45%, transparent);
  --saffron-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --saffron-speed: 240ms;
  /* The menu ornament: two fine lines with a diamond and two dots between them. Used as a mask, so it takes the colour
     around it. */
  --saffron-ornament-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h44M76 6h44' stroke='black' stroke-width='1.6'/%3E%3Ccircle cx='50' cy='6' r='1.7'/%3E%3Ccircle cx='70' cy='6' r='1.7'/%3E%3Cpath d='M60 .8 65.2 6 60 11.2 54.8 6z'/%3E%3C/svg%3E");
  --saffron-fork-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 96'%3E%3Cpath d='M3 2h2.6v24h2.6V2h2.6v24h2.6V2H16v24h2.6V2h2.6v26c0 5.2-3.4 8.6-7 9.6V91a2.2 2.2 0 0 1-4.4 0V37.6C6.4 36.6 3 33.2 3 28z'/%3E%3C/svg%3E");
  --saffron-knife-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 96'%3E%3Cpath d='M9 2c7.5 3 11 15 11 38v4h-4v47a3.5 3.5 0 0 1-7 0z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Whatever is scrolled into view (an anchor, a field reached with the keyboard) stops clear of the sticky header and of
   the bottom edge instead of sitting under or against them. */
html {
  scroll-padding-top: calc(var(--saffron-header-height) + var(--saffron-awning) + 1.5rem);
  scroll-padding-bottom: 1.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background, #fbf3e2);
  color: var(--text-primary, #2b190e);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: var(--accent, #f2a516);
  color: var(--on-accent, #2b190e);
}

:focus-visible {
  outline: 3px solid var(--accent-ink, currentColor);
  outline-offset: 3px;
}

/* On the bands in the primary colour (announcement, contact line, footer) the focus ring takes their text colour. */
:is(.saffron-announcement, .saffron-topbar, .saffron-footer) :focus-visible {
  outline-color: var(--on-primary, #fff6e5);
}

.saffron-main {
  display: block;
  min-height: 40vh;
}

.saffron-main > :where(h1, h2, h3) {
  font-family: var(--font-heading, serif);
  font-weight: var(--saffron-heading-weight, 400);
}

/* The last word of the hero's heading, in the accent colour. */
.saffron-mark {
  color: var(--accent-ink, #9c3f08);
}

.saffron-skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1.3rem;
  border-radius: var(--saffron-button-radius);
  background: var(--primary, #b3301b);
  color: var(--on-primary, #fff6e5);
  font-size: 0.95rem;
  font-weight: var(--saffron-strong-weight, 600);
  text-decoration: none;
  transition: top 200ms var(--saffron-ease);
}

.saffron-skip-link:focus {
  top: 1rem;
}

/* A small diamond, as between two lines of a menu. */
.saffron-diamond {
  display: inline-block;
  flex: none;
  width: 0.42em;
  height: 0.42em;
  background: currentColor;
  transform: rotate(45deg);
}

/* The menu ornament: fine lines, dots and a diamond, in the accent colour. */
.saffron-ornament {
  display: block;
  width: 7.5rem;
  height: 0.75rem;
  margin: 1.5rem auto;
  background: var(--accent-ink, #9c3f08);
  -webkit-mask: var(--saffron-ornament-shape) center / contain no-repeat;
  mask: var(--saffron-ornament-shape) center / contain no-repeat;
}

/* A section's heading (drawn by the Theme Kit) gets the ornament under it, centred when the heading is. Kept here
   rather than in kit-theme.css, which may load no pictures. On a coloured band it takes the band's text colour. */
.kit-heading-group > .kit-heading--2::after {
  content: "";
  display: block;
  width: 6.5rem;
  height: 0.65rem;
  margin-top: max(1rem, 0.3em);
  background: var(--kit-accent-text, var(--accent-ink, #9c3f08));
  -webkit-mask: var(--saffron-ornament-shape) center / contain no-repeat;
  mask: var(--saffron-ornament-shape) center / contain no-repeat;
}

.kit-heading-group.kit-text--center > .kit-heading--2::after {
  margin-inline: auto;
}

.kit-heading-group.kit-text--end > .kit-heading--2::after {
  margin-inline-start: auto;
}

/* ------------------------------------------------------------------ Buttons */

/* A solid, enamel-like button: the accent colour, small capitals, a slightly darker lower edge. It lifts on a warm
   shadow on hover and presses in on a click. */
.saffron-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  max-width: 100%;
  padding: 0.8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--saffron-button-radius);
  background: var(--accent, #f2a516);
  box-shadow: inset 0 -3px 0 color-mix(in srgb, #000 16%, transparent);
  color: var(--on-accent, #2b190e);
  font-family: var(--font-body, sans-serif);
  font-size: 0.9rem;
  font-weight: var(--saffron-strong-weight, 600);
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  transition: background-color var(--saffron-speed) ease, color var(--saffron-speed) ease, box-shadow var(--saffron-speed) ease, transform var(--saffron-speed) var(--saffron-ease);
}

.saffron-button:hover {
  box-shadow: inset 0 -3px 0 color-mix(in srgb, #000 16%, transparent), 0 12px 22px -12px color-mix(in srgb, var(--saffron-shade, #1a0f08) 70%, transparent);
  transform: translateY(-2px);
}

.saffron-button:active {
  box-shadow: inset 0 -1px 0 color-mix(in srgb, #000 16%, transparent);
  transform: translateY(1px);
}

.saffron-button--outline {
  border-color: currentColor;
  background: transparent;
  box-shadow: none;
  color: var(--text-primary, #2b190e);
}

.saffron-button--outline:hover {
  background: var(--surface-alt, #f5e5c4);
  box-shadow: none;
}

.saffron-button--light {
  border-color: var(--on-primary, #fff6e5);
  background: var(--on-primary, #fff6e5);
  color: var(--primary, #b3301b);
}

.saffron-button--small {
  min-height: 2.65rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.saffron-button--block {
  width: 100%;
}

/* ------------------------------------------------------------------ Announcement and contact line */

.saffron-announcement {
  background: var(--primary, #b3301b);
  color: var(--on-primary, #fff6e5);
  font-size: 0.88rem;
}

.saffron-announcement[hidden] {
  display: none;
}

.saffron-announcement__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
  max-width: calc(var(--saffron-width-wide) + 2 * var(--saffron-gutter));
  margin-inline: auto;
  padding: 0.55rem var(--saffron-gutter);
  text-align: center;
}

.saffron-announcement p {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
}

.saffron-announcement .saffron-diamond {
  color: var(--accent, #f2a516);
}

.saffron-announcement a {
  font-weight: var(--saffron-strong-weight, 600);
  text-decoration: underline dotted;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.saffron-announcement .announcement-dismiss {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
}

.saffron-announcement svg {
  width: 0.7rem;
  height: 0.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* The contact line over the topbar header: a band in the primary colour, the shop's fascia the awning hangs from. */
.saffron-topbar {
  background: var(--primary, #b3301b);
  color: var(--on-primary, #fff6e5);
  font-size: 0.85rem;
}

.saffron-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  max-width: calc(var(--saffron-width-wide) + 2 * var(--saffron-gutter));
  margin-inline: auto;
  padding: 0.5rem var(--saffron-gutter);
}

.saffron-topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.saffron-topbar a {
  text-decoration: none;
}

.saffron-topbar a:hover {
  text-decoration: underline dotted;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.saffron-topbar__social,
.saffron-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.saffron-topbar__social svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ------------------------------------------------------------------ Header and awning */

/* The header stays at the top on the page colour. The awning hangs along its top edge: stripes in the primary and
   surface colours with a soft fold at the top and a scalloped edge, one scallop per stripe. Once the header sticks,
   most of the striped cloth slides up out of view (the header sticks a little above the window's edge), so the awning
   looks rolled up and the header stays slim, without anything on the page jumping. */
.saffron-header {
  position: sticky;
  top: calc(0.3rem - var(--saffron-awning-cloth));
  z-index: 50;
  background: var(--background, #fbf3e2);
  transition: box-shadow var(--saffron-speed) ease;
}

.saffron-header.is-scrolled {
  box-shadow: 0 1px 0 var(--saffron-line), 0 14px 26px -22px color-mix(in srgb, var(--saffron-shade, #1a0f08) 55%, transparent);
}

.saffron-awning {
  display: block;
  filter: drop-shadow(0 2px 1.5px color-mix(in srgb, #000 16%, transparent));
}

.saffron-awning__cloth {
  display: block;
  height: var(--saffron-awning);
  background:
    linear-gradient(color-mix(in srgb, #000 16%, transparent), transparent 55%) 0 0 / 100% var(--saffron-awning-cloth) no-repeat,
    repeating-linear-gradient(90deg, var(--primary, #b3301b) 0 var(--saffron-stripe), var(--surface, #fffcf5) 0 calc(2 * var(--saffron-stripe)));
  -webkit-mask:
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--saffron-stripe) / 2 + 1px) no-repeat,
    radial-gradient(circle calc(var(--saffron-stripe) / 2) at 50% 0, #000 94%, transparent 100%) 0 100% / var(--saffron-stripe) calc(var(--saffron-stripe) / 2) repeat-x;
  mask:
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--saffron-stripe) / 2 + 1px) no-repeat,
    radial-gradient(circle calc(var(--saffron-stripe) / 2) at 50% 0, #000 94%, transparent 100%) 0 100% / var(--saffron-stripe) calc(var(--saffron-stripe) / 2) repeat-x;
}

.saffron-header__bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--saffron-header-height);
  max-width: calc(var(--saffron-width-wide) + 2 * var(--saffron-gutter));
  margin-inline: auto;
  padding: 0.4rem var(--saffron-gutter);
}

/* The masthead: the name in the middle, larger, and the menu centred under it on a fine double rule. */
.saffron-header__bar--centered {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 5.25rem;
}

.saffron-header__brand {
  display: inline-flex;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.saffron-header__bar--centered .saffron-header__brand {
  justify-self: center;
}

.saffron-header__bar--centered .saffron-brand__name {
  font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.7rem);
}

.saffron-header__rail {
  max-width: calc(var(--saffron-width-wide) + 2 * var(--saffron-gutter));
  margin-inline: auto;
  padding: 0 var(--saffron-gutter) 0.5rem;
}

.saffron-header__rail .saffron-nav--desktop {
  justify-content: center;
  padding-top: 0.45rem;
  border-top: 3px double var(--saffron-line-strong);
}

.saffron-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  min-width: 0;
}

.saffron-header__phone {
  color: var(--text-primary, #2b190e);
  font-size: 0.92rem;
  font-weight: var(--saffron-strong-weight, 600);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--saffron-speed) ease;
}

.saffron-header__phone:hover {
  color: var(--accent-ink, #9c3f08);
}

.saffron-header__slot {
  display: flex;
  align-items: center;
}

/* The wordmark: the website's name in the display face, as it is written. */
.saffron-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--text-primary, #2b190e);
}

.saffron-brand__name {
  display: block;
  min-width: 0;
  max-width: min(22rem, 58vw);
  overflow: hidden;
  font-family: var(--font-heading, serif);
  font-size: 1.65rem;
  font-weight: var(--saffron-heading-weight, 400);
  letter-spacing: 0.005em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saffron-brand--light {
  color: var(--on-primary, #fff6e5);
}

/* ------------------------------------------------------------------ Navigation */

.saffron-nav--desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.35rem;
  min-width: 0;
}

.saffron-nav__item {
  position: relative;
}

/* Links in small capitals; a line in the accent colour grows under the one you point at. */
.saffron-nav--desktop .saffron-nav__item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  color: var(--text-primary, #2b190e);
  font-size: 0.8rem;
  font-weight: var(--saffron-strong-weight, 600);
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--saffron-speed) ease;
}

.saffron-nav--desktop .saffron-nav__item > a::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.3rem;
  left: 0.75rem;
  height: 2px;
  background: var(--accent-ink, #9c3f08);
  transform: scaleX(0);
  transition: transform var(--saffron-speed) var(--saffron-ease);
}

.saffron-nav--desktop .saffron-nav__item > a:is(:hover, :focus-visible),
.saffron-nav__item--parent:is(:hover, :focus-within) > a {
  color: var(--accent-ink, #9c3f08);
}

.saffron-nav--desktop .saffron-nav__item > a:is(:hover, :focus-visible)::after,
.saffron-nav__item--parent:is(:hover, :focus-within) > a::after {
  transform: scaleX(1);
}

.saffron-nav__caret {
  width: 0.6rem;
  height: 0.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--saffron-speed) var(--saffron-ease);
}

.saffron-nav__item--parent:is(:hover, :focus-within) .saffron-nav__caret {
  transform: rotate(180deg);
}

/* A parent's pages hang under it on a small menu card. The padding on top belongs to the list, so the pointer never
   crosses a gap. */
.saffron-nav__children {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 0.4rem);
  transition: opacity var(--saffron-speed) ease, transform var(--saffron-speed) var(--saffron-ease), visibility var(--saffron-speed);
}

.saffron-nav__item--parent:is(:hover, :focus-within) > .saffron-nav__children {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.saffron-nav__panel {
  display: grid;
  min-width: 14rem;
  max-width: calc(100vw - 2rem);
  padding: 0.6rem;
  border: 1px solid var(--saffron-line-strong);
  border-radius: var(--saffron-radius);
  background: var(--surface, #fffcf5);
  box-shadow: inset 0 0 0 4px var(--surface, #fffcf5), inset 0 0 0 5px var(--saffron-line), var(--saffron-shadow);
}

.saffron-nav__panel a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: calc(var(--saffron-radius) - 0.2rem);
  color: var(--text-primary, #2b190e);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color var(--saffron-speed) ease, color var(--saffron-speed) ease;
}

.saffron-nav__panel a:is(:hover, :focus-visible) {
  background: var(--surface-alt, #f5e5c4);
  color: var(--text-primary, #2b190e);
}

/* The menu button: a small square in the primary colour with three lines that turn into a cross. */
.saffron-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 0;
  border-radius: var(--saffron-button-radius);
  background: var(--primary, #b3301b);
  color: var(--on-primary, #fff6e5);
  cursor: pointer;
  transition: background-color var(--saffron-speed) ease;
}

@media (hover: hover) {
  .saffron-menu-button:hover {
    background: var(--primary-alt, #8e2414);
  }
}

.saffron-menu-button__lines {
  position: relative;
  display: block;
  width: 1.2rem;
  height: 0.85rem;
}

.saffron-menu-button__lines i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform var(--saffron-speed) var(--saffron-ease), top var(--saffron-speed) var(--saffron-ease), opacity var(--saffron-speed) ease;
}

.saffron-menu-button__lines i:nth-child(1) {
  top: 0;
}

.saffron-menu-button__lines i:nth-child(2) {
  top: calc(50% - 1px);
}

.saffron-menu-button__lines i:nth-child(3) {
  top: calc(100% - 2px);
}

.saffron-menu-button[aria-expanded="true"] .saffron-menu-button__lines i:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.saffron-menu-button[aria-expanded="true"] .saffron-menu-button__lines i:nth-child(2) {
  opacity: 0;
}

.saffron-menu-button[aria-expanded="true"] .saffron-menu-button__lines i:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------ Phone menu */

/* A menu card under the header bar: a fine double rule inside its edge, each page on a dotted leader like a dish on
   a menu, across the phone or at the right on a tablet. */
.saffron-drawer {
  position: fixed;
  top: calc(var(--saffron-drawer-top, calc(var(--saffron-header-height) + var(--saffron-awning))) + 0.5rem);
  right: 0.6rem;
  left: 0.6rem;
  z-index: 49;
  max-height: calc(100dvh - var(--saffron-drawer-top, calc(var(--saffron-header-height) + var(--saffron-awning))) - 1.1rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--saffron-line-strong);
  border-radius: var(--saffron-radius-large);
  background: var(--surface, #fffcf5);
  box-shadow: inset 0 0 0 5px var(--surface, #fffcf5), inset 0 0 0 6px var(--saffron-line), 0 24px 48px -24px color-mix(in srgb, var(--saffron-shade, #1a0f08) 55%, transparent);
  opacity: 1;
  transform: none;
  transition: opacity var(--saffron-speed) ease, transform var(--saffron-speed) var(--saffron-ease);
}

.saffron-drawer[hidden] {
  display: none;
}

@starting-style {
  .saffron-drawer:not([hidden]) {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
}

@media (min-width: 640px) {
  .saffron-drawer {
    left: auto;
    width: min(26rem, calc(100vw - 1.2rem));
  }
}

.saffron-drawer__inner {
  display: flex;
  flex-direction: column;
  padding: 1.1rem clamp(1.4rem, 5vw, 2rem) 1.6rem;
}

.saffron-drawer__slot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0 1rem;
}

.saffron-nav--drawer {
  display: block;
}

.saffron-drawer__link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0;
  color: var(--text-primary, #2b190e);
  font-family: var(--font-heading, serif);
  font-size: clamp(1.4rem, 5.6vw, 1.8rem);
  font-weight: var(--saffron-heading-weight, 400);
  line-height: calc(1.2 * var(--saffron-leading, 1));
  text-decoration: none;
  transition: color var(--saffron-speed) ease;
}

.saffron-drawer__link > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* The dotted leader after each page, ending in a dot in the accent colour. */
.saffron-drawer__link::after {
  content: "";
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  height: 0.5rem;
  background:
    radial-gradient(circle closest-side, var(--accent-ink, #9c3f08) 80%, transparent) 100% 50% / 0.5rem 0.5rem no-repeat,
    radial-gradient(circle, var(--saffron-line-strong) 1.1px, transparent 1.6px) 0 50% / 0.42rem 0.42rem repeat-x;
  -webkit-mask: linear-gradient(90deg, #000 calc(100% - 0.75rem), transparent 0 calc(100% - 0.5rem), #000 0);
  mask: linear-gradient(90deg, #000 calc(100% - 0.75rem), transparent 0 calc(100% - 0.5rem), #000 0);
  transform: translateY(-0.1em);
}

.saffron-drawer__link:hover {
  color: var(--accent-ink, #9c3f08);
}

.saffron-drawer__children {
  display: grid;
  gap: 0.1rem;
  padding: 0 0 0.75rem 0.15rem;
}

.saffron-drawer__children a {
  padding: 0.25rem 0;
  color: var(--text-secondary, #5f4535);
  font-size: 1rem;
  text-decoration: none;
}

.saffron-drawer__children a:hover {
  color: var(--accent-ink, #9c3f08);
}

.saffron-drawer__footer {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--saffron-radius);
  background: var(--surface-alt, #f5e5c4);
}

.saffron-drawer__contact {
  color: var(--text-primary, #2b190e);
  font-size: 1rem;
  font-weight: var(--saffron-strong-weight, 600);
  text-decoration: none;
}

.saffron-drawer__footer .saffron-button {
  margin-top: 0.6rem;
}

html.saffron-menu-open {
  overflow: hidden;
}

/* Below the desktop width the menu moves into the phone menu. */
@media (max-width: 1023.98px) {
  :root {
    --saffron-header-height: 4rem;
    --saffron-awning-cloth: 0.6rem;
  }

  .saffron-nav--desktop,
  .saffron-header__rail,
  .saffron-header__cta,
  .saffron-header__phone,
  .saffron-header__slot {
    display: none;
  }

  .saffron-menu-button {
    display: inline-flex;
  }

  .saffron-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .saffron-header__bar--centered {
    grid-template-columns: 2.9rem minmax(0, 1fr) 2.9rem;
    gap: 0.6rem;
    min-height: 4.4rem;
  }

  .saffron-header__bar--centered .saffron-header__actions {
    gap: 0;
  }

  .saffron-header__bar--centered .saffron-header__brand {
    max-width: 100%;
  }

  .saffron-header__bar--centered .saffron-brand__name {
    max-width: 100%;
    font-size: clamp(1.3rem, 6.4vw, 1.7rem);
  }

  .saffron-brand__name {
    font-size: 1.45rem;
  }
}

@media (min-width: 1024px) {
  .saffron-drawer:not(#site-header.theme-nav-compact .saffron-drawer) {
    display: none;
  }
}

@media (max-width: 1279.98px) {
  .saffron-header__phone {
    display: none;
  }
}

/* A crowded desktop menu moves into the phone menu (the shared resilience script marks the header). */
#site-header.theme-nav-compact .saffron-header__rail,
#site-header.theme-nav-compact .saffron-header__cta,
#site-header.theme-nav-compact .saffron-header__phone {
  display: none;
}

#site-header.theme-nav-compact .saffron-header__bar:not(.saffron-header__bar--centered) {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* ------------------------------------------------------------------ Breadcrumbs */

.saffron-breadcrumbs {
  max-width: calc(var(--saffron-width) + 2 * var(--saffron-gutter));
  margin-inline: auto;
  padding: 1.75rem var(--saffron-gutter) 0;
}

.saffron-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin: 0;
  padding: 0;
  color: var(--text-secondary, #5f4535);
  font-size: 0.78rem;
  font-weight: var(--saffron-strong-weight, 600);
  letter-spacing: 0.1em;
  list-style: none;
  text-transform: uppercase;
}

.saffron-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.saffron-breadcrumbs li + li::before {
  content: "";
  width: 0.36rem;
  height: 0.36rem;
  background: var(--accent-ink, #9c3f08);
  transform: rotate(45deg);
}

.saffron-breadcrumbs a {
  text-decoration: none;
  transition: color var(--saffron-speed) ease;
}

.saffron-breadcrumbs a:hover {
  color: var(--accent-ink, #9c3f08);
}

.saffron-breadcrumbs [aria-current="page"] {
  color: var(--text-primary, #2b190e);
}

/* ------------------------------------------------------------------ Footer */

/* The footer in the primary colour rises on a row of scallops, lists the pages, contact and opening hours, and closes
   with the name in large letters with a shadow in the accent colour, like a shop sign. */
.saffron-footer {
  position: relative;
  margin-top: calc(clamp(2rem, 4vw, 3.5rem) + var(--saffron-scallop));
  background: var(--primary, #b3301b);
  color: var(--on-primary, #fff6e5);
}

.saffron-footer::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  right: 0;
  height: var(--saffron-scallop);
  background: radial-gradient(circle var(--saffron-scallop) at 50% 100%, var(--primary, #b3301b) 94%, transparent 100%) 50% 0 / calc(2 * var(--saffron-scallop)) var(--saffron-scallop) repeat-x;
}

.saffron-footer__inner {
  max-width: calc(var(--saffron-width-wide) + 2 * var(--saffron-gutter));
  margin-inline: auto;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) var(--saffron-gutter) 1.5rem;
}

.saffron-footer--minimal .saffron-footer__inner {
  padding-block: 1.75rem;
}

.saffron-footer .saffron-brand {
  color: inherit;
}

/* A logo recoloured to the theme takes the footer's text colour. */
.saffron-footer .logo-mask {
  background-color: var(--on-primary, #fff6e5) !important;
}

.saffron-footer__brand {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.saffron-footer__closing {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 3px double color-mix(in srgb, var(--on-primary, #fff6e5) 35%, transparent);
}

.saffron-footer__closing h2 {
  max-width: 17ch;
  margin: 0;
  font-family: var(--font-heading, serif);
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: var(--saffron-heading-weight, 400);
  line-height: calc(1.08 * var(--saffron-leading, 1));
  text-wrap: balance;
}

.saffron-footer .saffron-button:not(.saffron-button--outline) {
  border-color: var(--on-primary, #fff6e5);
}

.saffron-footer .saffron-button--outline {
  color: var(--on-primary, #fff6e5);
}

.saffron-footer .saffron-button--outline:hover {
  background: color-mix(in srgb, var(--on-primary, #fff6e5) 14%, transparent);
}

.saffron-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 2.5rem 3rem;
}

.saffron-footer__about {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.saffron-footer__about p {
  max-width: 24rem;
  margin: 0;
  font-size: 0.97rem;
}

.saffron-footer__social a {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid color-mix(in srgb, var(--on-primary, #fff6e5) 55%, transparent);
  border-radius: 50%;
  color: var(--on-primary, #fff6e5);
  transition: background-color var(--saffron-speed) ease, color var(--saffron-speed) ease, border-color var(--saffron-speed) ease;
}

.saffron-footer__social a:hover {
  border-color: var(--on-primary, #fff6e5);
  background: var(--on-primary, #fff6e5);
  color: var(--primary, #b3301b);
}

.saffron-footer__social svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Column titles in small capitals over a dotted line. */
.saffron-footer__title {
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px dotted color-mix(in srgb, var(--on-primary, #fff6e5) 45%, transparent);
  font-size: 0.8rem;
  font-weight: var(--saffron-strong-weight, 600);
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.saffron-footer__links {
  display: grid;
  gap: 0.5rem;
}

.saffron-footer__links a,
.saffron-footer__contact a {
  width: fit-content;
  color: inherit;
  font-size: 0.97rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.saffron-footer__links a:hover,
.saffron-footer__contact a:hover,
.saffron-footer__legal a:hover,
.saffron-footer__inline a:hover {
  text-decoration: underline dotted;
  text-decoration-thickness: 2px;
}

.saffron-footer__contact {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  font-style: normal;
}

.saffron-footer__contact p:not(.saffron-footer__title) {
  margin: 0 0 0.3rem;
  font-size: 0.97rem;
}

/* The opening hours, under the contact details. */
.saffron-footer__hours {
  display: grid;
  gap: 0.2rem;
  margin: 0.6rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  list-style: none;
}

.saffron-footer__hours li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.saffron-footer__hours li::before {
  content: "";
  flex: none;
  width: 0.36rem;
  height: 0.36rem;
  background: var(--accent, #f2a516);
  transform: translateY(-0.1em) rotate(45deg);
}

.saffron-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.2rem;
  border-top: 2px dotted color-mix(in srgb, var(--on-primary, #fff6e5) 45%, transparent);
}

.saffron-footer__copyright {
  margin: 0;
  font-size: 0.88rem;
}

.saffron-footer__legal,
.saffron-footer__inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.saffron-footer__legal a,
.saffron-footer__inline a {
  color: inherit;
  font-size: 0.88rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.saffron-footer__inline a {
  font-size: 0.97rem;
}

.saffron-footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}

.saffron-footer--minimal .saffron-footer__legal {
  margin-top: 1rem;
}

/* The name, very large in the display face, in the footer's text colour with a shadow in the accent colour, like the
   lettering of a shop sign. Its size follows its length (the layout puts it in one of five classes), so it fills the
   width on one line and never breaks a word. */
.saffron-footer__wordmark {
  margin: clamp(1.75rem, 4vw, 3rem) 0 0;
  padding-bottom: 0.12em;
  overflow: hidden;
  color: var(--on-primary, #fff6e5);
  font-family: var(--font-heading, serif);
  font-size: min(12rem, 17vw);
  font-weight: var(--saffron-heading-weight, 400);
  letter-spacing: 0.01em;
  line-height: calc(1.25 * var(--saffron-leading, 1));
  text-align: center;
  text-shadow: 0.045em 0.045em 0 var(--accent, #f2a516);
  white-space: nowrap;
}

.saffron-footer__wordmark--m { font-size: min(9.5rem, 11.5vw); }
.saffron-footer__wordmark--l { font-size: min(7rem, 7.6vw); }
.saffron-footer__wordmark--xl { font-size: min(5rem, 5.3vw); }
.saffron-footer__wordmark--xxl { font-size: min(3.8rem, 4vw); }

/* ------------------------------------------------------------------ 404 */

.saffron-not-found {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--saffron-gutter);
  text-align: center;
}

/* An empty plate between a fork and a knife, with 404 served on it. */
.saffron-not-found__table {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2rem);
  margin-bottom: 2.25rem;
}

.saffron-not-found__fork,
.saffron-not-found__knife {
  width: clamp(1.1rem, 3.2vw, 1.5rem);
  height: clamp(4.5rem, 13vw, 6.25rem);
  background: var(--text-secondary, #5f4535);
  -webkit-mask: var(--saffron-fork-shape) center / contain no-repeat;
  mask: var(--saffron-fork-shape) center / contain no-repeat;
}

.saffron-not-found__knife {
  -webkit-mask-image: var(--saffron-knife-shape);
  mask-image: var(--saffron-knife-shape);
}

.saffron-not-found__plate {
  display: grid;
  place-items: center;
  width: clamp(10rem, 34vw, 13rem);
  aspect-ratio: 1;
  margin: 0;
  border: 1px solid var(--saffron-line-strong);
  border-radius: 50%;
  background: var(--surface, #fffcf5);
  box-shadow: inset 0 0 0 clamp(0.8rem, 2.6vw, 1.1rem) var(--surface, #fffcf5), inset 0 0 0 calc(clamp(0.8rem, 2.6vw, 1.1rem) + 1.5px) var(--saffron-line-strong), var(--saffron-shadow);
}

.saffron-not-found__plate span {
  color: var(--accent-ink, #9c3f08);
  font-family: var(--font-heading, serif);
  font-size: clamp(2.8rem, 9vw, 3.8rem);
  font-weight: var(--saffron-heading-weight, 400);
  line-height: 1;
}

.saffron-not-found h1 {
  margin: 0;
  font-family: var(--font-heading, serif);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: var(--saffron-heading-weight, 400);
  line-height: calc(1.12 * var(--saffron-leading, 1));
  text-wrap: balance;
}

.saffron-not-found .saffron-ornament {
  margin: 1.25rem auto 1.25rem;
}

.saffron-not-found p:not(.saffron-not-found__plate) {
  margin: 0 auto 2.25rem;
  max-width: 32rem;
  color: var(--text-secondary, #5f4535);
}

/* ------------------------------------------------------------------ Divider block */

.saffron-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  max-width: calc(var(--saffron-width) + 2 * var(--saffron-gutter));
  min-height: clamp(3.5rem, 8vw, 6rem);
  margin-inline: auto;
  padding-inline: var(--saffron-gutter);
  color: var(--accent-ink, #9c3f08);
}

.saffron-divider__line {
  display: block;
  width: min(9rem, 28vw);
  height: 3px;
  border-block: 1px solid var(--saffron-line-strong);
}

.saffron-divider .saffron-diamond {
  width: 0.7rem;
  height: 0.7rem;
}

/* A row of dots like the leader between a dish and its price. */
.saffron-divider__rule {
  display: block;
  width: 100%;
  height: 0.5rem;
  background: radial-gradient(circle, var(--saffron-line-strong) 1.4px, transparent 2px) 0 50% / 0.65rem 0.5rem repeat-x;
}

.saffron-dot {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.saffron-dot:nth-child(2) {
  width: 0.6rem;
  height: 0.6rem;
}

/* ------------------------------------------------------------------ Split hero */

/* The heading beside a big picture in a white mat, laid on a corner of checked tablecloth, with the round stamp at its
   lower corner. Without a picture, words alone, centred under a menu ornament. */
.saffron-hero {
  overflow-x: clip;
  padding: clamp(2.5rem, 6vw, 5rem) var(--saffron-gutter) clamp(3.5rem, 7vw, 6rem);
}

.saffron-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  max-width: var(--saffron-width-wide);
  margin-inline: auto;
}

.saffron-hero--words .saffron-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: 54rem;
  text-align: center;
}

.saffron-hero__copy {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  min-width: 0;
}

.saffron-hero--words .saffron-hero__copy {
  justify-items: center;
}

.saffron-hero__ornament {
  width: 8.5rem;
  margin: 0;
}

.saffron-hero__title {
  margin: 0;
  font-family: var(--font-heading, serif);
  font-size: clamp(2.9rem, 1.4rem + 4.9vw, 6.1rem);
  font-weight: var(--saffron-heading-weight, 400);
  letter-spacing: 0.005em;
  line-height: calc(1.04 * var(--saffron-leading, 1));
  /* anywhere, not break-word: only anywhere lets a very long word shrink the column instead of pushing past the page. */
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.saffron-hero__lead {
  max-width: 34rem;
  margin: 0;
  color: var(--text-secondary, #5f4535);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  line-height: 1.7;
}

/* Selling points, each with its icon in the accent colour. */
.saffron-hero__points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.saffron-hero--words .saffron-hero__points {
  justify-content: center;
}

.saffron-hero__points li {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-primary, #2b190e);
  font-size: 0.98rem;
  font-weight: var(--saffron-strong-weight, 600);
  line-height: 1.45;
  text-align: left;
}

.saffron-hero__points .saffron-icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: var(--accent-ink, #9c3f08);
  stroke-width: 2;
}

.saffron-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.saffron-hero--words .saffron-hero__actions {
  justify-content: center;
}

.saffron-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  color: var(--text-secondary, #5f4535);
  font-size: 0.92rem;
}

.saffron-hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.saffron-stars {
  display: inline-flex;
  gap: 0.12rem;
}

.saffron-stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: var(--accent-ink, #9c3f08);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.saffron-stars svg.is-full {
  fill: var(--accent, #f2a516);
}

.saffron-hero__trustpilot {
  font-weight: var(--saffron-strong-weight, 600);
  text-decoration: underline dotted;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.saffron-hero__media {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 34rem);
  margin: 0;
  padding: 0 1.5rem 1.5rem 0;
  min-width: 0;
}

/* A corner of red-and-white (palette-coloured) checked tablecloth under the picture, turned a little. */
.saffron-hero__cloth {
  position: absolute;
  inset: 12% 0 0 14%;
  z-index: -1;
  border-radius: var(--saffron-radius-large);
  background-color: var(--surface, #fffcf5);
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--primary, #b3301b) 52%, transparent) 50%, transparent 0),
    linear-gradient(color-mix(in srgb, var(--primary, #b3301b) 52%, transparent) 50%, transparent 0);
  background-size: 1.6rem 1.6rem;
  transform: rotate(3deg);
}

/* The picture in a white mat, like a photograph laid on the table. */
.saffron-hero__frame {
  display: block;
  overflow: hidden;
  padding: clamp(0.45rem, 1vw, 0.7rem);
  border-radius: var(--saffron-radius-large);
  background: var(--surface, #fffcf5);
  box-shadow: 0 1px 2px color-mix(in srgb, #000 10%, transparent), 0 28px 50px -30px color-mix(in srgb, #000 60%, transparent);
}

.saffron-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 42rem);
  border-radius: calc(var(--saffron-radius-large) - 0.3rem);
  object-fit: cover;
}

/* The round stamp: a disc in the primary colour with a scalloped edge, the name around the ring and its first letter
   in the middle. Its ring turns slowly. */
.saffron-stamp {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(7rem, 9.5vw, 8.5rem);
  aspect-ratio: 1;
  color: var(--on-primary, #fff6e5);
}

.saffron-stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 10px 14px color-mix(in srgb, #000 28%, transparent));
}

.saffron-stamp__edge {
  fill: var(--primary, #b3301b);
}

.saffron-stamp__ring {
  fill: none;
  stroke: currentColor;
  stroke-dasharray: 2 3;
  stroke-width: 1.2;
}

.saffron-stamp__name {
  fill: currentColor;
  font-family: var(--font-body, sans-serif);
  font-size: 9.5px;
  font-weight: var(--saffron-strong-weight, 600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saffron-stamp__letter {
  position: relative;
  text-transform: uppercase;
  font-family: var(--font-heading, serif);
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  font-weight: var(--saffron-heading-weight, 400);
  line-height: 1;
}

.saffron-hero__stamp {
  position: absolute;
  bottom: -0.25rem;
  left: -2rem;
  z-index: 1;
  transform: rotate(-10deg);
}

@media (prefers-reduced-motion: no-preference) {
  .saffron-stamp svg {
    animation: saffron-turn 40s linear infinite;
  }
}

@keyframes saffron-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .saffron-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .saffron-hero--split .saffron-hero__media {
    order: -1;
    width: min(calc(100% - 0.5rem), 26rem);
    padding: 0 1rem 1rem 0;
  }

  .saffron-hero__image {
    aspect-ratio: 5 / 6;
  }

  .saffron-hero__stamp {
    left: -0.6rem;
    bottom: -0.4rem;
    width: 6rem;
  }

  .saffron-hero__stamp .saffron-stamp__letter {
    font-size: 1.8rem;
  }
}

/* ------------------------------------------------------------------ Article body */

.saffron-article {
  padding: clamp(3.5rem, 7vw, 6rem) var(--saffron-gutter);
}

.saffron-article--post {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.saffron-article__inner {
  max-width: 42rem;
  margin-inline: auto;
}

.saffron-article__header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

/* The date and author in small capitals, a diamond between them. */
.saffron-article__byline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.8rem;
  margin: 0 0 1.25rem;
  color: var(--accent-ink, #9c3f08);
  font-size: 0.8rem;
  font-weight: var(--saffron-strong-weight, 600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.saffron-article__header h1 {
  margin: 0;
  font-family: var(--font-heading, serif);
  font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4rem);
  font-weight: var(--saffron-heading-weight, 400);
  line-height: calc(1.08 * var(--saffron-leading, 1));
  text-wrap: balance;
}

.saffron-article__header .saffron-ornament {
  margin: 1.75rem auto 0;
}

.saffron-prose {
  color: var(--text-primary, #2b190e);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.saffron-prose > :first-child {
  margin-top: 0;
}

.saffron-prose > :last-child {
  margin-bottom: 0;
}

.saffron-prose :where(p, ul, ol, figure, table, blockquote, pre) {
  margin: 0 0 1.5em;
}

.saffron-prose :where(h2, h3, h4) {
  margin: 2em 0 0.6em;
  font-family: var(--font-heading, serif);
  font-weight: var(--saffron-heading-weight, 400);
  line-height: calc(1.2 * var(--saffron-leading, 1));
}

.saffron-prose h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
}

.saffron-prose h3 {
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem);
}

.saffron-prose h4 {
  font-size: 1.2rem;
}

.saffron-prose a {
  color: var(--accent-ink, #9c3f08);
  font-weight: var(--saffron-strong-weight, 600);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.saffron-prose a:hover {
  text-decoration-style: dotted;
}

.saffron-prose :where(ul, ol) {
  padding-left: 1.3em;
}

.saffron-prose li + li {
  margin-top: 0.4em;
}

.saffron-prose li::marker {
  color: var(--accent-ink, #9c3f08);
}

/* A quote is set like a pull quote on a menu: larger, between two dotted lines. */
.saffron-prose blockquote {
  margin-inline: 0;
  margin-bottom: 2em;
  padding: 1.4rem 0.5rem;
  border-block: 2px dotted var(--saffron-line-strong);
  font-family: var(--saffron-title-font, serif);
  font-size: 1.3em;
  font-weight: var(--saffron-title-weight, 400);
  line-height: 1.45;
  text-align: center;
}

.saffron-prose blockquote::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  color: var(--accent-ink, #9c3f08);
  font-family: var(--font-heading, serif);
  font-size: 2.6em;
  line-height: 1;
}

.saffron-prose blockquote > :last-child {
  margin-bottom: 0;
}

.saffron-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--saffron-radius);
}

.saffron-prose figcaption {
  margin-top: 0.75rem;
  color: var(--text-secondary, #5f4535);
  font-size: 0.9rem;
  text-align: center;
}

/* A rule is the menu ornament. */
.saffron-prose hr {
  width: 7.5rem;
  height: 0.75rem;
  margin: 3em auto;
  border: 0;
  background: var(--accent-ink, #9c3f08);
  -webkit-mask: var(--saffron-ornament-shape) center / contain no-repeat;
  mask: var(--saffron-ornament-shape) center / contain no-repeat;
}

.saffron-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.saffron-prose :where(th, td) {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 2px dotted var(--saffron-line-strong);
  text-align: left;
  vertical-align: top;
}

.saffron-prose th {
  color: var(--text-secondary, #5f4535);
  font-size: 0.78rem;
  font-weight: var(--saffron-strong-weight, 600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saffron-prose :where(code, pre) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.saffron-prose pre {
  overflow-x: auto;
  padding: 1.25rem;
  border-radius: var(--saffron-radius);
  background: var(--surface-alt, #f5e5c4);
}

/* ------------------------------------------------------------------ Form thanks */

.saffron-form-success {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: 2rem 0;
}

.saffron-form-success h3 {
  margin: 0;
  font-family: var(--font-heading, serif);
  font-size: 1.9rem;
  font-weight: var(--saffron-heading-weight, 400);
  line-height: calc(1.15 * var(--saffron-leading, 1));
}

.saffron-form-success p {
  margin: 0;
  color: var(--text-secondary, #5f4535);
}

.saffron-form-success .saffron-ornament {
  margin: 0 0 0.5rem;
}

/* ------------------------------------------------------------------ Without JavaScript, and calm motion */

@media (scripting: none) {
  .saffron-menu-button {
    display: none !important;
  }

  .saffron-drawer[hidden] {
    display: block;
    position: static;
    width: auto;
    max-height: none;
    margin: 0.5rem var(--saffron-gutter) 0.75rem;
    box-shadow: inset 0 0 0 5px var(--surface, #fffcf5), inset 0 0 0 6px var(--saffron-line);
  }
}

/* The menu is always open without JavaScript, so below the desktop width the header scrolls away with the page
   instead of covering it. */
@media (scripting: none) and (max-width: 1023.98px) {
  .saffron-header {
    position: relative;
    top: 0;
  }
}

@media (scripting: none) and (min-width: 1024px) {
  .saffron-drawer[hidden] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .saffron-stamp svg {
    animation: none !important;
  }

  .saffron-button:hover,
  .saffron-button:active {
    transform: none;
  }
}

/* The icon a site may set on its announcement. */
.saffron-announcement__icon { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.125em; margin-inline-end: 0.4em; }
