/* Non-homepage calibration against the supplied 1920px design exports.
   Loaded only by the nine secondary pages. Colours apply at all widths;
   desktop geometry/type scale together. Mobile retains readable controls. */
body {
  -webkit-font-smoothing: antialiased;
}

.event-section.sage,
.blog-section,
.catering-menu,
.workshop-activity,
.workshop-banner .feature-cards,
body[data-page="workshop"] .section.sage:nth-of-type(4),
.faq-wrap {
  color: var(--muted);
}

.event-section.sage .split-copy p,
.workshop-activity .split-copy p,
body[data-page="workshop"] .section.sage:nth-of-type(4) p,
.feature-cards p {
  font-weight: 400;
}

/* Workshop source text layers use Medium body copy, not the shared Regular
   treatment. Preserve the source gray and the separate dark intro/FAQ colors. */
body[data-page="workshop"] .workshop-activity .split-copy p,
body[data-page="workshop"] .section.sage:nth-of-type(4) p,
body[data-page="workshop"] .feature-cards p {
  font-weight: 500;
}
body[data-page="workshop"] .banner-copy h2 {
  font-weight: 700;
}

/* Match the homepage's two surface colors across the secondary pages. */
body:not([data-page="home"]):not([data-page="menu"]) {
  --warm: #f7f3ed;
  background: var(--warm);
}
body:not([data-page="home"]):not([data-page="menu"]) .cream {
  background: var(--warm);
}
body:not([data-page="home"]):not([data-page="menu"]) .sage,
body[data-page="blog"] .conference-grid article {
  background: var(--dark);
  color: var(--warm);
}
body:not([data-page="home"]):not([data-page="menu"]) .sage :is(h2, h3, p, strong, li, a),
body[data-page="blog"] .conference-grid article :is(h3, p) {
  color: var(--warm);
}
body[data-page="private"] .step h3 span {
  background: var(--dark);
  color: var(--warm);
}
body:not([data-page="home"]):not([data-page="menu"]) .footer-dark :is(.field .error, .form-error) {
  color: #ffb4ab;
}

