/* Kiyo Sushi — Concept C: Bento Grid Swiss */
:root {
  --paper: #F2EFEA;
  --red: #A60606;
  --ink: #1A1715;
  --wood: #C9A97C;
  --white: #FFFFFF;
  --rim: 3px;
  --pad: 40px;
  --sans: "Archivo", "Helvetica Neue", sans-serif;
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/26px var(--sans);
  padding: 24px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Type ---------- */
.label {
  font: 600 12px/16px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.display {
  font-weight: 800;
  font-size: clamp(52px, 6.7vw, 96px);
  line-height: .96;
  letter-spacing: -.02em;
}
.h2 {
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.lede { max-width: 34em; }
.mincho { font-family: var(--mincho); font-weight: 600; line-height: 1; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- The tray: frame + bento grids ---------- */
.frame {
  max-width: 1392px;
  margin: 0 auto;
  border: var(--rim) solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);           /* shows through as the rim between compartments */
  display: grid;
  gap: var(--rim);
}
main { display: grid; gap: var(--rim); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--rim);
}
.cell {
  background: var(--paper);
  padding: var(--pad);
  min-width: 0;
}
.cell--red { background: var(--red); color: var(--white); }
.cell--wood {
  background: var(--wood);
  display: grid;
  place-items: center;
}
.cell--wood img {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.04);
}
.tag {
  font: 600 12px/16px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 16px/1 var(--sans);
  text-decoration: none;
  padding: 20px 26px;
  border: var(--rim) solid var(--ink);
  transition: background-color .2s, color .2s;
}
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }
.btn--line:hover, .btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.textlink {
  font: 700 16px/1.2 var(--sans);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
  align-self: start;
}
.textlink:hover { color: var(--red); }

/* red fill sweep */
.sweep {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size .35s cubic-bezier(.6,0,.2,1), color .2s;
}
.sweep:hover, .sweep:focus-visible { background-size: 100% 100%; color: var(--white); }
.sweep--ink { background-image: linear-gradient(var(--ink), var(--ink)); }

