/* ═══════════════════════════════════════════════════════════
   THE PEARL — shared styles (used by website.html and all
   explore-*.html pages). Edit colours & fonts here once.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:      #FFFEFA;   /* page background (warm near-white) */
  --ink:     #12120E;   /* main text (near-black) */
  --muted:   #8C8C86;   /* small grey labels */
  --line:    rgba(18,18,14,0.12);
  --white:   #ffffff;
  --maxw:    1500px;

  /* Type: Noto Sans throughout — light weights for display, regular for body */
  --serif: 'Noto Sans', system-ui, -apple-system, sans-serif;  /* display */
  --sans:  'Noto Sans', system-ui, -apple-system, sans-serif;  /* UI + body */
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; scrollbar-gutter: stable; }
html.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── display type scale (matched to the original site's sizes) ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 200;
  margin: 0;
  letter-spacing: -0.012em;
}

/* huge centred section word — THE PEARL / SERVICES / PROCESS  (~130px @ 1707px)
   Noto Sans is wider than the original display face, so the very large sizes are
   dialled back slightly and tracking tightened to keep them on one line. */
.d-word  { font-size: clamp(2.9rem, 7.6vw, 10rem); font-weight: 200; line-height: .96; letter-spacing: -0.04em; }
/* hero headline (~70px @ 1707px) */
.d-hero  { font-size: clamp(2.3rem, 4.1vw, 4.7rem); font-weight: 200; line-height: 1.1; letter-spacing: -0.028em; }
/* large headings — welcome line, what-we-do, card titles (~52px @ 1707px) */
.d-lg    { font-size: clamp(1.8rem, 3vw, 3.3rem); font-weight: 200; line-height: 1.24; letter-spacing: -0.022em; }
/* medium headings — services & process steps */
.d-md    { font-size: clamp(1.45rem, 2.2vw, 2.2rem); font-weight: 300; line-height: 1.24; letter-spacing: -0.018em; }
/* footer wordmark — sized to fit the container in Noto Sans */
.d-foot  { font-size: clamp(2.4rem, 12.6vw, 13.5rem); font-weight: 200; line-height: .86; letter-spacing: -0.045em; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* Fluid gutter — grows with the window so content never hugs the edges.
   Uses logical padding so a shorthand elsewhere can't wipe it out. */
.wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

/* ── small grey label with leading dot (18px, wide tracking) ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: clamp(0.74rem, 1.02vw, 1.06rem);
  font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.4em; color: var(--muted); line-height: 2.1;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: none;
}

/* ── pill button with black circular arrow ── */
.pill-btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 10px 10px 27px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink); cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.pill-btn .arw {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  transition: transform .45s cubic-bezier(.16,1,.3,1), background .35s ease, color .35s ease;
}
.pill-btn .arw svg { width: 14px; height: 14px; }
.pill-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill-btn:hover .arw { background: var(--white); color: var(--ink); transform: rotate(45deg); }

.pill-btn.on-dark { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.pill-btn.on-dark .arw { background: #fff; color: var(--ink); }
.pill-btn.on-dark:hover { background: #fff; color: var(--ink); }

/* ── scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── header / nav ── */
/* ── Header layers ──
   The navigation stays fixed above two independent surfaces: progressive
   glass underneath and a solid warm-white panel above it. JavaScript maps the
   first 120px of page scroll to these custom properties, sliding the white
   panel up while fading the glass in. */
.site-head {
  --header-white-y: 0%;
  --header-white-opacity: 1;
  --header-blur-opacity: 0;
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding: 20px 0;
  background: transparent;
}
.site-head::before {
  content: ''; position: absolute; inset: 0 0 -2px; z-index: 0; pointer-events: none;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  background: linear-gradient(180deg, rgba(255,254,250,0.04) 0%, rgba(255,254,250,0) 100%);
  -webkit-mask: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 45%);
          mask: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 45%);
  opacity: var(--header-blur-opacity);
  will-change: transform, opacity;
  transform: translateZ(0);
}
.site-head::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--bg);
  opacity: var(--header-white-opacity);
  transform: translateY(var(--header-white-y));
  will-change: transform, opacity;
}
/* Navigation stays fully opaque above the independently masked glass layer. */
.site-head > * { position: relative; z-index: 1; }
/* browsers without backdrop-filter get a soft tint fade instead */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-head::before {
    background: linear-gradient(to bottom, rgba(255,254,250,0.85) 0%, rgba(255,254,250,0.6) 55%, rgba(255,254,250,0) 100%);
  }
}
/* Anchor targets sit below the fixed header when jumped to (incl. cross-page
   #hash links), so the section title never tucks up behind the bar. */
#explore, #services, #process, #top { scroll-margin-top: 100px; }

/* Frosted glass (page transitions, refresh, Back) — its styles live INLINE in
   every page's <head> (<style id="pearl-glass-css">) so the panel shows from the
   very first paint, even on a slow first load. Behaviour: assets/pearl.js. */

/* momentary blur nudge (toggled from JS) to wake a dormant backdrop-filter
   after the page loads already scrolled to a #section */
.site-head.bf-kick::before { backdrop-filter: blur(24.5px); -webkit-backdrop-filter: blur(24.5px); }

/* Reduced motion: scroll reveals fade only (no slide) */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity .6s ease; }
}

.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.16em; position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  cursor: pointer; position: relative;
}
.burger span {
  display: block; position: absolute; left: 10px; width: 24px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .28s ease, width .4s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; width: 18px; }
.burger span:nth-child(3) { top: 27px; }
/* the three lines fold into a cross */
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* W-17: five menu items need ~1200px on one line, so the burger menu takes over below that */
@media (max-width: 1199px) {
  .nav-links, .head-cta { display: none; }
  .burger { display: block; }
}
/* While the mobile menu is open the header is held solid white (JS sets the
   header vars + `.menu-open`); this makes the bar and the dropdown read as one
   white sheet. `.menu-anim` — added only around the toggle — fades the white
   panel / glass so the change is smooth without slowing scroll updates. */
.site-head.menu-anim::before,
.site-head.menu-anim::after { transition: opacity .42s ease; }

/* the panel opens by growing its height, so the page beneath slides down */
.mobile-menu {
  overflow: hidden; max-height: 0; border-top: 0 solid var(--line); background: var(--bg);
  transition: max-height .62s cubic-bezier(.16,1,.3,1), border-top-width .4s ease, border-color .4s ease;
}
.mobile-menu.open { max-height: 420px; border-top-width: 1px; border-top-color: var(--line); }
@media (min-width: 1200px) {
  .mobile-menu { display: none; }
}
.mobile-menu ul {
  list-style: none; margin: 0; padding: 10px 0 26px;
  padding-inline: clamp(20px, 4.5vw, 64px);
}
.mobile-menu li {
  /* each row rises into place, one after the next */
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.mobile-menu.open li { opacity: 1; transform: none; }
.mobile-menu.open li:nth-child(1) { transition-delay: .10s; }
.mobile-menu.open li:nth-child(2) { transition-delay: .16s; }
.mobile-menu.open li:nth-child(3) { transition-delay: .22s; }
.mobile-menu.open li:nth-child(4) { transition-delay: .28s; }
.mobile-menu.open li:nth-child(5) { transition-delay: .34s; }
.mobile-menu.open li:nth-child(6) { transition-delay: .40s; }
.mobile-menu a, .mobile-menu button {
  display: block; width: 100%; text-align: left; padding: 14px 0; border: 0; background: none;
  font-family: var(--serif); font-weight: 200; font-size: 1.6rem;
  letter-spacing: -0.01em; text-transform: none; cursor: pointer; color: var(--ink);
}
.mobile-menu li + li { border-top: 1px solid var(--line); }

/* ── big section title block (eyebrow / huge word / [01] / ©year) ── */
.sec-head { position: relative; text-align: center; padding: 24px 0 10px; }
.sec-head .big { margin: 18px 0 0; }
/* the [01] / ©year margin notes were removed — numbering now lives only
   on the Services list, where it reads as a sequence rather than decoration */
.sec-head .side { display: none; }
.sec-note {
  max-width: 660px; margin: 40px auto 0; text-align: center;
  color: rgba(18,18,14,.62); font-size: 1.04rem; line-height: 1.85; font-weight: 400;
}

/* ── explore cards ── */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 78px 46px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; gap: 54px; } }
.card-img { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16/9; background: #ECEAE3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.16,1,.3,1); }
.card:hover .card-img img { transform: scale(1.06); }
.card h3 { margin-top: 30px; }
.card p { color: rgba(18,18,14,.62); font-size: 1.02rem; line-height: 1.75; margin: 14px 0 26px; }

/* ── services ── */
.svc { border-top: 1px solid var(--line); padding: 46px 0; display: grid; grid-template-columns: 96px 1fr 360px; gap: 44px; align-items: center; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; } }
.svc .n { font-size: .88rem; color: var(--muted); letter-spacing: .1em; }
.svc p { color: rgba(18,18,14,.62); font-size: 1rem; line-height: 1.75; margin: 12px 0 0; max-width: 62ch; }
.svc-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #ECEAE3; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.svc:hover .svc-img img { transform: scale(1.05); }

