:root {
  --ink: #16130f;
  --muted: #6f675c;
  --paper: #f8f3ea;
  --panel: #fffaf2;
  --line: rgba(22, 19, 15, 0.14);
  --red: #b3261e;
  --gold: #b4813b;
  --green: #2f7d4f;
  --shadow: 0 18px 48px rgba(22, 19, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(22, 19, 15, 0.92);
  color: #fffaf2;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.24);
  background: var(--red);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 250, 242, 0.7);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 250, 242, 0.82);
  font-size: 14px;
}

.header-action,
.primary-link,
.secondary-link,
.text-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.header-action,
.primary-link,
.primary-button {
  background: var(--red);
  color: #fffaf2;
}

.secondary-link,
.secondary-button {
  background: rgba(255, 250, 242, 0.9);
  border-color: var(--line);
  color: var(--ink);
}

.text-link {
  color: #fffaf2;
  border-color: rgba(255, 250, 242, 0.28);
}

.compact {
  min-height: 36px;
}

.hero {
  min-height: min(760px, calc(100vh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: 28px;
  padding: clamp(72px, 12vh, 150px) clamp(18px, 6vw, 76px) clamp(30px, 8vh, 72px);
  background:
    linear-gradient(90deg, rgba(22, 19, 15, 0.82) 0%, rgba(22, 19, 15, 0.58) 34%, rgba(22, 19, 15, 0.08) 72%),
    var(--hero-image) center / cover no-repeat;
  color: #fffaf2;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 12vw, 152px);
  line-height: 0.88;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.45;
  font-weight: 800;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 8px;
  background: rgba(22, 19, 15, 0.7);
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel strong,
.hero-panel p {
  display: block;
}

.hero-panel strong {
  margin-top: 8px;
  font-size: 22px;
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 250, 242, 0.74);
  line-height: 1.6;
}

.section-pad {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 24px;
}

.quick-card,
.signature-card,
.detail-card,
.panel-form,
.cart-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quick-card,
.detail-card,
.panel-form,
.cart-panel {
  padding: clamp(20px, 4vw, 34px);
}

.quick-card h2,
.signature-card h2,
.section-heading h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.08;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.slot-picker {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.slot-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.slot-picker-head strong {
  font-size: 18px;
}

.slot-picker-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.slot-button {
  display: grid;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 9px 10px;
  text-align: left;
}

.slot-button strong,
.slot-button span {
  display: block;
}

.slot-button strong {
  font-size: 18px;
}

.slot-button span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.slot-button.limited span {
  color: var(--gold);
}

.slot-button.full,
.slot-button.closed,
.slot-button:disabled {
  background: rgba(22, 19, 15, 0.05);
  color: rgba(22, 19, 15, 0.42);
  cursor: not-allowed;
}

.slot-button.full span,
.slot-button.closed span,
.slot-button:disabled span {
  color: rgba(22, 19, 15, 0.42);
}

.slot-button.selected {
  border-color: var(--red);
  background: rgba(179, 38, 30, 0.08);
  box-shadow: inset 0 0 0 1px var(--red);
}

.signature-card {
  display: grid;
  overflow: hidden;
}

.signature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.signature-card > div {
  padding: 24px;
}

.signature-card p {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading a {
  color: var(--red);
  font-weight: 900;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dish-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}

.dish-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9dfd1;
}

.dish-card div {
  padding: 16px;
}

.dish-card small {
  display: block;
  color: var(--gold);
  font-weight: 900;
}

.dish-card h3 {
  min-height: 46px;
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.28;
}

.dish-card p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.dish-card strong {
  color: var(--red);
}

.store-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(36px, 7vw, 82px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fffaf2;
}

.store-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
}

.store-band p {
  color: rgba(255, 250, 242, 0.74);
}

.page-hero {
  padding: clamp(52px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fffaf2;
}

.page-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 250, 242, 0.74);
  font-size: 18px;
  line-height: 1.7;
}

.menu-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px) 90px;
}

