:root {
  --bg: #050505;
  --panel: #101010;
  --paper: #f6f1e8;
  --paper-2: #fffaf2;
  --ink: #171311;
  --text: #f7f1e8;
  --muted: #bdb4a8;
  --paper-muted: #5e5650;
  --line: rgba(255, 255, 255, 0.18);
  --paper-line: rgba(24, 18, 13, 0.18);
  --input-bg: #0d0d0d;
  --list-bg: #070707;
  --header-bg: rgba(5, 5, 5, 0.92);
  --header-bg-solid: rgba(5, 5, 5, 0.99);
  --logo-line: rgba(255, 255, 255, 0.24);
  --button-line: rgba(255, 255, 255, 0.72);
  --button-text: #ffffff;
  --secondary-bg: rgba(255, 255, 255, 0.06);
  --red: #c40025;
  --blue: #347d89;
  --gold: #c4a257;
  --green: #5b9b72;
  --radius: 6px;
  --entry-overlay: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.42));
  --hero-overlay: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18));
  --hero-copy: #f7f1e8;
}

body {
  background: var(--bg);
}

.site-header {
  min-height: 72px;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.brand-text {
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  min-width: 112px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  gap: 1px;
  line-height: 1.28;
  padding: 8px 10px;
}

.site-nav a span {
  font-size: 12px;
  font-weight: 700;
}

.site-nav a small {
  color: var(--muted);
  font-size: 10px;
}

.nav-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle span {
  background: #fff;
}

.hybrid-entry .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

.hybrid-main .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

.entrance-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 110px 18px 116px;
}

.entrance-carousel,
.hero-carousel,
.entrance-carousel img,
.hero-carousel img,
.entrance-shade,
.threshold-stage {
  position: absolute;
  inset: 0;
}

.entrance-carousel img,
.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: entranceFade 24s infinite;
}

.entrance-carousel img:nth-child(1),
.hero-carousel img:nth-child(1) {
  animation-delay: 0s;
}

.entrance-carousel img:nth-child(2),
.hero-carousel img:nth-child(2) {
  animation-delay: 6s;
}

.entrance-carousel img:nth-child(3),
.hero-carousel img:nth-child(3) {
  animation-delay: 12s;
  object-position: 55% center;
}

.entrance-carousel img:nth-child(4),
.hero-carousel img:nth-child(4) {
  animation-delay: 18s;
}

.entrance-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.24) 42%, rgba(0, 0, 0, 0.84));
  z-index: 1;
  transition: opacity 1400ms ease;
}

.door-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.threshold-stage {
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.46) 78%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.05) 38%, rgba(0, 0, 0, 0.05) 62%, rgba(0, 0, 0, 0.46));
  opacity: 0.82;
  transition: opacity 1600ms ease;
}

.door-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 1px);
  background:
    linear-gradient(180deg, rgba(17, 12, 10, 0.78), rgba(0, 0, 0, 0.7)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 72px rgba(0, 0, 0, 0.55);
  transition: transform 1700ms cubic-bezier(0.72, 0, 0.16, 1), opacity 1500ms ease;
  will-change: transform, opacity;
}

.door-panel-left {
  left: 0;
  transform-origin: left center;
}

.door-panel-right {
  right: 0;
  transform-origin: right center;
}

.is-opening-door .door-panel-left {
  transform: perspective(1400px) translateX(-108%) rotateY(-8deg);
  opacity: 0.04;
}

.is-opening-door .door-panel-right {
  transform: perspective(1400px) translateX(108%) rotateY(8deg);
  opacity: 0.04;
}