/* Quantity controls align beneath the selection checkbox. */
body[data-page="catering"] .menu-item {
  grid-template-rows: min-content auto;
  row-gap: 0.375rem;
}
body[data-page="catering"] .menu-item > span:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}
body[data-page="catering"] .menu-item > .price {
  grid-column: 2;
  grid-row: 1;
}
body[data-page="catering"] .menu-item > input[type="checkbox"] {
  grid-column: 3;
  grid-row: 1;
}
body[data-page="catering"] .menu-item-quantity {
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: start;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.25s ease, opacity 0.25s ease;
}
body[data-page="catering"] .menu-item-quantity.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
body[data-page="catering"] .menu-item-quantity-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}
body[data-page="catering"] .menu-item-quantity input {
  appearance: auto;
  height: auto;
  cursor: text;
  width: 8.5rem;
  min-height: 2.5rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--muted);
  border-radius: 0.5rem;
  background: transparent;
}
body[data-page="catering"] .menu-item-quantity input:focus-visible {
  outline: 2px solid #639d86;
  outline-offset: -3px;
}
body[data-page="catering"] .menu-request-actions--single {
  grid-template-columns: 1fr;
  align-content: start;
}
body[data-page="catering"] .menu-request-actions .menu-checkout-button {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--warm);
  font-weight: 600;
  text-transform: none;
}
body[data-page="catering"] .menu-order-dock {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(56rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.875rem 1rem 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid #d8d3ca;
  border-radius: 0.875rem;
  background: #f8f5ef;
  color: var(--dark);
  box-shadow: 0 0.75rem 2.5rem #0003;
}
body[data-page="catering"] .menu-order-dock[hidden] {
  display: none;
}
body[data-page="catering"] .menu-order-dock-summary {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  font-size: 0.9375rem;
}
body[data-page="catering"] .menu-order-dock-summary strong {
  font-size: 1.0625rem;
}
body[data-page="catering"] .menu-order-dock .menu-checkout-button {
  flex: none;
  min-width: 9.5rem;
  background: var(--dark);
  border-color: var(--dark);
  color: var(--warm);
  font-weight: 600;
  text-transform: none;
}
body:has(.cookie-banner:not([hidden])) .menu-order-dock {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 700px) {
  body[data-page="catering"] .menu-order-dock {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 0.75rem;
    gap: 0.75rem;
  }
  body[data-page="catering"] .menu-order-dock-summary {
    min-width: 0;
    flex-direction: column;
    gap: 0.125rem;
    font-size: 0.75rem;
    line-height: 1.25;
  }
  body[data-page="catering"] .menu-order-dock-summary strong {
    font-size: 0.875rem;
  }
  body[data-page="catering"] .menu-order-dock .menu-checkout-button {
    min-width: 7.5rem;
    min-height: 2.75rem;
    padding-inline: 1rem;
  }
}
body[data-page="checkout"] .checkout-top.has-item-quantities {
  grid-template-columns: 1fr;
}
body[data-page="checkout"] .order-item-list {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
  line-height: 1.65;
}

/* Event/After Work gray rows use the same Medium face as their exported
   text layers. The slightly wider measure preserves the source line endings. */
body[data-page="event"] .event-section.sage .split-copy p {
  font-weight: 500;
}

.faq-item p {
  color: #0c2832;
  font-weight: 400;
}

/* Blog text-layer exports match Poppins Medium, not Regular. Keep the
   confirmed #4d4d4d color; the weight supplies the missing stroke coverage. */
.blog-section .split-copy p,
.blog-section .conference-grid p {
  font-weight: 500;
}

/* Private-chef inquiry: source outlines and half-opacity black placeholders.
   Keep these local; the shared footer has a separate form design. */
body[data-page="private"] .staff-form .field input,
body[data-page="private"] .staff-form textarea {
  border-color: var(--ink);
  border-radius: 0.625rem;
}
body[data-page="private"] .staff-form input::placeholder,
body[data-page="private"] .staff-form textarea::placeholder {
  color: rgb(0 0 0 / 50%);
  opacity: 1;
}
body[data-page="private"] .staff-form textarea {
  display: block;
}
body[data-page="private"] .staff-form .btn {
  text-transform: none;
}
body[data-page="private"] .staff-form .field [aria-invalid="true"] {
  border-color: #a32626;
}

/* The exported FAQ mixes blue-green questions with two gray questions. */
body[data-page="private"] .faq-wrap .faq-item summary {
  color: #0c2832;
}
body[data-page="private"] .faq-wrap .faq-item:first-of-type summary,
body[data-page="private"] .faq-wrap .faq-item:nth-of-type(4) summary {
  color: var(--muted);
}

.checkout-section,
.login-section {
  color: #000;
}

.checkout-extras {
  color: var(--muted);
}

.checkout-submit p {
  font-weight: 400;
}

.hero-login p {
  color: #fff;
}

.buffet-title h2 {
  font-family: "Rammetto One", sans-serif;
  font-weight: 400;
  line-height: 1.503;
}

/* Reserve a real price track so long prices cannot paint over the checkbox. */
@media screen and (max-width: 1200px) {
  .menu-item {
    grid-template-columns: minmax(0, 1fr) max-content 1.5rem;
    gap: 0.5rem;
  }

  .menu-item .price {
    font-size: 0.875rem;
  }

  .menu-item input {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media screen and (min-width: 1201px) {
  :root {
    font-size: min(0.8333333333vw, 16px);
    --reading-body: 1rem;
    --reading-lead: 1.125rem;
    --reading-small: 0.875rem;
    --reading-control: 1rem;
    --reading-caption: 0.75rem;
  }

  .hero p {
    font-size: 1.375rem;
  }
  .hero {
    background-position: center top;
    background-size: 100% auto;
  }
  .hero-terms {
    background-image: url("../images/hero-terms-reference.png");
  }
  .hero-event {
    background-image: url("../images/hero-event-reference.png");
  }
  .feature-cards p,
  .conference-grid p,
  .menu-item strong,
  .menu-item .price,
  .order-number {
    font-size: 1.125rem;
  }
  .feature-cards h3,
  .legal-copy h3 {
    font-size: 1rem;
  }

  .hero .narrow {
    padding-top: 5.25rem;
  }
  .hero-event .narrow {
    padding-top: 3.25rem;
  }
  .hero-login .narrow {
    padding-top: 7.625rem;
  }
  .hero-terms .narrow {
    padding-top: 7.25rem;
  }

  /* Catering-only hero/intro offsets; shared header rules live in header.css. */
  .hero-catering h1 {
    transform: translate(-0.25rem, 0.0625rem);
  }
  .hero-catering p {
    transform: translate(-0.125rem, -0.0416667rem);
  }
  body[data-page="catering"] main > .section.sage .split-media {
    transform: translate(0.5rem, 0.0625rem);
  }

  .split-copy h2 {
    margin-bottom: 1.125rem;
  }
  .split-copy .btn {
    gap: 1.375rem;
    min-height: 3.375rem;
    padding: 0.75rem 1.375rem;
  }
  .split-copy .btn .arrow {
    font-size: 1.25rem;
  }
  body[data-page="private"] main > .section.sage .split-copy {
    transform: translate(-0.1875rem, 1.375rem);
  }
  body[data-page="private"] main > .section.sage .split-copy h2 {
    transform: translateY(-0.75rem);
  }
  body[data-page="private"] main > .section.sage .btn {
    margin-top: 3.125rem;
  }

  /* White event rows and green reverse rows have different text treatments. */
  .event-section .split-copy {
    padding-top: 4.25rem;
  }
  .event-section:not(.sage) .split-copy h2 {
    font-size: 1.75rem;
  }
  .event-section.sage {
    padding: 7.9375rem 0 9.1875rem;
  }
  .event-section.sage .split-copy {
    padding-top: 3.25rem;
  }
  .event-section .split-copy h2 {
    margin-bottom: 1.375rem;
  }
  .event-section .split.reverse {
    grid-template-columns: 55rem minmax(0, 1fr);
    gap: 7.5rem;
  }
  .event-section.sage .split-copy p {
    max-width: 39.5rem;
  }
  body[data-page="event"] .event-section.sage .split-copy p {
    width: 39.25rem;
    max-width: none;
  }

  /* Optical alignment measured from the 1920px Event & Afterwork export.
     Keep row dimensions and vertical rhythm unchanged. */
  body[data-page="event"] .event-section:not(.sage) .split-copy,
  body[data-page="event"] .event-section.sage .split-copy {
    transform: translateX(-0.1875rem);
  }
  body[data-page="event"] .event-section:not(.sage) .split-media {
    transform: translateX(0.5625rem);
  }
  body[data-page="event"] .event-section.sage .split-media {
    transform: translateX(-0.25rem);
  }

  /* Workshop: the source has a wider activity column and lighter grey copy. */
  .workshop-activity .split {
    grid-template-columns: 55rem minmax(0, 1fr);
    gap: 7.5rem;
    align-items: start;
  }
  .workshop-activity .split-copy {
    padding-top: 3.25rem;
  }
  .workshop-activity .split-copy h2 {
    font-size: 1.625rem;
  }
  .workshop-activity .split-copy p {
    width: 39.5rem;
    max-width: none;
    margin-bottom: 1.6875rem;
    line-height: 1.5;
  }
  body[data-page="workshop"] .section.sage:nth-of-type(2) {
    padding-block: 6.5rem;
  }
  body[data-page="workshop"] .section.sage:nth-of-type(2) .split-copy {
    transform: translateY(0.375rem);
  }
  body[data-page="workshop"] .section.sage:nth-of-type(2) h2 {
    margin-bottom: 0.8125rem;
  }
  body[data-page="workshop"] .section.sage .split-media {
    transform: translateX(0.625rem);
  }
  body[data-page="workshop"] .section.sage:nth-of-type(4) .split-copy {
    align-self: start;
    padding-top: 1.75rem;
  }
  body[data-page="workshop"] .section.sage:nth-of-type(4) p {
    max-width: 34.375rem;
    margin-bottom: 1.6875rem;
    line-height: 1.5;
  }
  body[data-page="workshop"] .section.sage:nth-of-type(4) h2 {
    font-size: 1.625rem;
    margin-bottom: 1.75rem;
  }
  .feature-cards {
    grid-template-columns: 21.875rem repeat(3, minmax(0, 1fr));
    width: calc(100% + 1rem);
    gap: 2rem;
  }
  .feature-cards article {
    padding: 1.75rem 2.5rem;
  }
  .feature-cards article:first-child h3 {
    font-size: 1.5625rem;
  }
  .feature-cards article:first-child {
    padding-right: 1rem;
  }
  .feature-cards p {
    line-height: 1.5;
  }
  body[data-page="workshop"] .feature-cards article:not(:first-child) h3 {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 0;
  }
  .workshop-activity .feature-cards {
    grid-template-columns: 21.5rem repeat(3, minmax(0, 1fr));
    width: calc(100% + 1.75rem);
  }
  .workshop-activity .feature-cards article:not(:first-child) p {
    max-width: 19.875rem;
  }
  .workshop-banner .feature-cards article:first-child h3 {
    font-size: 1.5rem;
  }
  .workshop-banner .feature-cards article:first-child {
    padding-top: 2.625rem;
  }
  .workshop-activity {
    padding-bottom: 8rem;
  }
  .workshop-banner > .container {
    max-width: 103rem;
    width: 85.833333%;
    position: relative;
    left: 0.625rem;
  }
  .workshop-banner .banner-copy {
    background: none;
    padding-top: 3rem;
  }
  .workshop-banner .banner-copy h2 {
    margin-bottom: 0;
    transform: translateX(0.625rem);
  }
  .workshop-banner .banner-copy p {
    transform: translateX(1.875rem);
  }
  .workshop-banner .feature-cards {
    width: 100%;
    margin-top: 4.375rem;
  }
  .workshop-faq {
    padding-top: 5.75rem;
    padding-bottom: 12.5rem;
  }
  .workshop-faq .faq-wrap {
    position: relative;
    left: 0.25rem;
  }
  .workshop-faq .faq-wrap h2,
  .workshop-faq .faq-item summary,
  .workshop-faq .faq-item p {
    padding-left: 1.25rem;
  }
  .faq-wrap {
    max-width: 93.75rem;
  }
  .faq-item summary {
    padding-block: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
  }
  body:not([data-page="workshop"]) .faq-item:not(:first-of-type) summary {
    color: #0c2832;
  }
  .faq-item p {
    max-width: 62.5rem;
  }

  /* Private-chef steps and the paired photographs have their own grid. */
  .steps {
    grid-template-columns: repeat(3, 24.375rem);
    gap: 8.5rem;
  }
  .step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
  }
  .private-home {
    grid-template-columns: 38.75rem 44rem;
    gap: 9.5rem;
  }
  .private-home .photos {
    gap: 3.125rem;
    transform: translateY(-1.625rem);
  }
  .private-home .btn {
    margin-top: 1.125rem;
  }
  body[data-page="private"] .private-content > .container {
    transform: translateX(-0.25rem);
  }
  body[data-page="private"] .private-home {
    transform: translateY(0.375rem);
  }
  body[data-page="private"] .private-home p {
    /* The original text layer wraps within 610px, not the 620px grid track. */
    max-width: 38.125rem;
  }
  body[data-page="private"] main > .section:not(.sage) {
    padding-top: 5.625rem;
  }
  .staff-form-grid {
    grid-template-columns: repeat(3, 18.75rem) minmax(0, 1fr);
  }
  .staff-form-grid textarea {
    min-height: 9.6875rem;
  }
  body[data-page="private"] .staff-form h2 {
    margin-bottom: 3.9375rem;
  }
  body[data-page="private"] .staff-form-grid .field-group {
    gap: 1.09375rem;
  }
  body[data-page="private"] .staff-form .field input {
    height: 2.5rem;
    min-height: 2.5rem;
    padding: 0.5rem 1.25rem;
  }
  body[data-page="private"] .staff-form textarea {
    /* Three 40px input rows + two 17.5px gaps = the source's 155px field. */
    height: 9.6875rem;
    width: calc(100% + 0.4375rem);
    padding: 0.625rem 1.25rem;
  }
  body[data-page="private"] .staff-form .btn {
    margin-top: 2.3125rem;
    width: 10.5rem;
    min-height: 2.25rem;
    padding: 0.4375rem 1.25rem;
  }

  .blog-section .split {
    grid-template-columns: 55rem minmax(0, 1fr);
    gap: 7.5rem;
  }
  .blog-section .split-copy {
    padding-top: 3rem;
  }
  .blog-section .split-copy h2 {
    margin-bottom: 1.375rem;
    font-size: 1.625rem;
  }
  .blog-section .split-copy p {
    max-width: 40rem;
  }
  .blog-section .split-copy > p:last-child {
    /* The exported article copy spans 630 design pixels. Its grid track is
       620px; allow the extra 10px into the outer whitespace, without moving
       the heading, logo or photo. Keep natural wrapping at smaller widths. */
    width: 39.375rem;
  }
  .blog-title img {
    width: 12.5rem;
    align-self: start;
  }
  .conference-options > h3 {
    font-size: 1.5rem;
    font-weight: 800;
  }
  .conference-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .conference-grid article {
    padding-top: 1.375rem;
    padding-bottom: 1.375rem;
  }
  .conference-grid p {
    /* Preserve the source's natural line breaks with the Medium face. */
    max-width: 26.5rem;
  }
  .conference-grid article:last-child p {
    max-width: 24.625rem;
  }
  .conference-grid h3 {
    font-size: 1.125rem;
  }

  .legal-copy {
    max-width: 58.125rem;
  }
  .legal-copy h2 {
    margin-bottom: 1.8125rem;
  }
  .legal-copy h3 {
    line-height: 1.504;
  }
  .legal-copy > h3:first-of-type {
    margin-top: 1.5rem;
  }

  /* Terms-page blocks are individually positioned in the supplied export,
     rather than following one uniform inter-section gap. Preserve the exact
     type metrics and natural wrapping; only calibrate their vertical anchors. */
  body[data-page="terms"] .hero-terms h1 {
    transform: translateX(-0.125rem);
  }
  body[data-page="terms"] .legal-section {
    padding-bottom: 10.0375rem;
  }
  body[data-page="terms"] .legal-copy > h2,
  body[data-page="terms"] .legal-copy > p:nth-of-type(1) {
    transform: translateY(-0.0625rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(1),
  body[data-page="terms"] .legal-copy > p:nth-of-type(2) {
    transform: translateY(-0.125rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(2),
  body[data-page="terms"] .legal-copy > p:nth-of-type(4) {
    transform: translateY(0.6875rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(3),
  body[data-page="terms"] .legal-copy > p:nth-of-type(5) {
    transform: translateY(1.1875rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(4),
  body[data-page="terms"] .legal-copy > p:nth-of-type(6) {
    transform: translateY(1.3125rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(5),
  body[data-page="terms"] .legal-copy > p:nth-of-type(7) {
    transform: translateY(1.25rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(6),
  body[data-page="terms"] .legal-copy > p:nth-of-type(8) {
    transform: translateY(0.875rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(7),
  body[data-page="terms"] .legal-copy > p:nth-of-type(9) {
    transform: translateY(0.6875rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(8),
  body[data-page="terms"] .legal-copy > p:nth-of-type(10) {
    transform: translateY(0.1875rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(9),
  body[data-page="terms"] .legal-copy > p:nth-of-type(11) {
    transform: translateY(-0.125rem);
  }
  body[data-page="terms"] .legal-copy > h3:nth-of-type(10),
  body[data-page="terms"] .legal-copy > p:nth-of-type(12) {
    transform: translateY(-0.5rem);
  }
  body[data-page="terms"] .legal-copy > p:nth-of-type(13) {
    transform: translateY(-0.375rem);
  }

  /* Menu descriptions are 16px in the export, not the shared 14px label size. */
  .menu-item {
    font-size: 1rem;
    font-weight: 400;
  }
  .menu-description {
    max-width: 25rem;
  }
  .menu-item strong {
    font-weight: 600;
  }
  .buffet-title h2 {
    font-size: 2.875rem;
    font-weight: 400;
  }
  .buffet-title p {
    font-size: 0.8125rem;
    font-weight: 400;
  }
  .buffet-controls {
    padding-bottom: 1rem;
    align-items: end;
  }
  .buffet-controls .btn {
    font-size: 0.875rem;
  }
  .catering-menu .menu-intro > div + div {
    padding-top: 4.0625rem;
  }
  .catering-menu > .menu-container > h2 {
    margin-left: 1rem;
  }
  .catering-menu .buffet-photo h3,
  .menu-sheet .buffet-photo h3 {
    background: none;
  }
  .catering-menu .menu-intro {
    margin-bottom: 5rem;
  }
  .catering-menu .buffet-header {
    margin-top: 4.75rem;
  }
  .catering-menu .buffet-header > div:last-child {
    margin-bottom: 3.75rem;
  }
  .menu-request h3 {
    padding-left: 1.375rem;
    font-size: 1.875rem;
  }
  .menu-request-actions .btn {
    font-size: 1.125rem;
    font-weight: 400;
    color: #000;
  }
  .menu-sheet .menu-container {
    max-width: 100rem;
  }
  .menu-sheet .menu-item {
    margin-bottom: 1.875rem;
  }
  .menu-columns > div:first-child > .menu-group:first-child {
    margin-bottom: 2.0625rem;
  }
  .catering-menu
    .menu-columns
    > div:last-child
    > .menu-group:first-child
    .menu-item {
    margin-bottom: 2.75rem;
  }
  .menu-sheet
    .menu-columns
    > div:last-child
    > .menu-group:first-child
    .menu-item {
    margin-bottom: 2.875rem;
  }
  .menu-sheet .buffet-header {
    align-items: start;
  }
  .menu-sheet .sheet-brand {
    margin-bottom: 3.5rem;
  }

  /* Final dedicated export calibration: keep the PDF flow intact while
     aligning the title and lower request block to their source positions. */
  body[data-page="menu"] .buffet-title {
    transform: translateY(-1rem);
  }
  body[data-page="menu"] .menu-request {
    margin-top: 1.875rem;
  }

  .checkout-section .narrow {
    max-width: 71.25rem;
    transform: translateX(-1.25rem);
  }
  body[data-page="checkout"] .checkout-section {
    padding-top: 7.125rem;
    padding-bottom: 15.3125rem;
  }
  body[data-page="checkout"] .order-number {
    margin-bottom: 3.8125rem;
  }
  .checkout-top {
    grid-template-columns: 1.45fr 1fr;
    gap: 2.5rem;
  }
  .checkout-top p {
    margin-bottom: 0.75rem;
  }
  .checkout-top .actions {
    margin-top: 2rem;
  }
  .checkout-top .btn {
    font-size: 0.875rem;
  }
  .order-values {
    gap: 5.625rem;
  }
  .order-values label,
  .order-values input,
  .extra-row label {
    font-size: 0.9375rem;
  }
  .extra-row {
    grid-template-columns: 1fr 6.25rem 9.375rem;
    gap: 3.75rem;
  }
  .extra-row p {
    font-weight: 400;
  }
  body[data-page="checkout"] .order-subtotal {
    margin-bottom: 5.9375rem;
  }
  .checkout-form {
    margin-top: 7.5rem;
  }
  body[data-page="checkout"] .checkout-form .form-grid {
    row-gap: 0.8125rem;
  }
  .checkout-submit {
    padding-right: 1.875rem;
  }
  body[data-page="checkout"] .checkout-submit {
    margin-top: 2.5625rem;
  }
  .checkout-submit h2 {
    font-size: 2.25rem;
  }
  .checkout-submit .btn {
    font-size: 1.125rem;
    font-weight: 400;
  }
  .login-section h2 {
    margin-bottom: 2.125rem;
  }
  .login-section .btn {
    font-size: 0.75rem;
  }
  /* The supplied customer-portal frame contains two fields only. Keep the
     real submit control in the form for Enter-key and assistive-tech use. */
  body[data-page="login"] .login-section form > .btn {
    position: absolute;
    width: 1px;
    height: 1px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

}

/* Secondary-page mobile type hierarchy.
   Desktop uses scale to separate display copy from supporting text. On small
   screens the previous reading-size floor made 23px headings sit beside 18px
   paragraphs, and some card titles were smaller than their copy. Preserve the
   authored layouts while restoring the same heading/body/emphasis hierarchy. */
@media screen and (max-width: 650px) {
  body:not([data-page="home"]):not([data-page="menu"])
    :is(
      .section .split-copy,
      .event-section .split-copy,
      .workshop-activity .split-copy,
      .private-content,
      .blog-section .split-copy,
      .legal-copy,
      .login-section
    )
    h2,
  body:not([data-page="home"]):not([data-page="menu"])
    .catering-menu
    .menu-intro
    h2 {
    color: var(--ink);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
  }

  body:not([data-page="home"]):not([data-page="menu"])
    :is(
      .section .split-copy,
      .event-section .split-copy,
      .workshop-activity .split-copy,
      .private-content,
      .blog-section .split-copy,
      .legal-copy,
      .checkout-section
    )
    p,
  body:not([data-page="home"]):not([data-page="menu"])
    .catering-menu
    .menu-intro
    p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
  }

  body:not([data-page="home"]):not([data-page="menu"])
    :is(
      .section .split-copy,
      .event-section .split-copy,
      .workshop-activity .split-copy,
      .private-content,
      .blog-section .split-copy,
      .legal-copy,
      .checkout-section
    )
    strong {
    color: var(--ink);
    font-weight: 700;
  }

  body:not([data-page="home"]):not([data-page="menu"])
    :is(.feature-cards, .conference-grid)
    h3 {
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
  }

  body:not([data-page="home"]):not([data-page="menu"])
    :is(.feature-cards, .conference-grid)
    p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  body:not([data-page="home"]):not([data-page="menu"])
    .checkout-section
    .extra-row
    h3 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
  }

  body:not([data-page="home"]):not([data-page="menu"])
    .checkout-section
    .extra-row
    p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  body[data-page="terms"] .legal-copy h3 {
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
  }
}

/* Keep the responsive type hierarchy while maintaining contrast on the new
   dark surfaces; the mobile calibration above sets its own text colors. */
body:not([data-page="home"]):not([data-page="menu"])
  .sage .split-copy :is(h2, h3, p, strong, li, a),
body:not([data-page="home"]):not([data-page="menu"])
  .blog-section .conference-grid article :is(h3, p, strong) {
  color: var(--warm);
}
/* CMS categories reuse the original catering rows and grouped menu columns. */
.catering-menu #buffeer,.catering-menu .catalog-section{scroll-margin-top:7rem}
.catering-menu .catalog-family{margin:4rem 0 0;text-transform:uppercase}
.catering-menu .catalog-columns>div{display:block;min-width:0}
.catering-menu .catalog-section .buffet-title h2{flex:0 1 auto;overflow-wrap:anywhere}
.catering-menu .catalog-section .buffet-title p{flex:1;min-width:0}
.catering-menu .catalog-section :is(.buffet-photo h3,.buffet-title h2,.menu-group h3,.menu-item strong){text-transform:uppercase}
.catering-menu .catalog-section .menu-item>span:first-child{min-width:0;overflow-wrap:anywhere}
.catering-menu .catalog-section .menu-description{display:block}
.catering-menu .catalog-item-image{display:block;width:100%;max-width:12rem;aspect-ratio:3/2;object-fit:cover;border-radius:.75rem;margin-bottom:.75rem}
.catering-menu .catalog-draft{display:inline-block;color:#8c5d19;background:#fff2d9;padding:.25rem .5rem;border-radius:.4rem;font-size:.8rem;margin-top:.5rem}
.catering-menu .catalog-item-draft{opacity:.6}
.catering-menu .catalog-photo-empty{aspect-ratio:3;background:linear-gradient(135deg,#4c6654,#a7b6a1)}
.catering-menu .menu-request{margin-top:4rem}
@media screen and (max-width:650px){
  .catering-menu .catalog-section .buffet-controls p{grid-column:1/-1}
  .catering-menu .catalog-section .menu-item{grid-template-columns:minmax(0,1fr) auto 1.5rem}
  .catering-menu .catalog-section .menu-item .price{white-space:normal;max-width:7rem}
}
@media print{
  body.catalog-printing{background:#fff!important}
  body.catalog-printing main> :not(.catering-menu),body.catalog-printing .menu-intro,body.catalog-printing .catalog-family,body.catalog-printing .menu-request,body.catalog-printing .catalog-section:not([data-print-active]),body.catalog-printing .buffet-controls,body.catalog-printing .menu-item-quantity,body.catalog-printing .menu-item input{display:none!important}
  body.catalog-printing .catering-menu{padding:0;background:#fff!important}
  body.catalog-printing .catalog-panel{display:block!important}
  body.catalog-printing .catalog-columns{display:block;column-count:2;column-gap:2rem}
  body.catalog-printing .catalog-columns>div{display:contents}
  body.catalog-printing .menu-group{break-inside:auto;margin-bottom:1.5rem}
  body.catalog-printing .menu-group h3{break-after:avoid}
  body.catalog-printing .menu-item{grid-template-columns:minmax(0,1fr) auto;break-inside:avoid}
  body.catalog-printing .buffet-title{margin:1.5rem 0}
  body.catalog-printing .buffet-header{margin:0}
  body.catalog-printing .catalog-section .buffet-header>div:last-child{margin:0}
}

.catering-menu .catalog-description,.catering-menu .catalog-family-description{white-space:pre-line}
.catering-menu .catalog-family-description{max-width:65rem;margin-top:1rem}
.catering-menu .catalog-photo-empty{min-height:10rem;aspect-ratio:auto}
.catering-menu .catalog-photo-empty h3{position:relative;min-height:10rem;overflow-wrap:anywhere}

/* Mobile buffet shortcuts replace the audience buttons without changing desktop. */
.catering-mobile-buffet-nav{display:none}
@media screen and (max-width:650px){
  body[data-page="catering"] .catering-audience-actions{display:none}
  body[data-page="catering"] .catering-mobile-buffet-nav{
    display:block;
    width:calc(100vw - 1.5rem);
    margin-top:1.75rem;
    margin-right:-1.5rem;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  body[data-page="catering"] .catering-mobile-buffet-nav::-webkit-scrollbar{display:none}
  body[data-page="catering"] .catering-mobile-buffet-nav__track{
    display:flex;
    gap:.625rem;
    width:max-content;
    padding:0 1.5rem .5rem 0;
  }
  body[data-page="catering"] .split-copy .catering-mobile-buffet-nav .btn{
    flex:none;
    min-height:2.625rem;
    margin-top:0;
    padding:.625rem 1rem;
    white-space:nowrap;
  }
}

/* Phone browsers can request the desktop viewport while retaining a coarse
   touch pointer. Keep focused number controls large enough to avoid browser
   focus zoom, which otherwise leaves the desktop menu squeezed after typing. */
@media (pointer: coarse){
  body[data-page="catering"] .menu-item-quantity input{
    font-size:16px;
    line-height:1.25;
    touch-action:manipulation;
  }
}
