/* Sub-pages in the ryotei skin: what css/ryotei.css's re-pointed tokens cannot reach
   (hard-coded whites, the photo title band, form fields). Loaded after pages.css. */

/* ---------- Page title band ---------- */
.page-title { letter-spacing: .2em; color: var(--rt-text-hi); }
.page-hero--plain { border-bottom: 1px solid var(--rt-gold-line); padding-bottom: clamp(32px, 4vw, 56px); }

/* Every photo band reads as dusk: indigo wash, cream text, gold label. */
.page-hero--photo { background: var(--rt-ink-night); }
.page-hero--dark::after,
.page-hero--light::after {
  background: linear-gradient(90deg, rgb(14 17 22 / .82) 0%, rgb(14 17 22 / .58) 46%, rgb(14 17 22 / .22) 78%, rgb(14 17 22 / .1) 100%);
}
.page-hero--photo,
.page-hero--photo .page-lead,
.page-hero--photo .breadcrumbs { color: var(--rt-text-hi); }
.page-hero--photo .label-en { color: var(--rt-gold); }
.breadcrumbs span[aria-hidden] { color: var(--rt-gold); }
.breadcrumbs a:hover { color: var(--rt-gold); }
@media (max-width: 599px) {
  .page-hero--dark::after,
  .page-hero--light::after { background: linear-gradient(90deg, rgb(14 17 22 / .88) 0%, rgb(14 17 22 / .72) 60%, rgb(14 17 22 / .5) 100%); }
}

/* ---------- Headings and text ---------- */
.page-heading { letter-spacing: .2em; color: var(--rt-text-hi); }
.offer-card h3,
.reason-copy h3,
.topic-card h3,
.dish-name,
.job-card h3,
.step-list h3,
.post-title,
.facility-name,
.sitemap-list > li > a,
.policy h2,
.form-confirm-title { color: var(--rt-text-hi); letter-spacing: .14em; }
.data-list dt,
.access-list dt { color: var(--rt-gold); letter-spacing: .14em; }
.post-date { font-style: italic; color: var(--rt-gold); }