/* ── process timeline (white background, animated line) ── */
.proc { position: relative; padding-left: 100px; }
@media (max-width: 700px) { .proc { padding-left: 58px; } }
.proc-track, .proc-fill { position: absolute; left: 29px; top: 6px; bottom: 6px; width: 1px; }
@media (max-width: 700px) { .proc-track, .proc-fill { left: 16px; } }
.proc-track { background: var(--line); }
.proc-fill { background: var(--ink); transform: scaleY(0); transform-origin: top; }
.proc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 54px; }
.proc li { position: relative; }
.proc .dot {
  position: absolute; left: -100px; top: -4px; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center;
  font-family: var(--sans); font-weight: 300; font-size: 1.1rem; color: var(--ink);
}
@media (max-width: 700px) { .proc .dot { left: -58px; width: 36px; height: 36px; font-size: .95rem; } }
.proc p { color: rgba(18,18,14,.62); font-size: 1rem; line-height: 1.75; margin: 10px 0 0; max-width: 58ch; }

/* ── trust marquee ── */
.marquee-wrap { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.marquee { display: flex; white-space: nowrap; user-select: none; }
.marquee > div { display: flex; align-items: center; animation: marquee 42s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee .item { display: flex; align-items: center; }
.marquee .item span {
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(1.45rem, 2.7vw, 2.3rem); color: rgba(255,255,255,.92);
}
.marquee .item i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); margin: 0 34px; flex: none; }