.is-entering-threshold .entrance-carousel {
  animation: thresholdPhotoPush 1800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.is-entering-threshold .threshold-stage {
  animation: thresholdVignetteRelease 1800ms ease-out forwards;
}

@keyframes thresholdPhotoPush {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  100% {
    transform: scale(1.08);
    filter: brightness(1.03);
  }
}

@keyframes thresholdVignetteRelease {
  0% {
    opacity: 0.82;
  }
  100% {
    opacity: 0.08;
  }
}

.entrance-content {
  position: relative;
  z-index: 4;
  width: min(720px, 100%);
  text-align: center;
  color: #fff;
  transition: transform 720ms ease, opacity 620ms ease;
}

.is-entering-threshold .entrance-content {
  transform: translateY(-8px);
  opacity: 0;
}

.is-entering-threshold .entrance-shade {
  opacity: 0.22;
}

.entrance-kicker,
.kicker {
  color: var(--gold);
  letter-spacing: 0;
}

.entrance-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.entrance-content h1 {
  margin: 0 0 18px;
  font-size: 72px;
  line-height: 1.08;
}

.entrance-copy {
  color: var(--text);
  font-size: 18px;
}

.entrance-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.entrance-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 8;
  width: min(760px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 18px clamp(14px, 3vw, 36px);
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.96) 34%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.entrance-footer p {
  margin: 0;
}

.footer-name {
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-size: 18px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.entrance-footer-copy {
  max-width: 420px;
}

.entrance-footer-stack {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.footer-art {
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-size: 16px;
}

.hybrid-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 72px) 76px;
  overflow: hidden;
}

.hybrid-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel {
  z-index: 0;
  transform-origin: center center;
}

.hybrid-main .hero-carousel {
  opacity: 0;
}

.hybrid-main.is-hero-synced .hero-carousel {
  opacity: 1;
}

.hybrid-main.is-from-entrance .hero-carousel {
  transform: scale(var(--entry-hero-scale, 1.08));
}

.hybrid-hero::after {
  content: "";
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  border-top: 1px solid var(--red);
  padding-top: 28px;
  color: #fff;
}

.hybrid-hero h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.25;
}

.lead {
  color: var(--text);
  font-size: 18px;
}

.white-band,
.black-band {
  padding: 94px clamp(16px, 5vw, 72px);
}

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

.black-band {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.white-band > *,
.black-band > * {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.copy-block h2,
.dark-copy h2,
.drink-copy h2,
.reservation-panel h2 {
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.38;
}

.copy-block p,
.section-heading p,
.reservation-panel p,
.course-panel p,
.info-grid p,
.fine-print {
  color: var(--paper-muted);
}

.dark-copy p,
.drink-copy p,
.hybrid-footer,
.hybrid-footer p {
  color: var(--muted);
}

.split-layout,
.menu-layout,
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.split-layout-dark,
.access-layout {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.reverse-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
}

.image-frame img,
.wide-photo img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.image-frame img {
  aspect-ratio: 4 / 3;
}

.tall-frame img {
  aspect-ratio: 3 / 4;
}

.menu-photo img {
  height: 100%;
  min-height: 560px;
  object-position: center;
}

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

.course-panel,
.info-grid article,
.reservation-panel {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 26px;
}

.course-panel h3,
.info-grid h3 {
  color: var(--red);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.course-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.course-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--paper-line);
  padding-top: 8px;
}

.course-panel dt,
.course-panel dd {
  margin: 0;
}

.course-panel dd {
  white-space: nowrap;
}

.fine-print {
  margin: 18px auto 0;
  max-width: 1120px;
  font-size: 13px;
}

.drink-band {
  display: grid;
  gap: 34px;
}

.drink-copy {
  max-width: 760px;
  text-align: center;
}

.wide-photo img {
  aspect-ratio: 16 / 7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery-preview .section-heading p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 12px;
}

.gallery-strip figure {
  margin: 0;
}

.gallery-strip img {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  object-fit: cover;
}

.gallery-strip figure:nth-child(even) img {
  height: 250px;
  margin-top: 34px;
}

.gallery-preview-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.dark-copy address {
  color: var(--muted);
  font-style: normal;
}

.reservation-band {
  text-align: center;
}

.reservation-panel {
  max-width: 780px;
}

.light-secondary {
  border-color: var(--paper-line);
  color: var(--ink);
}

.hybrid-footer {
  width: auto;
  margin: 0;
  padding: 36px clamp(16px, 5vw, 72px) 48px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.hybrid-footer .footer-name {
  color: #fff;
}

.hybrid-footer a {
  color: #fff;
  text-decoration: none;
}

.primary-button,
.secondary-button {
  border-radius: var(--radius);
}

.primary-button {
  background: var(--red);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.06);
}

.hybrid-beverage-page {
  padding-bottom: 0;
}

.hybrid-beverage-page .beverage-hero {
  padding-top: 58px;
}

.hybrid-beverage-page .beverage-toolbar,
.hybrid-beverage-page .beverage-card {
  background: #101010;
}

.gallery-page {
  background: var(--bg);
  min-height: 100svh;
}

.gallery-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 38px;
  color: #fff;
}

.gallery-hero h1 {
  margin-bottom: 16px;
  font-size: 56px;
}

.gallery-hero .lead {
  max-width: 760px;
  color: var(--muted);
}

.gallery-masonry {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 82px;
  columns: 3 260px;
  column-gap: 14px;
}