/* ---------- Photos ---------- */
/* The same gold hairline frame as the top page. */
.split-photo:not(.split-photo--contain) img,
.reason-photo img,
.offer-card img,
.topic-card img,
.event-grid img,
.dish-photo img,
.post-photos img {
  filter: var(--rt-photo-filter);
}
@media (min-width: 700px) {
  .page--service .event-season .event-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page--service .event-season .event-pair .event-card { margin-top: 0; }
  .page--service .event-card figure { aspect-ratio: 4 / 3; }
  .page--service .event-card figure img { width: 100%; height: 100%; object-fit: cover; }
  .page--service .event-season:last-child .event-card:first-child img { object-position: center 42%; }
}
.split-photo--contain { background: #f6f1e4; }

/* ---------- Cards and lists ---------- */
.point-list li,
.job-card { background: rgb(223 192 122 / .04); border-color: var(--rt-gold-line); }
.page--recruit .page-section--tint { padding-bottom: 40px; }
.page--recruit .page-section--tint + .page-section { padding-top: 40px; }
.direct-card:hover { border-color: var(--rt-gold); }
@media (min-width: 720px) {
  .page--contact .page-section--tint { margin-top: 32px; padding-top: 40px; }
}
@media (max-width: 719px) {
  .page--contact .page-section--tint { margin-top: 40px; padding-top: 48px; }
  .page--contact .direct-grid { gap: 10px; margin-top: 22px; }
  .page--contact .direct-card { gap: 2px; padding: 17px 20px; }
  .page--contact .direct-card :is(.direct-label, .direct-note) { line-height: 1.45; }
  .page--contact .direct-value { line-height: 1.4; }
  .page--contact .direct-grid + .note { margin-top: 16px; line-height: 1.65; }
}
.step-list li { border-color: var(--rt-gold-line); }
.job-pay { color: var(--rt-text-hi); }

.dish-filter button { border-color: var(--rt-gold-line); }
.dish-filter button:hover { border-color: var(--rt-gold); color: var(--rt-gold); }
.dish-filter button[aria-pressed='true'] { background: var(--rt-gold); border-color: var(--rt-gold); color: var(--rt-ink-night); }

/* The map keeps its own colours but sits in a gold frame. */

/* ---------- Form ---------- */
.required-mark { background: var(--rt-gold); color: var(--rt-ink-night); }
.page--contact .page-section--tint > :is(.page-heading, .page-section-lead, .contact-form, .form-confirm) {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}
.page--contact .contact-form { margin-top: 32px; }
.page--contact .form-row { margin-bottom: 24px; }
.page--contact .form-label { font-size: 17px; line-height: 1.5; }
.page--contact .form-choices { grid-template-columns: 1fr; }
.contact-form input[type='text'],
.contact-form input[type='tel'],
.contact-form input[type='email'],
.contact-form textarea {
  background: #f4f1e9;
  border-color: #c4b994;
  color: #142033;
  caret-color: #142033;
  color-scheme: light;
  line-height: 1.5;
  padding: 13px 16px;
}
.page--contact .contact-form :is(input[type='text'], input[type='tel'], input[type='email'], textarea)::placeholder {
  color: #6b675f;
  opacity: 1;
}
@media (max-width: 599px) {
  .page--contact .contact-form :is(input[type='text'], input[type='tel'], input[type='email'], textarea) {
    font-size: 16px;
  }
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible { outline: 2px solid var(--rt-gold); outline-offset: -2px; border-color: var(--rt-gold); }
/* Errors stay a warm red so they never read as decoration. */
.contact-form [aria-invalid='true'] { border-color: #e8806f; }
.form-error { color: #f0a090; }
.button--ghost { border-color: var(--rt-gold-line); }

/* The title band photo is livelier too. The wash stays dark under the text (some source
   photos have patched grey blocks on the left) and clears toward the right. */
.page-hero-photo { filter: var(--rt-photo-filter); }
.page-hero--dark::after,
.page-hero--light::after {
  background: linear-gradient(90deg, rgb(14 17 22 / .82) 0%, rgb(14 17 22 / .68) 45%, rgb(14 17 22 / .18) 72%, rgb(14 17 22 / 0) 100%);
}

/* ---------- Typography: ryotei (sub-pages) ----------
   The same light, airy setting as the top page (see the end of ryotei.css). */
.page-title,
.page-heading { font-weight: 400; letter-spacing: .22em; }
main :is(h3, .post-title, .prose h2, .policy h2) { letter-spacing: .2em; }

/* ---------- Less cropping ---------- */
/* Photos beside text show at their own proportions; tall ones are only trimmed past 640px. */
.split-photo:not(.split-photo--contain),
.reason-photo { aspect-ratio: auto; }
.split-photo:not(.split-photo--contain) img,
.reason-photo img { height: auto; max-height: 640px; }

/* ---------- Page title band: quiet photo + vertical title ----------
   The kitchen photos are dimmed and warmed so they read as atmosphere rather than
   a factory floor (the people and blue gloves step back). On desktops the label,
   title and lead stand in vertical columns on the right, read from the right,
   like the top page's hero. Phones keep the horizontal layout. */
.page-hero--photo .page-hero-photo {
  filter: brightness(.8) saturate(.7) sepia(.42) contrast(1.08);
}
.page-hero--dark::after,
.page-hero--light::after {
  background:
    linear-gradient(90deg, rgb(18 13 9 / .72) 0%, rgb(18 13 9 / .3) 38%, rgb(18 13 9 / .4) 66%, rgb(18 13 9 / .74) 100%),
    linear-gradient(180deg, rgb(18 13 9 / .1), rgb(14 17 22 / .5));
}

@media (min-width: 900px) {
  .page-hero--photo {
    align-items: stretch;
    min-height: clamp(480px, 40vw, 580px);
    padding-block: clamp(36px, 3.6vw, 52px) clamp(48px, 4.4vw, 64px);
  }
  .page-hero--photo .page-hero-copy {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      'crumbs crumbs crumbs crumbs'
      '.      lead   title  label';
    column-gap: clamp(28px, 3vw, 48px);
  }
  .page-hero--photo .breadcrumbs { grid-area: crumbs; margin-bottom: clamp(28px, 3vw, 44px); }
  .page-hero--photo .label { grid-area: label; writing-mode: vertical-rl; }
  .page-hero--photo .label-en { font-size: 14px; letter-spacing: .5em; }
  /* The short gold rule turns upright with the text. */
  .page-hero--photo .label-en::before { width: 1px; height: 40px; }
  .page-hero--photo .page-title {
    grid-area: title;
    margin: 0;
    writing-mode: vertical-rl;
    font-size: clamp(38px, 3.4vw, 52px);
    line-height: 1.3;
    letter-spacing: .32em;
  }
  /* A soft shade keeps the words clear over the paler photos (company, recruit, contact). */
  .page-hero--photo :is(.page-title, .page-lead, .label-en) {
    text-shadow: 0 1px 2px rgb(14 17 22 / .55), 0 0 18px rgb(14 17 22 / .7);
  }
  .page-hero--photo .page-lead {
    grid-area: lead;
    max-width: none;
    margin: 0;
    padding-top: 3.2em;
    writing-mode: vertical-rl;
    font-size: 15px;
    line-height: 2.3;
    letter-spacing: .2em;
  }
}

/* ---------- Our Values: the four rows, made compact ---------- */
/* Every photo is the same modest square, set against the text column. */
.reason-list { gap: clamp(32px, 4vw, 56px); margin-top: 40px; }
.reason-photo,
.reason-photo img { aspect-ratio: 1; }
.reason-photo { width: min(100%, 380px); }
.reason-photo img { height: 100%; max-height: none; object-fit: cover; }
.page--service .reason:nth-child(3) .reason-photo img { object-position: center; }
@media (min-width: 900px) {
  .page--service .reason:nth-child(3) .reason-photo { aspect-ratio: 5 / 4; }
}
.reason-num { font-size: clamp(26px, 2.6vw, 36px); }
.reason-copy h3 { margin-top: 8px; font-size: clamp(18px, 1.6vw, 22px); }
.reason-copy p { margin-top: 10px; font-size: 15px; line-height: 1.95; }
@media (min-width: 900px) {
  .reason { grid-template-columns: auto 1fr; gap: clamp(32px, 4vw, 64px); }
  .reason:nth-child(even) { grid-template-columns: 1fr auto; }
  .reason-photo { width: clamp(280px, 26vw, 380px); }
}
.reason-copy { max-width: 560px; }

/* Service, meals and recruit: the vertical title stands on the left, over the calmer
   side of their photos. The columns keep their right-to-left reading order. */
@media (min-width: 900px) {
  :is(.page--service, .page--meals, .page--recruit) .page-hero--photo .page-hero-copy {
    grid-template-columns: auto auto auto 1fr;
    grid-template-areas:
      'crumbs crumbs crumbs crumbs'
      'lead   title  label  .';
  }
  :is(.page--service, .page--meals, .page--recruit) .page-hero--photo .breadcrumbs { justify-self: start; }
}

/* Our Values: the four rows gather in the middle, photo and text side by side
   instead of pushed to opposite edges. */
@media (min-width: 900px) {
  .reason-list { max-width: 1000px; margin-inline: auto; }
  .reason { grid-template-columns: auto minmax(0, 520px); justify-content: center; }
  .reason:nth-child(even) { grid-template-columns: minmax(0, 520px) auto; }
}

/* Service care-food points (01–04): plain lines, no boxes. */
.point-list { gap: 0; margin-top: 24px; }
.point-list li { padding: 2px 0; border: 0; background: none; line-height: 1.8; }
.point-list li::before { line-height: 1; }

/* Our Values: larger type beside the compact photos. */
.reason-num { font-size: clamp(32px, 3.2vw, 44px); }
.reason-copy h3 { margin-top: 10px; font-size: clamp(22px, 2.1vw, 29px); line-height: 1.55; }
.reason-copy p { margin-top: 14px; font-size: 17px; line-height: 2; }
.reason-copy { max-width: 620px; }
@media (max-width: 599px) {
  .reason-copy h3 { font-size: 21px; }
  .reason-copy p { font-size: 16px; }
}

/* Service intro: the frying photo is given more room and runs to the right edge. */
@media (min-width: 900px) {
  .split--wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
  .split--wide > .split-photo { margin-right: calc(var(--gutter) * -1); }
  .split--wide > .split-photo img { max-height: none; }
}

/* "食事と栄養について": the photos are 3200x1000, so the frame keeps that shape and nothing is cut off. */
.topic-card figure { aspect-ratio: 16 / 5; }

/* ---------- Meals page: a written menu in chapters ----------
   一 いつもの食事 / 二 行事食 / 三 デザート / 四 ビュッフェ. A contents line at the top,
   then each chapter: on desktops its title stands vertically beside a three-column grid.
   Each dish shows two lines of its note; the whole note rises over the photo on hover. */
.dish-index { margin-top: clamp(48px, 5vw, 72px); }
.dish-index ul {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--rt-gold-line);
  border-bottom: 1px solid var(--rt-gold-line);
}
.dish-index li { flex: 1 1 100%; }
.dish-index li + li { border-top: 1px solid rgb(223 192 122 / .16); }
.dish-index a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 8px;
  font-size: 18px;
  transition: color .3s;
}
.dish-index a:hover { color: var(--rt-gold); }
.page--meals .dish-index-num { font-size: 23px; color: var(--rt-gold); }
.dish-index-name { letter-spacing: .2em; }
.dish-index-count { margin-left: auto; font-family: var(--latin); font-size: 16px; color: var(--rt-gold); }
@media (max-width: 599px) {
  .dish-index a { padding-block: 12px; font-size: 17px; }
  .page--meals .dish-index-num { font-size: 20px; }
  .dish-index-count { font-size: 15px; }
}

.dish-chapter {
  margin-top: clamp(64px, 8vw, 120px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.dish-chapter-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rt-gold-line);
}
.dish-chapter-num { font-size: 28px; line-height: 1; color: var(--rt-gold); }
.dish-chapter-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: .3em;
  color: var(--rt-text-hi);
}
.dish-chapter-en {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--rt-gold);
}
.dish-chapter .dish-grid { margin-top: 32px; gap: 48px clamp(24px, 2.6vw, 40px); }

