:root {
  color-scheme: dark;
  --bg: #070605;
  --bg-2: #0d0a08;
  --panel: #15110d;
  --panel-2: #1c1611;
  --red: #b51e1e;
  --red-2: #d62828;
  --gold: #d7a74a;
  --gold-2: #f2a65a;
  --cream: #fff3e0;
  --muted: #a89683;
  --line: rgba(255, 243, 224, 0.14);
  --success: #2e9d57;
  --danger: #d83a3a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(181, 30, 30, 0.12), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(215, 167, 74, 0.1), transparent 32%),
    var(--bg);
  color: var(--cream);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(7, 6, 5, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(215, 167, 74, 0.5);
  background: #1d120c;
  color: #d62828;
  font-family: Georgia, serif;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.dish-card a:hover {
  color: var(--gold);
}

.auth-bar,
.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary,
.secondary,
.ghost,
.icon-btn {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary {
  background: var(--gold);
  color: #160d08;
  font-weight: 800;
}

.primary.red {
  background: var(--red-2);
  color: white;
}

.secondary {
  background: rgba(255, 243, 224, 0.06);
  border-color: var(--line);
  color: var(--cream);
}

.ghost,
.icon-btn {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}

.small {
  min-height: 36px;
  padding: 8px 12px;
}

button:disabled,
.disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.primary:not(:disabled):hover,
.secondary:not(:disabled):hover,
.ghost:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(215, 167, 74, 0.55);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: clamp(80px, 12vw, 140px) clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, 0.98), rgba(7, 6, 5, 0.82) 36%, rgba(7, 6, 5, 0.18)),
    linear-gradient(0deg, rgba(7, 6, 5, 0.98), transparent 42%),
    url("/assets/ramen-house-hero.png") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 20px;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #e9d6bd;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.quick-info {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 20px;
  left: clamp(18px, 5vw, 72px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.quick-info span,
.tag {
  border: 1px solid var(--line);
  background: rgba(21, 17, 13, 0.75);
  padding: 8px 10px;
  border-radius: 999px;
}

.perk-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #080604;
}

.perk-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 8px 22px;
  border-right: 1px solid var(--line);
}

.perk-strip article:last-child {
  border-right: 0;
}

.perk-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.perk-strip p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.line-icon {
  grid-row: span 2;
  color: var(--gold);
  font-size: 30px;
}

.section {
  padding: 82px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.section:nth-of-type(2n) {
  background:
    linear-gradient(180deg, rgba(7, 6, 5, 0.15), rgba(7, 6, 5, 0.5)),
    #100c09;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.dish-card,
.plan-card,
.subscription-card,
.menu-item,
.map-card,
.form,
.account-sidebar,
.mini-card {
  background: linear-gradient(180deg, rgba(28, 22, 17, 0.98), rgba(16, 12, 9, 0.98));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dish-card,
.plan-card,
.subscription-card,
.menu-item {
  padding: 18px;
}

.dish-card p,
.plan-card p,
.section p,
dd {
  color: var(--muted);
  line-height: 1.55;
}

.dish-art {
  height: 170px;
  margin: -2px -2px 18px;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 42%, #f3c073 0 18%, #9c2420 19% 30%, #25160f 31% 62%, #0a0705 63%);
  border: 1px solid var(--line);
}

.dish-art.sushi {
  background: radial-gradient(circle at 34% 48%, #fff3e0 0 13%, #d86f5c 14% 24%, transparent 25%),
    radial-gradient(circle at 63% 48%, #fff3e0 0 13%, #e08c79 14% 24%, transparent 25%), #19100c;
}

.dish-art.don {
  background: radial-gradient(circle at 50% 35%, #f2d99a 0 20%, #7b241c 21% 34%, #22140e 35% 64%, #0c0806 65%);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.tab.active {
  background: var(--gold);
  color: #160d08;
  border-color: var(--gold);
}

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

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.menu-item p {
  margin-bottom: 8px;
}

.price {
  color: var(--gold);
  font-weight: 900;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 12px;
  padding: 4px 8px;
}

.fine-print,
.status {
  margin-top: 14px;
  color: var(--muted);
}

.status.success {
  color: #79d89d;
}

.status.error {
  color: #ff8d8d;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 28px;
  align-items: center;
}

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

.info-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

dt {
  color: var(--gold);
  font-weight: 800;
}

dd {
  margin: 0;
}

.map-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(181, 30, 30, 0.12), transparent),
    repeating-linear-gradient(90deg, rgba(255, 243, 224, 0.05) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(0deg, rgba(255, 243, 224, 0.05) 0 1px, transparent 1px 70px),
    #100c09;
}

.map-card strong {
  font-size: 96px;
  color: var(--gold);
}

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

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b0806;
  color: var(--cream);
  padding: 11px 12px;
}

.wide {
  grid-column: 1 / -1;
}

.plan-card {
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.plan-card::before,
.subscription-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(215, 167, 74, 0.12), transparent 35%);
  opacity: 0.55;
}

.plan-price {
  font-size: 36px;
  color: var(--gold);
  font-weight: 900;
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: #dcc7ad;
  line-height: 1.8;
}

.subscription-view {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.subscription-card dl {
  display: grid;
  gap: 10px;
}

.subscription-card div {
  overflow-wrap: anywhere;
}

.subscription-card {
  position: relative;
  overflow: hidden;
}

.membership-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}

.membership-hero img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(215, 167, 74, 0.35);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.46);
}

.account-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
}

.account-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.account-sidebar > a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
}

.account-sidebar > a.active,
.account-sidebar > a:hover {
  color: var(--cream);
  background: rgba(181, 30, 30, 0.75);
}

.mini-card {
  margin-top: 16px;
  padding: 14px;
}

.mini-card p {
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #050403;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu {
    display: inline-grid;
    place-items: center;
  }

  .nav,
  .auth-bar {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
  }

  .site-header.open .nav,
  .site-header.open .auth-bar {
    display: flex;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 6, 5, 0.76), rgba(7, 6, 5, 0.98)),
      url("/assets/ramen-house-hero.png") center / cover;
  }

  .dish-grid,
  .plan-grid,
  .menu-list,
  .split,
  .subscription-view,
  .perk-strip,
  .membership-hero,
  .account-shell {
    grid-template-columns: 1fr;
  }

  .perk-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .account-sidebar {
    position: static;
  }

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

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }

  .hero {
    padding: 74px 16px 86px;
  }

  .section {
    padding: 58px 16px;
  }

  .hero-actions,
  .button-row,
  .auth-bar {
    align-items: stretch;
  }

  .hero-actions > *,
  .button-row > *,
  .auth-bar > * {
    flex: 1 1 100%;
    text-align: center;
  }

  h1 {
    font-size: 44px;
  }
}
