/* 阿押壽司 Aya Sushi — standalone static site. No vendor lock-in. */
:root {
  --press: #ff4b3e;
  --press-ink: #c5362c;
  --saba: #0e3b4f;
  --saba-soft: #1a556c;
  --rice: #fff6e5;
  --rice-deep: #f3e6c8;
  --cream: #fffcf6;
  --ginger: #ffc93c;
  --wasabi: #9bcb4b;
  --shrimp: #ff8fab;
  --salmon: #e07a3a;
  --white: #ffffff;
  --muted: #5a6e78;
  --line: color-mix(in srgb, var(--saba) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--saba) 28%, transparent);
  --max: 72rem;
  --header: 4.5rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow: 0 12px 32px color-mix(in srgb, var(--saba) 8%, transparent);
  --font-sans: "Noto Sans TC", "Noto Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-heading: "Huninn", "Fredoka", "Noto Sans TC", sans-serif;
  --font-en: "Fredoka", "Noto Sans", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--saba);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: clip;
}
html:lang(zh-Hant) body { word-break: keep-all; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0; color: var(--saba); letter-spacing: 0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--press);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--saba);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(100% - 3rem, var(--max)); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.logo img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  object-fit: cover;
  border: 1px solid var(--line);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-zh { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; }
.logo-en { font-family: var(--font-en); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

.nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.15rem 1.15rem;
}
.nav a {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--saba); }
.nav a[aria-current="page"],
.nav a:hover { border-bottom-color: var(--press); color: var(--saba); }

.lang {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-en);
}
.lang button {
  padding: 0.2rem 0.35rem;
  color: var(--muted);
  border-radius: 0.3rem;
}
.lang button.is-on,
.lang button[aria-pressed="true"] {
  color: var(--saba);
  font-weight: 700;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.7rem;
  background: var(--white);
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .lang { margin-left: 1.25rem; }
}

.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 0.5rem 0 1rem;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
@media (min-width: 960px) { .drawer { display: none !important; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--saba);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn-navy { background: var(--saba); color: var(--white); box-shadow: 0 6px 0 color-mix(in srgb, var(--saba) 70%, #000); }
.btn-ghost { background: var(--white); color: var(--saba); }
.btn-press { background: var(--press); color: var(--white); border-color: color-mix(in srgb, var(--press) 70%, #000); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }

/* Eyebrow + section */
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--press-ink);
  margin-bottom: 0.6rem;
}
.section { padding: 4.5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.lead { margin-top: 0.75rem; color: var(--muted); font-size: 1.05rem; }

.bg-rice { background: var(--rice); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-saba { background: var(--saba); color: var(--white); }

/* Hero */
.hero { padding: 2.5rem 0 0; }
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 3rem; padding-bottom: 1rem; }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: 0.02em;
}
.tagline {
  margin-top: 0.9rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--saba-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-fig {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--rice);
}
.hero-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 2.25rem 0 2.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}
.trust-item svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--press); }

/* Marquee */
.marquee {
  background: var(--saba);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--saba);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  padding: 0.7rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.04em;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Products */
.product-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.product-card .shot {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--rice);
}
.product-card .body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.flavor-kicker {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.card-mackerel .flavor-kicker { color: var(--saba); }
.card-salmon .flavor-kicker { color: var(--salmon); }
.card-shrimp .flavor-kicker { color: #c45d7a; }
.product-card h3 { font-size: 1.45rem; }
.hook {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--saba);
}
.desc { font-size: 0.95rem; color: var(--muted); }
.moment {
  font-size: 0.88rem;
  color: var(--saba-soft);
  padding-left: 0.7rem;
  border-left: 3px solid var(--ginger);
}
.origin-note { font-size: 0.82rem; color: var(--saba-soft); }
.badge-local {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--wasabi);
  color: var(--saba);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.2rem; }
.chip {
  font-size: 0.72rem;
  background: var(--rice);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  color: var(--saba-soft);
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.6rem;
}
.price { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.price-unit { font-size: 0.8rem; color: var(--muted); margin-left: 0.3rem; font-family: var(--font-sans); font-weight: 500; }
.more { font-size: 0.9rem; font-weight: 700; color: var(--press-ink); }
.more:hover { text-decoration: underline; }

.product-note, .footnote {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.gift {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 800px) {
  .gift { grid-template-columns: 1.1fr 1fr; align-items: center; }
}
.gift img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gift-body { padding: 1.4rem 1.5rem 1.6rem; }
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--ginger);
  color: var(--saba);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* Ingredients */
.local-callout {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--wasabi);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.local-callout h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.local-callout p { color: var(--saba-soft); }

.ing-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .ing-grid { grid-template-columns: 1fr 1fr; }
}
.ing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
}
.ing-card h4 { font-size: 1.1rem; }
.ing-alt { font-size: 0.78rem; color: var(--muted); margin: 0.15rem 0 0.7rem; }
.ing-row { margin-top: 0.45rem; font-size: 0.9rem; }
.ing-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--press-ink);
  text-transform: none;
}
.ing-row dd { margin: 0.1rem 0 0; color: var(--saba-soft); }
.subhead { font-size: 1.15rem; margin: 2rem 0 0.9rem; }