/* The chapter already names the kind, so the per-dish tag is dropped. */
.dish-chapter .dish-tag { display: none; }
.dish-chapter .dish-name { margin-top: 16px; font-size: 17px; letter-spacing: .18em; }
.dish-chapter .dish-note {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  line-height: 1.9;
}
.dish-chapter .dish-photo { position: relative; }
.dish-note-full { display: none; }

@media (hover: hover) {
  .dish-note-full {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: clamp(18px, 2vw, 28px);
    background: rgb(14 17 22 / .8);
    font-size: 13px;
    line-height: 2;
    letter-spacing: .12em;
    color: var(--rt-text-hi);
    opacity: 0;
    transition: opacity .5s;
  }
  .dish-chapter .dish-photo img { transition: transform 1.2s var(--ease-out); }
  .dish:hover .dish-note-full { opacity: 1; }
  .dish:hover .dish-photo img { transform: scale(1.05); }
}

@media (min-width: 600px) {
  .dish-index li { flex: 1 1 0; }
  .dish-index li + li { border-top: 0; }
  .dish-index li + li a { border-left: 1px solid var(--rt-gold-line); }
  .dish-index a { justify-content: center; padding: 22px 12px; }
  .dish-index-count { margin-left: 4px; }
  .dish-chapter .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  .page--meals .dish-chapter .dish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
  }
  .page--meals .dish-chapter .dish-name {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: .06em;
  }
}

@media (min-width: 1024px) {
  /* Title upright on the left, kept in view while its chapter scrolls by. */
  .dish-chapter {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(40px, 4.4vw, 72px);
  }
  .dish-chapter-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 4px clamp(20px, 2vw, 32px) 24px 0;
    border-bottom: 0;
    border-right: 1px solid var(--rt-gold-line);
  }
  .dish-chapter-title,
  .dish-chapter-en { writing-mode: vertical-rl; }
  .dish-chapter-num { font-size: 32px; }
  .dish-chapter-title { font-size: clamp(24px, 2vw, 30px); letter-spacing: .4em; }
  .dish-chapter .dish-grid { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Narrow desktops: smaller photos, so the hover note is set tighter to fit. */
@media (hover: hover) and (max-width: 1279px) {
  .dish-note-full { padding: 14px 16px; font-size: 12px; line-height: 1.75; letter-spacing: .06em; }
}

/* ---------- Company: profile and history side by side ---------- */
.page-pair > .page-section:last-of-type { padding-bottom: 0; }
.company-related {
  /* Match the profile's closing list margin and the next section's top padding. */
  margin-top: calc(clamp(56px, 6vw, 96px) + 1em);
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.company-related-title { margin-top: 0; }
.company-related-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 60px;
  margin-top: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rt-gold-line);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--rt-text-hi);
  transition: color .3s;
}
.company-related-link:is(:hover, :focus-visible) { color: var(--rt-gold); }
@media (max-width: 899px) {
  .company-related { margin-top: calc(72px + 1em); }
}
@media (min-width: 1024px) {
  .page-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(56px, 6vw, 104px);
    align-items: start;
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin-inline: auto;
    padding: clamp(72px, 9vw, 136px) var(--gutter) 0;
  }
  .page-pair > .page-section { max-width: none; margin: 0; padding: 0; }
  .page-pair .data-list > div { grid-template-columns: 112px 1fr; padding: 18px 0; }
  .page-pair .timeline li { grid-template-columns: 1fr; }
  .page-pair > .company-history { display: flex; flex-direction: column; align-self: stretch; }
  .company-history > .timeline { margin-bottom: 32px; }
  .company-history > .company-related { margin-top: auto; margin-bottom: 160px; padding-top: 28px; }
}

