/* Oishii Food & Beverage — washi paper, sumi ink, hinomaru red. Mobile first. */
@font-face { font-family: "Shippori Mincho"; src: url(/assets/fonts/shippori-mincho-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Shippori Mincho"; src: url(/assets/fonts/shippori-mincho-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url(/assets/fonts/zen-kaku-gothic-new-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url(/assets/fonts/zen-kaku-gothic-new-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url(/assets/fonts/zen-kaku-gothic-new-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --washi: #E9CB9C;   /* the paper of the background */
  --kinari: #FFFFFF;  /* white page */
  --sumi: #1C1814;    /* ink */
  --shu: #C10000;     /* Oishii red */
  --beni: #8E0000;    /* deep red for hover */
  --muted: #5B4E42;   /* faded ink */
  --line: #EEE3DA;
  --display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --body: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--kinari); color: var(--sumi); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--shu); text-underline-offset: 3px; }
a:hover { color: var(--beni); }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--shu); margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font: 700 1rem var(--body); text-decoration: none; border: 2px solid transparent; transition: background-color .18s, color .18s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--shu); color: #fff; }
.btn-red:hover { background: var(--beni); color: #fff; }
.btn-ink { border-color: var(--sumi); color: var(--sumi); background: transparent; }
.btn-ink:hover { background: var(--sumi); color: var(--kinari); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 245, 234, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand img { height: 52px; width: auto; }
.nav { display: none; }
.header-cta { display: none; }
.menu-btn { margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--sumi); transition: transform .2s, opacity .2s; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px; background: var(--kinari); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
.nav a { color: var(--sumi); text-decoration: none; font-weight: 500; padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--line); }
.nav a:hover { color: var(--shu); }
@media (min-width: 980px) {
  .menu-btn { display: none; }
  .nav, body.menu-open .nav { display: flex; flex-direction: row; position: static; background: none; border: 0; padding: 0; gap: 26px; margin-left: auto; }
  .nav a { border: 0; padding: 8px 0; font-size: .95rem; display: inline-flex; align-items: center; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 8px 18px; }
}

/* ---------- Hero (the signature) ---------- */
.hero { position: relative; background: radial-gradient(70% 90% at 78% 40%, #FFF1EE 0%, #FFFFFF 62%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,245,234,.55) 0%, rgba(251,245,234,.15) 55%, rgba(251,245,234,0) 100%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 8px; padding-top: 40px; padding-bottom: 0; }
.hero-copy { max-width: 620px; position: relative; z-index: 2; }
.lede { font-size: 1.12rem; color: #3A3129; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.origins { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 500; font-size: .9rem; color: var(--muted); }
.origins li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--shu); margin-right: 7px; vertical-align: 2px; }
.hero-art { position: relative; min-height: 340px; display: grid; place-items: center; }
.sun { width: min(70vw, 420px); margin-bottom: 96px; filter: drop-shadow(0 18px 30px rgba(120, 0, 0, .22)); animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.shelf { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(96%, 560px); display: flex; align-items: flex-end; justify-content: center; gap: 2%;
  padding: 0 4% 10px; border-bottom: 10px solid var(--sumi); }
.shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 8px; background: rgba(28,24,20,.18); filter: blur(6px); }
.shelf img { width: auto; min-width: 0; max-width: 21%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(28,24,20,.25)); animation: lift .8s cubic-bezier(.2,.7,.2,1) both; }
.shelf img:nth-child(1) { height: 120px; animation-delay: .25s; }
.shelf img:nth-child(2) { height: 100px; animation-delay: .35s; }
.shelf img:nth-child(3) { height: 74px;  animation-delay: .45s; }
.shelf img:nth-child(4) { height: 60px;  animation-delay: .55s; }
.shelf img:nth-child(5) { height: 112px; animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: end; padding-top: 72px; min-height: min(86vh, 760px); }
  .hero-copy { padding-bottom: 72px; }
  .hero-art { min-height: 600px; align-self: stretch; }
  .sun { width: min(92%, 500px); margin-bottom: 150px; }
  .shelf { width: 100%; max-width: 540px; }
  .shelf img:nth-child(1) { height: 190px; } .shelf img:nth-child(2) { height: 150px; } .shelf img:nth-child(3) { height: 108px; }
  .shelf img:nth-child(4) { height: 84px; } .shelf img:nth-child(5) { height: 172px; }
}

