/* 1 to 10 — Trip to Japan · reference sections: fuji, gardens, table, book, know, footer */

/* ---------- fuji transport ---------- */

.fuji { background: var(--washi-2); }
.tickets { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: stretch; }
.ticket { position: relative; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-2); overflow: hidden; display: flex; flex-direction: column; }
.ticket__head { padding: 18px 22px 16px; color: #fff; background: var(--ai); display: grid; gap: 6px; position: relative; }
.ticket--car .ticket__head { background: var(--matsu); }
.ticket--bus .ticket__head { background: #5d6472; }
.ticket__route { font: 500 0.78rem/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.86; }
.ticket__head h3 { color: #fff; font-size: 1.45rem; }
.ticket__head .seal { position: absolute; right: 18px; top: 16px; }
.ticket__perf { height: 0; border-top: 2px dashed var(--line-strong); margin: 0 18px; position: relative; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--washi-2); }
.ticket__perf::before { left: -28px; }
.ticket__perf::after { right: -28px; }
.ticket__body { padding: 18px 22px 22px; display: grid; gap: 12px; flex: 1; align-content: start; }
.ticket dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.93rem; }
.ticket dt { font: 500 0.7rem/1.9 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--nezumi); }
.ticket dd { margin: 0; }
.ticket p { margin: 0; font-size: 0.95rem; color: #34373f; }
.verdict { font-weight: 700; color: var(--ai); }

.howto { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.howto__card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-1); }
.howto__card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.howto__card > p { color: var(--nezumi); }
.steps { list-style: none; counter-reset: step; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.steps li::before {
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 0.85rem/1 var(--f-mono);
  color: var(--ai);
  box-shadow: inset 0 0 0 1.5px var(--ai);
}
.steps p { margin: 4px 0 0; font-size: 0.97rem; }
.steps strong { color: var(--ai); }

.say {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--ai);
  color: #fff;
  text-align: left;
  border: 0;
  width: 100%;
  cursor: pointer;
  font: inherit;
  transition: transform 160ms var(--ease-ui), background-color 160ms var(--ease-ui);
}
.say:hover { background: var(--ai-mid); }
.say:active { transform: scale(0.98); }
.say__jp { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.4 var(--f-display); letter-spacing: 0.04em; }
.say__ro { font: 0.86rem/1.4 var(--f-mono); color: rgba(255, 255, 255, 0.78); }
.say__en { font-size: 0.9rem; color: rgba(255, 255, 255, 0.86); }
.say__cta { display: inline-flex; align-items: center; gap: 6px; font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #ffd9cf; margin-top: 4px; }

.show { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #fff; color: var(--sumi); }
.show::backdrop { background: rgba(17, 26, 49, 0.6); }
.show[open] { display: grid; place-items: center; animation: showIn 240ms var(--ease-out); }
@keyframes showIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
.show__inner { padding: 32px 24px; text-align: center; max-width: 980px; }
.show__jp { font: 800 clamp(2.4rem, 8vw, 5.4rem)/1.35 var(--f-display); color: var(--sumi); letter-spacing: 0.04em; margin: 0 0 24px; word-break: keep-all; overflow-wrap: anywhere; }
.show__addr { font: 600 clamp(1.1rem, 3vw, 1.7rem)/1.5 var(--f-display); color: var(--nezumi); margin: 0 0 16px; }
.show__en { font-size: 1.05rem; color: var(--nezumi); }
.show__close { position: fixed; top: 16px; right: 16px; }

/* ---------- gardens ---------- */

.gardens__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.city-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line-strong); padding-bottom: 12px; margin-bottom: 18px; }
.city-head h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.city-head .jp { font-size: 1.4rem; color: var(--matsu); letter-spacing: 0.2em; font-weight: 700; }
.garden { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; padding: 14px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); margin-bottom: 14px; }
.garden .ph { aspect-ratio: 4 / 5; border-radius: 12px; }
.garden__body { padding: 6px 6px 6px 0; display: grid; align-content: start; gap: 8px; }
.garden h4 { font-size: 1.28rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.garden h4 small { display: block; font: 500 0.85rem/1.3 var(--f-display); color: var(--nezumi); letter-spacing: 0.08em; margin-top: 2px; }
.garden p { margin: 0; font-size: 0.95rem; color: #34373f; }
.facts { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 0.88rem; }
.facts dt { font: 500 0.66rem/1.9 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--nezumi); }
.facts dd { margin: 0; }

/* ---------- sushi & sake (night) ---------- */

.night {
  background: linear-gradient(180deg, var(--ai-deep) 0%, #0c1328 100%);
  color: #e6e9f2;
}
.night h2, .night h3, .night h4 { color: #fff; }
.night .lede { color: rgba(230, 233, 242, 0.76); }
.night .eyebrow { color: rgba(230, 233, 242, 0.66); }
.night .sec-head__jp { color: var(--kin); border-left-color: rgba(255, 255, 255, 0.2); }
.table__split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(48px, 7vw, 88px); }
.table__split--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.table__split .ph { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--topbar-h) + 32px); }
.table__split .ph::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.subhead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.subhead h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.subhead .jp { color: var(--kin); font-size: 1.2rem; letter-spacing: 0.2em; }
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.counter {
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 8px;
  align-content: start;
}
.counter h4 { font-size: 1.22rem; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.counter h4 .jp { font-size: 0.86rem; color: rgba(230, 233, 242, 0.6); font-weight: 500; letter-spacing: 0.1em; white-space: nowrap; }
.counter p { margin: 0; font-size: 0.93rem; color: rgba(230, 233, 242, 0.82); line-height: 1.6; }
.counter .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.counter .chip { background: rgba(255, 255, 255, 0.1); color: #e6e9f2; }
.counter .chip--kin { background: rgba(201, 154, 69, 0.2); color: #f1d49a; }
.counter__book { font: 0.8rem/1.5 var(--f-mono); color: rgba(230, 233, 242, 0.7); }
.counter--feature { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(201, 154, 69, 0.2), rgba(201, 154, 69, 0.05)); box-shadow: inset 0 0 0 1px rgba(201, 154, 69, 0.3); }
.manners { margin-top: 18px; border-radius: var(--r-md); padding: 20px 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.manners h4 { font-size: 1.1rem; margin-bottom: 10px; }
.manners ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.93rem; color: rgba(230, 233, 242, 0.84); }

/* ---------- booking checklist ---------- */

.book__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.progress { position: sticky; top: calc(var(--topbar-h) + 32px); background: var(--ai); color: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-3); }
.progress__num { font: 800 clamp(3rem, 6vw, 4.4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.progress__num small { font-size: 0.4em; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.progress__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin: 16px 0 14px; }
.progress__bar i { display: block; height: 100%; background: var(--shu); transform-origin: left; transform: scaleX(0); transition: transform 400ms var(--ease-out); border-radius: inherit; }
.progress p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.progress .btn { margin-top: 18px; }

.leadtime { margin-bottom: 26px; }
.leadtime h3 { font: 600 0.78rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--shu-deep); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.leadtime h3::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-1); margin-bottom: 8px; cursor: pointer; transition: background-color 200ms var(--ease-ui), box-shadow 200ms var(--ease-ui); }
.check:hover { box-shadow: var(--shadow-2); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line-strong); display: grid; place-items: center; background: #fff; transition: background-color 180ms var(--ease-ui), box-shadow 180ms var(--ease-ui); }
.check .box svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; fill: none; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 260ms var(--ease-out); }
.check input:checked + .box { background: var(--shu); box-shadow: inset 0 0 0 1.5px var(--shu); }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .box { outline: 2px solid var(--shu); outline-offset: 3px; }
.check strong { display: block; font: 700 1.04rem/1.35 var(--f-display); color: var(--ai); }
.check small { display: block; color: var(--nezumi); font-size: 0.9rem; line-height: 1.55; margin-top: 3px; }
.check:has(input:checked) { background: rgba(251, 251, 248, 0.6); }
.check:has(input:checked) strong { text-decoration: line-through; text-decoration-color: rgba(198, 62, 41, 0.6); }

