:root {
  --ink: #11110f;
  --ink-soft: #282723;
  --paper: #f6f1e8;
  --paper-2: #ebe3d6;
  --rice: #d8c7a7;
  --vermilion: #bd3529;
  --vermilion-dark: #8e241d;
  --jade: #86a58d;
  --line: rgba(17, 17, 15, 0.14);
  --line-light: rgba(246, 241, 232, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--paper);
  background: var(--vermilion);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--paper);
  background: var(--ink);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 9px;
  border: 1px solid rgba(246, 241, 232, 0.2);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(17, 17, 15, 0.58);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 8px;
  line-height: 1.05;
}

.wordmark span {
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.72rem;
}

.wordmark strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-actions {
  display: none;
}

.language-control {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.74rem;
}

.language-control select {
  min-width: 104px;
  height: 42px;
  padding: 0 28px 0 11px;
  border: 1px solid rgba(246, 241, 232, 0.24);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(246, 241, 232, 0.08);
  outline: none;
}

.language-control option {
  color: var(--ink);
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-media,
.hero-scrim,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-media {
  transform: translate3d(0, var(--hero-offset, 0), 0);
}

.hero-image {
  object-position: center center;
  transform: scale(1.04);
  filter: brightness(0.78) contrast(1.08) saturate(1.03);
  animation: heroBreath 16s var(--ease) infinite alternate;
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.52) 0%, rgba(17, 17, 15, 0.2) 38%, rgba(17, 17, 15, 0.9) 100%),
    radial-gradient(circle at 22% 58%, rgba(189, 53, 41, 0.22), transparent 32%),
    radial-gradient(circle at 78% 20%, rgba(134, 165, 141, 0.16), transparent 30%);
}

.hero-grain {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(246, 241, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 232, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 80%, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 124px 18px 34px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--rice);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--vermilion-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 0.94;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.16rem;
  font-weight: 500;
  line-height: 1.05;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-copy,
.section-copy p,
.section-heading p,
.reservation-copy p,
.social p {
  max-width: 680px;
  color: rgba(246, 241, 232, 0.82);
  font-size: 1rem;
}

.intro p,
.location p,
.status p {
  color: rgba(17, 17, 15, 0.72);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button,
.submit-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 220ms var(--ease),
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.button:hover,
.submit-button:hover {
  transform: translateY(-2px);
}

.button:active,
.submit-button:active {
  transform: translateY(0);
}

.button.primary,
.submit-button {
  color: var(--paper);
  background: var(--vermilion);
  box-shadow: 0 16px 34px rgba(142, 36, 29, 0.32);
}

.button.primary:hover,
.submit-button:hover {
  background: #d54234;
}

.button.secondary {
  border-color: rgba(246, 241, 232, 0.34);
  color: var(--paper);
  background: rgba(246, 241, 232, 0.08);
}

.button.secondary:hover {
  background: rgba(246, 241, 232, 0.16);
}

.button.ink {
  color: var(--paper);
  background: var(--ink);
}

.button.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(17, 17, 15, 0.03);
}

.button.ghost:hover {
  background: rgba(17, 17, 15, 0.08);
}

.hero-facts {
  display: grid;
  gap: 9px;
  margin: 34px 0 0;
}

.hero-facts div {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(246, 241, 232, 0.18);
  border-radius: 8px;
  background: rgba(17, 17, 15, 0.28);
  backdrop-filter: blur(14px);
}

dt {
  margin-bottom: 4px;
  color: rgba(246, 241, 232, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.section-band {
  scroll-margin-top: 104px;
  padding: 76px 0;
  background: var(--paper);
}

.section-band.dark-band {
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.96), rgba(17, 17, 15, 0.91)),
    var(--ink);
}

.section-shell {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
}

.intro-grid,
.location-grid,
.reservation-grid,
.social-grid {
  display: grid;
  gap: 30px;
}

.ambient-frame,
.social-image {
  position: relative;
  height: 360px;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 199, 167, 0.16), rgba(17, 17, 15, 0.88)),
    var(--ink);
  box-shadow: var(--shadow);
}

.ambient-frame img,
.social-image img,
.gallery-item img {
  filter: contrast(1.06) saturate(1.04);
  transform: scale(1.01);
  transition:
    transform 700ms var(--ease),
    filter 700ms var(--ease);
}

.gallery-item img.focus-nigiri {
  object-position: center 64%;
  transform: scale(2.05);
}

.gallery-item img.focus-nigiri-detail {
  object-position: center 66%;
  transform: scale(2.15);
}

.gallery-item img.focus-counter,
.social-image img.focus-counter {
  object-position: 68% 48%;
  transform: scale(2.2);
}

.ambient-frame:hover img,
.social-image:hover img,
.gallery-item:hover img {
  transform: scale(1.055);
  filter: contrast(1.1) saturate(1.08);
}

