:root {
  --soy: #6b2f0a;
  --soy-dark: #351506;
  --terracotta: #bd5b2b;
  --gold: #d9a441;
  --cream: #fbf3e5;
  --paper: #fffaf1;
  --sand: #ead6b6;
  --ink: #583520;
  --shadow: 0 18px 45px rgb(53 21 6 / 16%);
  --radius: 24px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

button, a { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--soy);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(180px, 255px) 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 12px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgb(107 47 10 / 12%);
  background: rgb(251 243 229 / 94%);
  backdrop-filter: blur(14px);
}

.brand img { width: 240px; }
.tabs { display: flex; justify-content: center; gap: 8px; }

.tab {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: transparent;
  color: var(--soy);
  font-weight: 750;
  cursor: pointer;
}

.tab:hover, .tab:focus-visible {
  background: rgb(217 164 65 / 16%);
  outline: none;
}

.tab.is-active { background: var(--soy); color: var(--paper); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  background: var(--soy);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgb(107 47 10 / 18%);
}

.button:hover, .button:focus-visible {
  background: #7d3a0d;
  transform: translateY(-1px);
}

.button-small { padding: 11px 20px; }
.tab-panel[hidden] { display: none; }

.home-intro {
  position: relative;
  min-height: 320px;
  display: grid;
  align-content: center;
  padding: 55px max(24px, calc((100vw - 1160px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgb(217 164 65 / 25%) 0 120px, transparent 121px),
    radial-gradient(circle at 6% 35%, rgb(184 93 47 / 12%) 0 85px, transparent 86px),
    var(--cream);
}

.home-intro::after {
  content: "";
  position: absolute;
  top: 25px;
  right: max(40px, calc((100vw - 1160px) / 2));
  width: min(48vw, 570px);
  height: 260px;
  background: url("assets/adobox-wordmark.svg") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.home-intro h1, .page-heading h1, .story-copy h1 {
  margin: 0;
  color: var(--soy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.home-intro > p:last-child {
  margin: 20px 0 0;
  font-size: clamp(18px, 2.5vw, 24px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-light { color: #f0c96d; }

.section-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 27px max(24px, calc((100vw - 1160px) / 2));
  background: var(--soy);
  color: var(--paper);
}

.section-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-band span { color: var(--gold); font-weight: 850; letter-spacing: 0.16em; }

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  grid-template-rows: repeat(2, 235px);
  gap: 22px;
  padding-block: 44px 32px;
}

.photo-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soy);
  box-shadow: var(--shadow);
}

.photo-card-main { grid-row: 1 / span 2; }

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo-card:hover img { transform: scale(1.035); }

.photo-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 24px 20px;
  color: var(--paper);
  background: linear-gradient(transparent, rgb(53 21 6 / 94%));
}

.photo-caption h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  text-transform: uppercase;
}

.photo-caption p { margin: 4px 0 0; color: #f4dfc5; }

.rice-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
  padding: 22px 28px;
  border-radius: 20px;
  background: var(--sand);
}

.rice-banner strong {
  display: block;
  color: var(--soy);
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.1;
  text-transform: uppercase;
}

.rice-banner p { margin: 7px 0 0; }

.rice-icon, .large-rice-icon {
  position: relative;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--paper);
}

.rice-icon::before, .large-rice-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 14px;
  height: 23px;
  border-radius: 3px 3px 18px 18px;
  background: var(--gold);
}

.rice-icon::after, .large-rice-icon::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 18px;
  width: 26px;
  height: 12px;
  border: 4px solid var(--soy);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.order-section { color: var(--paper); background: var(--terracotta); }

.order-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.45fr 150px;
  align-items: center;
  gap: 40px;
  min-height: 300px;
  padding-block: 55px;
}

.order-inner h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  text-transform: uppercase;
}

.order-details { display: grid; gap: 18px; }

.order-details div {
  padding-bottom: 13px;
  border-bottom: 1px solid rgb(255 250 241 / 28%);
}

.order-details span {
  display: block;
  color: #f0c96d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.order-details strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(18px, 2vw, 26px);
}

.qr-placeholder {
  position: relative;
  width: 140px;
  height: 140px;
  border: 11px solid var(--paper);
  border-radius: 14px;
  background: var(--paper);
  color: var(--soy);
}

.qr-placeholder span {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 8px solid var(--soy);
}

.qr-placeholder span:nth-child(1) { top: 0; left: 0; }
.qr-placeholder span:nth-child(2) { top: 0; right: 0; }
.qr-placeholder span:nth-child(3) { bottom: 0; left: 0; }

