/* Hitohada: the page is the counter, seen from your seat. Ten equal columns are the ten seats; one
   hinoki edge runs through every band, the chef's side above it and yours below. Rice-white ground,
   sumi ink; dark only where the board and the counter photographs are. */
@font-face { font-family: "Petrona"; src: url("/assets/fonts/specimen/petrona-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("/assets/fonts/specimen/petrona-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2191, U+2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Petrona"; src: url("/assets/fonts/specimen/petrona-var-italic-ext.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0100-017F; }

body.spec-hitohada { margin: 0; background: #ECE8DF; }

.spec-hitohada .ht-site {
  --ht-sumi: #121416;
  --ht-guest: #16191B;
  --ht-rice: #ECE8DF;
  --ht-rice-2: rgba(236, 232, 223, .72);
  --ht-ground: #ECE8DF;
  --ht-ink: #121416;
  --ht-ink-2: rgba(18, 20, 22, .72);
  --ht-line: rgba(18, 20, 22, .16);
  --ht-wasabi-ink: #4E6B1E;
  --ht-wasabi: #9DC45F;
  --ht-hinoki: #D9C29A;
  --ht-hinoki-hi: #EFE0C0;
  --ht-hinoki-lip: #9C8460;
  --ht-serif: "Petrona", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ht-m: max(16px, 2.8vw);
  --ht-sw: calc((100vw - 2 * var(--ht-m)) / 10);
  --ht-eh: 12px;
  --ht-ease: cubic-bezier(.22, .72, .12, 1);
  --ht-poster: clamp(4rem, 1.6rem + 8.6vw, 10rem);
  --seat: 6; --col: 3; --pc: 5; --na: 1; --nb: 5; --pp: 5;
  background: var(--ht-ground);
  color: var(--ht-ink);
  font-family: var(--ht-serif);
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  font-weight: 380;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.ht-site *, .ht-site *::before, .ht-site *::after { box-sizing: border-box; }
:where(.ht-site) :where(p, h1, h2, h3, ul, ol, figure, fieldset) { margin: 0; }
:where(.ht-site) :where(h1, h2, h3) { font-weight: inherit; font-size: inherit; }
:where(.ht-site) :where(ul, ol) { padding: 0; list-style: none; }
:where(.ht-site) em { font-style: italic; }
:where(.ht-site) a { color: inherit; }
:where(.ht-site) img { display: block; max-width: 100%; height: auto; }
:where(.ht-site) button { font: inherit; color: inherit; }
.ht-site :focus-visible { outline: 2px solid var(--ht-wasabi-ink); outline-offset: 3px; }
.ht-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- the ten seats */
.ht-counter { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); padding-inline: var(--ht-m); }
:where(.ht-counter > *) { padding-inline: 12px; min-width: 0; }

/* the counter's front edge: timber, a highlight on top, a lip below, a shadow onto your side */
.ht-edge {
  position: relative; z-index: 3; height: var(--ht-eh);
  background: var(--ht-hinoki);
  border-top: 1px solid var(--ht-hinoki-hi); border-bottom: 3px solid var(--ht-hinoki-lip);
  box-shadow: 0 16px 24px -14px rgba(80, 60, 30, .38);
}
.ht-counter > .ht-edge { grid-column: 1 / -1; margin-inline: calc(-1 * var(--ht-m)); padding: 0; }
/* your seat, on every edge: a small wasabi rest set on the timber */
.ht-notch {
  position: absolute; bottom: calc(100% + 1px); width: 20px; height: 5px; border-radius: 3px 3px 0 0; box-shadow: inset 0 0 0 1px rgba(18, 20, 22, .35);
  left: calc(var(--ht-m) + (100% - 2 * var(--ht-m)) * (var(--seat) - .5) / 10 - 10px);
  background: var(--ht-wasabi);
  transition: left calc(420ms + 55ms * 3) var(--ht-ease);
}
.ht-ticks {
  position: absolute; left: var(--ht-m); right: var(--ht-m); bottom: calc(100% + 1px); height: 8px;
  background: repeating-linear-gradient(90deg, var(--ht-line) 0 1px, transparent 1px 10%);
  border-right: 1px solid var(--ht-line);
}
.ht-below { background: var(--ht-ground); }

/* type */
.ht-title { font-size: clamp(1.75rem, 1.15rem + 1.6vw, 2.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.ht-title-sm { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); }
.ht-title-lead { font-size: clamp(1.15rem, 1.02rem + .4vw, 1.375rem); letter-spacing: 0; }
.ht-lead { font-size: clamp(1.15rem, 1.02rem + .4vw, 1.375rem); font-weight: 360; line-height: 1.45; }
.ht-quiet { font-size: .9375rem; color: var(--ht-ink-2); }
.ht-quiet em { color: var(--ht-ink); }

/* ---------------------------------------------------------------- nav: set out on the seats */
.ht-nav {
  position: sticky; top: var(--bar-h, 40px); z-index: 50;
  height: 56px; align-items: center;
  background: var(--ht-ground); border-bottom: 1px solid var(--ht-line);
  font-size: .9375rem; font-weight: 620; letter-spacing: .02em; line-height: 1;
}
.ht-brand { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ht-mark { width: 28px; height: 28px; flex: none; }
.ht-brand-name { font-weight: 640; }
.ht-links { grid-column: 3 / 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
.ht-links li { padding-inline: 12px; white-space: nowrap; }
.ht-links a, .ht-foot-links a { text-decoration: none; padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ht-ease); }
.ht-links a:hover, .ht-foot-links a:hover { background-size: 100% 1px; }
.ht-myseat { grid-column: 8 / 11; justify-self: end; display: flex; align-items: center; gap: 12px; text-decoration: none; padding-block: 10px; white-space: nowrap; }
.ht-myseat-t { color: var(--ht-wasabi-ink); }
.ht-dots { display: flex; gap: 3px; }
.ht-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ht-hinoki-lip); }
.ht-myseat:hover .ht-dots i { border-color: var(--ht-ink); }
.ht-menu { display: none; }
.ht-menu-btn { list-style: none; cursor: pointer; padding: 12px 0 12px 12px; }
.ht-menu-btn::-webkit-details-marker { display: none; }
.ht-sheet {
  position: fixed; left: 0; top: calc(var(--bar-h, 40px) + 48px); bottom: 0; width: min(86vw, 380px);
  background: var(--ht-ground); border-right: var(--ht-eh) solid var(--ht-hinoki);
  padding: 32px var(--ht-m); z-index: 60;
}
.ht-sheet li + li { margin-top: 18px; }
.ht-sheet a { font-size: 1.75rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.ht-menu[open] .ht-sheet { animation: ht-from-chef .42s var(--ht-ease); }
@keyframes ht-from-chef { from { translate: -100% 0; } }

/* your seat, wherever it is shown */
[data-seat="1"] .ht-dots i:nth-child(1), [data-seat="2"] .ht-dots i:nth-child(2), [data-seat="3"] .ht-dots i:nth-child(3),
[data-seat="4"] .ht-dots i:nth-child(4), [data-seat="5"] .ht-dots i:nth-child(5), [data-seat="6"] .ht-dots i:nth-child(6),
[data-seat="7"] .ht-dots i:nth-child(7), [data-seat="8"] .ht-dots i:nth-child(8), [data-seat="9"] .ht-dots i:nth-child(9),
[data-seat="10"] .ht-dots i:nth-child(10) { background: var(--ht-wasabi); border-color: var(--ht-ink); }

/* ---------------------------------------------------------------- the board, from your seat */
.ht-hero { --hh: clamp(560px, calc(100svh - var(--bar-h, 40px) - 56px), 920px); --at: .68; position: relative; }
.ht-chef { position: relative; height: calc(var(--hh) * var(--at)); background: linear-gradient(90deg, #DCC7A0 0 46%, #121416 46%); }
@media (max-width: 700px) { .ht-chef { background: linear-gradient(#121416 0 72%, #DCC7A0 72%); } }
.ht-poster, .ht-canvas, .ht-press { position: absolute; inset: 0; width: 100%; height: 100%; }
.ht-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.ht-hero:not(.ht-live) .ht-dish { display: none; }
.ht-canvas { display: block; opacity: 0; }
.ht-live .ht-canvas { opacity: 1; }
.ht-live .ht-poster { visibility: hidden; }
.ht-press { z-index: 2; margin: 0; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.ht-pressing .ht-press { cursor: grabbing; }
.ht-press:focus-visible { outline-offset: -8px; outline-color: var(--ht-wasabi); }
.ht-hero:not(.ht-live) .ht-press { display: none; }

/* the chef names the piece on the board */
.ht-dish {
  position: absolute; z-index: 2; top: 28px; right: calc(var(--ht-m) + 12px); width: min(30%, 360px);
  text-align: right; pointer-events: none; font-size: .9375rem; font-style: italic; line-height: 1.45; color: var(--ht-rice-2);
}
.ht-dish em { display: block; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); line-height: 1.1; color: var(--ht-rice); font-weight: 460; margin-bottom: 4px; }

/* the state of the rice stands on the edge; its descenders go behind the timber */
.ht-state {
  position: absolute; z-index: 2; left: calc(var(--ht-m) + 12px); right: 0; bottom: calc(-1 * var(--ht-eh));
  display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; pointer-events: none;
  color: var(--ht-sumi); padding-top: 12px;
}
.ht-is { font-size: .9375rem; font-weight: 620; letter-spacing: .02em; margin-bottom: 2px; }
.ht-packed { font-size: .9375rem; font-style: italic; font-weight: 520; }
.ht-word-line { font-size: var(--ht-poster); line-height: 1; margin-bottom: calc(var(--ht-eh) - .23em); white-space: nowrap; }
.ht-word {
  display: inline-block; font-style: italic; font-weight: 400; font-variation-settings: "wght" 780; letter-spacing: -.035em;
  contain: layout; transition: font-variation-settings .12s linear;
}
.ht-dab { display: inline-block; width: .15em; height: .15em; margin-left: .08em; border-radius: 50%; background: var(--ht-wasabi); vertical-align: .05em; box-shadow: inset 0 -.02em 0 rgba(0, 0, 0, .25); }
.ht-live .ht-dab { transform: scale(0); transition: transform .3s var(--ht-ease); }
.ht-live .ht-state.ht-right .ht-dab { transform: scale(1); }

.ht-guest { min-height: calc(var(--hh) * (1 - var(--at)) - var(--ht-eh)); padding-block: 30px 40px; align-content: start; align-items: start; row-gap: 16px; }
.ht-intro { grid-column: 1 / 5; }
.ht-intro h1 { font-size: clamp(1.6rem, 1.25rem + 1vw, 2.35rem); font-weight: 560; line-height: 1.08; letter-spacing: -.005em; }
.ht-sub { margin-top: 14px; max-width: 40ch; }
.ht-name { margin-top: 10px; font-size: .9375rem; font-style: italic; color: var(--ht-ink-2); }
.ht-name em { font-style: normal; color: var(--ht-ink); }
.ht-how { grid-column: 6 / 11; }
.ht-hint { font-size: clamp(1.4rem, 1.05rem + 1.05vw, 2.1rem); font-style: italic; font-weight: 330; line-height: 1.2; letter-spacing: -.005em; max-width: 24ch; }
.ht-hint::before { content: ""; display: block; width: 2px; height: 26px; background: var(--ht-wasabi); margin: -30px 0 14px 1px; }
.ht-or { margin-top: 14px; font-size: 1rem; color: var(--ht-ink-2); }
.ht-ibtn { appearance: none; border: 0; background: none; padding: 6px 0 2px; cursor: pointer; color: var(--ht-ink); font-weight: 620; border-bottom: 2px solid var(--ht-wasabi); }
.ht-ibtn:hover { border-bottom-color: var(--ht-ink); }
.ht-still { display: none; font-size: clamp(1.15rem, 1.02rem + .4vw, 1.375rem); font-style: italic; font-weight: 340; line-height: 1.4; color: var(--ht-ink-2); max-width: 30ch; }
.ht-hero:not(.ht-live) .ht-hint, .ht-hero:not(.ht-live) .ht-or { display: none; }
.ht-hero:not(.ht-live) .ht-still { display: block; }

/* ---------------------------------------------------------------- bands */
.ht-band { position: relative; }
.ht-above { padding-top: 112px; padding-bottom: 32px; align-items: end; }
.ht-below { padding-top: 40px; padding-bottom: 112px; row-gap: 32px; align-items: start; }

/* take a seat: the counter from above */
.ht-place .ht-above { padding-bottom: 0; row-gap: 40px; }
.ht-place .ht-title { grid-column: 1 / 5; }
.ht-plan { grid-column: 1 / -1; padding: 0; }
.ht-plan svg { fill: none; stroke: var(--ht-ink); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; overflow: visible; }
.ht-plan-chef {
  display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: center; height: 76px;
  border: 1px solid var(--ht-line); border-bottom: 0; background: rgba(217, 194, 154, .16);
}
.ht-plan-chef svg { vector-effect: non-scaling-stroke; }
.ht-plan-chef svg * { vector-effect: non-scaling-stroke; }
.ht-p-board { grid-column: 1 / 3; width: 76%; height: 34px; justify-self: center; }
.ht-p-tub { grid-column: 3 / 5; width: 52px; height: 52px; justify-self: center; }
.ht-p-kettle { grid-column: 7 / 9; width: 64px; height: 36px; justify-self: center; }
.ht-plan-slab {
  position: relative; height: 128px; border-top: 1.5px solid var(--ht-hinoki-lip);
  background:
    radial-gradient(circle at 50% 58%, transparent 21px, rgba(18, 20, 22, .14) 21.5px 22.5px, transparent 23px) 0 0 / 10% 100%,
    rgba(217, 194, 154, .55);
}
.ht-pot { position: absolute; top: 12px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 1.5px solid rgba(18, 20, 22, .4); left: calc((var(--p) * 2 - 1) * 10%); transition: border-color .3s; }
.ht-pot.ht-yours { border-color: var(--ht-ink); background: var(--ht-wasabi); }
.ht-setting { position: absolute; bottom: 10px; width: 10%; height: 90px; left: calc((var(--seat) - 1) * 10%); }
.ht-setting .ht-s-plate { stroke-width: 1.5; }
.ht-setting .ht-s-rest { fill: var(--ht-wasabi); stroke: none; }
.ht-stools { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); padding: 0; margin-top: -16px; }
.ht-stool, .ht-bstool { justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.ht-stool span, .ht-bstool span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ht-ink); font-size: .8125rem; font-weight: 620; font-variant-numeric: lining-nums;
  transition: background-color .25s, color .25s, border-color .25s;
}
.ht-stool:hover span, .ht-bstool:hover span { background: rgba(217, 194, 154, .45); }
.ht-stool[aria-checked="true"] span, .ht-bstool[aria-checked="true"] span { background: var(--ht-wasabi); border-color: var(--ht-ink); color: var(--ht-sumi); }
.ht-bstool.ht-lit:not([aria-checked="true"]) span { border-color: var(--ht-ink); box-shadow: inset 0 0 0 3px var(--ht-ground), inset 0 0 0 20px rgba(157, 196, 95, .45); }
.ht-place .ht-copy { grid-column: 1 / 5; }
.ht-copy p + p { margin-top: 14px; }
.ht-readback { font-size: clamp(1.15rem, 1.02rem + .4vw, 1.375rem); font-weight: 360; line-height: 1.45; }
.ht-rb-seat { display: block; font-weight: 620; }
.ht-rb-pass { display: block; font-style: italic; color: var(--ht-ink-2); }

/* the evening, seen from your seat: one piece at a time, passed along the wood and set down in front of you */
.ht-c-head { padding-top: 112px; row-gap: 14px; }
.ht-c-head h2, .ht-c-head p { grid-column: 1 / 6; }
.ht-c-head p { color: var(--ht-ink-2); max-width: 46ch; }
.ht-seatw { color: var(--ht-ink); font-weight: 620; }
.ht-cstage { padding-top: 56px; padding-bottom: 112px; }
.ht-pieces { grid-column: 1 / -1; grid-row: 1; display: grid; grid-auto-flow: column; grid-auto-columns: calc(30% - 12px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 16px; }
.ht-fish, .ht-lines, .ht-step, .ht-tea-with { padding-inline: 12px; }
.ht-piece { scroll-snap-align: start; font-size: 1rem; font-weight: 440; line-height: 1.5; }
.ht-plate { position: relative; aspect-ratio: 2 / 1; }
.ht-plate-svg, .ht-plate-c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ht-plate-c { opacity: 0; }
.ht-baked .ht-plate-c { opacity: 1; }
.ht-baked .ht-plate-svg { visibility: hidden; }
/* the piece's name, upright and heavy, as the chef says it */
.ht-fish { margin: 18px 0 10px; font-size: 2.4rem; line-height: .98; font-weight: 820; letter-spacing: -.025em; }
.ht-lines p + p { margin-top: 4px; }
.ht-what { font-weight: 640; }
.ht-tea-with { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: .9375rem; line-height: 1.45; color: var(--ht-ink-2); }
.ht-tea-with em { color: var(--ht-ink); }
.ht-potsvg { width: 30px; height: 21px; flex: none; margin-top: 1px; fill: none; stroke: var(--ht-ink); stroke-width: 1.5; stroke-linecap: square; }
.ht-potsvg path:first-child { fill: var(--ht-wasabi); }
.ht-cedge { grid-row: 2; }
.ht-crow { display: none; }
.ht-step { display: none; }
.ht-around { grid-row: 3; grid-column: 1 / 6; padding-top: 28px; font-size: .9375rem; color: var(--ht-ink-2); max-width: 52ch; }

.ht-js .ht-pieces { display: contents; }
.ht-js .ht-piece { display: none; }
.ht-js .ht-piece.ht-on { display: contents; }
.ht-js .ht-plate { grid-row: 1; grid-column: var(--pc) / span 3; align-self: end; padding: 0; margin-bottom: -1px; }
/* the name stands on the counter: its descenders (j, y, g) come down to the timber, never behind it */
.ht-js .ht-fish {
  grid-row: 1; grid-column: var(--na) / var(--nb); align-self: end; margin: 0; padding-bottom: .1em;
  font-size: clamp(2.6rem, 1rem + 4.6vw, 6rem); line-height: 1; position: relative; z-index: 1;
}
/* your side of the counter: the ten seats read from the chef's end, the plate's path to yours */
.ht-js .ht-crow {
  grid-row: 3; grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr));
  padding: 14px 0 0; font-size: .8125rem; font-weight: 620; font-variant-numeric: lining-nums; color: var(--ht-ink-2);
}
.ht-crow li { display: grid; place-items: center; position: relative; z-index: 1; }
.ht-crow span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ht-ground); }
.ht-crow::before {
  content: ""; position: absolute; top: 28px; left: 5%; height: 0; border-top: 1.5px dotted var(--ht-ink);
  width: calc((var(--seat) - 1) * 10%); transition: width calc(420ms + 55ms * 3) var(--ht-ease);
}
[data-seat="1"] .ht-crow li:nth-child(1) span, [data-seat="2"] .ht-crow li:nth-child(2) span, [data-seat="3"] .ht-crow li:nth-child(3) span,
[data-seat="4"] .ht-crow li:nth-child(4) span, [data-seat="5"] .ht-crow li:nth-child(5) span, [data-seat="6"] .ht-crow li:nth-child(6) span,
[data-seat="7"] .ht-crow li:nth-child(7) span, [data-seat="8"] .ht-crow li:nth-child(8) span, [data-seat="9"] .ht-crow li:nth-child(9) span,
[data-seat="10"] .ht-crow li:nth-child(10) span { background: var(--ht-wasabi); color: var(--ht-ink); box-shadow: inset 0 0 0 1.5px var(--ht-ink); }
.ht-js .ht-lines { grid-row: 4 / 6; grid-column: var(--na) / var(--nb); padding-top: 28px; }
.ht-js .ht-tea-with { grid-row: 4; grid-column: var(--pc) / span 3; margin: 0; padding-top: 28px; }
.ht-js .ht-step { grid-row: 5; grid-column: var(--pc) / span 3; display: grid; gap: 12px; padding-top: 24px; align-content: start; }
.ht-js .ht-around { grid-row: 6; grid-column: 1 / 7; padding-top: 48px; }
.ht-lines .ht-what { font-size: clamp(1.15rem, 1.02rem + .4vw, 1.375rem); font-weight: 560; line-height: 1.35; margin-bottom: 6px; }
.ht-pos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; white-space: nowrap; font-size: .9375rem; font-style: italic; color: var(--ht-ink-2); }
.ht-tally { display: flex; gap: 4px; }
.ht-tally i { width: 11px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ht-ink); opacity: .45; }
.ht-tally i.ht-had { background: var(--ht-ink); opacity: 1; }
.ht-step-b { display: flex; flex-wrap: wrap; gap: 10px; }
.ht-sbtn {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--ht-ink); border-radius: 0; background: none; cursor: pointer;
  font-size: .9375rem; font-weight: 620; letter-spacing: .02em;
}
.ht-sbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }
.ht-sbtn:hover { background: rgba(217, 194, 154, .45); }
.ht-sbtn-next { background: var(--ht-ink); color: var(--ht-rice); }
.ht-sbtn-next:hover { background: #2A2D30; }
.ht-sbtn-back { border-color: transparent; padding-inline: 4px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ht-sbtn-back:hover { background: none; text-decoration-color: var(--ht-wasabi-ink); }
/* the plate is passed along the counter from the chef's end, the last one cleared aside */
::view-transition-group(ht-plate-new), ::view-transition-group(ht-plate-old), ::view-transition-group(ht-fish) { animation-duration: 0s; }
::view-transition-new(ht-plate-new) { animation: ht-pass calc(420ms + 55ms * var(--ht-seats, 5)) var(--ht-ease) both; }
::view-transition-old(ht-plate-old) { animation: ht-clear 300ms cubic-bezier(.4, 0, .6, 1) both; }
::view-transition-old(ht-fish) { animation: ht-out 200ms ease-in both; }
::view-transition-new(ht-fish) { animation: ht-in 360ms 140ms ease-out both; }
::view-transition-old(ht-lines) { animation: ht-out 180ms ease-in both; }
::view-transition-new(ht-lines) { animation: ht-in 320ms 200ms ease-out both; }
::view-transition-group(ht-tea) { animation-duration: 0s; }
::view-transition-old(ht-tea) { animation: ht-out 180ms ease-in both; }
::view-transition-new(ht-tea) { animation: ht-in 320ms 260ms ease-out both; }
.ht-back::view-transition-new(ht-plate-new) { animation: ht-in 360ms 120ms ease-out both; }
.ht-back::view-transition-old(ht-plate-old) { animation: ht-take calc(420ms + 55ms * var(--ht-seats, 5)) var(--ht-ease) both; }
@keyframes ht-pass { 0% { translate: calc(var(--ht-travel, 400px) * -1) 0; } 88% { translate: 2px 0; } 100% { translate: 0 0; } }
@keyframes ht-clear { to { translate: var(--ht-sw-px, 140px) 0; opacity: 0; } }
@keyframes ht-take { to { translate: calc(var(--ht-travel, 400px) * -1) 0; opacity: 0; } }
@keyframes ht-out { to { opacity: 0; } }
@keyframes ht-in { from { opacity: 0; } }
.ht-land { animation: ht-weigh .5s var(--ht-ease) both; }
@keyframes ht-weigh { from { font-weight: 560; } to { font-weight: 820; } }

/* warm as a hand */
.ht-rice .ht-above { padding-bottom: 0; }
.ht-hands { grid-row: 1; grid-column: 1 / 5; padding-right: 0; }
.ht-hands img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 55%; }
.ht-heavy {
  grid-column: 5 / 11; grid-row: 1; align-self: end; padding-left: 28px; margin-bottom: -.16em;
  font-size: clamp(2.6rem, 1rem + 4.4vw, 5.5rem); font-weight: 820; line-height: .95; letter-spacing: -.02em;
}
.ht-rice-aside { grid-column: 6 / 10; grid-row: 1; align-self: start; padding-top: 8px; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-style: italic; font-weight: 320; line-height: 1.3; color: var(--ht-ink-2); max-width: 22ch; }
.ht-rice-aside em { color: var(--ht-ink); }
.ht-rice .ht-copy { grid-column: 6 / 10; }

/* what goes on it: the one light band */
.ht-season .ht-above { background: var(--ht-hinoki); color: var(--ht-sumi); padding-bottom: 40px; column-gap: 0; }
.ht-stack { grid-column: 1 / 8; font-size: clamp(3rem, 1rem + 6.4vw, 8rem); font-weight: 900; line-height: .9; letter-spacing: -.03em; }
.ht-stack span { white-space: nowrap; }
.ht-wasabi-w i { display: inline-block; width: .17em; height: .17em; margin-left: .03em; border-radius: 50%; background: #7FA646; box-shadow: inset 0 0 0 .02em var(--ht-sumi); vertical-align: .02em; }
.ht-note { grid-column: 8 / 11; align-self: end; font-size: 1rem; line-height: 1.55; }
.ht-edge-sumi { background: var(--ht-sumi); border-top-color: #2A2D30; border-bottom-color: var(--ht-sumi); }
.ht-note2 { grid-column: 1 / 7; font-size: clamp(1.15rem, 1.02rem + .4vw, 1.375rem); font-weight: 360; line-height: 1.45; max-width: 36ch; }

/* rested, not rushed */
.ht-knife { position: relative; background: var(--ht-sumi); }
.ht-knife picture, .ht-room picture { display: block; overflow: hidden; }
.ht-knife img, .ht-room img { width: calc(100% + 24px); max-width: none; }
.ht-knife img { aspect-ratio: 2.4 / 1; object-fit: cover; object-position: 50% 82%; }
.ht-knife figcaption { position: absolute; top: 22px; left: calc(var(--ht-m) + 12px); max-width: 30ch; font-size: .9375rem; line-height: 1.45; color: var(--ht-rice-2); }
.ht-rest-t { grid-column: 6 / 11; }
.ht-notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); padding: 0; margin-top: 16px; }
.ht-notes p { padding-inline: 12px; font-size: 1rem; }
.ht-notes p:nth-child(1) { grid-column: 1 / 4; }
.ht-notes p:nth-child(2) { grid-column: 4 / 7; margin-top: 24px; }
.ht-notes p:nth-child(3) { grid-column: 7 / 11; margin-top: 48px; max-width: 34ch; }
.ht-verb { display: block; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 300; line-height: 1.1; margin-bottom: 8px; }
.ht-waters { grid-column: 1 / -1; padding: 0; margin-top: 56px; }
.ht-waters-t { padding-inline: 12px; font-size: .9375rem; font-style: italic; color: var(--ht-ink-2); margin-bottom: 10px; }
.ht-waters ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 6px solid var(--ht-hinoki); margin-inline: calc(-1 * var(--ht-m)); padding-inline: var(--ht-m); }
.ht-waters li { padding: 14px 12px 0; font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem); font-style: italic; font-weight: 420; line-height: 1.2; position: relative; }
.ht-waters li::before { content: ""; position: absolute; left: 12px; top: -6px; width: 1.5px; height: 14px; background: var(--ht-ink); }