.gallery-item:hover img.focus-nigiri,
.gallery-item:hover img.focus-counter,
.social-image:hover img.focus-counter {
  transform: scale(2.28);
}

.gallery-item:hover img.focus-nigiri-detail {
  transform: scale(2.24);
}

.image-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(246, 241, 232, 0.22);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(17, 17, 15, 0.56);
  backdrop-filter: blur(12px);
  font-size: 0.74rem;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gallery-item {
  position: relative;
  height: 292px;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 199, 167, 0.12), rgba(17, 17, 15, 0.92)),
    rgba(246, 241, 232, 0.06);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.gallery-item.large {
  height: 360px;
  min-height: 380px;
}

.gallery-item.tall {
  height: 430px;
  min-height: 460px;
}

.location {
  background:
    linear-gradient(90deg, rgba(134, 165, 141, 0.12), transparent 38%),
    var(--paper);
}

.address {
  max-width: 620px;
  font-size: 1.08rem;
  font-weight: 700;
}

.info-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 20px 48px rgba(17, 17, 15, 0.08);
}

.info-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.info-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:first-child {
  padding-top: 0;
}

.info-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list dt {
  color: rgba(17, 17, 15, 0.54);
}

.info-list a {
  color: var(--vermilion-dark);
  font-weight: 700;
}

.reservation {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(189, 53, 41, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(134, 165, 141, 0.15), transparent 34%),
    #13120f;
}

.confirmation-card {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(246, 241, 232, 0.07);
}

.confirmation-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--rice);
}

.confirmation-card p {
  margin: 0;
}

.reservation-form {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(246, 241, 232, 0.18);
  border-radius: 8px;
  background: rgba(246, 241, 232, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.split-fields {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(246, 241, 232, 0.22);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(17, 17, 15, 0.32);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-row input {
  padding: 0 13px;
}

.form-row textarea {
  resize: vertical;
  padding: 12px 13px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(216, 199, 167, 0.82);
  background: rgba(17, 17, 15, 0.46);
  box-shadow: 0 0 0 4px rgba(216, 199, 167, 0.12);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(246, 241, 232, 0.48);
}

.form-note,
.form-feedback {
  margin: 0;
  color: rgba(246, 241, 232, 0.7);
  font-size: 0.88rem;
}

.form-feedback {
  min-height: 24px;
  color: #dce8d3;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  border: 0;
}

.status {
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.04), transparent 22%),
    var(--paper);
}

.status-grid {
  display: grid;
  gap: 26px;
}

.status-columns {
  display: grid;
  gap: 16px;
}

.status-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
}

.status-card.muted {
  background: rgba(17, 17, 15, 0.05);
}

.status-card h3 {
  color: var(--vermilion-dark);
}

.status-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(17, 17, 15, 0.74);
}

.status-card li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--jade);
  content: "";
}

.status-card.muted li::before {
  background: var(--vermilion);
}

.social-grid {
  align-items: center;
}

.social-image {
  height: 420px;
  min-height: 420px;
}

.site-footer {
  display: grid;
  gap: 5px;
  padding: 28px 18px 36px;
  color: rgba(246, 241, 232, 0.72);
  background: var(--ink);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroBreath {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(0, -10px, 0);
  }
}

@media (min-width: 680px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    left: 18px;
    right: 18px;
    padding: 10px 12px;
  }

  .wordmark strong {
    font-size: 1.08rem;
  }

  .nav-actions {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .nav-actions a {
    padding: 10px 12px;
    border-radius: 6px;
    color: rgba(246, 241, 232, 0.72);
    font-size: 0.86rem;
    transition:
      color 180ms ease,
      background 180ms ease;
  }

  .nav-actions a:hover {
    color: var(--paper);
    background: rgba(246, 241, 232, 0.1);
  }

  .hero-content {
    padding: 142px 26px 44px;
  }

  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
  }

  .section-band {
    padding: 104px 0;
  }

  .section-shell {
    width: min(100% - 52px, 1120px);
  }

  .intro-grid,
  .location-grid,
  .reservation-grid,
  .social-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 54px;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 120px;
  }

  .gallery-item {
    height: auto;
    min-height: 0;
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item.large {
    height: auto;
    min-height: 0;
    grid-column: span 4;
    grid-row: span 3;
  }

  .gallery-item.tall {
    height: auto;
    min-height: 0;
    grid-column: span 2;
    grid-row: span 4;
  }

  .split-fields,
  .status-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reservation-form,
  .status-card,
  .info-panel {
    padding: 28px;
  }
}

@media (min-width: 1020px) {
  .hero-content {
    padding-bottom: 56px;
  }

  h1 {
    font-size: 7.2rem;
  }

  .hero-copy {
    max-width: 650px;
  }

  .reservation-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.72fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