.gallery-masonry button {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.gallery-masonry img {
  width: 100%;
  border-radius: var(--radius);
}

.gallery-masonry span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  padding: 3px 10px;
  font-size: 12px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.gallery-lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
}

.lightbox-panel {
  position: relative;
  width: min(960px, calc(100% - 32px));
  margin: 24px auto;
  color: #fff;
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(100svh - 108px);
  border-radius: var(--radius);
  object-fit: contain;
  background: #050505;
}

.lightbox-panel figcaption {
  margin-top: 8px;
  color: var(--muted);
}

.staff-page {
  background: var(--bg);
  color: var(--text);
}

.staff-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.staff-side {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-right: 1px solid var(--line);
  background: #050505;
  padding: 34px;
}

.staff-side h1 {
  font-size: 42px;
}

.staff-side p {
  color: var(--muted);
}

.staff-workspace {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.staff-login,
.staff-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.staff-login {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.staff-login span {
  color: var(--muted);
}

.staff-card {
  padding: 24px;
}

.staff-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.staff-card-heading h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.staff-form {
  display: grid;
  gap: 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-row input {
  width: auto;
}

.event-preview {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070707;
  padding: 18px;
}

.event-preview span,
.staff-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #fff;
  padding: 2px 10px;
  font-size: 12px;
}

.event-preview h3 {
  margin-top: 12px;
  color: var(--gold);
}

.upload-zone {
  min-height: 180px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: #070707;
  padding: 24px;
  text-align: center;
}

.upload-zone input {
  width: min(320px, 100%);
}

.upload-zone strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.upload-zone span {
  color: var(--muted);
}

.upload-steps {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 24px;
  color: var(--muted);
}

.upload-steps li.is-current {
  color: var(--gold);
}

.upload-steps li.is-complete {
  color: var(--green);
}

@keyframes entranceFade {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  8%,
  28% {
    opacity: 1;
  }

  36%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .entrance-carousel img,
  .hero-carousel img {
    animation: none;
  }

  .entrance-carousel img:first-child,
  .hero-carousel img:first-child {
    opacity: 1;
  }

  .entrance-shade,
  .threshold-stage {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .site-nav a {
    min-width: 96px;
    padding: 7px 8px;
  }
}

@media (max-width: 980px) {
  .site-nav {
    background: var(--header-bg-solid);
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .nav-toggle span {
    width: 20px;
    margin: 0;
  }

  .site-nav a {
    min-width: 0;
    text-align: left;
  }

  .split-layout,
  .split-layout-dark,
  .reverse-layout,
  .menu-layout,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .split-layout-dark .image-frame,
  .access-layout .image-frame {
    order: -1;
  }

  .menu-photo img {
    min-height: 360px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-strip img,
  .gallery-strip figure:nth-child(even) img {
    height: 220px;
    margin-top: 0;
  }

  .staff-shell {
    grid-template-columns: 1fr;
  }

  .staff-side {
    position: static;
    height: auto;
  }

  .hybrid-footer,
  .entrance-footer {
    display: grid;
    justify-content: stretch;
  }

  .footer-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .brand-text {
    font-size: 17px;
  }

  .entrance-page {
    padding: 96px 16px 158px;
  }

  .entrance-content h1 {
    font-size: 42px;
  }

  .entrance-copy,
  .lead {
    font-size: 16px;
  }

  .hybrid-hero {
    min-height: 100svh;
    padding: 112px 16px 58px;
  }

  .hybrid-hero h1 {
    font-size: 34px;
  }

  .white-band,
  .black-band {
    padding: 68px 16px;
  }

  .section-heading h2,
  .copy-block h2,
  .dark-copy h2,
  .drink-copy h2,
  .reservation-panel h2 {
    font-size: 28px;
  }

  .course-panel,
  .info-grid article,
  .reservation-panel {
    padding: 20px;
  }

  .course-panel dl div {
    display: grid;
    gap: 2px;
  }

  .course-panel dd {
    white-space: normal;
  }

  .wide-photo img {
    aspect-ratio: 4 / 3;
  }

  .menu-photo img {
    min-height: 260px;
  }

  .entrance-footer {
    width: 100%;
    padding: 12px 14px;
  }

  .entrance-footer-copy {
    display: none;
  }

  .footer-art {
    font-size: 14px;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip img,
  .gallery-strip figure:nth-child(even) img {
    height: 240px;
  }

  .staff-workspace,
  .staff-side {
    padding: 18px;
  }

  .staff-card-heading,
  .staff-login {
    display: grid;
  }
}