/* ---------- Header ---------- */
.head { align-items: stretch; }
.head .cell { padding-top: 22px; padding-bottom: 22px; }
.head__logo {
  grid-column: span 3;
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
}
.head__logo img { width: 58px; height: auto; }
.head__name { font: 800 20px/1 var(--sans); letter-spacing: -.01em; }
.head__name small { display: block; margin-top: 6px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.head__nav { grid-column: span 6; display: flex; align-items: center; }
.head__nav ul { display: flex; gap: 40px; }
.head__nav a {
  text-decoration: none; font: 600 17px/1 var(--sans);
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.head__nav a span { font-size: 11px; letter-spacing: .1em; color: var(--red); font-variant-numeric: tabular-nums; }
.head__nav a:hover { border-color: var(--ink); }
.head__order {
  grid-column: span 3;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  text-decoration: none;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size .35s cubic-bezier(.6,0,.2,1);
}
.head__order:hover { background-size: 100% 100%; }
.head__order-cta { font: 800 24px/1 var(--sans); letter-spacing: -.01em; }
.head__burger { display: none; }

/* ---------- 01 Hero ---------- */
.hero__main {
  grid-column: 1 / 9; grid-row: 1 / 3;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding-top: 48px; padding-bottom: 48px;
}
.hero__main .display { max-width: 9.2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__pickup {
  grid-column: 9 / 13; grid-row: 1;
  display: flex; flex-direction: column; gap: 14px;
}
.board {
  font: 700 96px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  display: flex; align-items: flex-start; gap: 8px;
  white-space: nowrap;
}
.board.is-fallback { font-size: 56px; letter-spacing: -.02em; }
.board__ampm { font-size: 22px; letter-spacing: .06em; margin-top: 10px; }
.hero__pickup-note { max-width: 18em; font-size: 15px; line-height: 22px; margin-top: auto; }
.hero__photo { grid-column: 9 / 13; grid-row: 2; position: relative; padding: 24px; }
.hero__photo .tag, .party__photo .tag { position: absolute; left: 0; bottom: 0; }
.hero__mark { grid-column: 1 / 4; display: grid; place-items: center; padding: 28px; }
.hero__mark img { width: 96px; }
.hero__steps { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rim); }
.hero__steps .cell { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; align-content: center; padding: 28px 32px; }
.step-no { grid-row: span 2; font: 700 40px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--red); letter-spacing: -.02em; }
.hero__steps strong { font: 700 18px/1.2 var(--sans); }
.hero__steps span:last-child { font-size: 15px; line-height: 21px; }

/* ---------- 02 Lunch boxes ---------- */
.lunch__head { grid-column: span 8; display: grid; gap: 18px; }
.lunch__jp { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; align-items: flex-start; }
.lunch__jp .mincho { font-size: 72px; color: var(--red); }
.box { grid-column: span 3; display: grid; grid-template-rows: auto 1fr; gap: var(--rim); }
.box__photo { padding: 20px; }
.box__info { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; padding-bottom: 28px; }
.price {
  font: 700 64px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  display: flex; align-items: flex-start;
}
.price__cur { font-size: 28px; margin: 6px 4px 0 0; }
.price__c { font-size: 24px; margin-top: 6px; letter-spacing: 0; }

/* ---------- 03 Menu map ---------- */
.menu__head { grid-column: span 8; display: grid; gap: 18px; }
.menu__side { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.menu__grid {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--rim);
}
.menu__grid li { display: grid; }
.menu__grid a {
  text-decoration: none;
  display: grid; grid-template-rows: auto 1fr auto; gap: 10px;
  min-height: 168px; padding: 20px 22px;
  background-color: var(--paper);
}
.idx { font: 700 13px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--red); }
.nm { font: 700 18px/1.15 var(--sans); letter-spacing: -.005em; align-self: end; }
.jp { font-family: var(--mincho); font-weight: 600; font-size: 15px; line-height: 1.2; color: #6b6460; }
.menu__grid a:hover .idx, .menu__grid a:hover .jp, .menu__grid a:focus-visible .idx, .menu__grid a:focus-visible .jp { color: var(--white); }

/* ---------- 04 About ---------- */
.about__kanji {
  grid-column: 1 / 6;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  min-height: 460px; overflow: hidden;
}
.about__kanji .mincho { font-size: clamp(200px, 19.5vw, 280px); line-height: .9; margin-left: -.04em; }
.about__text { grid-column: 6 / 13; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-left: 64px; padding-right: 64px; }
.about__text p:not(.label) { max-width: 32em; }

/* ---------- 05 Party ---------- */
.party__photo { grid-column: 1 / 8; position: relative; padding: 40px; }
.party__photo img { aspect-ratio: 3 / 2; max-width: 560px; }
.party__cta { grid-column: 8 / 13; display: flex; flex-direction: column; justify-content: center; gap: 22px; align-items: flex-start; }

/* ---------- 06 Visit ---------- */
.visit { grid-template-rows: auto auto auto auto; }
.visit__head { grid-column: 1 / 5; display: grid; gap: 18px; align-content: start; }
.visit__map { grid-column: 5 / 13; grid-row: 1 / 5; position: relative; padding: 0; overflow: hidden; display: grid; }
.visit__map svg { width: 100%; height: 100%; min-height: 360px; display: block; }
.visit__pin { position: absolute; left: 0; bottom: 0; }
.visit__row { grid-column: 1 / 5; display: grid; gap: 8px; padding-top: 24px; padding-bottom: 24px; }
.visit__row .label { color: var(--red); }
.visit__val { font-weight: 500; }
.visit__go { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; text-decoration: none; padding-top: 28px; padding-bottom: 28px; }
.visit__go .label { font-size: 14px; }
.visit__arrow { font: 700 40px/1 var(--sans); }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 56px var(--pad) 32px; row-gap: 48px;
}
.foot__brand { grid-column: span 3; }
.foot__brand img { width: 120px; }
.foot__nav { grid-column: span 5; display: grid; gap: 10px; align-content: start; }
.foot__nav a { font: 800 32px/1.1 var(--sans); letter-spacing: -.02em; text-decoration: none; justify-self: start; }
.foot__nav a:hover { color: #e8a3a3; }
.foot__order { grid-column: span 4; display: grid; gap: 14px; align-content: start; justify-items: start; }
.foot__order p { font-size: 14px; color: #bdb6ae; }
.foot__base {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 32px;
  border-top: 1px solid #4a4440; padding-top: 22px;
  font-size: 13px; color: #bdb6ae;
}
.foot__base a { text-decoration: none; }
.foot__base a:hover { color: var(--white); }
.foot__base a:last-child { margin-left: auto; }

/* ---------- Mobile sticky pickup bar ---------- */
.pickbar { display: none; }

/* ---------- Motion: lids lifting ---------- */
.js .lid { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .lid.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .lid { opacity: 1; transform: none; transition: none; }
  .sweep, .head__order { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .head__logo { grid-column: span 4; }
  .head__nav { grid-column: span 5; }
  .head__nav ul { gap: 24px; }
  .menu__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .menu__grid li:last-child { grid-column: span 3; }
  .box { grid-column: span 6; }
  .board { font-size: 72px; }
  .hero__steps { grid-column: 1 / -1; }
  .hero__mark { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --pad: 24px; }
  body { padding: 60px 10px 10px; }
  .frame { border-radius: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }

  .pickbar {
    display: flex; align-items: center; gap: 10px;
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    height: 52px; padding: 0 16px;
    background: var(--red); color: var(--white); text-decoration: none;
    border-bottom: var(--rim) solid var(--ink);
  }
  .pickbar__label { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .pickbar__time { font: 700 22px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
  .pickbar__go { margin-left: auto; font: 700 15px/1 var(--sans); background: var(--ink); padding: 10px 14px; }

  .head { grid-template-columns: 1fr auto; }
  .head > * { grid-column: auto !important; }
  .head .cell { padding: 14px 18px; }
  .head__logo img { width: 44px; }
  .head__name { font-size: 18px; }
  .head__order { display: none; }
  .head__burger {
    display: grid; align-content: center; gap: 6px;
    width: 64px; border: 0; cursor: pointer; color: var(--ink);
  }
  .head__burger span { display: block; height: 3px; background: var(--ink); width: 26px; margin: 0 auto; transition: transform .25s, opacity .2s; }
  .head__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .head__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .head__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .head__nav { grid-column: 1 / -1 !important; grid-row: 2; padding: 0 !important; background: var(--ink); display: none; }
  .head__nav.is-open { display: block; }
  .head__nav ul { flex-direction: column; gap: var(--rim); }
  .head__nav li { background: var(--paper); }
  .head__nav a { display: flex; padding: 20px 18px; font-size: 24px; font-weight: 800; border: 0; }

  .hero__pickup { display: none !important; }
  .hero__main { padding-top: 36px; padding-bottom: 32px; gap: 24px; }
  .display { font-size: 52px; line-height: 1; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__photo { padding: 20px; }
  .hero__steps { grid-template-columns: 1fr; }
  .hero__steps .cell { padding: 20px 24px; }

  .h2 { font-size: 34px; }
  .lunch { grid-template-columns: 1fr 1fr; }
  .lunch .box { grid-column: auto !important; }
  .lunch__jp { flex-direction: row; align-items: center; }
  .lunch__jp .mincho { font-size: 48px; }
  .box__photo { padding: 10px; }
  .box__info { padding: 16px 14px 18px; gap: 8px; }
  .box__info .label { font-size: 11px; letter-spacing: .1em; }
  .price { font-size: 44px; }
  .price__cur { font-size: 20px; margin-top: 4px; }
  .price__c { font-size: 17px; margin-top: 4px; }

  .menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__grid li:last-child { grid-column: 1 / -1; }
  .menu__grid a { min-height: 120px; padding: 16px; }
  .nm { font-size: 17px; }

  .about__kanji { min-height: 0; flex-direction: row; align-items: flex-end; }
  .about__kanji .mincho { font-size: 200px; }
  .about__text { padding: 32px 24px; }
  .party__photo { padding: 24px 20px 48px; }
  .visit__map svg { min-height: 220px; }
  .visit__arrow { font-size: 32px; }

  .foot { grid-template-columns: 1fr; padding: 40px 24px 28px; row-gap: 32px; }
  .foot > * { grid-column: 1 / -1 !important; }
  .foot__brand img { width: 96px; }
  .foot__nav a { font-size: 28px; }
  .foot__base { flex-direction: column; }
  .foot__base a:last-child { margin-left: 0; }
}

/* hero photo reads wider so the headline cell stays tight */
.hero__photo img { aspect-ratio: 4 / 3; }
.hero__main .display { margin-top: 0; }
.hero__main .lede { margin-top: auto; }