/* Every photo band is the same height on every page; a long vertical lead wraps
   into another column instead of stretching the band. */
@media (min-width: 900px) {
  .page-hero--photo { height: clamp(480px, 40vw, 580px); min-height: 0; }
  .page-hero--photo .page-hero-copy { height: 100%; grid-template-rows: auto minmax(0, 1fr); }
  .page-hero--photo :is(.page-title, .page-lead, .label) { max-height: 100%; }
  /* The title stays one upright column; only the lead may wrap. */
  .page-hero--photo .page-title { max-height: none; white-space: nowrap; }
}

/* ---------- News list: photo cards ---------- */
.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 40px clamp(20px, 2.2vw, 32px);
}
.news-card a { display: flex; flex-direction: column; height: 100%; }
.news-card-photo { overflow: hidden; aspect-ratio: 4 / 3; background: var(--rt-ink-deep); }
.news-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--rt-photo-filter);
  transition: transform 1.2s var(--ease-out);
}
/* A post without a photo uses the company logo. */
.news-card-photo--blank { display: grid; place-items: start center; padding-top: 7%; }
.news-card-photo--blank img { width: 24%; height: auto; object-fit: contain; filter: none; opacity: .9; }
.news-card-body {
  position: relative;
  flex: 1;
  padding: 18px 16px 22px;
  background: #1f2d42;
}
.news-card-date {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rt-gold-line);
  font-family: var(--latin);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .18em;
  color: #fff;
}
.news-card-date::before { content: ''; width: 3px; height: 14px; background: var(--rt-gold); }
.news-card-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .14em;
  color: #fff;
  transition: color .3s;
}
.news-card a:hover .news-card-photo img { transform: scale(1.05); }
.news-card a:hover .news-card-title { color: var(--rt-gold); }
@media (min-width: 1024px) {
  .news-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- News post page ---------- */
.post-hero-date {
  display: block;
  margin-top: 20px;
  font-family: var(--latin);
  font-size: 17px;
  letter-spacing: .18em;
  color: var(--rt-gold);
}
.post-hero-title { margin-top: 8px; font-size: clamp(26px, 3vw, 40px); line-height: 1.6; }
.post-article { max-width: calc(820px + var(--gutter) * 2); }
.post-article .post-body { line-height: 2.3; }
.post-gallery { display: grid; gap: 20px; margin-top: 40px; }
.post-gallery img { width: 100%; height: auto; filter: var(--rt-photo-filter); }
@media (min-width: 600px) {
  .post-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-gallery figure:only-child { grid-column: 1 / -1; }
}
.post-article > :first-child { margin-top: 0; }

.post-nav {
  display: grid;
  gap: 16px;
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--rt-gold-line);
}
.post-nav-link { display: grid; gap: 4px; transition: color .3s; }
.post-nav-link:hover { color: var(--rt-gold); }
.post-nav-label { font-size: 13px; letter-spacing: .2em; color: var(--rt-gold); }
.post-nav-title { letter-spacing: .12em; }
.post-nav-back {
  justify-self: center;
  padding: 14px 36px;
  border: 1px solid var(--rt-gold);
  letter-spacing: .28em;
  transition: background-color .3s, color .3s;
}
.post-nav-back:hover { background: var(--rt-gold); color: var(--rt-ink-night); }
@media (min-width: 900px) {
  .post-nav { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .post-nav-link--older { text-align: right; }
}

/* Phones: the three "what we take on" cards stack, so each one sits on its own soft
   panel (no frame line) to show where one card ends and the next begins. */
@media (max-width: 899px) {
  .offer-grid { gap: 28px; }
  .offer-card a { background: rgb(223 192 122 / .06); padding-bottom: 26px; }
  .offer-card :is(.offer-num, h3, p) { margin-inline: 20px; }
}

/* ---------- Service care food: the five food forms as a scale ----------
   A gold hairline with five points, from 常食 (firmest) to ミキサー (softest); the
   points fill in as the food gets softer. */
.form-scale { max-width: 520px; margin-top: 28px; }
.form-scale-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--rt-gold);
}
.form-scale-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
}
.form-scale-steps::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--rt-gold-line), var(--rt-gold));
}
.form-scale-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  letter-spacing: .12em;
  white-space: nowrap;
  color: var(--rt-text-hi);
}
.form-scale-steps li::before {
  content: '';
  position: relative;
  width: 13px;
  height: 13px;
  border: 1px solid var(--rt-gold);
  border-radius: 50%;
  background: var(--rt-ink);
  box-shadow: inset 0 0 0 7px rgb(223 192 122 / var(--fill, 0));
}
.form-scale-steps li:nth-child(2) { --fill: .25; }
.form-scale-steps li:nth-child(3) { --fill: .5; }
.form-scale-steps li:nth-child(4) { --fill: .75; }
.form-scale-steps li:nth-child(5) { --fill: 1; }
@media (max-width: 420px) {
  .form-scale-steps li { font-size: 13px; letter-spacing: .04em; }
}

