:root {
  --washi: #F7F4EE;
  --washi-deep: #EBE5D8;
  --ink: #211E1A;
  --muted: #6B645B;
  --matcha: #6E7F63;
  --matcha-deep: #4A5741;
  --warm: #B8753F;
  --line: #E2DCD2;
  --paper: #FFFDF9;
  --radius: 2px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--washi);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

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

a { color: var(--matcha-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .005em;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--matcha-deep);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.small { font-size: 13px; }
.muted { color: var(--muted); }

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--matcha-deep);
}
.eyebrow.light { color: #C9D4C0; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--ink);
  color: var(--washi);
  padding: 8px 12px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 10px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, .96);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.brand-mark {
  width: 42px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: .04em;
}

.brand small {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.header-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.open-status .dot,
.hours-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  flex: 0 0 auto;
}

.open-status.is-open .dot,
.hours-status.is-open .dot { background: var(--matcha); }
.open-status.is-closed .dot,
.hours-status.is-closed .dot { background: var(--warm); }

.site-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}
.site-cta:hover { background: var(--ink); color: var(--washi); }

/* Hero */
.hero {
  padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .78fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(47px, 6.2vw, 80px);
  max-width: 10.5ch;
  margin: 0 0 22px;
}

.hero-text .lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-footnote {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 42ch;
}

.hero-media {
  position: relative;
  padding: 0 22px 24px 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 34px;
  right: 0;
  bottom: 0;
  background: var(--washi-deep);
  border: 1px solid var(--line);
}

.hero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-status {
  position: absolute;
  z-index: 2;
  left: -30px;
  bottom: 54px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 250px;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--washi-deep);
}

.hero-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex: 0 0 auto;
  background: var(--matcha);
}
.hero-status.is-closed .dot { background: var(--warm); }

.hero-status strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.hero-status div span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

/* Sections */
.section {
  padding: clamp(56px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  margin: 0 0 24px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 { margin: 0; }

.text-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }

/* Promo */
.promo-line {
  background: var(--matcha-deep);
  color: var(--washi);
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
}
.promo-line p { margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 6vw, 84px);
}

.about-grid h2 { margin: 0; }

.about-copy .intro {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 62ch;
}

.about-copy .muted {
  margin: 0;
  font-size: 16px;
  max-width: 58ch;
}

/* Menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.category-card {
  padding: 26px;
  background: var(--paper);
  border-radius: var(--radius);
}

.category-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.category-index {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
}

.category-card h3 {
  font-size: 22px;
  margin: 0;
}

.item-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.item-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.item-list li:first-child { border-top: 0; }
.item-list .price { color: var(--muted); white-space: nowrap; }

.card-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.card-link:hover { color: var(--ink); }

/* Menu explorer */
.section-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.menu-explorer {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "detail browser";
  border: 1px solid var(--line);
  background: var(--paper);
}

.menu-detail {
  grid-area: detail;
  align-self: start;
  padding: clamp(18px, 2.5vw, 28px);
  border-right: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.menu-detail-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-detail-photo {
  margin: 0;
}

.menu-detail-photo img,
.menu-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}

.menu-detail-photo img {
  object-fit: cover;
}

.menu-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--washi);
  color: var(--muted);
}

.menu-placeholder-initial {
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 110px);
  line-height: 1;
  color: var(--matcha-deep);
}

.menu-placeholder-note {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.menu-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-detail-category {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--matcha-deep);
}

.menu-detail-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-detail-title h3 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 38px);
}