.qr-placeholder b {
  position: absolute;
  inset: 44px 0 auto;
  text-align: center;
  font-size: 22px;
}

.qr-placeholder small {
  position: absolute;
  right: 0;
  bottom: -39px;
  left: 0;
  color: var(--paper);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.page-heading {
  padding-block: 90px 54px;
  text-align: center;
}

.page-heading h1 {
  max-width: 820px;
  margin-inline: auto;
}

.page-heading > p:last-child {
  max-width: 760px;
  margin: 28px auto 0;
  font-size: 20px;
}

.menu-list { display: grid; gap: 30px; padding-bottom: 25px; }

.menu-item {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 42px;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgb(107 47 10 / 10%);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgb(53 21 6 / 9%);
}

.menu-item > img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.menu-item > div:last-child { padding: 30px 42px 30px 0; }

.menu-item h2, .story-values h2, .why-section h2 {
  margin: 4px 0 9px;
  color: var(--soy);
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.1;
}

.menu-item p { margin: 0; font-size: 18px; }

.dish-role {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.rice-item { grid-template-columns: 330px 1fr; background: var(--sand); }

.large-rice-icon {
  justify-self: center;
  width: 150px;
  height: 150px;
}

.large-rice-icon::before {
  left: 34px;
  right: 34px;
  bottom: 28px;
  height: 62px;
  border-radius: 5px 5px 40px 40px;
}

.large-rice-icon::after {
  top: 25px;
  left: 43px;
  width: 64px;
  height: 34px;
  border-width: 8px;
}

.center-action { padding-block: 28px 90px; text-align: center; }

.story-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 72px;
  padding-block: 90px 70px;
}

.story-copy h1 { font-size: clamp(52px, 6vw, 76px); }
.story-copy em { color: var(--terracotta); font-weight: 400; }
.story-copy .lede { margin: 30px 0 0; font-size: 20px; }

.story-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 50% 50% 24px 24px;
  box-shadow: var(--shadow);
}

.story-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 80px;
}

.story-values article {
  padding: 30px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgb(53 21 6 / 9%);
}

.story-values span { color: var(--gold); font-size: 36px; font-weight: 900; }
.story-values h2 { font-size: 25px; }
.story-values p { margin-bottom: 0; }

.why-section {
  padding: 80px 0;
  background: var(--soy);
  color: #f1dac0;
  text-align: center;
}

.why-section h2 { color: var(--paper); }

.why-section p:last-child {
  max-width: 820px;
  margin: 20px auto 0;
  font-size: 19px;
}

.site-footer {
  padding: 26px 0;
  background: var(--soy-dark);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 82px auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-inner img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--paper);
}

.footer-inner strong, .footer-inner span { display: block; }
.footer-inner strong { font-size: 24px; letter-spacing: 0.06em; }
.footer-inner span { color: #eecfae; }

.footer-inner p {
  justify-self: end;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer-inner i::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 7px 3px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 190px 1fr; gap: 10px; }
  .header-order { display: none; }
  .tabs { justify-content: flex-end; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 210px; }
  .photo-card-main { grid-column: 1 / -1; grid-row: auto; }
  .order-inner { grid-template-columns: 1fr 1.2fr; }
  .qr-placeholder { display: none; }
  .menu-item, .rice-item { grid-template-columns: 260px 1fr; }
  .story-hero { gap: 40px; }
  .story-values { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 72px 1fr; }
  .footer-inner p { display: none; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1160px); }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 13px 14px 10px;
  }

  .brand img { width: 190px; }
  .tabs { width: 100%; justify-content: center; }
  .tab { flex: 1; padding: 9px 11px; }
  .home-intro { min-height: 310px; }
  .home-intro::after { right: -90px; width: 390px; }
  .section-band { align-items: flex-start; flex-direction: column; gap: 4px; }

  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 340px 235px 235px;
  }

  .photo-card-main { grid-column: auto; }
  .rice-banner { align-items: flex-start; }
  .order-inner { grid-template-columns: 1fr; gap: 28px; }
  .menu-item, .rice-item { grid-template-columns: 1fr; }
  .menu-item > img { height: 250px; }
  .menu-item > div:last-child { padding: 0 26px 28px; }
  .large-rice-icon { margin: 35px auto 10px; }
  .story-hero { grid-template-columns: 1fr; padding-top: 62px; }
  .story-hero img { aspect-ratio: 4 / 3; border-radius: 24px; }
  .page-heading { padding-top: 62px; }
  .footer-inner { grid-template-columns: 64px 1fr; }
  .footer-inner img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
