/* ==========================================================================
   Yakiniku Kuro — home page
   Loaded on index.php only. Everything here is prefixed kh- (Kuro home).
   Sections: tokens · page · shared parts · hero · ticker · the Kuro way
             · locations · menu · ambiance · call to action · motion settings
   ========================================================================== */

/* Width of one grill bar; animated to wipe pictures in like a grate */
@property --kh-bar {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

:root {
    --kh-black: #0b0a09;
    --kh-coal: #131110;
    --kh-ash: #1d1a18;
    --kh-white: #f6f1ea;
    --kh-muted: #b9b0a5;
    --kh-line: rgba(246, 241, 234, 0.14);
    --kh-red: #cc2027;          /* brand red */
    --kh-red-deep: #a3191f;
    --kh-ember: #cc2027;        /* accent = brand red */
    --kh-gold: #ffc107;
    --kh-fire: linear-gradient(#cc2027, #cc2027); /* solid brand red (kept as a gradient so text fills still work) */

    --kh-display: 'Poppins', 'Inter', system-ui, sans-serif;
    --kh-body: 'Inter', system-ui, -apple-system, sans-serif;
    --kh-jp: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', 'Noto Serif JP', 'Noto Serif CJK JP', 'Songti SC', serif;

    --kh-gutter: clamp(1.25rem, 4.5vw, 4rem);
    --kh-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --kh-ease-inout: cubic-bezier(0.7, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Page (home page only). The navigation bar lives in kuro-nav.css
   -------------------------------------------------------------------------- */
html {
    background-color: var(--kh-black);
    scroll-behavior: smooth;
    scroll-padding-top: var(--kh-nav-h);
}

body {
    padding-top: 0;
    background: var(--kh-black);
    color: var(--kh-white);
    overflow-x: hidden;
}

/* The hero sits behind the navigation, so the spacer is not needed here */
.main-nav + div {
    display: none;
}

/* Reading progress: a line of fire along the top edge */
.kh-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: 3px;
    background: var(--kh-fire);
    transform: scaleX(var(--kh-progress, 0));
    transform-origin: left center;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Shared parts
   -------------------------------------------------------------------------- */
.kh {
    font-family: var(--kh-body);
    color: var(--kh-white);
}

.kh *,
.kh *::before,
.kh *::after {
    box-sizing: border-box;
}

/* :where() keeps these resets weak, so any kh- class can override them */
:where(.kh) img,
:where(.kh) video {
    display: block;
    max-width: 100%;
}

.kh a,
.kh a:hover {
    color: inherit;
    text-decoration: none;
}

:where(.kh) ol,
:where(.kh) ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Undo the site-wide heading decorations inside the home page */
.kh h1,
.kh h2,
.kh h3 {
    display: block;
    margin: 0;
    padding: 0;
    font-family: var(--kh-display);
    color: var(--kh-white);
}

.kh h2::after {
    content: none;
}

.kh h1 span,
.kh h2 span,
.kh h3 span {
    color: inherit;
}

.kh :focus-visible {
    outline: 2px solid var(--kh-gold);
    outline-offset: 4px;
    border-radius: 0;
}

.kh-wrap {
    width: min(100% - (var(--kh-gutter) * 2), 82.5rem);
    margin-inline: auto;
}

.kh-section {
    position: relative;
    padding-block: clamp(4.5rem, 11vw, 9.5rem);
}

.kh-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    gap: 1.5rem clamp(2rem, 6vw, 6rem);
}

.kh-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    font-family: var(--kh-display);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--kh-ember);
}

.kh-eyebrow::before {
    content: '';
    flex: none;
    width: 2.25rem;
    height: 1px;
    background: currentColor;
}

.kh .kh-h2 {
    margin-top: 1.1rem;
    font-size: clamp(2.2rem, 5.4vw, 4.5rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.kh-lede {
    margin: 0;
    max-width: 44ch;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.7;
    color: var(--kh-muted);
}

/* Headings rise in word by word */
.kh-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.16em;
    margin-bottom: -0.16em;
}

.kh-word > span {
    display: inline-block;
}

.kh .kh-word--accent > span {
    color: var(--kh-ember);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .kh .kh-word--accent > span {
        background: var(--kh-fire);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

/* Buttons */
.kh-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.9rem 1.7rem;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--kh-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.6s var(--kh-ease);
    will-change: transform;
}

.kh-btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    transform: translateY(102%);
    transition: transform 0.55s var(--kh-ease);
}

.kh-btn:hover::before,
.kh-btn:focus-visible::before {
    transform: translateY(0);
}

.kh-btn svg {
    transition: transform 0.5s var(--kh-ease);
}

.kh-btn:hover svg {
    transform: translateX(4px);
}

.kh .kh-btn--fire {
    background: var(--kh-red);
    color: #fff;
    box-shadow: 0 0 2.5rem -0.75rem rgba(204, 32, 39, 0.75);
}

.kh-btn--fire::before {
    background: #a3191f;
}

.kh .kh-btn--ghost {
    border-color: rgba(246, 241, 234, 0.5);
    color: var(--kh-white);
}

.kh-btn--ghost::before {
    background: var(--kh-white);
}

.kh .kh-btn--ghost:hover,
.kh .kh-btn--ghost:focus-visible {
    color: var(--kh-black);
    border-color: var(--kh-white);
}

/* Text link with a line that redraws itself */
.kh-more {
    margin: clamp(2rem, 4vw, 3.25rem) 0 0;
}

.kh-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.55rem;
    font-family: var(--kh-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kh-link::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: currentColor;
    transform-origin: left center;
    transition: transform 0.6s var(--kh-ease);
}

.kh .kh-link:hover {
    color: var(--kh-ember);
}

.kh-link:hover::after {
    animation: kh-redraw 0.9s var(--kh-ease);
}

.kh-link svg {
    transition: transform 0.5s var(--kh-ease);
}

.kh-link:hover svg {
    transform: translateX(5px);
}

@keyframes kh-redraw {
    0% { transform: scaleX(1); transform-origin: right center; }
    45% { transform: scaleX(0); transform-origin: right center; }
    46% { transform: scaleX(0); transform-origin: left center; }
    100% { transform: scaleX(1); transform-origin: left center; }
}

.kh-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid currentColor;
    border-radius: 0;
    font-family: var(--kh-display);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.kh-chip--soon {
    color: var(--kh-gold);
}

.kh-chip--soon::before {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: currentColor;
    animation: kh-pulse 1.8s ease-in-out infinite;
}

@keyframes kh-pulse {
    50% { opacity: 0.25; transform: scale(0.7); }
}

@keyframes kh-float {
    0%, 100% { transform: translate3d(0, -0.6rem, 0); }
    50% { transform: translate3d(0, 0.6rem, 0); }
}

/* The grate wipe: bars widen until the picture is whole */
@keyframes kh-grate {
    from { --kh-bar: 0%; }
    to { --kh-bar: 12.6%; }
}

/* --------------------------------------------------------------------------
   Scroll reveals (only when the script is running)
   -------------------------------------------------------------------------- */
.kh-js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 2rem, 0);
    transition: opacity 0.9s var(--kh-ease) var(--d, 0ms), transform 1.1s var(--kh-ease) var(--d, 0ms);
}