.menu-detail-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.menu-detail-price {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.menu-detail-meta,
.menu-addon-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.menu-taste {
  display: grid;
  gap: 7px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.taste-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.taste-scale {
  display: inline-flex;
  gap: 4px;
}

.taste-scale i {
  display: block;
  width: 18px;
  height: 4px;
  background: var(--line);
}

.taste-scale i.on {
  background: var(--matcha);
}

.menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-tags li {
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.menu-order {
  align-self: flex-start;
}

.menu-soldout {
  margin: 0;
  font-size: 13px;
  color: var(--warm);
}

.menu-browser {
  grid-area: browser;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.menu-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(14px, 2vw, 24px);
  scrollbar-width: thin;
}

.menu-tab {
  flex: 0 0 auto;
  padding: 16px 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.menu-tab:hover,
.menu-tab.is-active {
  color: var(--ink);
}

.menu-tab.is-active {
  border-bottom-color: var(--ink);
}

.menu-pane {
  padding: clamp(14px, 2vw, 24px);
}

.menu-choice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-choice-list li {
  border-bottom: 1px solid var(--line);
}

.menu-choice-list li:last-child {
  border-bottom: 0;
}

.menu-choice {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 4px;
  color: var(--ink);
  text-decoration: none;
}

.menu-choice:hover {
  background: var(--washi);
}

.menu-choice.is-active {
  padding-left: 12px;
  background: var(--washi);
  box-shadow: inset 3px 0 0 var(--matcha);
}

.menu-choice-name {
  font-size: 15px;
}

.menu-choice-price {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.menu-choice .badge-habis {
  margin-left: 6px;
}

.menu-empty {
  padding: 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

/* Recommendation strip */
.recommend-strip {
  background: var(--matcha-deep);
  color: var(--washi);
  text-align: center;
}

.recommend-strip .wrap { max-width: 820px; }

.recommend-quote {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28;
  color: var(--washi);
}

/* Order methods */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}

.method-card {
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.method-card:last-child { border-right: 0; }

.method-number {
  display: block;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--matcha);
}

.method-card h3 {
  font-size: 23px;
  margin: 0 0 10px;
}

.method-card p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14px;
}

.method-card .actions { margin-bottom: 0; }

/* Location & hours */
.location-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.location-map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(.9) contrast(.97);
}

.location-info h2 { margin: 0 0 14px; }

.location-info address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 10px;
}

.location-info p { margin: 0 0 10px; }

.hours-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 10px;
}

.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.hours-table td:first-child { color: var(--muted); width: 38%; }
.hours-table tr.is-today td {
  font-weight: 700;
  color: var(--ink);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--washi-deep);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rak Otabi */
.product-teaser { background: var(--washi); }

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--washi-deep);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  color: var(--matcha-deep);
  text-align: center;
}

.product-placeholder span {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.product-placeholder small {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
  min-width: 0;
}

.product-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
}

.product-stock {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--matcha-deep);
}

.product-stock.is-preorder { color: var(--warm); }
.product-stock.is-soldout { color: var(--muted); }

.product-price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
}

.product-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--matcha-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.product-cta::after {
  content: "→";
  transition: transform .18s ease;
}

.product-cta:hover::after { transform: translateX(3px); }

.product-cta.is-disabled {
  color: var(--muted);
  cursor: default;
}

.product-cta.is-disabled::after { content: ""; }

.product-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-maintenance {
  max-width: 620px;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.product-maintenance h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 36px); }
.product-maintenance p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 820px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .product-grid { gap: 12px; }
  .product-body { padding: 12px; }
  .product-card h3 { font-size: 17px; }
  .product-card p { font-size: 13px; }
  .product-price { font-size: 13px; }
  .product-placeholder span { font-size: 36px; }
}

