.ky-section {
  --ky-paper: #f2eee5;
  --ky-ink: #24241e;
  --ky-clay: #92422f;
  --ky-edge: clamp(20px, 5vw, 88px);
  font-family: var(--body);
  color: var(--ky-ink);
}
.ky-section {background: var(--ky-paper)}
.ky-section {padding: clamp(76px, 9vw, 158px) 0; scroll-margin-top: 20px}
.ky-wrap {width: min(calc(100% - 2 * var(--ky-edge)), 1480px); margin-inline: auto}
.ky-section :is(h2,h3,p,figure) {margin: 0}
.ky-title {font: 400 calc(clamp(49px, 6.9vw, 108px) * var(--heading-size-scale))/.99 var(--serif); letter-spacing: -.025em; text-wrap: balance}
.ky-section a {color: inherit; text-decoration: none}
.ky-textlink {display: inline-flex; align-items: center; width: fit-content; gap: 14px; min-height: 44px; font-size: 16px; line-height: 1.2}
.ky-textlink > :first-child {border-bottom: 1px solid currentColor}
.ky-textlink > :last-child {display: inline-block; font-size: 1.25em; line-height: 1; transition: transform .25s}
.ky-textlink:is(:hover,:focus-visible) > :last-child {transform: translate(3px,-3px)}
.ky-section :focus-visible {outline: 2px solid currentColor; outline-offset: 5px}
.ky-concept { position: relative; isolation: isolate; padding-bottom: 0; }
.ky-concept::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .2; background: url('assets/materials/wall/limestone-web.webp') center / cover; }
.ky-room-layout { display: grid; gap: clamp(32px, 4.2vw, 72px); }
.ky-room-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.8fr);
  column-gap: clamp(44px, 9vw, 150px);
  align-items: end;
}
.ky-room-copy { max-width: 44ch; padding-bottom: 2px; }
.ky-concept-line, .ky-concept-line > span { display: block; }
.ky-concept-line { overflow: hidden; padding-block: .08em .24em; margin-block: -.08em -.24em; }
@media (prefers-reduced-motion: no-preference) {
  .ky-concept-line > span { transform: translateY(calc(1.25 * var(--concept-first-y, 0%))); }
  .ky-concept-line + .ky-concept-line > span { transform: translateY(calc(1.25 * var(--concept-second-y, 0%))); }
}
.ky-room-copy p, .ky-chef-copy p, .ky-material-note {
  font-size: var(--reading-size);
  font-weight: var(--reading-weight);
  color: var(--reading-ink);
  line-height: 1.55;
  text-wrap: pretty;
}
.ky-room-copy p { max-width: 40ch; }
.ky-concept-link { margin-top: clamp(6px, 1vw, 16px); }
.ky-room-study { min-width: 0; }
.ky-materials { display: flex; gap: clamp(6px, .8vw, 14px); align-items: start; touch-action: pan-y pinch-zoom; }
.ky-material {
  min-width: 0;
  flex: 1 1 0;
  display: grid;
  padding: 0;
  border: 0;
  color: #514739;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.ky-material[aria-pressed="true"] { flex-grow: 3.65; color: var(--ky-clay); }
.ky-material-image {
  display: block;
  overflow: hidden;
  height: clamp(236px, 32vw, 500px);
  background: #a17c54;
}
.ky-material:nth-child(2) .ky-material-image { background: #574334; }
.ky-material:nth-child(3) .ky-material-image { background: #69452e; }
.ky-material-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 55% 49%; }
.ky-material:nth-child(2) img { object-position: 53% 53%; }
.ky-material:nth-child(3) img { object-position: 47% 48%; }
.ky-material-name {
  --mark-width: .9em;
  position: relative;
  justify-self: start;
  display: flex;
  align-items: center;
  min-height: 48px;
  font: 400 clamp(19px, 2vw, 31px)/1.25 var(--serif);
  letter-spacing: -.018em;
}
.ky-material-name::before {
  content: '';
  position: absolute;
  right: 100%;
  width: var(--mark-width);
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: translateX(0) scaleX(0);
}
.ky-material[aria-pressed="true"] .ky-material-name { transform: translateX(calc(var(--mark-width) + .38em)); }
.ky-material[aria-pressed="true"] .ky-material-name::before { transform: translateX(-.38em) scaleX(1); }
.ky-material-note { max-width: 57ch; min-height: 3.1em; margin-top: 4px; font-style: italic; }
.ky-chef {
  --chef-paper: linear-gradient(#e9decdd4, #e9decdd4), url('assets/materials/wall/limestone-web.webp') center / cover no-repeat, #e9decd;
  position: relative;
  isolation: isolate;
  background: var(--chef-paper);
  margin-top: clamp(52px, 7vw, 110px);
  padding-block: clamp(56px, 7vw, 116px);
}
.ky-chef-layout {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-template-rows: .43fr .57fr;
  align-items: start;
}
.ky-chef-title {
  z-index: 1;
  grid-area: 1 / 1 / 2 / 6;
  align-self: end;
  justify-self: start;
  max-width: 12.7ch;
  padding: .06em .15em .12em 0;
  background: var(--chef-paper);
  font-size: calc(clamp(58px, 6.9vw, 108px) * var(--heading-size-scale));
  line-height: 1.02;
  transform-origin: left bottom;
}
.ky-chef-portrait { grid-area: 1 / 4 / 3 / 10; width: min(100%, 550px); justify-self: center; }
.ky-portrait-frame { aspect-ratio: 4 / 5; overflow: hidden; background: #47392f; }
.ky-portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 37%; }
.ky-chef-portrait figcaption { margin-top: 9px; color: #625548; font: italic 400 13px/1.4 var(--body); }
.ky-chef-copy {
  z-index: 1;
  grid-area: 2 / 9 / 3 / -1;
  align-self: end;
  margin-bottom: clamp(32px, 5vw, 80px);
  padding: clamp(16px, 1.8vw, 30px) 0 0 clamp(18px, 2vw, 34px);
  background: var(--chef-paper);
}
.ky-chef-copy p { max-width: 32ch; }
.ky-chef-story { margin-top: clamp(8px, 1.3vw, 20px); }
@media (prefers-reduced-motion: no-preference) {
  .ky-material { transition: flex-grow .53s var(--ease), color .2s; }
  .ky-material-name, .ky-material-name::before { transition: transform .35s var(--ease); }
  .ky-material-image img { transform: scale(1.035); transition: transform .64s var(--ease); }
  .ky-material[aria-pressed="true"] img { transform: none; }
  .ky-chef.is-in-view .ky-portrait-frame img { animation: ky-chef-arrival 1.15s var(--ease) both; }
  @keyframes ky-chef-arrival { from { transform: scale(1.055); clip-path: inset(3% 0 0); } to { transform: none; clip-path: inset(0); } }
}
.ky-menu {
  --menu-inset: max(var(--ky-edge), calc((100% - 1480px) / 2));
  padding-block: clamp(64px, 7.6vw, 124px) clamp(42px, 5vw, 82px);
  color: #f5ecdb;
  isolation: isolate;
  background-color: #2a201a;
  background-image: linear-gradient(110deg, rgb(24 19 15 / .74), rgb(26 19 15 / .61)), url('assets/materials/wood/smoked-walnut-web.webp');
  background-position: center;
  background-size: cover;
}
.ky-menu-head {display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 25px}
.ky-menu-head .ky-textlink {color: #efe3cc}
.ky-menu-feedback:has(.ky-menu-status:not(:empty)) {padding-block: 30px 4px}
.ky-menu-status {max-width: 48ch}
.ky-menu-retry {
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ky-menu-plates {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(310px, 36vw, 590px);
  gap: clamp(24px, 3.55vw, 68px);
  margin: clamp(24px, 3.5vw, 58px) 0 0;
  padding: 3px var(--menu-inset) 6px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--menu-inset);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.ky-menu-plates::-webkit-scrollbar {display: none}
.ky-plate {min-width: 0; scroll-snap-align: start}
.ky-plate-link {display: block; user-select: none; -webkit-user-select: none}
.ky-section .ky-plate-link:focus-visible {outline: 2px solid #f3dfb8; outline-offset: -2px}
.ky-plate-image {display: block; overflow: hidden; aspect-ratio: 1.34}
.ky-plate-image:has(> img) {mix-blend-mode: lighten}
.ky-plate-image.dish-photo-slot:not(:has(> img)) {background: transparent}
.ky-plate-image.dish-photo-slot:not(:has(> img))::before {filter: invert(94%) sepia(12%) saturate(520%)}
.ky-plate-image img {display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none}
.ky-plate-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(15px, 1.6vw, 26px);
  padding: .52em 2px .22em;
  border-top: 1px solid #b0a08988;
  font: 400 clamp(26px, 2.65vw, 43px)/1.13 var(--serif);
  letter-spacing: -.025em;
}
.ky-plate-name .icon {width: 18px; height: 18px; flex: none; color: #e4d2b3}
.ky-menu-controls {display: flex; align-items: center; gap: 4px; margin-top: clamp(15px, 2.5vw, 42px)}
.ky-rail-track {height: 1px; flex: 1; margin-right: clamp(12px, 2.4vw, 40px); background: #a18b6d75}
.ky-rail-track span {display: block; width: 0; height: 2px; background: #f0e1c2}
.ky-menu-controls[hidden], .ky-menu-plates:empty {display: none}
.ky-menu-plates[aria-busy]:empty {display: block; min-height: clamp(260px,34vw,490px)}
.ky-menu-controls button {width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: inherit}
.ky-menu-controls button:disabled {opacity: .4; cursor: default}
.ky-menu-controls button:enabled:hover {color: #dbc095}
.ky-menu-prev .icon {transform: rotate(180deg)}
.ky-menu-plates.is-dragging {scroll-snap-type: none}
.ky-menu-plates.is-dragging, .ky-menu-plates.is-dragging a {cursor: grabbing}
.ky-journal {
  background: linear-gradient(rgb(245 239 225 / .84), rgb(245 239 225 / .84)),
    url('assets/materials/wall/limestone-web.webp') center / cover, #eee8da;
}
.ky-journal-layout {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(45px, 7vw, 128px);
}
.ky-journal-index .ky-title {margin-bottom: clamp(24px, 3.3vw, 56px)}
.ky-all-articles {margin-top: 16px}
.ky-journal[hidden], .ky-chef-story[hidden] {display: none}
.ky-journal-sheet {
  padding: clamp(10px, 1.3vw, 24px) clamp(10px, 1.3vw, 24px) clamp(18px, 2vw, 36px);
  background: #f7f3e8;
  box-shadow: 0 5px 17px -11px rgb(0 0 0 / .28);
}
.ky-journal-preview {position: relative; aspect-ratio: 1.18; overflow: hidden; background: #d9cfba}
.ky-journal-print.dish-photo-slot {position: absolute; inset: 0}
.ky-journal-print {opacity: 0}
.ky-journal-print.is-current {z-index: 1; opacity: 1}
.ky-journal-print > img {display: block; width: 100%; height: 100%; object-fit: cover}
.ky-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(15px, 2vw, 34px);
  align-items: center;
  min-height: clamp(66px, 6.55vw, 100px);
  padding: 15px 3px;
  border-top: 1px solid #b8aa94;
}
.ky-story:last-child {border-bottom: 1px solid #b8aa94}
.ky-story h3 {font: 400 calc(clamp(31px, 3.1vw, 49px) * var(--heading-size-scale))/1.16 var(--serif); letter-spacing: -.025em}
.ky-story .icon {width: 18px; height: 18px; color: #675a49}
.ky-story.is-current, .ky-story.is-current .icon {color: var(--ky-clay)}
@media (prefers-reduced-motion: no-preference) {
  .ky-plate-image img {transition: transform .55s var(--ease)}
  .ky-plate-name .icon, .ky-story .icon {transition: translate .28s var(--ease)}
  .ky-plate-link:is(:hover,:focus-visible) img {transform: scale(1.035)}
  .ky-plate-link:is(:hover,:focus-visible) .icon, .ky-story:is(:hover,:focus-visible) .icon {translate: 2px -2px}
  .ky-journal-print {transition: opacity .36s ease}
  .ky-journal-print.is-current {animation: ky-print-reveal .48s var(--ease)}
  @keyframes ky-print-reveal {from {clip-path: inset(0 0 0 7%)} to {clip-path: inset(0)}}
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ky-journal-sheet {view-timeline-name: --ky-journal-sheet}
    .ky-journal-print > img {
      position: absolute;
      left: 0;
      top: -4%;
      height: 108%;
      animation: ky-journal-drift linear both;
      animation-timeline: --ky-journal-sheet;
    }
    @keyframes ky-journal-drift {from {transform: translateY(-3%)} to {transform: translateY(3%)}}
  }
}
.ky-contact {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: start;
  overflow: clip;
  min-height: clamp(480px, 53vw, 850px);
  padding-block: clamp(64px, 8vw, 145px);
  background: #50311c;
  color: #fff8e9;
}
.ky-visit-image, .ky-contact::after { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ky-visit-image { z-index: -2; }
.ky-visit-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.ky-contact::after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, rgb(26 15 9 / .38), transparent 50%);
}
.ky-visit-invite { display: grid; justify-items: start; align-content: start; gap: clamp(18px, 2.4vw, 35px); }
.ky-visit-invite .ky-title {
  font-size: calc(clamp(72px, 8.6vw, 141px) * var(--heading-size-scale));
  line-height: .94;
  transform-origin: left bottom;
}
.ky-visit-invite h2 span { display: block; }
.ky-visit-book {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 46px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 400 clamp(17px, 1.4vw, 21px)/1.35 var(--body);
  cursor: pointer;
}
.ky-visit-book .icon { flex: none; width: 22px; height: 22px; stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .ky-visit-book .icon { transition: transform .3s var(--ease); }
  .ky-visit-book:is(:hover,:focus-visible) .icon { transform: translateX(5px); }
  @supports (animation-timeline: view()) {
    .ky-contact { view-timeline-name: --ky-invitation; }
    .ky-visit-image img {
      animation: ky-table-arrival 1s linear both;
      animation-timeline: --ky-invitation;
      animation-range: entry 0% exit 100%;
    }
    @keyframes ky-table-arrival {
      from { transform: scale(1.065) translateY(-2.5%); }
      to { transform: scale(1.065) translateY(2.5%); }
    }
  }
}
@media (max-width: 760px) {
  .ky-room-layout { gap: 24px; }
  .ky-title {font-size: calc(clamp(46px,10vw,70px) * var(--heading-size-scale))}
  .ky-room-intro { grid-template-columns: 1fr; row-gap: 18px; }
  .ky-room-copy p { max-width: 42ch; }
  .ky-material[aria-pressed="true"] { flex-grow: 2.95; }
  .ky-material-image { height: clamp(157px, 48vw, 300px); }
  .ky-material-name { --mark-width: .72em; min-height: 42px; font-size: clamp(16px, 4.3vw, 23px); }
  .ky-material-note { min-height: 4.5em; margin-top: 0; }
  .ky-chef { margin-top: 34px; }
  .ky-chef-layout { grid-template-columns: repeat(8,minmax(0,1fr)); grid-template-rows: auto auto auto; }
  .ky-chef-title { grid-area: 1 / 1 / 2 / -1; max-width: 14ch; font-size: calc(clamp(51px, 10.7vw, 78px) * var(--heading-size-scale)); margin-bottom: -.28em; }
  .ky-chef-portrait { grid-area: 2 / 2 / 3 / -1; width: min(100%, 420px); justify-self: end; }
  .ky-chef-copy { grid-area: 3 / 1 / 4 / -1; margin: 22px 0 0; padding: 0; }
  .ky-chef-copy p { max-width: 37ch; }
  .ky-chef-story { margin-top: 8px; }
  .ky-menu-head {align-items: center; gap: 4px 16px}
  .ky-menu-head .ky-textlink {gap: 7px; font-size: 15px}
  .ky-menu-head .ky-textlink .icon {width: 18px}
  .ky-menu-plates {grid-auto-columns: min(75vw, 455px); gap: clamp(18px, 4vw, 28px); margin-top: 20px}
  .ky-plate-image {aspect-ratio: 1.12}
  .ky-plate-name {font-size: clamp(24px, 5.7vw, 34px); margin-top: 8px}
  .ky-menu-controls {margin-top: 12px}
  .ky-journal-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'print' 'stories' 'archive';
    gap: 18px;
  }
  .ky-journal-index {display: contents}
  .ky-journal-index .ky-title {grid-area: title; margin: 0}
  .ky-journal-sheet {grid-area: print}
  .ky-journal-preview {aspect-ratio: 1.95}
  .ky-stories {grid-area: stories}
  .ky-all-articles {grid-area: archive; margin-top: 0}
  .ky-story {min-height: 60px; gap: 18px; padding: 12px 2px}
  .ky-story h3 {font-size: calc(clamp(27px, 6.7vw, 35px) * var(--heading-size-scale))}
  .ky-contact { min-height: clamp(465px, 118vw, 650px); padding-block: clamp(30px, 6vw, 52px); }
  .ky-visit-invite { gap: 10px; }
  .ky-visit-invite .ky-title { font-size: calc(clamp(64px, 12vw, 88px) * var(--heading-size-scale)); }
}
@media (max-width: 660px) and (orientation: portrait) {
  .ky-contact { min-height: clamp(510px, 145vw, 780px); }
  .ky-visit-image img { object-position: center 34%; }
}
@media (prefers-reduced-motion: reduce) {
  .ky-section * {animation: none !important; transition: none !important}
}