/* Phones: the four "what we value" items get the same soft panels, the photo running
   the full width of its panel. */
@media (max-width: 899px) {
  .reason-list { gap: 28px; }
  .reason { gap: 0; background: rgb(223 192 122 / .06); }
  .reason-photo { width: 100%; }
  .reason-copy { max-width: none; padding: 22px 20px 26px; }
}

/* ---------- Company philosophy: tighter ----------
   Less air between the heading, the two paragraphs and the three circles, slightly
   smaller circles, and a shorter gap down to Profile / History. */
.philosophy .page-heading { line-height: 1.7; }
.philosophy-body .prose { margin-top: 16px; }
.philosophy-body .prose p { line-height: 2; }
.philosophy-body .prose p + p { margin-top: 0; }
.value-list { gap: 12px; max-width: 800px; margin-top: 32px; }
.value-list li { width: min(100%, clamp(200px, 15vw, 236px)); padding: 20px; }
.value-list p { margin-top: 8px; line-height: 1.8; }
@media (min-width: 900px) {
  .value-list { gap: clamp(20px, 2.4vw, 40px); }
}
@media (min-width: 1024px) {
  .page-pair { padding-top: clamp(56px, 5vw, 88px); }
}

/* Phones: the three values drop their circles and read as a short list, each name in
   gold beside its sentence, with a hairline between them. */
@media (max-width: 899px) {
  .value-list { gap: 0; max-width: 520px; border-top: 1px solid var(--rt-gold-line); }
  .value-list li {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
    column-gap: 16px;
    width: 100%;
    aspect-ratio: auto;
    padding: 20px 4px;
    border: 0;
    border-bottom: 1px solid var(--rt-gold-line);
    border-radius: 0;
    text-align: left;
  }
  .value-list h3 { font-size: 22px; white-space: nowrap; }
  .value-list p { margin-top: 0; font-size: 15px; line-height: 1.8; }
  .value-list p br { display: none; }
}
@media (max-width: 599px) {
  .page--company .philosophy { text-align: left; }
  .page--company .philosophy .page-heading {
    font-size: clamp(16px, 5vw, 28px);
    line-height: 1.45;
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .page--company .philosophy-body .prose { margin: 18px 0 0; }
  .page--company .philosophy-body .prose p { letter-spacing: 0; line-height: 1.7; }
  .page--company .philosophy-body .prose p + p { margin-top: 0; }
  .page--company .value-list { justify-items: stretch; gap: 0; max-width: none; margin-top: 28px; border-top: 1px solid var(--rt-gold-line); }
  .page--company .value-list li {
    display: block;
    padding: 17px 0 18px;
    border: 0;
    border-bottom: 1px solid var(--rt-gold-line);
    background: transparent;
  }
  html .page--company .value-list h3 { font-size: 20px; line-height: 1.5; }
  .page--company .value-list p { margin: 3px 0 0; font-size: 15px; line-height: 1.65; }
}

/* ---------- Meals: a dish opened large (js/modules/dish-viewer.js) ---------- */
/* Each card is a button; the photo is never covered, it only lifts a little. */
.dish-open {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: zoom-in;
}
.dish-open:focus-visible { outline: 1px solid var(--rt-gold); outline-offset: 6px; }
.dish-open:hover .dish-name { color: var(--rt-gold); }
.dish-name { transition: color .3s; }

.dish-viewer {
  width: min(1320px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--rt-gold-line);
  background: var(--rt-ink-deep);
  color: var(--rt-text);
}
.dish-viewer::backdrop { background: rgb(8 10 14 / .82); backdrop-filter: blur(3px); }
.dish-viewer[open] { animation: dish-viewer-in .5s var(--ease-out); }
@keyframes dish-viewer-in { from { opacity: 0; transform: translateY(12px); } }

.dish-viewer-inner {
  position: relative;
  display: grid;
  gap: 24px;
  padding: clamp(20px, 2.5vw, 32px);
}
.dish-viewer-photo { margin: 0; }
.dish-viewer-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70svh;
  object-fit: contain;
  filter: var(--rt-photo-filter);
}
.dish-viewer-copy { display: flex; flex-direction: column; gap: 14px; padding-bottom: 56px; }
.dish-viewer-tag { font-size: 12px; letter-spacing: .3em; color: var(--rt-gold); }
.dish-viewer-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.6;
  letter-spacing: .16em;
  color: var(--rt-text-hi);
}
.dish-viewer-name::after { content: ''; display: block; width: 40px; height: 1px; margin-top: 18px; background: var(--rt-gold); }
.dish-viewer-note { font-size: 15px; line-height: 2.1; letter-spacing: .1em; }
.dish-viewer-count { margin-top: auto; font-family: var(--latin); font-size: 15px; letter-spacing: .2em; color: var(--rt-gold); }