/* your seat's pot, and the tea it pours */
.ht-yours { grid-column: 5 / 8; display: grid; gap: 18px; align-content: start; }
.ht-yours .ht-readback { padding: 0; }
.ht-potline { display: flex; align-items: center; gap: 12px; font-size: clamp(1.15rem, 1.02rem + .4vw, 1.375rem); font-weight: 620; line-height: 1.3; }
.ht-potline .ht-potsvg { width: 40px; height: 28px; margin: 0; }
.ht-teanote { font-size: 1rem; color: var(--ht-ink-2); max-width: 36ch; }
.ht-cup { grid-column: 8 / 11; grid-row: 2 / 4; padding-right: 0; }
.ht-cup img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 60%; }
/* the order of the evening: objects set down along the counter */
.ht-ogrid { padding-top: 112px; padding-bottom: 112px; column-gap: 0; row-gap: 0; align-items: end; }
.ht-order-t { grid-row: 1; grid-column: 1 / 7; font-weight: 400; font-variation-settings: "wght" 520; padding-bottom: 72px; font-size: clamp(1.9rem, 1.2rem + 1.9vw, 3rem); line-height: 1.08; }
.ht-objects { display: contents; }
.ht-objects li { display: contents; }
.ht-obj { grid-row: 2; height: clamp(80px, 4.4vw + 36px, 124px); width: auto; max-width: 100%; justify-self: start; fill: none; stroke: var(--ht-ink); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; overflow: visible; padding: 0 12px; box-sizing: content-box; margin-bottom: 0; }
.ht-objects p { grid-row: 4; align-self: start; padding: 24px 12px 0; font-size: 1rem; line-height: 1.5; }
.ht-oedge { grid-row: 3; }
.ht-shelf { display: none; }
.ht-objects li:nth-child(1) > * { grid-column: 1 / 3; --c: 0; }
.ht-objects li:nth-child(2) > * { grid-column: 3 / 4; --c: 2; }
.ht-objects li:nth-child(3) > * { grid-column: 4 / 6; --c: 3; }
.ht-objects li:nth-child(4) > * { grid-column: 6 / 7; --c: 5; }
.ht-objects li:nth-child(5) > * { grid-column: 7 / 9; --c: 6; }
.ht-objects li:nth-child(6) > * { grid-column: 9 / 11; --c: 8; }

