/* =========================================================
       CUISINE PAGE
       1. Intro: text left, dish photo running to the right edge
       2. The culinary journey: centred heading + three steps
       3. A culinary experience: dish photo from the left edge, text right
       ========================================================= */
    :root {
      --font-display: "Forum", "Times New Roman", serif;
      --font-serif: "Libre Caslon Text", Georgia, serif;
      --gold: #9C7650;
      --icon-gold: #A26F33;
      /* left/right edge of the centred 1180px content column */
      --edge: max(var(--gutter), (100% - 1180px) / 2);
    }

    .cz-wrap {
      width: min(1180px, 100% - 2 * var(--gutter));
      margin: 0 auto;
    }

    /* ---------- shared type ---------- */
    .eyebrow {
      display: flex;
      align-items: center;
      gap: 18px;
      margin: 0 0 22px;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: .26em;
      text-transform: uppercase;
    }

    .eyebrow::after {
      content: "";
      width: 56px;
      height: 1px;
      background: var(--espresso);
      opacity: .7;
    }

    .display {
      margin: 0;
      font-family: var(--font-display);
      font-weight: 400;
      line-height: 1;
      text-transform: uppercase;
      color: var(--espresso);
    }

    /* the "O" with a small four-point star inside, as in the logo */
    .o-star { position: relative; }

    .o-star::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 52%;
      width: .15em;
      height: .15em;
      transform: translate(-50%, -50%);
      background: currentColor;
      clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    }

    .body-text {
      margin: 0;
      font-family: var(--font-serif);
      font-size: clamp(15px, 1.25vw, 17px);
      line-height: 1.6;
      color: #4A2F1C;
    }

    .rule-ornament {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--gold);
    }

    .rule-ornament::before,
    .rule-ornament::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--gold);
      opacity: .75;
    }

    /* "( → )  EXPLORE THE MENU" */
    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 22px;
      color: var(--espresso);
      text-decoration: none;
    }

    .text-link-label {
      padding-bottom: 6px;
      border-bottom: 1px solid var(--espresso);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .22em;
      text-transform: uppercase;
    }

    .arrow-circle {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 50px;
      flex: 0 0 auto;
      border: 1px solid var(--icon-gold);
      border-radius: 50%;
      transition: background-color .35s var(--ease);
    }

    .arrow-circle svg {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 22px;
      height: 12px;
      transform: translate(-50%, -50%);
      transition: transform .35s var(--ease);
    }

    .text-link:hover .arrow-circle,
    .text-link:focus-visible .arrow-circle { background: rgba(53, 25, 4, .06); }

    .text-link:hover .arrow-circle svg,
    .text-link:focus-visible .arrow-circle svg { transform: translate(-30%, -50%); }

    .text-link:focus-visible { outline: 2px solid var(--espresso); outline-offset: 6px; }

    /* photo that runs to one edge of the screen */
    .bleed { position: relative; margin: 0; overflow: hidden; }

    .bleed img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* ---------- 1. A dialogue of heritage and flavour ---------- */
    .cz-intro {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      align-items: center;
      gap: clamp(28px, 4vw, 56px);
      /* exactly the space between the navbar and the footer – photo and text both fit inside it */
      --fit-h: max(420px, calc(100vh - var(--header-h) - var(--footer-h)));
      height: var(--fit-h);
      padding-left: var(--edge);
      overflow: hidden;
      position: relative;
    }

    @supports (height: 100dvh) {
      .cz-intro { --fit-h: max(420px, calc(100dvh - var(--header-h) - var(--footer-h))); }
    }

    /* text sizes also follow the screen height, so the block never runs past the footer */
    .cz-intro-copy { position: relative; z-index: 1; padding: min(4vh, 40px) 0 min(4vh, 40px) clamp(0px, 3.5vw, 70px); }   /* text moved a little to the right */

    .cz-intro-title { font-size: clamp(34px, min(4.8vw, 8.2vh), 68px); }

    .cz-intro .eyebrow { margin-bottom: min(2.4vh, 22px); }

    .cz-intro .body-text { max-width: 440px; margin: min(2.6vh, 22px) 0 min(3.4vh, 30px); font-size: clamp(14px, min(1.25vw, 2.1vh), 17px); }

    /* banner photo (parchment with leaf shadows on the left, table of dishes on the right)
       sits behind the text. The whole photo shows at full height on the right; its plain
       parchment left side fades into the same colour, so there is no visible edge. */
    .cz-intro { background: #E8D3AE url("../../images/background.png") center / cover no-repeat fixed; }   /* same parchment as the rest of the site */

    .cz-intro .bleed {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .cz-intro .bleed img {
      left: auto;
      right: 0;
      width: 76%;                     /* wider photo = less empty space in the middle */
      max-width: none;
      height: 100%;
      object-fit: cover;
      object-position: right center;
      -webkit-mask-image: linear-gradient(to right, transparent, #000 30%);
              mask-image: linear-gradient(to right, transparent, #000 30%);
    }

    .cz-divider { margin: clamp(8px, 2vw, 20px) 0 0; }

    /* ---------- 2. The culinary journey (centred) ---------- */
    .cz-journey {
      padding: clamp(36px, 4.5vw, 56px) 0 clamp(56px, 6vw, 80px);
      text-align: center;
    }

    .journey-title { font-size: clamp(34px, 4vw, 54px); }

    .cz-journey .body-text { max-width: 640px; margin: 16px auto 0; }

    .journey-list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 900px;
      margin: clamp(36px, 4vw, 52px) auto 0;
      padding: 0;
      list-style: none;
    }

    .journey-step { padding: 0 clamp(12px, 2vw, 28px); }

    .journey-step + .journey-step { border-left: 1px solid rgba(156, 118, 80, .6); }

    .journey-step .step-icon { width: 104px; height: 64px; color: var(--icon-gold); }

    .journey-step h3 {
      margin: 18px 0 12px;
      font-size: clamp(15px, 1.4vw, 19px);
      font-weight: 600;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--espresso);
    }

    .journey-step p {
      margin: 0;
      font-family: var(--font-serif);
      font-size: clamp(14px, 1.15vw, 16px);
      line-height: 1.5;
      color: #4A2F1C;
    }

    /* ---------- 3. A culinary experience ---------- */
    /* picture in a rounded gold-framed card (same style as the Experience page), text on the right */
    .cz-exp {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      align-items: center;
      gap: clamp(40px, 5vw, 72px);
      width: min(1180px, 100% - 2 * var(--gutter));
      margin: 0 auto;
      padding: 8px 0 12px;                            /* small gap before the menu section */
    }

    .frame {
      position: relative;
      margin: 8px;
      padding: 3px;                                   /* gold frame */
      border-radius: 26px;
      background: linear-gradient(160deg, #E9C987, #B07D3A 45%, #E2B979 75%, #9C6A2E);
      box-shadow: 0 14px 30px rgba(53, 25, 4, .2);
      aspect-ratio: 540 / 370;
    }

    .frame img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 50% 55%;
      border-radius: 23px;
    }

    /* thin second line a little outside the frame */
    .frame::before {
      content: "";
      position: absolute;
      inset: -8px;
      border: 1px solid rgba(169, 120, 74, .7);
      border-radius: 32px;
      pointer-events: none;
    }

    .cz-exp-title { font-size: clamp(40px, 4.6vw, 64px); }

    .cz-exp .body-text { max-width: 440px; margin: 22px 0 30px; }

    /* ---------- 4. Menu (tabs: food / drinks) ---------- */
    .cz-menu {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, .75fr);
      align-items: center;
      gap: clamp(28px, 3vw, 40px) clamp(40px, 6vw, 110px);
      width: min(1180px, 100% - 2 * var(--gutter));
      margin: 0 auto;
      padding: clamp(28px, 3vw, 44px) 0 clamp(64px, 7vw, 96px);   /* breathing room above the menu */
    }

    /* one line above the menu, across both columns */
    .menu-intro { grid-column: 1 / -1; text-align: center; }

    .menu-oneliner {
      margin: 0;
      font-family: var(--font-serif);
      font-size: clamp(17px, 1.6vw, 23px);
      font-weight: 400;
      font-style: italic;
      line-height: 1.4;
      color: var(--espresso);
    }

    .menu-tabs {      display: flex;
      gap: clamp(28px, 4vw, 56px);
      border-bottom: 1px solid rgba(156, 118, 80, .45);
    }

    .menu-tab {
      position: relative;
      padding: 0 0 14px;
      border: 0;
      background: none;
      font-family: var(--font-serif);
      font-size: clamp(17px, 1.4vw, 21px);
      color: rgba(74, 47, 28, .45);
      cursor: pointer;
      transition: color .3s var(--ease);
    }

    .menu-tab::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      background: var(--menu-red);
      transform: scaleX(0);
      transition: transform .35s var(--ease);
    }

    .menu-tab[aria-selected="true"] { color: var(--menu-red); }
    .menu-tab[aria-selected="true"]::after { transform: scaleX(1); }
    .menu-tab:hover { color: var(--menu-red); }
    .menu-tab:focus-visible { outline: 2px solid var(--espresso); outline-offset: 4px; }

    .cz-menu { --menu-red: var(--espresso); }        /* same dark brown as the text on the rest of the site */

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

    .menu-list[hidden] { display: none; }

    .menu-item {
      display: flex;
      align-items: baseline;
      gap: 18px;
      padding: clamp(12px, 1.3vw, 17px) 0;
      border-bottom: 1px solid rgba(156, 118, 80, .3);
    }

    .menu-item-name {
      font-family: var(--font-display);
      font-size: clamp(15px, 1.2vw, 18px);
      letter-spacing: -.01em;
      text-transform: uppercase;
      color: var(--menu-red);
    }

    /* dotted leader between the dish and its price */
    .menu-item::after {
      content: "";
      order: 1;
      flex: 1;
      min-width: 24px;
      border-bottom: 1px dotted rgba(53, 25, 4, .4);
      transform: translateY(-4px);
    }

    .menu-item-price {
      order: 2;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: .14em;
      color: var(--menu-red);
      white-space: nowrap;
    }

    .menu-btn {
      display: inline-block;
      margin-top: clamp(14px, 1.4vw, 20px);
      padding: 15px 28px;
      background: var(--menu-red);
      color: var(--cream);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: .2em;
      text-transform: uppercase;
      text-decoration: none;
      transition: background-color .3s var(--ease);
    }

    .menu-btn:hover,
    .menu-btn:focus-visible { background: #24100A; }

    .menu-btn:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }

    .menu-media { position: relative; width: min(100%, 400px); margin: 0 0 0 auto; }

    .menu-media > img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 4.2;                         /* shorter photo, close to the list height */
      object-fit: cover;
      object-position: 30% 60%;
    }

    /* ---------- Reveal on scroll ---------- */
    .js .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .9s var(--ease), transform .9s var(--ease);
      transition-delay: calc(var(--i, 0) * 90ms);
    }

    .js .reveal.is-visible { opacity: 1; transform: none; }

    @media (prefers-reduced-motion: reduce) {
      .js .reveal { opacity: 1; transform: none; transition: none; }
    }

    /* ---------- Tablet / mobile ---------- */
    @media (max-width: 860px) {
      .cz-intro,
      .cz-exp { grid-template-columns: 1fr; height: auto; min-height: 0; overflow: visible; }

      .cz-intro-copy,
      .cz-exp-copy { padding: 32px var(--gutter) 0; }

      /* same left/right gap as the "Old recipes" text above */
      .cz-exp .cz-exp-copy { padding: 0 var(--gutter); }

      .cz-intro { background: none; }

      .cz-intro .bleed { position: relative; inset: auto; aspect-ratio: 1671 / 941; }

      .cz-intro .bleed img { width: 100%; object-fit: contain; -webkit-mask-image: none; mask-image: none; }

      .cz-exp .frame { order: 2; }

      .cz-exp-copy { order: 1; }

      .cz-exp { padding-bottom: 48px; }

      .cz-menu { grid-template-columns: 1fr; }

      .menu-media { width: min(100%, 460px); margin: 0 auto 0 auto; }
    }

    @media (max-width: 640px) {
      /* culinary journey: only the heading and the paragraph are left aligned */
      .cz-journey .journey-title,
      .cz-journey > .body-text { text-align: left; }

      .cz-journey > .body-text { margin-left: 0; margin-right: 0; }

      /* same left/right gap as the "Old recipes" text above */
      .cz-journey .journey-title,
      .cz-journey > .body-text { padding-left: var(--gutter); padding-right: var(--gutter); }

      .journey-list { grid-template-columns: 1fr; row-gap: 32px; }

      .journey-step + .journey-step { border-left: 0; border-top: 1px solid rgba(156, 118, 80, .6); padding-top: 32px; }
    }