/* ‹ › and × : thin gold-lined squares. */
.dish-viewer-nav,
.dish-viewer-close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rt-gold-line);
  background: rgb(14 17 22 / .6);
  color: var(--rt-text-hi);
  transition: background-color .3s, border-color .3s, color .3s;
}
.dish-viewer-nav:hover,
.dish-viewer-close:hover { background: var(--rt-gold); border-color: var(--rt-gold); color: var(--rt-ink-night); }
.dish-viewer-nav span { width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.dish-viewer-nav--prev span { transform: translateX(2px) rotate(-135deg); }
.dish-viewer-nav--next span { transform: translateX(-2px) rotate(45deg); }
.dish-viewer-nav { bottom: clamp(20px, 3vw, 40px); }
.dish-viewer-nav--prev { right: calc(clamp(20px, 3vw, 40px) + 52px); }
.dish-viewer-nav--next { right: clamp(20px, 3vw, 40px); }
.dish-viewer-close { top: 12px; right: 12px; }
.dish-viewer-close span { position: relative; width: 16px; height: 16px; }
.dish-viewer-close span::before,
.dish-viewer-close span::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.dish-viewer-close span::before { transform: rotate(45deg); }
.dish-viewer-close span::after { transform: rotate(-45deg); }

@media (min-width: 900px) {
  /* Large photo on the left, the name and words on the right. */
  .dish-viewer-inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; gap: clamp(24px, 2.5vw, 40px); }
  .dish-viewer-photo { align-self: center; }
  .dish-viewer-photo img { max-height: 85svh; }
  .dish-viewer-copy { padding-top: 48px; }
}
@media (min-width: 1100px) {
  .dish-viewer-inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .dish-viewer-inner { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .dish-viewer[open] { animation: none; }
}
/* The description lives only in the viewer now; the list shows names alone. */
.dish-chapter .dish-note[hidden],
.dish-note[hidden] { display: none; }
/* Viewer text, one size up. */
.dish-viewer-tag { font-size: 14px; }
.dish-viewer-name { font-size: clamp(26px, 2.6vw, 36px); }
.dish-viewer-note { font-size: 17px; line-height: 2.1; }
.dish-viewer-count { font-size: 17px; }
@media (min-width: 900px) {
  .dish-viewer-name { white-space: nowrap; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .06em; }
  .dish-viewer-name.is-long { font-size: clamp(19px, 2vw, 26px); letter-spacing: .04em; }
}
@media (max-width: 599px) {
  .dish-viewer-name { font-size: 24px; }
  .dish-viewer-note { font-size: 16px; }
}
/* A lone photo on a post page is capped so the small originals are not blown up. */
.post-gallery figure:only-child { width: min(100%, 640px); justify-self: center; }

/* Phones: sub-page sections sit tighter: smaller gaps between sections and under the
   photo band, closer lines and paragraphs, and the photo nearer the text. */
@media (max-width: 899px) {
  /* "html" lifts these over ryotei-ma.css, which loads later with the wide PC gaps. */
  html .page-section { padding-top: 72px; }
  html .page-section:last-of-type:not(.page-section--tint) { padding-bottom: 72px; }
  html .page-section--tint { margin-top: 72px; padding-bottom: 72px; }
  html .page .contact { margin-top: 72px; }
  html .page-hero + .page-section { padding-top: 40px; }
  html .page--service > .intro-split + .page-section { padding-top: 112px; }
  .page--company .page-pair .data-list > div { padding-block: 12px; row-gap: 2px; }
  .split { gap: 28px; }
  .split .prose { margin-top: 20px; line-height: 1.9; }
  .split .prose p + p { margin-top: .7em; }
}

/* News post photos: the originals are small (300px), so two-up photos are shown a little
   smaller to limit the enlargement, and brighter with more contrast so the grey steel
   worktops in them do not dull the food. */
.post-gallery { justify-content: center; }
.post-gallery figure:not(:only-child) { width: min(100%, 340px); justify-self: center; }
.post-gallery img { filter: brightness(1.1) contrast(1.14) saturate(1.18); }
.post-gallery img[src*="archive-9e212c1dea7f"] { filter: none; }
@media (min-width: 900px) {
  .post-gallery { grid-template-columns: repeat(2, 340px); }
}

/* Page title band, colour back: the food's greens and reds show again. The photo
   stays a little dark and warm; only the edges, where the title stands, are shaded. */
.page-hero--photo .page-hero-photo {
  filter: brightness(.92) saturate(1.05) sepia(.14) contrast(1.05);
}
.page-hero--dark::after,
.page-hero--light::after {
  background:
    linear-gradient(90deg, rgb(18 13 9 / .7) 0%, rgb(18 13 9 / .12) 36%, rgb(18 13 9 / .12) 64%, rgb(18 13 9 / .68) 100%),
    linear-gradient(180deg, rgb(18 13 9 / .05), rgb(14 17 22 / .3));
}
/* The service photo is shot darker than the meals one; lift it to match. */
.page--service .page-hero--photo .page-hero-photo {
  filter: brightness(1.22) saturate(1.05) sepia(.14) contrast(1.02);
}

/* ---------- Company: contracted facilities under the history ---------- */
.facility-mini-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(48px, 5vw, 72px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 22px);
  letter-spacing: .2em;
  color: var(--rt-text-hi);
}
.facility-mini-title::before { content: ''; width: 28px; height: 1px; background: var(--rt-gold); }
.facility-mini { margin-top: 20px; border-top: 1px solid var(--rt-gold-line); }
.facility-mini li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rt-gold-line);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .1em;
}
.facility-mini li span:last-child { font-size: 13px; color: var(--rt-gold); }
.facility-mini-more { margin-top: 24px; }

/* Privacy policy: the purpose list and the links. */
.policy-list { margin-top: 12px; padding-left: 1.4em; list-style: disc; line-height: 2; }
.policy-list li::marker { color: var(--rt-gold); }
.policy a { text-decoration: underline; text-underline-offset: 4px; }
.policy a:hover { color: var(--rt-gold); }
/* The recruit photo is pale and soft-focused, with the one sharp face at its right
   edge. Show more of the right side and give it contrast; keep the left (behind the
   title) shaded, where the source also has patched grey blocks. */
.page--recruit .page-hero--photo .page-hero-photo {
  object-position: 63% 50%;
  filter: brightness(.9) saturate(1.08) sepia(.12) contrast(1.18);
}
.page--recruit .page-hero--light::after {
  background:
    linear-gradient(90deg, rgb(18 13 9 / .78) 0%, rgb(18 13 9 / .55) 32%, rgb(18 13 9 / .12) 58%, rgb(18 13 9 / 0) 100%),
    linear-gradient(180deg, rgb(18 13 9 / 0) 55%, rgb(14 17 22 / .3));
}