/* Page head (menu, acara, 404) */
.page-head {
  padding: clamp(56px, 7vw, 92px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(44px, 6vw, 74px);
  margin: 0 0 12px;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.download-line {
  margin-top: 18px;
  font-size: 13px;
}

.page-body,
.menu-body {
  padding: clamp(36px, 5vw, 64px) 0;
}

.narrow { max-width: 740px; }

/* Menu page */
.menu-section {
  padding-bottom: clamp(32px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.menu-section:last-child { border-bottom: 0; margin-bottom: 0; }

.menu-section h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 4px;
}

.section-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.menu-item:first-child { border-top: 0; }

.menu-item-media {
  flex: 0 0 64px;
  margin: 2px 0 0;
}

.menu-item-media img {
  width: 64px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.menu-item-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.page-addon-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.menu-item h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.menu-item .desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 60ch;
}

.menu-item .price {
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
}

.badge-habis {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  background: var(--warm);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.addon-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Legal pages */
.legal-hero {
  padding: clamp(56px, 7vw, 92px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(44px, 6vw, 74px);
  margin: 0 0 16px;
}

.legal-hero .lead {
  margin: 0;
  max-width: 64ch;
  font-size: 19px;
  color: var(--muted);
}

.legal-updated {
  margin: 20px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-page {
  padding: clamp(40px, 6vw, 76px) 0 clamp(56px, 7vw, 92px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.legal-toc-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--matcha-deep);
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-toc li {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
}

.legal-toc a {
  color: var(--muted);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.legal-content {
  max-width: 72ch;
}

.legal-section {
  padding: 0 0 28px;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.legal-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 14px;
}

.legal-section p {
  margin: 0 0 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section strong {
  color: var(--ink);
}

.legal-contact {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.legal-contact p {
  margin: 0 0 10px;
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-back {
  margin: 28px 0 0;
  font-size: 13px;
}

/* Forms */
.notice {
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
}

.notice.error {
  border-color: #C98B78;
  background: #FBF0EC;
  color: #6E2F20;
}

.public-form {
  padding: clamp(20px, 4vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--matcha);
  outline-offset: 1px;
  border-color: var(--matcha);
}

.field .hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand-col {
  max-width: 430px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 100px;
  height: auto;
}

.footer-address {
  margin: 8px 0;
  max-width: 52ch;
  white-space: pre-wrap;
}

.footer-meta {
  text-align: right;
}

.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.footer-legal {
  margin: 6px 0 8px;
  font-size: 13px;
}

.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--ink); }
.footer-legal span { margin: 0 4px; color: var(--line); }

.footer-copy {
  margin: 0;
  font-size: 13px;
}

/* Buttons */
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--washi);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover {
  background: var(--matcha-deep);
  border-color: var(--matcha-deep);
  color: var(--washi);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--washi);
}

.button.light {
  background: var(--washi);
  border-color: var(--washi);
  color: var(--ink);
}
.button.light:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--washi);
}

.button.small {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-text h1 { max-width: 12ch; }
  .hero-media {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-status { left: -16px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .site-header .wrap {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 4px;
  }
  .header-side { margin-left: auto; }
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .method-grid { grid-template-columns: 1fr; }
  .method-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .method-card:last-child { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .legal-toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--paper);
  }
  .legal-toc ol {
    columns: 2;
    column-gap: 24px;
  }
  .legal-toc li {
    break-inside: avoid;
  }
  .menu-explorer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "browser"
      "detail";
  }
  .menu-detail {
    border-right: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 40px; }
  .hero-text h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-text .lead { font-size: 18px; }
  .hero-media { padding: 0 12px 18px 0; }
  .hero-media::before { top: 18px; left: 20px; }
  .hero-status {
    left: 8px;
    bottom: 34px;
    max-width: 220px;
    padding: 10px 12px;
    box-shadow: 4px 4px 0 var(--washi-deep);
  }
  .hero-caption { font-size: 9px; }
  .open-status { display: none; }
  .site-cta { min-height: 34px; }
  .brand-mark { width: 36px; height: 38px; }
  .brand-text { font-size: 24px; }
  .footer-meta { text-align: left; }
  .menu-item {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .menu-item-media { flex: 0 0 52px; }
  .menu-item-media img { width: 52px; }
  .menu-item-copy { flex: 1 1 auto; }
  .menu-item .price {
    flex: 1 0 100%;
    font-size: 13px;
  }
  .menu-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 44px; }
  .site-footer .wrap { flex-direction: column; }
  .legal-toc ol { columns: 1; }
  .legal-hero h1 { font-size: 44px; }
  .legal-section h2 { font-size: 26px; }
  .legal-contact { padding: 20px; }
  .menu-tabs { padding: 0 12px; }
  .menu-tab { padding: 14px 10px; font-size: 10px; }
  .menu-detail { padding: 14px; }
  .menu-pane { padding: 12px; }
}

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