/* ── footer ── */
.site-foot { border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 90px 0 44px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 {
  font-family: var(--sans); font-size: .78rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .28em; color: var(--muted); margin-bottom: 20px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-grid a, .foot-grid li { font-size: .98rem; color: rgba(18,18,14,.72); }
.foot-phone { font-family: var(--serif); font-size: 1.7rem; font-weight: 300; margin-top: 12px; display: block; }
.foot-word { font-family: var(--serif); font-weight: 200; padding: 24px 0 12px; }
.foot-base { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 24px 0; font-size: .8rem; color: var(--muted); }

::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F2F0E9; }
::-webkit-scrollbar-thumb { background: #C9C6BC; border-radius: 6px; }

/* ── inquiry modal ── */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
@media (max-width: 640px) { .modal { padding: 0; align-items: stretch; } }
.modal-bd { position: absolute; inset: 0; background: rgba(18,18,14,.7); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: 100%; max-width: 700px; max-height: 88vh; max-height: 88svh; display: flex; flex-direction: column; background: var(--bg); border-radius: 14px; overflow: hidden; }
@media (max-width: 640px) { .modal-card { max-height: 100%; border-radius: 0; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1.75rem; font-weight: 300; margin-top: 8px; }
.x-btn { border: 0; background: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); }
.x-btn:hover { background: rgba(18,18,14,.06); color: var(--ink); }
.modal-body { overflow-y: auto; padding: 24px 32px; flex: 1; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; border-top: 1px solid var(--line); }
.bar { height: 2px; background: rgba(18,18,14,.1); border-radius: 2px; overflow: hidden; }
.bar > div { height: 100%; background: var(--ink); transition: width .5s ease; }
.flabel { display: block; margin-bottom: 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.field { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 13px 15px; font-size: 16px; color: var(--ink); outline: none; transition: border-color .25s; font-family: var(--sans); }
.field:focus { border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { border: 1px solid var(--line); background: #fff; color: rgba(18,18,14,.72); border-radius: 999px; padding: 9px 17px; font-size: .88rem; cursor: pointer; transition: all .2s; font-family: var(--sans); }
.chip:hover { border-color: rgba(18,18,14,.4); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.fstep { display: none; }
.fstep.on { display: grid; gap: 22px; }
.btn-solid { border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 14px 32px; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; cursor: pointer; font-family: var(--sans); }
.btn-ghost { border: 0; background: none; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; cursor: pointer; font-family: var(--sans); }
.btn-ghost:hover { color: var(--ink); }

/* ── explore detail page bits ── */
.detail-hero { padding: 170px 0 0; }
.detail-hero h1 { font-size: clamp(2.6rem, 7.4vw, 6.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.detail-block { display: grid; grid-template-columns: 240px 1fr; gap: 44px; padding: 64px 0 0; }
@media (max-width: 800px) { .detail-block { grid-template-columns: 1fr; gap: 14px; } }
.detail-block p {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.7;
  color: rgba(18,18,14,.84); max-width: 60ch;
}
.detail-figure { margin: 50px 0 0; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px; background: #ECEAE3; }
.detail-figure img { width: 100%; height: 100%; object-fit: cover; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; } }
.trio > div { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; background: #ECEAE3; }
.trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s cubic-bezier(.16,1,.3,1); }
.trio > div:hover img { transform: scale(1.05); }
.prevnext { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 90px; padding: 38px 0 100px; }
.prevnext .lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .24em; color: var(--muted); display: block; margin-bottom: 8px; }
.prevnext strong { font-family: var(--serif); font-weight: 300; font-size: 1.55rem; }

/* ── applied sizes for the generated blocks (kept here so the
      markup stays clean and every page inherits the same scale) ── */
.sec-head .big { font-size: clamp(2.9rem, 7.6vw, 10rem); font-weight: 200; line-height: .96; letter-spacing: -0.04em; }
.card h3      { font-size: clamp(1.8rem, 3vw, 3.3rem); font-weight: 200; line-height: 1.24; letter-spacing: -0.022em; }
.svc h3       { font-size: clamp(1.45rem, 2.2vw, 2.2rem); font-weight: 300; line-height: 1.24; letter-spacing: -0.018em; }
.proc h3      { font-size: clamp(1.45rem, 2.2vw, 2.2rem); font-weight: 300; line-height: 1.24; letter-spacing: -0.018em; }
.foot-word    { font-size: clamp(2.4rem, 12.6vw, 13.5rem); font-weight: 200; line-height: .86; letter-spacing: -0.045em; }

/* image placeholder (for photos missing from the old template) */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #ECEAE3 0 12px, #E4E1D8 12px 24px);
  color: #A5A199; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  font-family: var(--sans);
}


/* ═══════════ touch / small-screen refinements ═══════════ */

/* iOS: respect the notch and home-bar areas (height constant, no shrink) */
.site-head { padding-top: max(20px, env(safe-area-inset-top)); }
.wrap {
  padding-left: max(clamp(20px, 4.5vw, 64px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4.5vw, 64px), env(safe-area-inset-right));
}
.foot-base { padding-bottom: max(24px, env(safe-area-inset-bottom)); }

/* momentum scrolling inside the booking form */
.modal-body { -webkit-overflow-scrolling: touch; }
.modal-card { padding-bottom: env(safe-area-inset-bottom); }

/* the booking form's paired fields stack on narrow screens */
.two-col { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .two-col { grid-template-columns: 1fr; gap: 16px; } }

@media (hover: none) {
  /* fingers need bigger targets than cursors — 44px is Apple's guidance */
  .chip { min-height: 44px; padding: 11px 18px; display: inline-flex; align-items: center; }
  .pill-btn { padding: 12px 12px 12px 26px; }
  .mobile-menu a, .mobile-menu button { padding: 15px 0; }
  .foot-grid a, .foot-grid button { display: inline-block; padding: 4px 0; }
  * { -webkit-tap-highlight-color: rgba(18,18,14,.06); }
  /* hover-only flourishes would stick on touch, so switch them off */
  .card:hover .card-img img, .svc:hover .svc-img img, .trio > div:hover img { transform: none; }
  .pill-btn:hover { background: var(--white); color: var(--ink); border-color: var(--line); }
  .pill-btn:hover .arw { background: var(--ink); color: var(--white); transform: none; }
}

/* tablets: keep the three detail photos side by side rather than stacking */
@media (min-width: 560px) and (max-width: 800px) {
  .trio { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .trio > div { aspect-ratio: 3/4; }
}

@media (max-width: 700px) {
  /* the [01] / ©year margin notes collide with the big word on phones */
  .sec-head .side { display: none; }
  .detail-hero { padding-top: 120px; }
  .sec-head { padding-top: 8px; }
  .foot-grid { padding-top: 54px; }
}


/* ═══════════ Services — sticky stacking cards ═══════════
   Each card pins to the top of the viewport as you scroll, and the next one
   slides up over it like a dealt deck. `top` is offset per card so the stack
   sits slightly lower each time and you can still see the edges beneath. */
.svc-stack { position: relative; }
.svc-card {
  position: sticky;
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg);
  padding: 40px; margin-bottom: 26px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 42%; gap: 44px; align-items: center;
  min-height: 340px;
  box-shadow: 0 -18px 40px -30px rgba(18,18,14,.35);
}
.svc-card:last-child { margin-bottom: 0; }
.svc-card .n {
  font-size: .86rem; color: var(--muted); letter-spacing: .12em;
  display: block; margin-bottom: 14px;
}
.svc-card p { color: rgba(18,18,14,.62); font-size: 1rem; line-height: 1.75; margin: 12px 0 0; max-width: 46ch; }
.svc-card .shot { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; background: #ECEAE3; }
.svc-card .shot img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .svc-card {
    grid-template-columns: 1fr; gap: 22px; padding: 26px; min-height: 0;
    border-radius: 14px;
  }
  .svc-card .shot { aspect-ratio: 16/10; order: -1; }
}

/* Stacking needs a real scroll container height; on very short screens the
   pinning is more annoying than nice, so it falls back to a plain list. */
@media (max-height: 620px) {
  .svc-card { position: relative; top: auto !important; box-shadow: none; }
}

/* ═══════════ Contact — the short panel (separate from trip planning) ═══════════ */
.contact-grid { display: grid; gap: 30px; }
.contact-row { display: grid; gap: 6px; }
.contact-row .lbl {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .24em; color: var(--muted);
}
.contact-row .val { font-family: var(--serif); font-weight: 200; font-size: 1.6rem; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-socials a {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 17px;
  font-size: .84rem; transition: background .3s, color .3s, border-color .3s;
}
.contact-socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-note {
  border-top: 1px solid var(--line); margin-top: 6px; padding-top: 22px;
  font-size: .93rem; line-height: 1.7; color: rgba(18,18,14,.62);
}
.contact-note .pill-btn { margin-top: 14px; }


/* ═══════════ Contact message form ═══════════ */
.contact-form { display: grid; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-form .lbl { font-size: .7rem; text-transform: uppercase; letter-spacing: .24em; color: var(--muted); }
.contact-form .pill-btn { justify-self: start; margin-top: 4px; }
.form-error { color: #B3261E; font-size: .88rem; margin: 0; }

.contact-sent { padding: 64px 30px; text-align: center; }
.contact-sent .tick {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.contact-sent h3 { font-size: 1.9rem; margin-top: 22px; }
.contact-sent p {
  max-width: 420px; margin: 12px auto 0; font-size: .93rem;
  line-height: 1.7; color: rgba(18,18,14,.66);
}
.contact-sent .pill-btn { margin-top: 26px; }

/* enquiry form — "indicative, USD" helper line under budget selectors */
.budget-note { font-size: .74rem; color: var(--muted); margin: 8px 0 0; }

/* ── enquiry form: optional badge, collapsible, WhatsApp helper ── */
.opt-badge { display:inline-block; font-size:.68rem; text-transform:uppercase; letter-spacing:.14em; color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:3px 10px; }
.more-options { border:1px solid var(--line); border-radius:10px; padding:0 14px; }
.more-options > summary { cursor:pointer; list-style:none; padding:13px 2px; font-size:.82rem; font-weight:500; color:var(--ink); display:flex; align-items:center; justify-content:space-between; }
.more-options > summary::-webkit-details-marker { display:none; }
.more-options > summary::after { content:'+'; font-size:1.15rem; color:var(--muted); line-height:1; }
.more-options[open] > summary::after { content:'\2013'; }
.more-options .more-inner { display:grid; gap:18px; padding:4px 0 16px; }
.foot-left { display:flex; align-items:center; gap:14px; }
.wa-help { display:flex; align-items:center; gap:8px; }
.wa-help > span { font-size:.76rem; color:var(--muted); }
.wa-btn { font-size:.74rem; font-weight:500; color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:6px 12px; white-space:nowrap; transition:background .25s ease, color .25s ease, border-color .25s ease; }
.wa-btn:hover { background:var(--ink); color:#fff; border-color:var(--ink); }
@media (max-width:560px){ .wa-help > span { display:none; } }

/* ── Language (EN / 日本語) ── */
html:lang(ja){ --serif:'Noto Sans JP','Noto Sans',system-ui,-apple-system,sans-serif; --sans:'Noto Sans JP','Noto Sans',system-ui,-apple-system,sans-serif; }
/* Language switch pinned to the far RIGHT of the header (outside the content
   frame on wide screens). The header reserves room on the right so the Contact
   button (desktop) / burger (mobile) sit to its left and never collide. */
.head-in{ padding-right: calc(clamp(20px, 4.5vw, 64px) + 52px); }
.lang-switch{ position:absolute; top:50%; right:clamp(14px, 2vw, 30px); transform:translateY(-50%); z-index:3; }
.lang-cur{ display:flex; align-items:center; gap:5px; background:none; border:1px solid var(--line); border-radius:999px; padding:5px 11px; cursor:pointer; font:inherit; font-size:.74rem; font-weight:500; letter-spacing:.06em; color:var(--ink); transition:border-color .25s ease; }
.lang-cur:hover{ border-color:var(--ink); }
.lang-caret{ font-size:.58rem; color:var(--muted); }
.lang-menu{ position:absolute; top:calc(100% + 6px); right:0; background:#fff; border:1px solid var(--line); border-radius:10px; padding:4px; min-width:130px; box-shadow:0 12px 32px rgba(18,18,14,.14); display:none; z-index:80; }
.lang-switch.open .lang-menu{ display:block; }
.lang-opt{ display:block; width:100%; text-align:left; background:none; border:0; border-radius:7px; padding:9px 11px; cursor:pointer; font:inherit; font-size:.84rem; color:var(--ink); }
.lang-opt:hover{ background:rgba(18,18,14,.05); }
.lang-opt.on{ font-weight:600; }

/* "What we do" two-line label: 一期一会 / Ichigo ichie (いちごいちえ) */
.wwd-eye{ align-items:center; }
.wwd-eye-lines{ display:flex; flex-direction:column; gap:2px; }
.wwd-eye-top{ font-family:'Noto Sans JP','Noto Sans',sans-serif; text-transform:none; letter-spacing:.1em; font-size:1.3em; line-height:1.25; color:var(--muted); }
.wwd-eye-sub{ font-size:1em; line-height:1.4; }

/* hero video: never show native iOS controls / play-button overlay */
.hero-vid::-webkit-media-controls-start-playback-button,
.hero-vid::-webkit-media-controls-play-button,
.hero-vid::-webkit-media-controls { display: none !important; -webkit-appearance: none; }
.hero-vid::-webkit-media-controls-overlay-play-button { display: none !important; }

/* ═══════════ SHAPE YOUR JOURNEY — the island map (its own page: shape-your-journey.html) ═══════════
   Everything here is prefixed .jr- so it
   never touches existing styles. Logic: assets/journey.js · data: journey-map.js */
:root{ --jr-sea:#12120E; --jr-ivory:#F3EDE0; --jr-ivory-2:rgba(243,237,224,.62); --jr-ivory-3:rgba(243,237,224,.22); }

/* — the map overlay — */
.jr-map{ position:fixed; inset:0; z-index:110; display:none; flex-direction:column; background:var(--jr-sea); color:var(--jr-ivory); font-family:var(--sans); }
.jr-map.open{ display:flex; animation:jrIn .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes jrIn{ from{ opacity:0; } to{ opacity:1; } }
.jr-map::before{ content:''; position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse 70% 60% at 62% 45%, rgba(243,237,224,.045), rgba(243,237,224,0) 70%); }
.jr-top{ position:relative; z-index:3; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 28px; }
.jr-top .eyebrow{ color:var(--jr-ivory-2); }
.jr-ghost{ border:0; background:none; color:var(--jr-ivory-2); font:inherit; font-size:.76rem; letter-spacing:.18em; text-transform:uppercase; cursor:pointer; padding:8px 0; }
.jr-ghost:hover, .jr-ghost:focus-visible{ color:var(--jr-ivory); }
.jr-x{ border:0; background:none; width:40px; height:40px; border-radius:50%; color:var(--jr-ivory-2); cursor:pointer; display:grid; place-items:center; }
.jr-x:hover, .jr-x:focus-visible{ background:rgba(243,237,224,.08); color:var(--jr-ivory); }
/* W-06 layout — desktop: steps · map · "Your journey" (three columns, each scrolls on its own) */
.jr-body{ position:relative; z-index:1; flex:1; min-height:0; display:grid; grid-template-columns:minmax(320px,400px) minmax(0,1fr) minmax(250px,290px); grid-template-areas:"panel map journey"; gap:0 32px; padding:0 28px; }
.jr-mapcol{ grid-area:map; display:flex; flex-direction:column; min-height:0; }
.jr-stage{ position:relative; flex:1; min-height:0; }
.jr-svg{ position:absolute; inset:0; width:100%; height:100%; display:block; overflow:visible; }
/* decorative layers (sea sheen, shimmer, glows…) reach past the map's box — they must never
   catch a tap meant for the steps; only the area / park targets are interactive (W-13) */
.jr-svg *{ pointer-events:none; }
.jr-svg [role="button"], .jr-svg [role="button"] *{ pointer-events:auto; }
.jr-svg .park .pr, .jr-svg .park .pd{ pointer-events:none; }
.jr-panel, .jr-journey{ position:relative; z-index:2; }
.jr-panel{ grid-area:panel; overflow-y:auto; padding:6px 6px 34px 0; display:flex; flex-direction:column; gap:30px; scrollbar-width:thin; scrollbar-color:rgba(243,237,224,.18) transparent; }
.jr-panel h2{ font-size:clamp(1.6rem,2.3vw,2.3rem); font-weight:200; line-height:1.18; letter-spacing:-.02em; margin:0; max-width:16ch; }
.jr-journey{ grid-area:journey; overflow-y:auto; display:flex; flex-direction:column; gap:16px; padding:6px 0 30px; scrollbar-width:thin; scrollbar-color:rgba(243,237,224,.18) transparent; }
.jr-j-top{ display:flex; flex-direction:column; gap:6px; padding:20px 20px 16px; border:1px solid rgba(243,237,224,.14); border-radius:14px; background:linear-gradient(180deg, rgba(243,237,224,.05), rgba(243,237,224,0)); }
.jr-j-top .jr-lab{ margin-bottom:4px; }
html:lang(ja) .jr-panel h2{ max-width:none; font-size:clamp(1.45rem,2vw,2rem); }
.jr-j-top .jr-total{ font-size:clamp(1.4rem,1.75vw,1.8rem); }
.jr-j-top .jr-total.is-long{ font-size:clamp(1.2rem,1.45vw,1.5rem); }
.jr-body{ scrollbar-width:thin; scrollbar-color:rgba(243,237,224,.18) transparent; }
.jr-est-l{ margin:10px 0 0; font-size:.66rem; letter-spacing:.22em; text-transform:uppercase; color:rgba(243,237,224,.5); }
.jr-noflights{ margin:0 0 8px; font-size:.72rem; font-weight:300; color:rgba(243,237,224,.45); }
.jr-cur{ align-self:flex-start; margin-bottom:6px; }
.jr-sw{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0 2px; border-top:1px solid rgba(243,237,224,.1); }
.jr-sw-l{ font-size:.84rem; font-weight:300; color:rgba(243,237,224,.85); }
.jr-go{ display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.jr-go .pill-btn{ justify-content:space-between; gap:12px; padding-left:22px; }
.jr-go .pill-btn > span:first-child{ white-space:normal; text-align:left; line-height:1.4; }
.jr-go-steps{ display:none; padding-top:4px; }
/* style cards — each shows its estimate for the chosen group + length */
.jr-styles{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.jr-style-card{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; text-align:left; padding:14px 14px 13px; border-radius:12px; border:1px solid var(--jr-ivory-3); background:transparent; color:rgba(243,237,224,.82); font:inherit; cursor:pointer; transition:background .45s ease, border-color .45s ease, color .45s ease; }
.jr-style-card:hover{ border-color:rgba(243,237,224,.5); color:var(--jr-ivory); }
.jr-style-card:focus-visible{ outline:1px solid var(--jr-ivory); outline-offset:3px; }
.jr-style-n{ font-size:.9rem; font-weight:400; letter-spacing:.01em; }
.jr-style-p{ font-size:.74rem; font-weight:300; color:rgba(243,237,224,.55); font-variant-numeric:lining-nums; transition:opacity .2s ease, color .45s ease; }
.jr-style-card[aria-checked="true"]{ background:var(--jr-ivory); border-color:var(--jr-ivory); color:var(--ink); }
.jr-style-card[aria-checked="true"] .jr-style-p{ color:rgba(18,18,14,.6); }
/* W-13 desktop: the panel always fits the screen. The breakdown opens INSIDE it and
   scrolls on its own; the estimate (top) and Continue (bottom) never move out of view. */
.jr-journey > .jr-j-top, .jr-journey > .jr-go{ flex:none; }
.jr-journey > .jr-bd{ flex:0 1 auto; min-height:2.2rem; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(243,237,224,.18) transparent; }
.jr-journey > .jr-bd > summary{ position:sticky; top:0; z-index:1; background:var(--jr-sea); width:100%; }
.jr-bd-slot:empty{ display:none; }
/* W-13: every estimate stays on ONE line — journey.js shrinks the type to fit if needed */
.jr-total, .jr-style-p{ white-space:nowrap; }
.jr-style-p{ display:block; align-self:stretch; overflow:hidden; }
/* the map's licence credit: off the map (W-13) — footer of the site pages + end of this page */
.jr-mapcredit{ margin:8px 0 0; font-size:.66rem; line-height:1.6; color:rgba(243,237,224,.36); }
.jr-mapcredit a{ color:inherit; text-decoration:underline; text-decoration-color:rgba(243,237,224,.2); text-underline-offset:2px; }
.jr-mapcredit a:hover{ color:var(--jr-ivory-2); }
.foot-credit{ margin:-12px 0 0; padding:0 0 max(20px, env(safe-area-inset-bottom)); font-size:.72rem; line-height:1.6; color:var(--muted); }
.foot-credit a{ color:inherit; text-decoration:underline; text-decoration-color:rgba(18,18,14,.2); text-underline-offset:2px; }
.jr-sec{ display:grid; gap:14px; }
.jr-lab{ font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--jr-ivory-2); }
.jr-hint{ font-size:.82rem; font-weight:300; color:rgba(243,237,224,.48); margin:-6px 0 0; }
.jr-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.jr-chip{ display:inline-flex; align-items:center; gap:9px; border:1px solid var(--jr-ivory-3); background:transparent; color:rgba(243,237,224,.8); border-radius:999px; padding:9px 16px; font:inherit; font-size:.86rem; font-weight:300; cursor:pointer; transition:background .45s ease, color .45s ease, border-color .45s ease; }
.jr-chip:hover{ border-color:rgba(243,237,224,.5); color:var(--jr-ivory); }
.jr-chip:focus-visible{ outline:1px solid var(--jr-ivory); outline-offset:3px; }
.jr-chip[aria-pressed="true"]{ background:var(--jr-ivory); color:var(--ink); border-color:var(--jr-ivory); }
.jr-chip .dot{ width:7px; height:7px; border-radius:50%; background:var(--c, var(--jr-ivory)); box-shadow:0 0 10px 1px var(--c, transparent); flex:none; }
.jr-chip-open{ border-style:dashed; }
.jr-mapcol{ padding-bottom:calc(10px + env(safe-area-inset-bottom)); }

/* map label + Flavours line (HTML over the SVG, so they stay legible on phones) */
.jr-label{ position:absolute; left:0; top:0; transform:translate(-50%,-140%); pointer-events:none; font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; font-weight:400; color:var(--jr-ivory); white-space:nowrap; opacity:0; transition:opacity .5s ease; text-shadow:0 0 14px rgba(18,18,14,.9); }
.jr-label.on{ opacity:1; }
.jr-flav{ position:absolute; left:0; right:0; bottom:1%; text-align:center; margin:0; font-size:.86rem; font-weight:200; letter-spacing:.04em; color:#F4E3B8; opacity:0; transform:translateY(6px); transition:opacity 1.4s ease, transform 1.4s ease; pointer-events:none; }
.jr-flav.on{ opacity:.92; transform:none; }

/* SVG layers */
.jr-svg .isle{ fill:var(--jr-ivory); fill-opacity:.11; }
.jr-svg .coast{ fill:none; stroke:var(--jr-ivory); stroke-opacity:.5; stroke-width:.9; vector-effect:non-scaling-stroke; }
.jr-svg .shim{ fill:none; stroke:var(--jr-ivory); stroke-linejoin:round; }
.jr-svg .shim.s1{ stroke-width:7;  stroke-opacity:.05; animation:jrShim 9s ease-in-out infinite; }
.jr-svg .shim.s2{ stroke-width:18; stroke-opacity:.03; animation:jrShim 11s ease-in-out -3s infinite; }
.jr-svg .shim.s3{ stroke-width:34; stroke-opacity:.018; animation:jrShim 13s ease-in-out -6s infinite; }
.jr-svg .glint{ fill:none; stroke:#F7EBCB; stroke-width:1.3; stroke-linecap:round; stroke-dasharray:.5 11; stroke-opacity:.42; animation:jrGlint 90s linear infinite; }
.jr-svg .sheen{ animation:jrSheen 38s ease-in-out infinite alternate; transform-box:fill-box; transform-origin:center; }
@keyframes jrShim{ 0%,100%{ opacity:.35; } 50%{ opacity:1; } }
@keyframes jrGlint{ to{ stroke-dashoffset:-460; } }
@keyframes jrSheen{ from{ transform:translate(-6%,-4%); } to{ transform:translate(6%,5%); } }
.jr-svg .glow{ opacity:0; transition:opacity 1.9s ease; }
.jr-svg .glow.on{ opacity:1; }
.jr-svg .glow circle{ mix-blend-mode:screen; transform-box:fill-box; transform-origin:center; animation:jrBreathe 8s ease-in-out infinite; }
.jr-svg .glow circle:nth-child(2n){ animation-delay:-3s; }
.jr-svg .glow circle:nth-child(3n){ animation-delay:-5.5s; }
@keyframes jrBreathe{ 0%,100%{ transform:scale(1); opacity:.86; } 50%{ transform:scale(1.07); opacity:1; } }
.jr-svg .spark{ opacity:0; transition:opacity 1.6s ease; }
.jr-svg .spark.on{ opacity:1; }
.jr-svg .spark circle{ fill:#F4E3B8; opacity:0; animation:jrTwinkle 6s ease-in-out infinite; }
@keyframes jrTwinkle{ 0%,100%{ opacity:0; } 45%,55%{ opacity:.95; } }
.jr-svg .av{ fill:var(--jr-ivory); opacity:0; transition:opacity .6s ease; }
.jr-svg .av.hov{ opacity:.08; }
.jr-svg .av.sel{ opacity:.15; }
.jr-svg .av.sel.hov{ opacity:.19; }
.jr-svg .hit{ fill:transparent; cursor:pointer; outline:none; }
.jr-svg .park .pd{ fill:var(--jr-ivory); opacity:0; transition:opacity .6s ease; }
.jr-svg .park .pr{ fill:url(#jrParkGlow); opacity:0; transition:opacity .9s ease; }
.jr-svg .park.hov .pd{ opacity:.55; }
.jr-svg .park.sel .pd{ opacity:.95; }
.jr-svg .park.sel .pr{ opacity:1; }
.jr-svg .park .ph{ fill:transparent; cursor:pointer; }
.jr-svg [role="button"]{ outline:none; }

/* phone + tablet (W-13): the map + "Your journey" stay pinned at the top in their own
   reserved row (about 35-40% of the screen); the steps scroll in the area BELOW it, so
   nothing ever slides under the map. The breakdown sits at the top of the steps area
   (moved there by journey.js) and Continue is at the end of the steps (not sticky). */
@media (max-width:1100px){
  .jr-top{ padding:10px 14px; }
  .jr-top .eyebrow{ font-size:.66rem; }
  .jr-body{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); grid-template-areas:"map jtop" "panel panel"; gap:0 14px; overflow:hidden; overflow:clip; padding:0 16px; }
  .jr-mapcol{ height:clamp(210px,34svh,380px); padding-bottom:8px; }
  .jr-journey{ display:contents; }                 /* its parts are placed in the grid directly */
  .jr-j-top{ grid-area:jtop; align-self:center; padding:12px 12px 8px; gap:3px; margin-bottom:8px; }
  .jr-go-desk{ display:none; }
  .jr-go-steps{ display:flex; }
  .jr-panel{ grid-area:panel; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; margin:0 -16px; padding:14px 16px calc(30px + env(safe-area-inset-bottom)); gap:26px; border-top:1px solid rgba(243,237,224,.1); }
  .jr-panel h2{ font-size:1.5rem; max-width:none; }
  .jr-bd-slot > .jr-bd{ margin:0 0 -8px; }
}
/* short phones (e.g. iPhone SE): keep the pinned row near 35-40% of the screen */
@media (max-width:1100px) and (max-height:720px){
  .jr-j-top .jr-lab{ display:none; }
  .jr-j-top{ padding-top:10px; }
}@media (max-width:560px){
  .jr-j-top .jr-lab{ font-size:.6rem; letter-spacing:.18em; }
  .jr-j-top .jr-for{ font-size:.7rem; line-height:1.45; }
  .jr-j-top .jr-total{ font-size:1.12rem; line-height:1.25; }
  .jr-j-top .jr-total.is-long{ font-size:.98rem; }
  .jr-est-l{ margin-top:6px; font-size:.58rem; }
  .jr-noflights{ font-size:.64rem; margin-bottom:6px; }
  .jr-cur .jr-seg-b{ font-size:.6rem; padding:5px 7px; letter-spacing:.06em; }
  .jr-sw{ padding-top:8px; gap:8px; }
  .jr-sw-l{ font-size:.74rem; }
  .jr-switch .jr-knob{ width:32px; height:18px; }
  .jr-switch .jr-knob::after{ width:10px; height:10px; }
  .jr-switch[aria-checked="true"] .jr-knob::after{ transform:translateX(14px); }
  .jr-style-card{ padding:12px 12px 11px; }
  .jr-style-p{ font-size:.68rem; }
}

/* reduced motion: no shimmer, breathing, twinkle or drifting — still beautiful, just still */
@media (prefers-reduced-motion: reduce){
  .jr-map.open{ animation:none; }
  .jr-svg .shim, .jr-svg .glint, .jr-svg .sheen, .jr-svg .glow circle{ animation:none !important; }
  .jr-svg .spark circle{ animation:none !important; opacity:.7; }
  .jr-svg .glow, .jr-svg .spark, .jr-svg .av, .jr-flav, .jr-label{ transition-duration:.01s; }
}
/* Japanese: break lines at natural phrase boundaries */
html:lang(ja) .jr-panel h2, html:lang(ja) .jr-hint, html:lang(ja) .jr-flav{ word-break:auto-phrase; text-wrap:balance; }
/* only animate what is visible (lighter on phones) */
.jr-svg .glow:not(.on) circle, .jr-svg .spark:not(.on) circle{ animation-play-state:paused; }

/* honeypot fields (anti-spam): off-screen for people, still "visible" to bots */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ═══════════ SHAPE YOUR JOURNEY — Stage 2 (options + indicative range) ═══════════ */
.jr-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--jr-ivory-3); border-radius: 12px; padding: 10px 10px 10px 16px; }
.jr-opt-l { font-size: .82rem; font-weight: 300; color: rgba(243,237,224,.82); letter-spacing: .02em; }
.jr-step { display: flex; align-items: center; gap: 4px; }
.jr-sbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--jr-ivory-3); background: transparent; color: var(--jr-ivory); font: inherit; font-size: 1.05rem; line-height: 1; cursor: pointer; transition: border-color .3s ease, opacity .3s ease; }
.jr-sbtn:hover { border-color: rgba(243,237,224,.6); }
.jr-sbtn:focus-visible { outline: 1px solid var(--jr-ivory); outline-offset: 2px; }
.jr-sbtn:disabled { opacity: .25; cursor: default; }
.jr-sval { min-width: 2.2ch; text-align: center; font-size: 1.15rem; font-weight: 200; color: var(--jr-ivory); }
.jr-note { margin: 10px 0 0; font-size: .74rem; font-weight: 300; line-height: 1.55; color: rgba(243,237,224,.45); }
.jr-switch { display: inline-flex; align-items: center; gap: 10px; flex: none; border: 0; background: none; color: rgba(243,237,224,.8); font: inherit; font-size: .78rem; font-weight: 300; cursor: pointer; padding: 4px 0; text-align: left; max-width: 46%; }
.jr-switch .jr-knob { position: relative; width: 36px; height: 20px; flex: none; border-radius: 999px; border: 1px solid var(--jr-ivory-3); transition: background .35s ease, border-color .35s ease; }
.jr-switch .jr-knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: rgba(243,237,224,.7); transition: transform .35s cubic-bezier(.16,1,.3,1), background .35s ease; }
.jr-switch[aria-checked="true"] .jr-knob { background: var(--jr-ivory); border-color: var(--jr-ivory); }
.jr-switch[aria-checked="true"] .jr-knob::after { transform: translateX(16px); background: var(--ink); }
.jr-switch:focus-visible { outline: 1px solid var(--jr-ivory); outline-offset: 4px; border-radius: 6px; }

.jr-for { margin: 0; font-size: .78rem; font-weight: 300; color: rgba(243,237,224,.55); letter-spacing: .03em; }
.jr-total { margin: 2px 0 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 200; letter-spacing: -.01em; line-height: 1.15; color: var(--jr-ivory); font-variant-numeric: lining-nums; }
.jr-bd > summary { cursor: pointer; list-style: none; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,237,224,.7); display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; }
.jr-bd > summary::-webkit-details-marker { display: none; }
.jr-bd > summary::after { content: '+'; font-size: .95rem; letter-spacing: 0; color: rgba(243,237,224,.5); }
.jr-bd[open] > summary::after { content: '\2013'; }
.jr-bd > summary:focus-visible { outline: 1px solid var(--jr-ivory); outline-offset: 4px; border-radius: 4px; }
.jr-bdl { margin: 10px 0 0; display: grid; gap: 0; }
.jr-bdl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(243,237,224,.08); font-size: .82rem; font-weight: 300; }
.jr-bdl dt { color: rgba(243,237,224,.6); }
.jr-bdl dd { margin: 0; color: var(--jr-ivory); text-align: right; font-variant-numeric: tabular-nums; }
/* figures change with a soft fade, never a counting animation */
.jr-for, .jr-total, .jr-bdl dd { transition: opacity .2s ease; }
.jr-swap { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .jr-for, .jr-total, .jr-bdl dd, .jr-style-p, .jr-style-card, .jr-switch .jr-knob, .jr-switch .jr-knob::after { transition: none; }
}

/* enquiry form — short page after Shape your journey (W-06): steps 1, 2, 6 shown
   together, extra fields hidden; "Use the full form" switches back to 7 steps */
#inquiry.is-short [data-full-only] { display: none !important; }
#inquiry:not(.is-short) .short-only { display: none !important; }
#inquiry.is-short .fstep.on + .fstep.on { margin-top: 22px; }
.short-intro { display: grid; gap: 6px; padding: 14px 16px; border-radius: 10px; background: rgba(18,18,14,.035); }
.short-intro p { margin: 0; font-size: .9rem; line-height: 1.65; color: rgba(18,18,14,.75); }
.link-btn { justify-self: start; border: 0; background: none; padding: 0; font: inherit; font-size: .82rem; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(18,18,14,.3); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover, .link-btn:focus-visible { text-decoration-color: var(--ink); }

/* enquiry form: the map's indicative range (Stage 2 hand-off) */
.est-block { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: #fff; }
.est-block .est-range { margin: 2px 0 6px; font-size: 1.35rem; font-weight: 200; letter-spacing: -.01em; color: var(--ink); }

/* Shape your journey — language + currency switches (segmented, ivory on dark) */
.jr-tools { display: flex; align-items: center; gap: 10px; }
.jr-seg { display: inline-flex; border: 1px solid var(--jr-ivory-3); border-radius: 999px; padding: 2px; }
.jr-seg-b { border: 0; background: transparent; color: rgba(243,237,224,.62); font: inherit; font-size: .7rem; letter-spacing: .12em; padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: background .35s ease, color .35s ease; }
.jr-seg-b:hover { color: var(--jr-ivory); }
.jr-seg-b[aria-pressed="true"] { background: var(--jr-ivory); color: var(--ink); }
.jr-seg-b:focus-visible { outline: 1px solid var(--jr-ivory); outline-offset: 2px; }
.jr-seg-b[lang="ja"] { letter-spacing: .04em; }
.jr-est-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .jr-top .eyebrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .jr-seg-b { transition: none; } }
.jr-total.is-long { font-size: clamp(1.45rem, 2.1vw, 1.85rem); }

/* Shape your journey as its own page (W-04): Back / × are links, plus a quiet
   "Tell us directly" way to the 7-step form (under the heading + next to Continue) */
a.jr-ghost, a.jr-x { text-decoration: none; }
.jr-direct { margin: -16px 0 0; font-size: .82rem; font-weight: 300; line-height: 1.6; color: rgba(243,237,224,.48); }
.jr-direct a, .jr-foot-direct { color: rgba(243,237,224,.78); text-decoration: underline; text-decoration-color: rgba(243,237,224,.3); text-underline-offset: 3px; transition: color .3s ease, text-decoration-color .3s ease; }
.jr-direct a:hover, .jr-direct a:focus-visible, .jr-foot-direct:hover, .jr-foot-direct:focus-visible { color: var(--jr-ivory); text-decoration-color: var(--jr-ivory); }
.jr-foot-direct { font-size: .78rem; font-weight: 300; text-align: center; }
@media (max-width: 1100px) { .jr-direct { margin-top: -12px; } }
@media (prefers-reduced-motion: reduce) { .jr-direct a, .jr-foot-direct { transition: none; } }

/* ═══════════ W-17 — Signature Journeys + How it works ═══════════
   Menu: Home · Explore the Island · Journeys · Services · How it works.
   Cards: home strip (#journeyCards) + journeys.html; one journey = journey.html?j=<slug>
   (drawn by assets/journeys.js). FAQ accordion on how-it-works.html. */
.nav-links { gap: clamp(22px, 2.2vw, 40px); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu.open { max-height: 520px; }
.mobile-menu.open li:nth-child(7) { transition-delay: .46s; }
#journeys, #faq { scroll-margin-top: 100px; }

/* ── journey cards: tall photo, title, one quiet line; hover = slow slight zoom + a fine line under the title ── */
.jc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.jc-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jc { display: block; color: inherit; outline: none; }
.jc-img { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5.2; background: #ECEAE3; }
.jc-row.two .jc-img { aspect-ratio: 4 / 3; }
.jc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s cubic-bezier(.16,1,.3,1); }
.jc:hover .jc-img img, .jc:focus-visible .jc-img img { transform: scale(1.045); }
.jc:focus-visible .jc-img { outline: 1px solid var(--ink); outline-offset: 4px; }
.jc-t { margin-top: 24px; font-family: var(--serif); font-weight: 200; font-size: clamp(1.55rem, 2.15vw, 2.2rem); line-height: 1.22; letter-spacing: -0.02em; }
.jc-t span { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; padding-bottom: 5px; transition: background-size 1.2s cubic-bezier(.16,1,.3,1); }
.jc:hover .jc-t span, .jc:focus-visible .jc-t span { background-size: 100% 1px; }
.jc-m { margin: 12px 0 0; font-size: .74rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.jc-s { margin: 14px 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.75; color: rgba(18,18,14,.62); }
@media (max-width: 760px) {
  .jc-row { grid-template-columns: 1fr; gap: 56px; }
  .jc-row.two { grid-template-columns: 1fr; }
  /* the home strip scrolls sideways on phones (the next card peeks in) */
  .jc-row.strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(20px, 4.5vw, 64px)); padding-inline: clamp(20px, 4.5vw, 64px); scroll-padding-inline: clamp(20px, 4.5vw, 64px); }
  .jc-row.strip::-webkit-scrollbar { display: none; }
  .jc-row.strip > .jc { scroll-snap-align: start; }
  .jc-t { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .jc-img img, .jc-t span { transition: none; }
  .jc:hover .jc-img img, .jc:focus-visible .jc-img img { transform: none; }
}

/* ── home: "Signature Journeys" strip (after the six themes) ── */
.sj { padding: 10px 0 130px; }
.sj-head { text-align: center; margin-bottom: 60px; }
.sj-head h2 { margin: 18px auto 0; max-width: 24ch; }
.sj-foot { margin-top: 54px; text-align: center; }
.sj-all { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: border-color .5s ease; }
.sj-all:hover, .sj-all:focus-visible { border-color: var(--ink); outline: none; }
.sj-all i { font-style: normal; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.sj-all:hover i { transform: translateX(4px); }

/* ── journeys.html ── */
.jl-intro { margin: 34px 0 0; max-width: 56ch; font-family: var(--serif); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.7; color: rgba(18,18,14,.82); }
.jl-list { margin-top: 90px; }
.jl-own { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; margin: 130px 0 0; padding: 56px 0 110px; border-top: 1px solid var(--line); }
.jl-own h2 { max-width: 22ch; }

/* ── how-it-works.html: FAQ accordion ── */
.hw-top { padding-top: 150px; }
.faq { max-width: 940px; margin: 70px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font: inherit; }
.faq-q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.12rem, 1.65vw, 1.5rem); line-height: 1.4; letter-spacing: -0.01em; }
.faq-q button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.faq-ic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background .5s ease, border-color .5s ease, color .5s ease; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q button:hover .faq-ic { border-color: rgba(18,18,14,.45); }
.faq-item.open .faq-ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item.open .faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s cubic-bezier(.16,1,.3,1); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a .in { padding: 0 64px 30px 0; color: rgba(18,18,14,.68); font-size: 1rem; line-height: 1.8; max-width: 70ch; }
.faq-a .in p { margin: 0 0 12px; }
.faq-a .in p:last-child { margin: 0; }
.faq-a .in em { font-style: normal; color: #9A6A2F; }
.faq-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; max-width: 940px; margin: 90px auto 0; padding-bottom: 120px; }
@media (max-width: 600px) { .faq-a .in { padding-right: 0; } .faq-q button { padding: 22px 0; } }
@media (prefers-reduced-motion: reduce) { .faq-a, .faq-ic, .faq-ic::before, .faq-ic::after { transition: none; } }

/* ── journey.html — hero ── */
.jy-hero { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; color: #fff; background: #23231d; }
.jy-hero-bg { position: absolute; inset: 0; }
.jy-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 2.8s cubic-bezier(.16,1,.3,1); }
.jy-hero.in .jy-hero-bg img { transform: none; }
.jy-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,14,.22) 0%, rgba(18,18,14,.04) 38%, rgba(18,18,14,.66) 100%); }
.jy-hero-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(44px, 9vh, 96px); }
.jy-hero-meta { margin: 0; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.jy-hero h1 { margin-top: 16px; max-width: 15ch; font-weight: 200; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.jy-hero-story { margin: 22px 0 0; max-width: 46ch; font-size: clamp(1.02rem, 1.4vw, 1.3rem); font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.9); }
@media (prefers-reduced-motion: reduce) { .jy-hero-bg img { transform: none; transition: none; } }

/* ── intro ── */
.jy-intro { padding-top: 64px; }
.jy-back { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .4s ease; }
.jy-back:hover, .jy-back:focus-visible { color: var(--ink); }
.jy-intro-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; margin-top: 44px; }
.jy-lead { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.18rem, 1.85vw, 1.7rem); line-height: 1.62; color: rgba(18,18,14,.86); }
.jy-facts { margin: 0; border-top: 1px solid var(--line); }
.jy-facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.jy-facts dt { padding-top: 3px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.jy-facts dd { margin: 0; font-size: 1rem; line-height: 1.6; }

/* ── day by day + the side (price panel, then the map that stays in view) ── */
.jy-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(330px, 29vw, 420px); gap: clamp(40px, 5.5vw, 100px); padding-top: 110px; }
.jy-aside { display: flex; flex-direction: column; gap: 20px; }
.jy-stick { position: sticky; top: 96px; display: grid; gap: 12px; }
.jy-days { list-style: none; margin: 34px 0 0; padding: 0; }
.jd { display: grid; grid-template-columns: clamp(130px, 14vw, 210px) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); padding: 38px 0; border-top: 1px solid var(--line); }
.jd:last-child { border-bottom: 1px solid var(--line); }
.jd-ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #ECEAE3; }
.jd-ph img { width: 100%; height: 100%; object-fit: cover; }
.jd-n { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.jd-n span:first-child { transition: color .6s ease; }
.jd.on .jd-n span:first-child { color: var(--ink); }
.jd h3 { margin-top: 10px; font-weight: 300; font-size: clamp(1.32rem, 1.95vw, 1.85rem); line-height: 1.26; letter-spacing: -0.015em; }
.jd-tx > p:not(.jd-n) { margin: 12px 0 0; max-width: 60ch; font-size: 1rem; line-height: 1.75; color: rgba(18,18,14,.68); }
.jd-tx > .jd-stay { color: var(--ink); font-size: .95rem; }
.jd-opt span, .jd-stay span { display: inline-block; margin-right: 10px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* the map (dark, like Shape your journey) */
.jy-map { position: relative; margin: 0; height: clamp(300px, calc(100vh - 200px), 680px); border-radius: 8px; overflow: hidden; background: var(--jr-sea); color: var(--jr-ivory); }
.jy-map::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 55% 45%, rgba(243,237,224,.05), rgba(243,237,224,0) 70%); }
.jy-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.jy-svg .isle { fill: var(--jr-ivory); fill-opacity: .11; }
.jy-svg .coast { fill: none; stroke: var(--jr-ivory); stroke-opacity: .42; stroke-width: .9; vector-effect: non-scaling-stroke; }
.jy-svg .jy-guide { fill: none; stroke: rgba(243,237,224,.3); stroke-linecap: round; }
.jy-svg .jy-route { fill: none; stroke: #E7B964; stroke-linecap: round; stroke-linejoin: round; }
.jy-stop .ring { fill: var(--jr-sea); stroke: rgba(243,237,224,.42); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .6s ease; }
.jy-stop .dot { fill: rgba(243,237,224,.32); transition: fill .6s ease; }
.jy-stop.lit .ring { stroke: #E7B964; }
.jy-stop.lit .dot { fill: #E7B964; }
.jy-stop .lab { fill: var(--jr-ivory); opacity: 0; font-family: var(--sans); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; transition: opacity .6s ease; paint-order: stroke; stroke: var(--jr-sea); stroke-width: 3px; stroke-opacity: .7; }
.jy-stop.lit .lab { opacity: .5; }
.jy-stop.cur .lab { opacity: 1; }
.jy-stop.nolabel .lab { display: none; }
.jy-halo { opacity: 0; transition: opacity .8s ease; }
.jy-halo.on { opacity: 1; animation: jyBreathe 4.5s ease-in-out infinite; }
@keyframes jyBreathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.jy-map figcaption { position: absolute; left: 20px; bottom: 16px; display: grid; gap: 3px; pointer-events: none; }
.jy-map .c-n { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--jr-ivory-2); }
.jy-map .c-w { font-size: 1.05rem; font-weight: 300; color: var(--jr-ivory); }
.jy-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 0; border-top: 1px solid var(--line); }
.jy-mini p { margin: 0; font-size: .82rem; color: rgba(18,18,14,.66); }
.jy-mini b { font-weight: 400; color: var(--ink); }
.jy-mini a { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid var(--line); transition: border-color .4s ease; white-space: nowrap; }
.jy-mini a:hover, .jy-mini a:focus-visible { border-color: var(--ink); outline: none; }
@media (prefers-reduced-motion: reduce) { .jy-halo.on { animation: none; } .jy-stop .ring, .jy-stop .dot, .jy-stop .lab, .jy-halo { transition: none; } }

/* the price panel */
.jy-price { border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px 22px; background: #fff; }
.jy-price-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jy-lab { margin: 0; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.jy-cur { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.jy-cur-b { border: 0; border-radius: 999px; padding: 4px 9px; background: none; color: var(--muted); font: inherit; font-size: .64rem; letter-spacing: .12em; cursor: pointer; transition: background .3s ease, color .3s ease; }
.jy-cur-b:hover { color: var(--ink); }
.jy-cur-b[aria-pressed="true"] { background: var(--ink); color: #fff; }
.jy-cur-b:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.jy-amt { margin: 12px 0 0; font-size: clamp(1.9rem, 2.5vw, 2.45rem); font-weight: 200; line-height: 1.1; letter-spacing: -0.015em; font-variant-numeric: lining-nums; white-space: nowrap; }
.jy-pp { margin: 4px 0 0; font-size: .86rem; color: rgba(18,18,14,.62); }
.jy-incl { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: .86rem; line-height: 1.5; color: rgba(18,18,14,.74); }
.jy-incl li { position: relative; padding-left: 16px; }
.jy-incl li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: currentColor; }
.jy-incl li.no { color: var(--muted); }
.jy-comp { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .86rem; line-height: 1.5; color: rgba(18,18,14,.74); }
.jy-comp [data-jy="comp"] { color: var(--ink); }
.jy-make { width: 100%; justify-content: space-between; margin-top: 18px; }
.jy-fine { margin: 12px 0 0; font-size: .74rem; line-height: 1.55; color: var(--muted); }

/* where you'll stay */
.jy-stays { padding-top: 130px; }
.jy-sec-h h2 { margin-top: 16px; max-width: 22ch; }
.js-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); margin-top: 48px; }
.js-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: #ECEAE3; }
.js-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s cubic-bezier(.16,1,.3,1); }
.js-card:hover .js-img img { transform: scale(1.04); }
.js-tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(18,18,14,.45); color: #fff; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.js-where { margin: 18px 0 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.js-where em { font-style: normal; color: #9A6A2F; }
.js-card h3 { margin-top: 8px; font-weight: 300; font-size: 1.28rem; line-height: 1.3; letter-spacing: -0.01em; }
.js-card p:last-child { margin: 8px 0 0; font-size: .95rem; line-height: 1.65; color: rgba(18,18,14,.66); }
.js-note { margin: 34px 0 0; font-size: .86rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .js-img img { transition: none; } .js-card:hover .js-img img { transform: none; } }

/* the closing band + more journeys */
.jy-end { margin-top: 140px; padding: clamp(80px, 11vw, 140px) 0; background: var(--jr-sea); color: var(--jr-ivory); text-align: center; }
.jy-end .eyebrow { color: var(--jr-ivory-2); }
.jy-end h2 { margin: 20px auto 0; max-width: 22ch; }
.jy-end-price { margin: 22px 0 0; color: var(--jr-ivory-2); font-size: 1rem; }
.jy-end .pill-btn { margin-top: 36px; }
.jy-end-fine { margin: 28px auto 0; max-width: 62ch; font-size: .8rem; line-height: 1.65; color: rgba(243,237,224,.5); }
.jy-more { padding-top: 120px; padding-bottom: 130px; }   /* top/bottom only: .wrap keeps its side gutters */
.jy-more .jc-row { margin-top: 44px; max-width: 1040px; }

@media (max-width: 1100px) { .js-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phones / small tablets: price first, then the map pinned under the header while the days scroll */
@media (max-width: 900px) {
  .jy-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .jy-body { grid-template-columns: 1fr; gap: 0; padding-top: 64px; }
  .jy-aside { display: contents; }
  .jy-price { order: 1; margin-bottom: 64px; }
  .jy-stick { order: 2; top: var(--jy-top, 82px); z-index: 4; margin-inline: calc(-1 * clamp(20px, 4.5vw, 64px)); }
  .jy-main { order: 3; }
  .jy-map { height: clamp(190px, 30svh, 290px); border-radius: 0; }
  .jy-svg { left: 32%; width: 68%; }
  .jy-map figcaption { left: clamp(20px, 4.5vw, 64px); bottom: auto; top: 50%; transform: translateY(-50%); max-width: 32%; }
  .jy-map .c-w { font-size: 1.15rem; line-height: 1.3; }
  .jy-mini { display: none; }
  .jy-stop.lit:not(.cur) .lab { opacity: 0; }
}
@media (max-width: 600px) {
  .jd { display: block; padding: 30px 0; }
  .jd::after { content: ''; display: block; clear: both; }
  .jd-ph { float: left; width: 96px; margin: 4px 16px 8px 0; aspect-ratio: 1; }
  .jd h3 { font-size: 1.3rem; }
  .js-grid { grid-template-columns: 1fr; }
  .jy-facts > div { grid-template-columns: 80px 1fr; }
}
html:lang(ja) .jy-hero h1, html:lang(ja) .jc-t, html:lang(ja) .jd h3, html:lang(ja) .jy-end h2, html:lang(ja) .sj-head h2, html:lang(ja) .faq-q button { word-break: auto-phrase; text-wrap: balance; }