/* Service "食事と栄養について": a size up all round — taller photos, larger titles
   and body text. */
.topic-card figure { aspect-ratio: 16 / 5; }
.topic-card h3 { margin-top: 24px; font-size: clamp(21px, 1.8vw, 25px); }
.topic-num { font-size: clamp(22px, 1.9vw, 27px); }
.topic-card p { margin-top: 14px; font-size: 15.5px; line-height: 2.05; }

/* Photo title bands share the same brightness and text shading. */
html .page-hero--photo .page-hero-photo:is([src*='hero-service'], [src*='hero-meals'], [src*='hero-recruit'], [src*='hero-about']) {
  filter: none;
  object-position: 60% 50%;
}
html .page-hero--photo:has(.page-hero-photo:is([src*='hero-service'], [src*='hero-meals'], [src*='hero-recruit'], [src*='hero-about']))::after {
  background:
    linear-gradient(90deg, rgb(14 17 22 / .62) 0%, rgb(14 17 22 / .38) 26%, rgb(14 17 22 / .08) 46%, rgb(14 17 22 / 0) 60%),
    linear-gradient(180deg, rgb(14 17 22 / .28) 0%, rgb(14 17 22 / 0) 22%);
}
@media (max-width: 899px) {
  html .page-hero--photo .page-hero-photo:is([src*='hero-service'], [src*='hero-meals'], [src*='hero-recruit'], [src*='hero-about']) {
    filter: brightness(1.1) saturate(1.04);
  }
  html .page-hero--photo:has(.page-hero-photo:is([src*='hero-service'], [src*='hero-meals'], [src*='hero-recruit'], [src*='hero-about']))::after {
    background:
      radial-gradient(ellipse 100% 125% at 20% 40%, rgb(14 17 22 / .25), transparent 80%),
      linear-gradient(180deg, rgb(14 17 22 / .14), rgb(14 17 22 / .08) 72%, transparent);
  }
  /* The service photo is naturally darker along the trays at the bottom. */
  html .page--service .page-hero--photo:has(.page-hero-photo[src*='hero-service'])::after {
    background:
      linear-gradient(180deg, transparent 55%, rgb(255 255 255 / .14) 100%),
      radial-gradient(ellipse 100% 125% at 20% 40%, rgb(14 17 22 / .25), transparent 80%),
      linear-gradient(180deg, rgb(14 17 22 / .14), rgb(14 17 22 / .08) 72%, transparent);
  }
  html .page--recruit .page-hero--photo .page-hero-photo { object-position: 50% 50%; }
}
/* Two across so each wide photo is larger; the third sits centred on its own row at
   the same width. */
@media (min-width: 900px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(32px, 4vw, 64px); }
  .topic-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - clamp(32px, 4vw, 64px) / 2);
  }
}

/* Contact: "お問い合わせ" is too long to stand as one upright column, so on this page
   the label, title and lead read across, in one block at the lower left. */
@media (min-width: 900px) {
  .page--contact .page-hero--photo .page-hero-copy {
    display: flex;
    flex-direction: column;
  }
  .page--contact .page-hero--photo .label,
  .page--contact .page-hero--photo .page-title,
  .page--contact .page-hero--photo .page-lead { writing-mode: horizontal-tb; max-height: none; }
  .page--contact .page-hero--photo .label { margin-top: auto; }
  .page--contact .page-hero--photo .label-en::before { width: 40px; height: 1px; }
  .page--contact .page-hero--photo .page-title { margin-top: 16px; letter-spacing: .28em; line-height: 1.4; }
  .page--contact .page-hero--photo .page-lead { margin-top: 20px; padding-top: 0; line-height: 2.1; }
}
/* …centred in the band, both ways. */
@media (min-width: 900px) {
  .page--contact .page-hero--photo .page-hero-copy { align-items: center; text-align: center; }
  .page--contact .page-hero--photo .breadcrumbs { align-self: flex-start; }
  .page--contact .page-hero--photo .label { margin-top: auto; justify-content: center; }
  .page--contact .page-hero--photo .page-lead { margin-bottom: auto; }
  .page--contact .page-hero--photo .label-en::after { content: ''; width: 40px; height: 1px; background: currentColor; }
  /* The band's padding sits below; balance it so the block is truly mid-height. */
  .page--contact .page-hero--photo .page-lead { padding-bottom: clamp(28px, 3vw, 44px); }
}
@media (min-width: 900px) {
  /* A soft shade behind the centred words (the window behind them is bright). */
  .page--contact .page-hero--photo::after {
    background:
      radial-gradient(ellipse 42% 46% at 50% 52%, rgb(18 13 9 / .5), rgb(18 13 9 / 0) 100%),
      radial-gradient(ellipse 30% 30% at 0% 0%, rgb(18 13 9 / .6), rgb(18 13 9 / 0) 100%),
      linear-gradient(180deg, rgb(18 13 9 / .2), rgb(14 17 22 / .3));
  }
}

/* Our Values on phones and tablets: a thin gold frame round each card, and the text
   a size smaller so the card reads as one compact unit. */
@media (max-width: 899px) {
  .reason { border: 1px solid rgb(223 192 122 / .45); }
  .reason-num { font-size: 26px; }
  .reason-copy h3 { margin-top: 6px; font-size: 18px; letter-spacing: .14em; }
  .reason-copy p { margin-top: 10px; font-size: 14px; line-height: 1.95; letter-spacing: .08em; }
}
/* Phones/tablets: the four value photos a little shorter (3:2 instead of square). */
@media (max-width: 899px) {
  .reason-photo,
  .reason-photo img { aspect-ratio: 3 / 2; }
}