/* ---------- good to know ---------- */

.know { background: var(--paper); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { border-radius: var(--r-lg); padding: 22px; background: var(--washi); box-shadow: inset 0 0 0 1px var(--line); }
.tile .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ai); color: #fff; margin-bottom: 14px; }
.tile .ico svg { width: 21px; height: 21px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tile p { margin: 0; font-size: 0.95rem; color: #34373f; }
.tile--phrases { grid-column: span 2; background: var(--ai); color: #fff; box-shadow: none; }
.tile--phrases h3 { color: #fff; }
.phrases { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.phrases li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.phrases .jp { font-size: 1.12rem; font-weight: 700; }
.phrases .mono { font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); }
.phrases span:last-child { font-size: 0.9rem; color: rgba(255, 255, 255, 0.86); }

/* ---------- footer ---------- */

.foot { background: var(--ai-deep); color: rgba(230, 233, 242, 0.78); padding-block: 64px 40px; font-size: 0.9rem; }
.foot__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 28px; }
.foot__mark { display: flex; align-items: center; gap: 16px; }
.foot__mark b { font: 800 2rem/1 var(--f-display); color: #fff; display: block; }
.foot__mark span { font: 500 0.95rem/1.3 var(--f-display); color: rgba(230, 233, 242, 0.8); }
.credits { columns: 3 260px; column-gap: 32px; margin: 0; padding: 0; list-style: none; font-size: 0.74rem; line-height: 1.55; }
.credits li { break-inside: avoid; margin-bottom: 8px; color: rgba(230, 233, 242, 0.62); }
.credits a { color: rgba(230, 233, 242, 0.85); }

/* compact garden entries (no photo) */
.garden--compact { grid-template-columns: 1fr; padding: 18px 20px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.garden--compact .garden__body { padding: 0; }
.garden h4 > span { display: block; }
.check { position: relative; }
.tiles { grid-auto-flow: dense; }
.tile--phrases { grid-row: span 2; }
.plan__grid > div:last-child { display: grid; gap: 0; align-content: start; }

/* photos on the sushi, sake and transport cards */
.counter__shot { aspect-ratio: 16 / 9; border-radius: 10px; margin-bottom: 4px; box-shadow: none; }
.counter__shot::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.counter--feature .counter__shot { aspect-ratio: 21 / 9; }
.howto__ph { aspect-ratio: 16 / 8; border-radius: 14px; margin-bottom: 20px; }