.kh-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.kh-js [data-reveal='words'] {
    opacity: 1;
    transform: none;
}

.kh-js [data-reveal='words'] .kh-word > span,
.kh-js .kh-hero__title .kh-word > span {
    transform: translate3d(0, 115%, 0);
}

.kh-js [data-reveal='words'].is-in .kh-word > span,
.kh-js .kh-hero__slide.is-active .kh-hero__title .kh-word > span {
    transform: none;
    transition: transform 1s var(--kh-ease) calc(var(--i) * 55ms + var(--d, 0ms));
}

.kh-js [data-reveal='sear'] {
    opacity: 1;
    transform: none;
    transition: none;
    -webkit-mask-image: repeating-linear-gradient(90deg, #000 0, #000 var(--kh-bar), transparent var(--kh-bar), transparent 12.5%);
    mask-image: repeating-linear-gradient(90deg, #000 0, #000 var(--kh-bar), transparent var(--kh-bar), transparent 12.5%);
}

.kh-js [data-reveal='sear'].is-in {
    animation: kh-grate 1.2s var(--kh-ease-inout) var(--d, 0ms) both;
}

.kh-js [data-reveal='sear'].is-done {
    -webkit-mask-image: none;
    mask-image: none;
    animation: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.kh-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    background: #000;
}

.kh-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.kh-hero__bg {
    position: absolute;
    inset: 0;
    visibility: hidden;
}

.kh-hero__bg img,
.kh-hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kh-hero__bg.is-active {
    z-index: 2;
    visibility: visible;
}

.kh-hero__bg.is-leaving {
    z-index: 1;
    visibility: visible;
}

.kh-hero__bg.is-active img {
    animation: kh-push-in 10s ease-out both;
}

@keyframes kh-push-in {
    from { transform: scale(1.14); }
    to { transform: scale(1.02); }
}

.kh-hero__bg.is-entering {
    -webkit-mask-image: repeating-linear-gradient(90deg, #000 0, #000 var(--kh-bar), transparent var(--kh-bar), transparent 12.5%);
    mask-image: repeating-linear-gradient(90deg, #000 0, #000 var(--kh-bar), transparent var(--kh-bar), transparent 12.5%);
    animation: kh-grate 1.25s var(--kh-ease-inout) both;
}

.kh-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(11, 10, 9, 0.78) 0%, rgba(11, 10, 9, 0) 24%),
        linear-gradient(0deg, var(--kh-black) 0%, rgba(11, 10, 9, 0.72) 26%, rgba(11, 10, 9, 0) 62%),
        linear-gradient(90deg, rgba(11, 10, 9, 0.95) 0%, rgba(11, 10, 9, 0.84) 38%, rgba(11, 10, 9, 0.3) 76%, rgba(11, 10, 9, 0.4) 100%);
}

.kh-hero__embers {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.kh-hero__kanji {
    position: absolute;
    top: 47%;
    right: clamp(1.5rem, 8vw, 9rem);
    z-index: 0;
    margin: 0;
    transform: translate3d(0, calc(-50% + var(--kh-shift, 0px)), 0);
    font-family: var(--kh-jp);
    font-size: clamp(12rem, 44vh, 30rem);
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(246, 241, 234, 0.7);
    pointer-events: none;
    user-select: none;
}

.kh-hero__kanji span {
    display: block;
    filter: url(#kh-haze);
    animation: kh-float 9s ease-in-out infinite;
}

.kh-hero__tate {
    position: absolute;
    top: 50%;
    right: clamp(0.9rem, 2.4vw, 2.5rem);
    z-index: 0;
    margin: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--kh-jp);
    font-size: 0.82rem;
    letter-spacing: 0.55em;
    color: rgba(246, 241, 234, 0.85);
    pointer-events: none;
}

.kh-hero__inner {
    align-self: end;
    padding-top: calc(var(--kh-nav-h) + 2.5rem);
    padding-bottom: clamp(1.75rem, 4vh, 3rem);
}

.kh-hero__slides {
    display: grid;
    align-items: end;
    margin-top: 1.4rem;
}

.kh-hero__slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.kh-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease 0.15s, visibility 0s;
}

.kh-hero__logo {
    width: clamp(13rem, 24vw, 21rem);
    height: auto;
    margin-bottom: clamp(1.25rem, 3vh, 2rem);
}

.kh .kh-hero__title {
    max-width: 17ch;
    font-size: clamp(2.35rem, 5.7vw, 5.4rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.kh-hero__lede {
    margin: clamp(1.1rem, 2.4vh, 1.75rem) 0 0;
    max-width: 50ch;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.65;
    color: #e9e2d8;
}

.kh-hero__jp {
    margin: 0.6rem 0 0;
    max-width: 44em;
    font-family: var(--kh-jp);
    font-size: 0.86rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
    color: #d0c7bb;
}

.kh-js .kh-hero__logo,
.kh-js .kh-hero__lede,
.kh-js .kh-hero__jp {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
}

.kh-js .kh-hero__slide.is-active .kh-hero__logo,
.kh-js .kh-hero__slide.is-active .kh-hero__lede,
.kh-js .kh-hero__slide.is-active .kh-hero__jp {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--kh-ease) var(--d, 0.1s), transform 1.1s var(--kh-ease) var(--d, 0.1s);
}

.kh-hero__lede { --d: 0.5s; }
.kh-hero__jp { --d: 0.62s; }

.kh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: clamp(1.5rem, 3.5vh, 2.5rem);
}

.kh-hero__bar {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding-block: 1.1rem;
    border-top: 1px solid var(--kh-line);
}

.kh-hero__count {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--kh-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    font-variant-numeric: tabular-nums;
}

.kh-hero__meter {
    position: relative;
    overflow: hidden;
    width: clamp(4rem, 12vw, 9rem);
    height: 2px;
    background: rgba(246, 241, 234, 0.25);
}

.kh-hero__meter i {
    position: absolute;
    inset: 0;
    background: var(--kh-fire);
    transform: scaleX(0);
    transform-origin: left center;
}

.kh-hero.is-playing .kh-hero__meter i {
    animation: kh-meter var(--kh-autoplay, 6500ms) linear forwards;
}

.kh-hero.is-held .kh-hero__meter i {
    animation-play-state: paused;
}

@keyframes kh-meter {
    to { transform: scaleX(1); }
}

.kh-hero__controls {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.kh-hero__btn {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(246, 241, 234, 0.3);
    border-radius: 0;
    background: rgba(11, 10, 9, 0.3);
    color: var(--kh-white);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.kh-hero__btn:hover {
    background: var(--kh-white);
    border-color: var(--kh-white);
    color: var(--kh-black);
}

.kh-hero__btn .kh-icon-play,
.kh-hero__btn[aria-pressed='true'] .kh-icon-pause {
    display: none;
}

.kh-hero__btn[aria-pressed='true'] .kh-icon-play {
    display: block;
}

.kh-defs {
    position: absolute;
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.kh-ticker {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-block: 0.95rem;
    background: var(--kh-red);
    color: #fff;
}

.kh-ticker__track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.kh-ticker__group {
    display: flex;
    flex: none;
    align-items: center;
}

.kh-ticker__group span {
    padding-inline: clamp(1rem, 2vw, 1.75rem);
    font-family: var(--kh-display);
    font-size: clamp(0.95rem, 1.35vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.kh-ticker__group span[lang='ja'] {
    font-family: var(--kh-jp);
    font-weight: 800;
    letter-spacing: 0.32em;
}

.kh-ticker__group i {
    flex: none;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--kh-black);
}

/* --------------------------------------------------------------------------
   The Kuro way
   -------------------------------------------------------------------------- */
.kh-way {
    overflow: hidden;
    background: var(--kh-black);
}

.kh-way__mesh,
.kh-way__heat {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Cold grill mesh */
.kh-way__mesh {
    background:
        repeating-linear-gradient(45deg, rgba(246, 241, 234, 0.045) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(-45deg, rgba(246, 241, 234, 0.045) 0 1px, transparent 1px 22px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

/* The same mesh, red hot, shown only around the pointer */
.kh-way__heat {
    background:
        repeating-linear-gradient(45deg, rgba(204, 32, 39, 0.9) 0 1.5px, transparent 1.5px 22px),
        repeating-linear-gradient(-45deg, rgba(204, 32, 39, 0.9) 0 1.5px, transparent 1.5px 22px),
        radial-gradient(circle at var(--mx, 70%) var(--my, 40%), rgba(204, 32, 39, 0.4), rgba(204, 32, 39, 0) 22rem);
    -webkit-mask-image: radial-gradient(circle 20rem at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
    mask-image: radial-gradient(circle 20rem at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 100%);
}

.kh-way .kh-wrap {
    position: relative;
}

.kh-way__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5.5rem);
    border-top: 1px solid var(--kh-line);
}

.kh-way__item {
    position: relative;
    padding: 2rem clamp(1.1rem, 2vw, 2rem) 0.5rem;
    border-left: 1px solid var(--kh-line);
}

.kh-way__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.kh-way__item::before {
    content: '';
    position: absolute;
    inset: -1px 0 auto 0;
    height: 2px;
    background: var(--kh-fire);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s var(--kh-ease);
}

.kh-way__item:hover::before {
    transform: scaleX(1);
}

.kh-way__num {
    display: block;
    font-family: var(--kh-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--kh-muted);
    transition: color 0.4s ease;
}

.kh-way__item:hover .kh-way__num {
    color: var(--kh-ember);
}

.kh-way__icon {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    margin: clamp(2rem, 4vw, 3.5rem) 0 1.5rem;
    color: var(--kh-ember);
    transition: transform 0.6s var(--kh-ease);
}

.kh-way__icon svg {
    width: 100%;
    height: 100%;
}

.kh-way__item:hover .kh-way__icon {
    transform: translate3d(0, -0.4rem, 0);
}

.kh .kh-way__title {
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.kh-way__text {
    margin: 0.85rem 0 0;
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--kh-muted);
}

/* --------------------------------------------------------------------------
   Locations
   -------------------------------------------------------------------------- */
.kh-loc {
    background: var(--kh-coal);
}

.kh-loc__list {
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    border-top: 1px solid var(--kh-line);
}

.kh-loc__link {
    position: relative;
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto 3rem;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    padding-block: clamp(1.1rem, 2vw, 1.75rem);
    border-bottom: 1px solid var(--kh-line);
    transition: opacity 0.4s ease, padding 0.6s var(--kh-ease);
}

.kh-loc__link::after {
    content: '';
    position: absolute;
    inset: auto 0 -1px 0;
    height: 1px;
    background: var(--kh-fire);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s var(--kh-ease);
}

.kh-loc__num {
    font-family: var(--kh-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--kh-muted);
}

.kh-loc__thumb {
    display: none;
    width: 6rem;
    height: 4.5rem;
    border-radius: 6px;
    object-fit: cover;
}

.kh-loc__name {
    font-family: var(--kh-display);
    font-size: clamp(1.55rem, 4.2vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    transition: transform 0.6s var(--kh-ease), color 0.4s ease;
}

.kh-loc__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem 1rem;
    font-size: 0.9rem;
    color: var(--kh-muted);
}

.kh-loc__arrow {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--kh-line);
    border-radius: 0;
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.kh-loc__arrow svg {
    transition: transform 0.6s var(--kh-ease);
}

@media (hover: hover) and (pointer: fine) {
    .kh-loc__list:hover .kh-loc__link:not(:hover) {
        opacity: 0.38;
    }

    .kh-loc__link:hover::after {
        transform: scaleX(1);
    }

    .kh-loc__link:hover .kh-loc__name {
        transform: translate3d(1.1rem, 0, 0);
    }

    .kh-loc__link:hover .kh-loc__arrow {
        background: var(--kh-red);
        border-color: var(--kh-red);
        color: #fff;
    }

    .kh-loc__link:hover .kh-loc__arrow svg {
        transform: rotate(45deg);
    }
}

/* Photo that floats after the pointer (built by the script on desktop) */
.kh-float {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    overflow: hidden;
    width: clamp(16rem, 25vw, 24rem);
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    background: var(--kh-ash);
    box-shadow: 0 2rem 4rem -1rem rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    will-change: transform;
}

.kh-float.is-on {
    opacity: 1;
}

.kh-float img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    visibility: hidden;
}

.kh-float img.is-under {
    z-index: 1;
    visibility: visible;
}

.kh-float img.is-on {
    z-index: 2;
    visibility: visible;
    -webkit-mask-image: repeating-linear-gradient(0deg, #000 0, #000 var(--kh-bar), transparent var(--kh-bar), transparent 12.5%);
    mask-image: repeating-linear-gradient(0deg, #000 0, #000 var(--kh-bar), transparent var(--kh-bar), transparent 12.5%);
    animation: kh-grate 0.55s var(--kh-ease-inout) both;
}

/* --------------------------------------------------------------------------
   Menu
   -------------------------------------------------------------------------- */
.kh-menu {
    background: var(--kh-black);
}

.kh-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    perspective: 1600px;
}

.kh-dish {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 10px;
    background: var(--kh-ash);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.7s var(--kh-ease), box-shadow 0.6s ease;
}

.kh-dish.is-tilting {
    transition: transform 0.12s linear, box-shadow 0.6s ease;
}

.kh-dish:hover {
    box-shadow: 0 2.5rem 4rem -2rem rgba(204, 32, 39, 0.4);
}

.kh-dish__img {
    position: absolute;
    inset: -8% 0;
    z-index: -2;
    width: 100%;
    height: 116%;
    max-width: none;
    object-fit: cover;
    transform: translate3d(0, var(--kh-shift, 0px), 0) scale(var(--kh-zoom, 1));
    transition: --kh-zoom 1.2s var(--kh-ease);
}

.kh .kh-dish__img {
    max-width: none;
}

.kh-dish:hover .kh-dish__img {
    --kh-zoom: 1.07;
}

@property --kh-zoom {
    syntax: '<number>';
    inherits: false;
    initial-value: 1;
}

/* Shade for the text, plus an ember glow that follows the pointer */
.kh-dish::before,
.kh-dish::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
}

.kh-dish::before {
    background: linear-gradient(0deg, rgba(11, 10, 9, 0.94) 0%, rgba(11, 10, 9, 0.45) 38%, rgba(11, 10, 9, 0.05) 70%);
}

.kh-dish::after {
    background: radial-gradient(26rem circle at var(--gx, 50%) var(--gy, 50%), rgba(204, 32, 39, 0.4), rgba(204, 32, 39, 0) 60%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.kh-dish:hover::after {
    opacity: 1;
}

.kh-dish__badge {
    position: absolute;
    top: clamp(0.9rem, 2vw, 1.5rem);
    left: clamp(0.9rem, 2vw, 1.5rem);
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(246, 241, 234, 0.25);
    border-radius: 0;
    background: rgba(11, 10, 9, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: var(--kh-display);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kh-dish__go {
    position: absolute;
    top: clamp(0.9rem, 2vw, 1.5rem);
    right: clamp(0.9rem, 2vw, 1.5rem);
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0;
    background: var(--kh-white);
    color: var(--kh-black);
    opacity: 0;
    transform: translate3d(-0.75rem, 0.75rem, 0) scale(0.8);
    transition: opacity 0.4s ease, transform 0.6s var(--kh-ease);
}

.kh-dish:hover .kh-dish__go,
.kh-dish:focus-visible .kh-dish__go {
    opacity: 1;
    transform: none;
}

.kh-dish__body {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 2.4vw, 2rem);
}

.kh-dish__jp {
    display: block;
    font-family: var(--kh-jp);
    font-size: 0.82rem;
    letter-spacing: 0.3em;
    color: var(--kh-red);
}

.kh-dish__name {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--kh-display);
    font-size: clamp(1.5rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.kh-dish__price {
    font-family: var(--kh-display);
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.kh-dish__price small {
    font-size: 0.6em;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--kh-muted);
}

/* --------------------------------------------------------------------------
   Ambiance
   -------------------------------------------------------------------------- */
.kh-amb {
    overflow: hidden;
    padding-bottom: clamp(3rem, 7vw, 6rem);
    background: var(--kh-coal);
}

.kh-amb__strip {
    overflow-x: auto;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    scrollbar-width: none;
}

.kh-amb__strip::-webkit-scrollbar {
    display: none;
}

.kh-js .kh-amb__strip.is-live {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.kh-js .kh-amb__strip.is-dragging {
    cursor: grabbing;
}

.kh-amb__track {
    display: flex;
    gap: clamp(0.9rem, 1.6vw, 1.5rem);
    width: max-content;
    padding: 3.5rem var(--kh-gutter);
    will-change: transform;
}

.kh-amb__item {
    flex: none;
    width: clamp(12.5rem, 21vw, 20rem);
    aspect-ratio: 3 / 4;
}

.kh-amb__item:nth-child(even) {
    margin-top: 2.5rem;
    margin-bottom: -2.5rem;
}

.kh-amb__item img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    animation: kh-float 8s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -1.7s);
}

/* --------------------------------------------------------------------------
   Call to action
   -------------------------------------------------------------------------- */
.kh-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: min(46rem, 88vh);
    padding-block: clamp(5rem, 12vw, 9rem);
    text-align: center;
}

.kh-cta__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.kh-cta__media img {
    position: absolute;
    inset: -14% 0;
    width: 100%;
    height: 128%;
    max-width: none;
    object-fit: cover;
    transform: translate3d(0, var(--kh-shift, 0px), 0);
}

.kh-cta__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--kh-coal) 0%, rgba(19, 17, 16, 0) 30%),
        radial-gradient(ellipse at center, rgba(11, 10, 9, 0.6) 0%, rgba(11, 10, 9, 0.86) 100%);
}

.kh-cta__jp {
    margin: 0;
    font-family: var(--kh-jp);
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    letter-spacing: 0.4em;
    color: var(--kh-red);
}

.kh .kh-cta__title {
    margin-top: 1.25rem;
    font-size: clamp(2.6rem, 8.4vw, 7.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.kh-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* --------------------------------------------------------------------------
   Smaller screens
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    .kh-way__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kh-way__item {
        padding-bottom: 2.25rem;
    }

    .kh-way__item:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .kh-way__item:nth-child(n + 3) {
        border-top: 1px solid var(--kh-line);
    }

    .kh-hero__kanji {
        top: 36%;
        right: 0.5rem;
        opacity: 0.4;
    }
}

/* Touch screens have no pointer to follow, so the photo sits in the row */
@media (hover: none), (pointer: coarse), (max-width: 899px) {
    .kh-loc__link {
        grid-template-columns: 6rem minmax(0, 1fr) 2.5rem;
    }

    .kh-loc__num {
        display: none;
    }

    .kh-loc__thumb {
        display: block;
        grid-row: 1 / span 2;
    }

    .kh-loc__name {
        align-self: end;
    }

    .kh-loc__meta {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        justify-content: flex-start;
        font-size: 0.85rem;
    }

    .kh-loc__arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 2.5rem;
        height: 2.5rem;
    }

    .kh-loc__link {
        row-gap: 0.4rem;
    }
}

@media (max-width: 767px) {
    .kh-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .kh-hero__shade {
        background:
            linear-gradient(180deg, rgba(11, 10, 9, 0.8) 0%, rgba(11, 10, 9, 0) 22%),
            linear-gradient(0deg, var(--kh-black) 0%, rgba(11, 10, 9, 0.9) 38%, rgba(11, 10, 9, 0.45) 68%, rgba(11, 10, 9, 0.15) 100%);
    }

    .kh-hero__kanji {
        top: 27%;
        right: -1.25rem;
        font-size: clamp(9rem, 30vh, 15rem);
        opacity: 0.3;
    }

    .kh-hero__eyebrow {
        gap: 0.6rem;
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        white-space: nowrap;
    }

    .kh-hero__eyebrow::before {
        width: 1.25rem;
    }

    .kh-hero__kanji span {
        filter: none;
    }

    .kh-hero__tate {
        display: none;
    }

    .kh-hero__actions .kh-btn {
        flex: 1 1 auto;
    }

    .kh-way__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .kh-way__item,
    .kh-way__item:first-child {
        display: grid;
        grid-template-columns: 2.75rem minmax(0, 1fr);
        column-gap: 1.25rem;
        padding: 1.75rem 0;
        border-left: 0;
        border-top: 1px solid var(--kh-line);
    }

    .kh-way__item:first-child {
        border-top: 0;
    }

    .kh-way__num {
        grid-column: 2;
    }

    .kh-way__icon {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin: 0.15rem 0 0;
    }

    .kh-way__title {
        grid-column: 2;
        margin-top: 0.6rem !important;
    }

    .kh-way__text {
        grid-column: 2;
    }

    .kh-menu__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .kh-dish {
        aspect-ratio: 4 / 3;
    }

    .kh-dish__go {
        opacity: 1;
        transform: none;
        width: 2.5rem;
        height: 2.5rem;
    }

    .kh-loc__link {
        grid-template-columns: 4.75rem minmax(0, 1fr) 2.25rem;
        column-gap: 0.9rem;
    }

    .kh-loc__thumb {
        width: 4.75rem;
        height: 3.75rem;
    }

    .kh-loc__meta {
        font-size: 0.78rem;
    }

    .kh-loc__arrow {
        width: 2.25rem;
        height: 2.25rem;
    }

    .kh-amb__item {
        width: 62vw;
        max-width: 17rem;
    }

    .kh-cta__actions .kh-btn {
        flex: 1 1 100%;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion: everything is simply there, nothing moves
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .kh *,
    .kh *::before,
    .kh *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .kh-js [data-reveal],
    .kh-js [data-reveal] .kh-word > span,
    .kh-js .kh-hero__title .kh-word > span,
    .kh-js .kh-hero__logo,
    .kh-js .kh-hero__lede,
    .kh-js .kh-hero__jp {
        opacity: 1 !important;
        transform: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .kh-hero__kanji span {
        filter: none;
    }

    .kh-hero__embers,
    .kh-progress {
        display: none;
    }
}