/* Keep the complete corrected meal tray visible in the first value photo. */
.page--service .reason:first-child .reason-photo,
.page--service .reason:first-child .reason-photo img { aspect-ratio: 4 / 3; }

/* Meals contents: a tidy 2 x 2 grid of cells where four across do not fit, one row
   of four on wide screens; hairlines only between cells. */
@media (min-width: 600px) {
  .dish-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish-index li + li a { border-left: 0; }
  .dish-index li:nth-child(even) a { border-left: 1px solid var(--rt-gold-line); }
  .dish-index li:nth-child(n + 3) a { border-top: 1px solid var(--rt-gold-line); }
}
@media (min-width: 1200px) {
  .dish-index ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dish-index li:nth-child(n + 3) a { border-top: 0; }
  .dish-index li + li a { border-left: 1px solid var(--rt-gold-line); }
}
/* Inside each cell: number, name and count on fixed columns, so 一二三四, the names
   and the counts line up across the rows. */
@media (min-width: 600px) {
  .dish-index a {
    display: grid;
    grid-template-columns: 1.6em 7.4em 3.2em;
    justify-content: center;
    align-items: baseline;
    column-gap: 10px;
  }
  .dish-index-count { margin-left: 0; text-align: right; }
}

/* Keep the opening message readable beside the photo. */
.page--recruit > .split:first-of-type .prose p { text-wrap: balance; }
.page--recruit > .split:first-of-type .prose p + p { margin-top: 12px; }
@media (min-width: 900px) {
  .page--recruit > .split:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 3vw, 48px);
  }
  .page--recruit > .split:first-of-type .page-heading { font-size: clamp(30px, 3vw, 44px); }
  .page--recruit > .split:first-of-type .prose { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.9; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .page--recruit > .split:first-of-type { grid-template-columns: 1fr; gap: 40px; }
  .page--recruit > .split:first-of-type .split-copy { width: min(100%, 760px); justify-self: center; }
  .page--recruit > .split:first-of-type .split-photo { width: min(100%, 640px); justify-self: center; }
}

/* Recruit details: tighter rows — less padding, a narrower label column, smaller
   text and lines set closer. */
.page--recruit .data-list > div { padding: 14px 0; column-gap: 20px; }
.page--recruit .data-list dt { font-size: 14px; }
.page--recruit .data-list dd { font-size: 14.5px; line-height: 1.85; letter-spacing: .08em; }
@media (min-width: 600px) {
  .page--recruit .data-list > div { grid-template-columns: 120px 1fr; padding: 16px 0; }
}

.page--recruit .step-list h3 { margin-top: 0; }
/* Recruit steps on phones and tablets: compact cards with a shorter gap and arrow. */
@media (max-width: 899px) {
  .step-list { gap: 28px; margin-top: 32px; }
  .step-list li {
    display: block;
    padding: 16px 18px 18px;
  }
  .step-list h3 { margin-top: 0; font-size: 16px; }
  .step-list p { margin-top: 8px; font-size: 13px; line-height: 1.85; }
  .step-list li:not(:last-child)::before { top: calc(100% + 6px); height: 16px; }
  .step-list li:not(:last-child)::after { top: calc(100% + 15px); width: 6px; height: 6px; }
}

/* News list: each card is a clearly bounded panel (a thin gold-tinted edge and a
   slightly lighter ground than the page) so neighbouring cards do not run together. */
.news-card a {
  background: #1f2d42;
  border: 1px solid rgb(223 192 122 / .38);
  transition: border-color .3s;
}
.news-card a:hover,
.news-card a:focus-visible { border-color: var(--rt-gold); }
.page--news .news-card-photo img { object-fit: contain; filter: none; }
.page--news .news-card-photo--blank { place-items: center; padding: 0; }
/* Give the five meal photos the same inset and center their trays in the card. */
.page--news .news-card a[href="news-995.html"] { --meal-x: -.5%; --meal-y: 2.5%; }
.page--news .news-card a[href="news-993.html"] { --meal-x: -3.2%; --meal-y: 1%; }
.page--news .news-card a[href="news-988.html"] { --meal-x: .75%; --meal-y: 1%; }
.page--news .news-card a[href="news-986.html"] { --meal-x: .25%; --meal-y: 1%; }
.page--news .news-card a[href="news-981.html"] { --meal-x: 4%; --meal-y: -3.5%; }
.page--news .news-card a:is([href="news-995.html"], [href="news-993.html"], [href="news-988.html"], [href="news-986.html"], [href="news-981.html"]) .news-card-photo {
  background: #e2e2de;
}
.page--news .news-card a:is([href="news-995.html"], [href="news-993.html"], [href="news-988.html"], [href="news-986.html"], [href="news-981.html"]) .news-card-photo img {
  transform: translate(var(--meal-x), var(--meal-y)) scale(.9);
}
.page--news .news-card a:is([href="news-995.html"], [href="news-993.html"], [href="news-988.html"], [href="news-986.html"], [href="news-981.html"]):hover .news-card-photo img {
  transform: translate(var(--meal-x), var(--meal-y)) scale(.915);
}
@media (max-width: 899px) {
  .news-cards { gap: 20px 14px; }
}
/* …the step text a size back up, the cards staying compact. */
@media (max-width: 899px) {
  .step-list h3 { font-size: 18px; }
  .step-list p { font-size: 14.5px; line-height: 1.85; }
}

/* Reserve the New Year title's own grid cell; never let its text spill onto a photo. */
.page--service .event-season--newyear .event-season-heading {
  min-width: 0;
  justify-items: start;
  align-content: start;
}
.page--service .event-season--newyear .event-season-heading h3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  width: 1.3em;
  max-width: 100%;
  line-height: 1.3;
  margin: 0;
}
.page--service .event-season--newyear .event-pair { min-width: 0; }