/* ask for a seat */
.ht-room { position: relative; }
.ht-room img { aspect-ratio: 3 / 1; object-fit: cover; object-position: 50% 64%; }
.ht-book-head { grid-column: 1 / 6; }
.ht-book-head p { margin-top: 14px; max-width: 42ch; }
.ht-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); row-gap: 32px; padding: 0; font-variant-numeric: lining-nums; }
.ht-f { padding-inline: 12px; border: 0; margin: 0; min-width: 0; }
.ht-f-where { grid-column: 1 / -1; padding: 0; }
.ht-f-where .ht-flabel, .ht-f-where .ht-fhint { padding-inline: 12px; }
.ht-fcol { grid-column: span 5; display: grid; gap: 28px; align-content: start; }
.ht-f label, .ht-f legend, .ht-flabel { display: block; font-size: .9375rem; font-weight: 620; margin-bottom: 8px; padding: 0; }
.ht-many { display: flex; gap: 8px; }
.ht-many label { position: relative; margin: 0; }
.ht-many input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ht-many span { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ht-ink); font-weight: 620; }
.ht-many input:checked + span { background: var(--ht-ink); color: var(--ht-rice); }
.ht-many input:focus-visible + span { outline: 2px solid var(--ht-wasabi); outline-offset: 3px; }
.ht-f input[type="text"], .ht-f input[type="email"], .ht-f input[type="date"], .ht-f textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1.5px solid var(--ht-ink); border-radius: 0;
  background: var(--ht-ground); color: var(--ht-ink); font: inherit; color-scheme: light; min-height: 48px;
}
.ht-f textarea { resize: vertical; }
.ht-fhint { margin-top: 8px; font-size: .875rem; font-style: italic; color: var(--ht-ink-2); }
.ht-bstools { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); padding: 8px 0; }
.ht-site .ht-send { appearance: none; border: 0; border-radius: 0; height: 48px; padding: 0 28px; background: var(--ht-ink); color: var(--ht-rice); font-weight: 620; letter-spacing: .02em; cursor: pointer; }
.ht-site .ht-send:hover { background: #2A2D30; }
.ht-status { margin-top: 14px; font-size: 1rem; min-height: 1.6em; }

/* foot: the last edge ends in end grain */
.ht-edge-end::after { content: ""; position: absolute; right: 0; top: -1px; bottom: -1px; width: 24px; background: repeating-radial-gradient(circle at 0 50%, var(--ht-hinoki-lip) 0 1px, var(--ht-hinoki) 1px 4px); }
.ht-foot .ht-below { padding-block: 36px 56px; row-gap: 10px; }
.ht-foot-mark { grid-column: 1 / 6; display: flex; align-items: center; gap: 12px; font-weight: 620; font-size: .9375rem; }
.ht-foot-when { grid-column: 1 / 6; font-size: .9375rem; color: var(--ht-ink-2); }
.ht-foot-links { grid-column: 6 / 11; grid-row: 1 / 3; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 28px; font-size: .9375rem; font-weight: 620; }

/* ---------------------------------------------------------------- scroll: set down along the counter */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ht-obj { animation: ht-set linear both; animation-timeline: view(); animation-range: entry calc(10% + var(--c) * 3%) cover 42%; }
    .ht-objects p { animation: ht-in linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
    .ht-knife img, .ht-room img { animation: ht-slide linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes ht-set { from { translate: calc(-1 * var(--c) * var(--ht-sw) - 24px) 0; opacity: 0; } 30% { opacity: 1; } to { translate: 0 0; opacity: 1; } }
@keyframes ht-slide { from { translate: -24px 0; } to { translate: 0 0; } }

/* ---------------------------------------------------------------- 1024–1180 */
@media (max-width: 1180px) {
  .ht-nav { font-size: .875rem; }
  .ht-links li { padding-inline: 8px; }
  .ht-intro { grid-column: 1 / 6; }
  .ht-how { grid-column: 6 / 11; }
  .ht-ogrid { row-gap: 0; }
  .ht-objects li:nth-child(n) > * { --c: 0; }
  .ht-objects li:nth-child(1) > *, .ht-objects li:nth-child(4) > * { grid-column: 1 / 4; }
  .ht-objects li:nth-child(2) > *, .ht-objects li:nth-child(5) > * { grid-column: 4 / 8; --c: 3; }
  .ht-objects li:nth-child(3) > *, .ht-objects li:nth-child(6) > * { grid-column: 8 / 11; --c: 7; }
  .ht-objects li:nth-child(n+4) > svg { grid-row: 5; }
  .ht-objects li:nth-child(n+4) > p { grid-row: 7; }
  .ht-objects p { padding-bottom: 48px; }
  .ht-shelf-1 { display: block; grid-row: 6; grid-column: 1 / -1; height: 5px; margin-inline: calc(-1 * var(--ht-m)); padding: 0; background: var(--ht-hinoki); }
}
@media (min-width: 701px) and (max-height: 800px) {
  .ht-hero { --hh: clamp(560px, calc(100svh - var(--bar-h, 40px) - 56px), 680px); --at: .64; }
  .spec-hitohada .ht-site { --ht-poster: clamp(4rem, 1rem + 6.6vw, 8rem); }
}

/* ---------------------------------------------------------------- tablets and phones */
@media (max-width: 900px) {
  .ht-nav { display: flex; gap: 18px; }
  .ht-nav > * { padding-inline: 0; }
  .ht-brand { margin-right: auto; padding-left: 12px; }
  .ht-links { display: none; }
  .ht-menu { display: block; }
  .ht-menu-btn { padding-right: 12px; }
  .ht-intro { grid-column: 1 / 6; }
  .ht-how { grid-column: 6 / 11; }
  .ht-dish { width: min(44%, 360px); }
}

@media (max-width: 700px) {
  .spec-hitohada .ht-site { --ht-eh: 8px; --ht-sw: calc((100vw - 2 * var(--ht-m)) / 5); --ht-poster: clamp(3.4rem, 2rem + 6vw, 4.5rem); }
  .ht-counter { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  :where(.ht-counter > *) { padding-inline: 4px; }
  .ht-notch { left: calc(var(--ht-m) + (100% - 2 * var(--ht-m)) * (var(--col) - .5) / 5 - 10px); }
  .ht-ticks { background: repeating-linear-gradient(90deg, var(--ht-line) 0 1px, transparent 1px 20%); }
  .ht-nav { height: 48px; gap: 14px; }
  .ht-brand { padding-left: 4px; }
  .ht-myseat { gap: 8px; }
  .ht-dots { gap: 2px; }
  .ht-dots i { width: 5px; height: 5px; }
  .ht-menu-btn { padding-right: 4px; }
  .ht-sheet { top: calc(var(--bar-h, 40px) + 48px); }

  .ht-hero { --hh: calc(100svh - var(--bar-h, 40px) - 48px); --at: .52; }
  .ht-chef { height: max(330px, calc(var(--hh) * var(--at))); }
  .ht-poster img { object-position: 50% 100%; }
  /* on a phone the packed line stands beside the word, on the timber, so the block never grows up onto the board */
  .ht-state { left: calc(var(--ht-m) + 4px); right: var(--ht-m); display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 14px; align-items: end; }
  .ht-is { grid-column: 1 / -1; grid-row: 1; }
  .ht-word-line { grid-column: 1; grid-row: 2; }
  .ht-packed { grid-column: 2; grid-row: 2; align-self: end; margin-bottom: calc(var(--ht-eh) + .5em); font-size: .8125rem; line-height: 1.3; max-width: 17ch; }
  .ht-dish { top: 16px; width: 62%; font-size: .875rem; }
  .ht-dish em { font-size: 1.2rem; }
  .ht-guest { padding-block: 22px 32px; row-gap: 18px; min-height: 0; }
  .ht-intro, .ht-how { grid-column: 1 / -1; }
  .ht-intro { display: contents; }
  .ht-intro h1 { grid-column: 1 / -1; order: 1; font-size: 1.55rem; padding-inline: 4px; }
  .ht-how { order: 2; }
  .ht-sub, .ht-name { grid-column: 1 / -1; order: 3; padding-inline: 4px; margin: 0; }
  .ht-name { order: 4; margin-top: -8px; }
  .ht-hint { font-size: 1.25rem; max-width: 30ch; }
  .ht-hint::before { display: none; }
  .ht-or { margin-top: 8px; }

  .ht-above { padding-top: 72px; }
  .ht-below { padding-top: 32px; padding-bottom: 72px; }
  .ht-place .ht-title, .ht-place .ht-copy, .ht-readback, .ht-c-head h2, .ht-c-head p, .ht-hands, .ht-rice .ht-copy, .ht-rice-aside,
  .ht-stack, .ht-note, .ht-note2, .ht-rest-t, .ht-yours, .ht-book-head, .ht-foot-mark, .ht-foot-when, .ht-foot-links, .ht-order-t { grid-column: 1 / -1; }
  .ht-place .ht-above { row-gap: 28px; }
  .ht-plan-chef { height: 52px; grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .ht-p-board { height: 24px; }
  .ht-p-tub { width: 36px; height: 36px; }
  .ht-p-kettle { width: 44px; height: 26px; }
  .ht-plan-slab { height: 92px; background: radial-gradient(circle at 50% 58%, transparent 11px, rgba(18, 20, 22, .14) 11.5px 12.5px, transparent 13px) 0 0 / 10% 100%, rgba(217, 194, 154, .55); }
  .ht-setting { height: 60px; }
  .ht-pot { width: 12px; height: 12px; margin-left: -6px; top: 8px; }
  .ht-stools, .ht-bstools { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .ht-stools { margin-top: -10px; }
  .ht-stool, .ht-bstool { width: 36px; height: 48px; }
  .ht-stool span, .ht-bstool span { width: 30px; height: 30px; font-size: .75rem; }
  .ht-yours { order: -1; }

  .ht-c-head { padding-top: 72px; }
  .ht-cstage { padding-top: 32px; padding-bottom: 72px; }
  .ht-pieces { grid-auto-columns: 80vw; }
  .ht-js .ht-fish { grid-row: 1; grid-column: 1 / -1; font-size: clamp(2.4rem, 1.2rem + 6vw, 3.2rem); margin: 0 0 12px; padding-bottom: 0; }
  .ht-fish, .ht-lines, .ht-step, .ht-tea-with { padding-inline: 4px; }
  .ht-js .ht-plate { grid-row: 2; grid-column: var(--pc) / span 3; }
  .ht-cedge { grid-row: 3; }
  .ht-js .ht-crow { grid-row: 4; padding-top: 10px; font-size: .75rem; }
  .ht-crow span { width: 24px; height: 24px; }
  .ht-crow::before { top: 22px; }
  .ht-js .ht-lines { grid-row: 5; grid-column: 1 / -1; padding-top: 20px; }
  .ht-js .ht-tea-with { grid-row: 6; grid-column: 1 / -1; padding-top: 14px; }
  .ht-js .ht-step { grid-row: 7; grid-column: 1 / -1; padding-top: 20px; }
  .ht-js .ht-around { grid-row: 8; grid-column: 1 / -1; padding-top: 32px; }
  .ht-around { grid-column: 1 / -1; }
  .ht-step-b { display: grid; grid-template-columns: 1fr 1fr; }
  .ht-sbtn { justify-content: center; }

  .ht-hands { grid-row: 1; grid-column: 1 / 5; }
  .ht-heavy { grid-column: 1 / -1; grid-row: 3; padding: 20px 4px 0; margin-bottom: -.16em; }
  .ht-rice-aside { grid-row: 2; grid-column: 1 / -1; padding-top: 24px; font-size: 1.2rem; }
  .ht-rice .ht-above { row-gap: 0; }
  .ht-stack span { display: block; }
  .ht-stack { font-size: 3rem; }
  .ht-note { margin-top: 28px; }
  .ht-knife img { aspect-ratio: 4 / 3; object-position: 65% 60%; }
  .ht-knife figcaption { position: static; margin: 12px var(--ht-m) 0; padding-inline: 4px; }
  .ht-rest .ht-knife { padding-bottom: 16px; background: none; }
  .ht-knife figcaption { color: var(--ht-ink-2); }
  .ht-notes { grid-template-columns: 1fr; row-gap: 22px; }
  .ht-notes p:nth-child(n) { grid-column: 1; margin-top: 0; padding-inline: 4px; }
  .ht-waters ul { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .ht-cup { grid-column: 2 / -1; grid-row: auto; padding-inline: 4px 0; }
  .ht-cup img { aspect-ratio: 1; }

  .ht-ogrid { padding-top: 72px; padding-bottom: 72px; }
  .ht-order-t { padding-bottom: 40px; }
  .ht-objects li:nth-child(odd) > * { grid-column: 1 / 3; --c: 0; }
  .ht-objects li:nth-child(even) > * { grid-column: 3 / 6; --c: 2; }
  .ht-objects li:nth-child(n+3) > svg { grid-row: 5; }
  .ht-objects li:nth-child(n+3) > p { grid-row: 7; }
  .ht-objects li:nth-child(n+5) > svg { grid-row: 8; }
  .ht-objects li:nth-child(n+5) > p { grid-row: 10; }
  .ht-objects p { padding: 16px 4px 32px; font-size: .9375rem; }
  .ht-shelf-2 { display: block; grid-row: 9; grid-column: 1 / -1; height: 4px; margin-inline: calc(-1 * var(--ht-m)); padding: 0; background: var(--ht-hinoki); }
  .ht-shelf-1 { height: 4px; }
  .ht-obj { height: 60px; padding: 0 4px; }

  .ht-room img { aspect-ratio: 4 / 3; object-position: 30% 60%; }
  .ht-fcol { grid-column: 1 / -1; }
  .ht-form { grid-template-columns: 1fr; }
  .ht-f-where .ht-flabel, .ht-f-where .ht-fhint { padding-inline: 4px; }
  .ht-f { padding-inline: 4px; }
  .ht-foot-links { grid-row: auto; justify-content: flex-start; gap: 8px 22px; }
}
/* a short phone: the h1 and the press in the first screen, the rest just below */
@media (max-width: 700px) and (max-height: 620px) {
  .ht-hero { --hh: calc(100svh - 88px); --at: .6; }
  .ht-chef { height: calc(var(--hh) * var(--at)); }
  .spec-hitohada .ht-site { --ht-poster: 3rem; }
  .ht-intro h1 { font-size: 1.35rem; }
  .ht-hint { font-size: 1.05rem; }
  .ht-guest { padding-top: 16px; row-gap: 10px; }
  .ht-dish { display: none; }
  .ht-room { display: none; }
}
@media (max-width: 440px) {
  .ht-dish span { display: none; }
}
@media (max-width: 360px) {
  .ht-myseat-t { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ht-site *, .ht-site *::before, .ht-site *::after { transition: none !important; animation: none !important; }
}