.main-ing {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 800px) { .main-ing { grid-template-columns: repeat(3, 1fr); } }
.main-ing article {
  background: var(--saba);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.main-ing h4 { color: var(--ginger); font-size: 1.15rem; }
.main-ing p { margin-top: 0.5rem; font-size: 0.9rem; color: color-mix(in srgb, var(--white) 86%, var(--ginger)); }

/* How */
.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.4rem;
}
.step-num {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--press);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.step h3 { margin: 0.35rem 0 0.5rem; font-size: 1.2rem; }
.step p { color: var(--muted); }
.safety {
  margin-top: 1.5rem;
  background: var(--rice);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.safety h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.safety p { font-size: 0.92rem; color: var(--saba-soft); }

/* Heritage */
.timeline { display: grid; gap: 0; }
.t-item {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 1rem;
}
.t-rail {
  position: relative;
}
.t-rail::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.4rem;
  bottom: -0.2rem;
  width: 2px;
  background: var(--line-strong);
}
.t-item:last-child .t-rail::before { display: none; }
.dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--press);
  border: 2px solid var(--saba);
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
}
.t-body { padding-bottom: 1.6rem; }
.t-body h3 { font-size: 1.2rem; }
.t-body p { margin-top: 0.4rem; color: var(--muted); }

.story {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 800px) {
  .story { grid-template-columns: 14rem 1fr; align-items: center; }
}
.story img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.story-body { padding: 1.3rem 1.4rem 1.5rem; }
.story-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* Where */
.where-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) { .where-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.place-list { display: grid; gap: 0.75rem; }
.place {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.place h3 { font-size: 1.05rem; }
.soon { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.where-fig {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.where-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.follow { margin-top: 1rem; font-size: 0.95rem; }

/* Wholesale */
.ws-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) { .ws-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.ws-fig {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.ws-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
form.inquiry {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.25rem 1.5rem;
  display: grid;
  gap: 0.85rem;
}
form.inquiry h3 { font-size: 1.25rem; }
.field-label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.3rem; }
.req { color: var(--press); font-weight: 700; margin-left: 0.2rem; }
.opt { color: var(--muted); font-weight: 500; margin-left: 0.2rem; font-size: 0.75rem; }
.field, select.field, textarea.field {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--saba);
  border-radius: 0.85rem;
  background: var(--cream);
  color: var(--saba);
}
textarea.field { min-height: 6.5rem; resize: vertical; }
.field[aria-invalid="true"] { border-color: var(--press); }
.err { color: var(--press-ink); font-size: 0.8rem; min-height: 1.1em; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem; }
.form-hint { font-size: 0.82rem; color: var(--muted); }
.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--saba);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 80;
  opacity: 0;
  transition: transform 200ms ease, opacity 200ms ease;
}
.toast.is-on { transform: translateX(-50%) translateY(0); opacity: 1; }

/* FAQ */
.faq { display: grid; gap: 0.55rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 0.5rem; color: var(--muted); }

/* Footer */
.footer {
  background: var(--saba);
  color: color-mix(in srgb, var(--white) 88%, var(--ginger));
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer .logo-zh, .footer h3 { color: var(--white); }
.footer a:hover { color: var(--ginger); }
.footer-tag { margin-top: 0.5rem; }
.footer-links { display: grid; gap: 0.35rem; }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Dialog */
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--saba) 55%, transparent);
  z-index: 60;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 700px) {
  .dialog-backdrop { align-items: center; padding: 2rem; }
}
.dialog-backdrop.is-open { display: flex; }
.dialog {
  background: var(--cream);
  width: min(100%, 42rem);
  max-height: 92dvh;
  overflow: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  position: relative;
}
@media (min-width: 700px) {
  .dialog { border-radius: var(--radius-lg); border: 1px solid var(--line-strong); }
}
.dialog img.shot { width: 100%; aspect-ratio: 16/9; max-height: 260px; object-fit: cover; }
.dialog-body { padding: 1.25rem 1.3rem 1.8rem; display: grid; gap: 0.75rem; }
.dialog-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 1.2rem;
  line-height: 1;
}
.dialog .hook { font-size: 1.2rem; }
.dl { display: grid; gap: 0.65rem; }
.dl div { padding-top: 0.55rem; border-top: 1px solid var(--line); }
.dl dt { font-size: 0.75rem; font-weight: 700; color: var(--press-ink); }
.dl dd { margin: 0.15rem 0 0; }

body.modal-open { overflow: hidden; }