.category-nav {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.category-nav a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  padding: 10px 12px;
  font-weight: 800;
}

.menu-category {
  scroll-margin-top: 110px;
  margin-bottom: 42px;
}

.menu-category h2 {
  font-size: 30px;
}

.form-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 18px 90px;
}

.detail-card {
  max-width: 860px;
  margin: 42px auto 90px;
}

dl {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  margin: 0 0 24px;
}

dt {
  color: var(--muted);
  font-weight: 900;
}

dd {
  margin: 0;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px) 90px;
}

.order-signature {
  margin-bottom: 20px;
  grid-template-columns: 42% 1fr;
}

.order-signature img {
  height: 100%;
}

.cart-panel {
  position: sticky;
  top: 88px;
  align-self: start;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.cart-line button {
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  padding-top: 12px;
  font-size: 20px;
  font-weight: 900;
}

.cart-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.customer-summary {
  display: grid;
  gap: 4px;
  margin: 14px 0 16px;
  border: 1px solid rgba(47, 125, 79, 0.28);
  border-radius: 8px;
  background: rgba(47, 125, 79, 0.08);
  padding: 14px;
}

.customer-summary span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.customer-summary strong {
  font-size: 18px;
}

.customer-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.customer-summary a {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.fine-print,
.form-message {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.error-text {
  color: var(--red);
  font-weight: 900;
}

.success-text {
  color: var(--green);
  font-weight: 900;
}

.admin-password-form {
  max-width: 620px;
}

.admin-password-form h2 {
  margin: 0;
}

.full-span {
  grid-column: 1 / -1;
}

.auth-page {
  max-width: 760px;
}

.auth-card {
  display: grid;
  gap: 14px;
}

.wide-auth-card {
  max-width: 860px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.auth-links a {
  color: var(--red);
  font-weight: 900;
}

.account-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
}

.account-card {
  display: grid;
  align-self: start;
  gap: 14px;
}

.account-card h2 {
  margin: 0;
}

.admin-hero {
  padding-bottom: clamp(36px, 5vw, 70px);
}

.admin-shell {
  display: grid;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px) 90px;
}

.admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.admin-account {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 900;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.admin-tabs a {
  min-width: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  padding: 10px 14px;
  text-align: center;
  font-weight: 900;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.admin-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  padding: 18px;
}

.admin-metrics span,
.admin-table small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: rgba(22, 19, 15, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.text-admin-link {
  color: var(--red);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.reset-table {
  min-width: 960px;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(180, 129, 59, 0.16);
  color: #6e491b;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
}

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

.admin-detail-card {
  max-width: none;
  margin: 0;
}

.inline-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.inline-form label {
  min-width: min(320px, 100%);
}

.order-admin-list {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.order-admin-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}

.order-admin-list em {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.plain-list {
  padding-left: 20px;
}

.prose {
  line-height: 1.8;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px) 84px;
  background: #0f0d0b;
  color: rgba(255, 250, 242, 0.76);
}

.site-footer strong {
  color: #fffaf2;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1100px) {
  .dish-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-layout,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .desktop-nav,
  .header-action {
    display: none;
  }

  .site-header {
    padding: 12px 16px;
  }

  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(22, 19, 15, 0.18) 0%, rgba(22, 19, 15, 0.88) 58%),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-actions,
  .store-actions,
  .store-band,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .form-grid,
  .dish-grid,
  .menu-shell,
  .site-footer,
  .order-signature,
  .account-page,
  .admin-detail-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-head,
  .admin-account {
    align-items: stretch;
    flex-direction: column;
  }

  .slot-picker-head {
    align-items: stretch;
    flex-direction: column;
  }

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

  .category-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 250, 242, 0.18);
    border-radius: 8px;
    background: rgba(22, 19, 15, 0.94);
    box-shadow: var(--shadow);
  }

  .mobile-cta a {
    display: grid;
    min-height: 48px;
    place-items: center;
    color: #fffaf2;
    font-weight: 900;
  }
}