/* ---------- Facts ---------- */
.facts { background: var(--shu); color: #fff; }
.facts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; }
.facts-row div { padding: 12px 8px; border-left: 1px solid rgba(255,255,255,.28); }
.facts-row div:nth-child(odd) { border-left: 0; }
.facts-row dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.facts-row dd { margin: 2px 0 0; font: 800 clamp(1.7rem, 4vw, 2.4rem)/1.1 var(--display); }
@media (min-width: 820px) { .facts-row { grid-template-columns: repeat(5, 1fr); } .facts-row div, .facts-row div:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.28); padding-left: 18px; } .facts-row div:first-child { border-left: 0; padding-left: 0; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.paper { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.washi { background: linear-gradient(180deg, #FFFFFF 0%, #FFF4F2 100%); border-top: 1px solid var(--line); }
.ink { background: var(--sumi); color: #EFE6D8; }
.ink h2 { color: #fff; }
.ink .eyebrow { color: #FF6B5E; }
.section-head { display: grid; gap: 8px; margin-bottom: 36px; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.4fr 1fr; align-items: end; } .section-head .muted { text-align: right; } }

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--shu); box-shadow: inset 0 0 0 4px var(--kinari); border: 1px solid var(--shu); }
.ticks-light li::before { box-shadow: inset 0 0 0 4px var(--sumi); }

/* About */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }
.photo-stack { position: relative; margin: 0; min-height: 360px; }
.photo-stack img { position: absolute; border: 6px solid #fff; box-shadow: 0 14px 30px rgba(28,24,20,.18); object-fit: cover; }
.ps-a { width: 78%; aspect-ratio: 547 / 383; left: 0; top: 0; }
.ps-b { width: 38%; aspect-ratio: 251 / 311; right: 0; top: 26%; }
.ps-c { width: 34%; aspect-ratio: 251 / 311; left: 22%; bottom: 0; }
@media (min-width: 900px) { .photo-stack { min-height: 480px; } }

/* Categories */
.cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.cats li { background: var(--kinari); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 18px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.cats li:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(28,24,20,.10); }
.cats img { height: 132px; width: 100%; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 6px 8px rgba(28,24,20,.18)); }
.cats h3 { font-size: 1.08rem; }
.cats p { font-size: .9rem; color: var(--muted); margin: 0; }
.downloads { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 760px) { .downloads { grid-template-columns: 1fr 1fr; } }
.dl-card { display: grid; gap: 2px; padding: 22px 24px; border-radius: 18px; text-decoration: none; color: var(--sumi); background: var(--sumi); color: #F3EADB; position: relative; }
.dl-card b { font: 800 1.4rem var(--display); color: #fff; }
.dl-kind { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #FF8A80; }
.dl-go { margin-top: 10px; font-weight: 700; color: #fff; }
.dl-go::after { content: " →"; }
.dl-card:hover { background: var(--shu); color: #fff; }
.dl-card:hover .dl-kind { color: #fff; }

/* Featured products */
.featured { margin-top: 40px; }
.featured-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.featured-head h3 { font-size: 1.35rem; margin: 0; }
.featured-head a { font-weight: 700; text-decoration: none; }
.feat-list { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
@media (min-width: 760px) { .feat-list { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }
.feat-list li { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.feat-list img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 8px; }
.feat-list b { font-size: .92rem; line-height: 1.3; }
.feat-list span { font-size: .82rem; color: var(--muted); }

/* Brands */
.logos { list-style: none; padding: 0; margin: 28px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 760px) { .logos { grid-template-columns: repeat(7, 1fr); gap: 14px; } }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 12px; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* Infrastructure */
.infra-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .infra-grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; } }
.infra-facts { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; }
.infra-facts li { background: var(--sumi); padding: 18px; }
.infra-facts b { display: block; font: 800 2rem/1.1 var(--display); color: #fff; }
.infra-facts span { font-size: .9rem; color: #CFC3B2; }
.infra-photos { display: grid; gap: 14px; grid-template-columns: 1fr 1.3fr; align-items: end; }
.infra-photos img { width: 100%; border-radius: 14px; object-fit: cover; aspect-ratio: 4 / 3.4; }
.infra-photos img:last-child { aspect-ratio: 16 / 9; }

/* Who we serve */
.serve-grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 900px) { .serve-grid { grid-template-columns: repeat(3, 1fr); } }
.serve-card { border-top: 4px solid var(--shu); background: #fff; border-radius: 0 0 16px 16px; padding: 22px; box-shadow: 0 1px 0 var(--line); }
.serve-card p { color: var(--muted); margin: 0; }
.qc { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.qc img { height: 34px; width: auto; border-radius: 6px; }
.umami { margin-top: 22px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--sumi); background: var(--kinari); }
.umami img { width: 64px; }
.umami small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--shu); font-weight: 700; }
.umami b { display: block; font: 700 1.15rem var(--display); }
.umami .dl-go { grid-column: 2; margin: 0; color: var(--shu); }
@media (min-width: 760px) { .umami { grid-template-columns: 72px 1fr auto; } .umami .dl-go { grid-column: auto; } }
.umami:hover { border-color: var(--shu); color: var(--sumi); }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; } }
.contact-card { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 20px 40px rgba(28,24,20,.14); }
.contact-card dl { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px 16px; }
.contact-card dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 460px) { .contact-card dl { grid-template-columns: 1fr; gap: 2px; } .contact-card dd { margin-bottom: 12px; } }

/* Footer */
.site-footer { background: var(--sumi); color: #CFC3B2; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-row { display: grid; gap: 10px; justify-items: start; }
.footer-row img { background: #fff; border-radius: 10px; padding: 6px 8px; height: 56px; width: auto; }
.footer-row p { margin: 0; }
.fine { font-size: .85rem; }
.sig { cursor: default; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.team-link { color: #fff; font-weight: 700; font-size: .9rem; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  /* Animation effects off in Windows/phone settings: keep soft fades, drop movement. */
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .8s ease; }
}

/* ---------- Motion (v3) ---------- */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sun-in { from { opacity: 0; transform: scale(.86) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes sun-turn { to { transform: rotate(360deg); } }
@keyframes shelf-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes slide { to { transform: translateX(-50%); } }
.hero-copy > * { animation: up .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-art .sun { animation: sun-in 1.4s cubic-bezier(.2,.7,.2,1) both, sun-turn 140s linear 1.4s infinite; }
.shelf img { animation: shelf-in .9s cubic-bezier(.2,.7,.2,1) both, bob 6s ease-in-out 1.2s infinite; }
.shelf img:nth-child(2) { animation-delay: .1s, 1.8s; }
.shelf img:nth-child(3) { animation-delay: .2s, 2.4s; }
.shelf img:nth-child(4) { animation-delay: .3s, 3s; }
.shelf img:nth-child(5) { animation-delay: .4s, 3.6s; }
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(60,30,10,.08); background: rgba(255,255,255,.97); }
.btn { transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.logos li, .serve-card, .dl-card, .cats li, .contact-card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.logos li:hover, .serve-card:hover, .dl-card:hover, .cats li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,30,10,.10); }
.marquee { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; width: max-content; animation: slide 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: grid; place-items: center; height: 56px; }
.marquee-track img { max-height: 48px; width: auto; filter: grayscale(1) opacity(.7); transition: filter .3s; }
.marquee-track li:hover img { filter: none; }
.facts-row dd { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-art .sun, .shelf img, .marquee-track { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .btn:hover, .logos li:hover, .serve-card:hover, .dl-card:hover, .cats li:hover { transform: none; }
}
.featured, .feat-list { min-width: 0; max-width: 100%; }
html, body { overflow-x: clip; }

/* ---------- Journey: 3D flight from origin countries to the Oishii warehouse ---------- */
.journey { position: relative; color: #EFE6D8; background: radial-gradient(120% 80% at 50% 10%, #3A1E18 0%, #1C1814 55%, #120F0C 100%); }
.journey .eyebrow { color: #FF6B5E; }
.journey h2 { color: #fff; max-width: 20ch; }
.journey-stage { position: relative; min-height: 820px; overflow: hidden; }
.journey.is-live { height: 560vh; }
.journey.is-live .journey-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.journey-head { position: relative; z-index: 3; padding-top: 104px; pointer-events: none; }
.journey-head h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.journey-hint { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(239,230,216,.7); transition: opacity .4s; }
.journey-hint::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: 3px; animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(4px) rotate(45deg); } }
.journey.started .journey-hint { opacity: 0; }

.world { position: absolute; inset: 0; z-index: 1; perspective: 1150px; perspective-origin: 50% 20%; }
.map-plane { position: absolute; left: 50%; top: 58%; width: 950px; height: 552px; transform-origin: 0 0; transform-style: preserve-3d;
  transform: scale(.78) rotateX(52deg) rotateZ(-12deg) translate(-475px, -276px); }
.journey.is-live .map-plane { zoom: 2.5; }
.map-img { position: absolute; inset: 0; width: 950px; height: 552px; max-width: none; border-radius: 6px; }
.map-plane::before { content: ""; position: absolute; inset: -60px; border-radius: 30px; background: radial-gradient(closest-side, rgba(193,0,0,.10), transparent); }
.route { position: absolute; inset: 0; width: 950px; height: 552px; overflow: visible; }
.graticule path { fill: none; stroke: rgba(255,240,220,.05); stroke-width: 1; }
.route-base { fill: none; stroke: rgba(255,214,170,.32); stroke-width: 1.6; stroke-dasharray: 3 6; stroke-linecap: round; }
.route-trail { fill: none; stroke: #FF3B2E; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,70,50,.8)); }

.pin { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.pin-ring { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,120,100,.75); background: rgba(193,0,0,.35); }
.pin.on .pin-ring { background: #FF3B2E; border-color: #FFD2C8; box-shadow: 0 0 0 6px rgba(255,59,46,.25), 0 0 18px rgba(255,59,46,.8); }
.pin.now .pin-ring { animation: ring 1.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,59,46,.7), 0 0 18px rgba(255,59,46,.8); } 100% { box-shadow: 0 0 0 22px rgba(255,59,46,0), 0 0 18px rgba(255,59,46,.8); } }
.pin-tag { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: rotateZ(12deg) rotateX(-52deg) translate(-50%, -100%) translateY(-14px); white-space: nowrap; }
.pin-tag b { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(251,245,234,.94); color: var(--sumi); font: 700 14px/1.2 var(--body); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: background .3s, color .3s, transform .3s; }
.pin-tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px; margin-left: -1px; background: linear-gradient(rgba(251,245,234,.9), rgba(251,245,234,0)); }
.pin.on .pin-tag b { background: var(--shu); color: #fff; }
.pin.now .pin-tag b { transform: scale(1.18); }

.wh { position: absolute; width: 80px; height: 46px; transform-style: preserve-3d; }
.wh > div { position: absolute; backface-visibility: visible; }
.wh-roof { inset: 0; transform: translateZ(34px); background: repeating-linear-gradient(90deg, #EFE8DC 0 7px, #D8CDBB 7px 8px); border: 1px solid #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 3px #C10000; }
.wh-roof span { font: 800 10px/1 var(--display); letter-spacing: .2em; color: #fff; background: var(--shu); padding: 2px 5px; border-radius: 2px; }
.wh-front { left: 0; top: 12px; width: 80px; height: 34px; transform-origin: 50% 100%; transform: rotateX(-90deg); background: linear-gradient(#EFE7DA, #CFC3B1); border-bottom: 2px solid #8E8170; }
.wh-sign { position: absolute; left: 6px; right: 6px; top: 3px; height: 8px; display: grid; place-items: center; background: var(--shu); color: #fff; font: 700 4.2px/1 var(--body); letter-spacing: .08em; border-radius: 1px; }
.wh-door { position: absolute; left: 25px; bottom: 0; width: 30px; height: 22px; background: #1B1612; overflow: hidden; box-shadow: inset 0 0 6px rgba(255,170,90,.5); }
.wh-door i { position: absolute; inset: 0; background: repeating-linear-gradient(#9C9184 0 1.5px, #B8AD9F 1.5px 3px); transform-origin: 50% 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.wh.open .wh-door i { transform: scaleY(.06); }
.wh-side { top: 0; width: 34px; height: 46px; background: linear-gradient(90deg, #BDB09D, #A99C88); }
.wh-left { left: -34px; transform-origin: 100% 50%; transform: rotateY(90deg); }
.wh-right { left: 80px; transform-origin: 0 50%; transform: rotateY(-90deg); }
.wh.glow .wh-sign { box-shadow: 0 0 8px rgba(255,80,60,.9); }

.plane, .plane-shadow { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
.plane svg, .plane-shadow svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pl-body { fill: #fff; stroke: #C10000; stroke-width: .7; }
.pl-sun { fill: #C10000; }
.plane { filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); }
.plane-shadow path { fill: rgba(0,0,0,.55); }
.plane-shadow { filter: blur(1.5px); }

.cloud { position: absolute; width: 170px; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255,255,255,0)); pointer-events: none; }
.c1 { left: 560px; top: 120px; animation: drift1 18s ease-in-out infinite alternate; }
.c2 { left: 300px; top: 300px; animation: drift2 22s ease-in-out infinite alternate; }
.c3 { left: 720px; top: 330px; animation: drift1 26s ease-in-out infinite alternate; }
.c4 { left: 120px; top: 170px; animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate3d(0, 0, 90px); } to { transform: translate3d(60px, 10px, 90px); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 130px); } to { transform: translate3d(-50px, -10px, 130px); } }

.journey-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; pointer-events: none; }
.journey-card { display: none; }
.journey-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.journey-stops li { background: rgba(28,24,20,.72); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 12px; }
.journey-stops b { display: block; color: #fff; font-weight: 700; }
.journey-stops span { font-size: .85rem; color: rgba(239,230,216,.75); }
/* live (animated) layout */
.journey.is-live .journey-card { display: flex; flex-direction: column; gap: 2px; width: min(360px, 100%); padding: 14px 18px; margin-bottom: 14px; border-radius: 16px;
  background: rgba(251,245,234,.96); color: var(--sumi); box-shadow: 0 20px 50px rgba(0,0,0,.45); border-left: 5px solid var(--shu); }
.journey-card small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--shu); }
.journey-card b { font: 800 1.45rem/1.2 var(--display); }
.journey-card span { font-size: .92rem; color: var(--muted); }
.journey-card.flip { animation: card-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.journey.is-live .journey-stops { display: flex; gap: 0; justify-content: space-between; position: relative; }
.journey.is-live .journey-stops::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: rgba(255,255,255,.18); }
.journey.is-live .journey-stops li { background: none; border: 0; padding: 20px 0 0; position: relative; flex: 1; text-align: center; border-radius: 0; }
.journey.is-live .journey-stops li:first-child { text-align: left; }
.journey.is-live .journey-stops li:last-child { text-align: right; }
.journey.is-live .journey-stops li::before { content: ""; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #3A302A; border: 2px solid rgba(255,255,255,.35); transition: all .3s; }
.journey.is-live .journey-stops li:first-child::before { left: 0; margin-left: 0; }
.journey.is-live .journey-stops li:last-child::before { left: auto; right: 0; }
.journey.is-live .journey-stops li.on::before { background: var(--shu); border-color: #FFD2C8; box-shadow: 0 0 10px rgba(255,59,46,.8); }
.journey.is-live .journey-stops b { font-size: .78rem; color: rgba(239,230,216,.6); transition: color .3s; }
.journey.is-live .journey-stops li.on b { color: #fff; }
.journey.is-live .journey-stops span { display: none; }
.journey-rail { position: absolute; left: 6px; top: 6px; height: 2px; background: var(--shu); width: 0; }
@media (max-width: 700px) {
  .journey-head { padding-top: 84px; }
  .journey.is-live .journey-stops b { font-size: 0; }
  .journey.is-live .journey-stops li.now b { font-size: .72rem; }
  .journey-ui { bottom: 18px; }
  .pin-tag b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cloud, .pin.now .pin-ring, .journey-hint::after { animation: none !important; }
}

.wh-win { position: absolute; top: 14px; width: 12px; height: 5px; background: linear-gradient(#FFE7B8, #F4B860); box-shadow: 0 0 4px rgba(255,200,120,.8); }
.wh-win.w1 { left: 8px; } .wh-win.w2 { right: 8px; }
.wh::after { content: ""; position: absolute; inset: -8px -10px -14px; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); transform: translateZ(-.5px); }
.journey.finale .pin-tag { opacity: 0; transition: opacity .4s; }
.pin-tag { transition: opacity .4s; }
@media (min-width: 760px) { .journey.is-live .journey-card { margin-left: auto; } }
.pin-in .pin-tag { transform: rotateZ(12deg) rotateX(-52deg) translate(-110%, -100%) translateY(-6px); }
@media (max-width: 700px) { .journey:not(.is-live) .map-plane { transform: scale(.42) rotateX(52deg) rotateZ(-12deg) translate(-475px, -276px); top: 40%; } .journey:not(.is-live) .journey-stage { min-height: 1100px; } .journey:not(.is-live) .journey-ui { position: relative; margin-top: 520px; } }

/* ---------- v5: white page, product cards, motion that respects "reduce motion" ---------- */
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.feat-list li { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.feat-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--shu); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.feat-list li:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(60,30,10,.12); border-color: transparent; }
.feat-list li:hover::after { transform: scaleX(1); }
.feat-list img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.feat-list li:hover img { transform: scale(1.07); }
.feat-list .tag { position: absolute; top: 10px; left: 10px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--shu); color: #fff; border-radius: 999px; padding: 2px 8px; }
.cats li img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cats li:hover img { transform: scale(1.06) rotate(-2deg); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(193,0,0,.07), transparent); animation: glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-40px, 30px) scale(1.08); } }
.btn-red { position: relative; overflow: hidden; }
.btn-red::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: shine 4.5s ease-in-out 2s infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-art .sun, .shelf img { animation: fadein 1s ease both !important; }
  .hero-copy > *:nth-child(2) { animation-delay: .1s !important; } .hero-copy > *:nth-child(3) { animation-delay: .2s !important; }
  .hero-copy > *:nth-child(4) { animation-delay: .3s !important; } .shelf img:nth-child(n+2) { animation-delay: .25s !important; }
  .hero::before, .btn-red::after { animation: none; }
  .feat-list li:hover, .cats li:hover { transform: none; }
  .feat-list li:hover img, .cats li:hover img { transform: none; }
}
