@font-face {
    font-family: "Noto Serif JP";
    src: url("NotoSerifJP-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --brown-red: #4F1711;
    --red: #D51820;
    --gold: #A8793C;
    --gold-light: #D7A964;
    --cream: #FCEDD7;
    --black: #000000;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    background: var(--black);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: var(--black);
    color: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
}

img { max-width: 100%; }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page {
    width: min(100%, 960px);
    margin-inline: auto;
    padding: clamp(28px, 5vh, 56px) 22px;
    text-align: center;
}

.home-page { transform: translateY(-40px); }

.badge {
    display: inline-block;
    margin-bottom: 34px;
    padding: 10px 30px;
    border: 2px double var(--gold);
    border-radius: 999px;
    color: var(--cream);
    font-size: clamp(19px, 2.5vw, 26px);
    font-style: italic;
    line-height: 1.05;
}

.brand {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(18px, 3vw, 36px);
    width: 100%;
    margin-inline: auto;
}

.word {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.word:first-child { justify-self: end; }
.word:last-child { justify-self: start; }

.word::before,
.word::after {
    content: "";
    display: block;
    width: 112%;
    height: 2px;
    background: var(--gold);
}

.word::before { margin-bottom: 8px; }
.word::after { margin-top: 8px; }

.brand-text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 7vw, 76px);
    font-weight: 400;
    letter-spacing: 1px;
    white-space: nowrap;
}

.bento { color: var(--cream); }
.kanoya { color: var(--red); }
.cream { color: var(--cream); }

.sakura {
    width: clamp(72px, 11vw, 130px);
    height: auto;
}

.japanese-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 18px);
    margin: 22px 0;
}

.kamon {
    width: clamp(48px, 7vw, 72px);
    height: auto;
}

.japanese {
    color: var(--cream);
    font-family: "Noto Serif JP", serif;
    font-size: clamp(38px, 7vw, 66px);
    font-weight: 600;
    line-height: 1;
}

.primary-nav,
.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 26px;
}

.primary-nav { margin: 0 0 32px; }
.buttons { margin-top: 18px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 9px 14px;
    border: 1px solid var(--gold);
    border-radius: 7px;
    background: var(--gold);
    color: var(--black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    background: var(--gold-light);
    border-color: var(--cream);
}

.separator {
    margin: 40px auto;
}

.intro {
    margin: 0;
    color: var(--cream);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.25;
}

.sub-intro {
    margin-top: 10px;
    color: var(--cream);
    font-size: clamp(26px, 4vw, 38px);
    opacity: .9;
}

.section { margin-top: clamp(34px, 5vh, 48px); }

h1 {
    margin: 0 0 10px;
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.1;
}

h2 {
    margin: 0 0 10px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.1;
}

h1 { font-size: clamp(36px, 6vw, 58px); }
h2 { font-size: clamp(30px, 5vw, 48px); }

p {
    margin: 0;
    font-size: clamp(23px, 3.5vw, 32px);
    line-height: 1.3;
}

.news-copy,
.location-card {
    text-align: left;
}

.schedule-highlight {
    color: var(--gold);
    font-weight: 700;
}

.event-note {
	font-size: 0.8em;
    font-style: italic;
}

.photo-slider {
    width: 100%;
    overflow: hidden;
    margin: 34px auto 0;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scrollPhotos 28s linear infinite;
}

.slider-track img {
    width: 280px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.content-card {
    margin: 28px auto;
    padding: clamp(22px, 4vw, 38px);
    border: 2px double var(--gold);
    border-radius: 12px;
    background: var(--brown-red);
}

.editable-text { color: var(--cream); }

.menu-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 4vw, 36px);
    margin-top: 30px;
}

.menu-gallery figure { margin: 0; }

.menu-zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--black);
    cursor: zoom-in;
}

.menu-zoom:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
}

.menu-zoom img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid var(--gold);
    border-radius: 8px;
}

.menu-gallery figcaption {
    margin-top: 10px;
    color: var(--cream);
    font-size: clamp(20px, 3vw, 28px);
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--black);
    cursor: zoom-out;
}

.lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    object-fit: contain;
    border: 2px solid var(--gold);
    border-radius: 8px;
    cursor: default;
}

.lightbox-close {
    position: fixed;
    z-index: 1001;
    top: 12px;
    right: 18px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: var(--brown-red);
    color: var(--cream);
    font: 700 36px/1 Georgia, "Times New Roman", serif;
    cursor: pointer;
}

.lightbox-close:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

body.lightbox-open {
    overflow: hidden;
}

.map-wrapper {
    overflow: hidden;
    margin-top: 28px;
    border: 2px solid var(--gold);
    border-radius: 10px;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 480px;
    border: 0;
}

.back-link { margin-top: 32px; }

@keyframes scrollPhotos {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .slider-track { animation: none; }
    .button { transition: none; }
}

@media (max-width: 700px) {
    .page { padding-inline: 16px; }
    .brand { gap: 14px; }
    .brand-text { font-size: clamp(34px, 11vw, 48px); }
    .word::before,
    .word::after { width: 108%; }
    .menu-gallery { grid-template-columns: 1fr; }
    .map-wrapper iframe { min-height: 380px; }
}
