/* ============================================================
   Naturela Miyakojima · Irabu — site stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button { border: none; background: none; font: inherit; cursor: pointer; color: inherit; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }

:root {
  --shell:      #FAFAF7;
  --sand:       #F1EDE5;
  --ink:        #1C2428;
  --ink-2:      #5D666B;
  --ink-3:      #8E969A;
  --line:       rgba(28, 36, 40, .14);
  --deep:       #0E3244;
  --deep-2:     #143E53;
  --miyako:     #00B1E3;
  --miyako-ink: #1A86AD;
  --aqua:       #E7F3F6;

  --serif-ja: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --serif-en: 'Cormorant Garamond', 'Shippori Mincho', Georgia, serif;

  --gutter:   clamp(24px, 5vw, 72px);
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif-ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  background: var(--shell);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt";
  font-variant-numeric: lining-nums;
}
.en { font-family: var(--serif-en); letter-spacing: .02em; }

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

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: #fff;
  transition: background .45s var(--ease), height .45s var(--ease), color .3s, box-shadow .45s;
}
.site-header::before {
  /* soft top scrim so white text reads over any photo */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 50, 68, .5), rgba(14, 50, 68, 0));
  pointer-events: none;
  opacity: 1;
  transition: opacity .45s;
}
.site-header.is-solid,
.site-header.solid {
  height: 74px;
  background: rgba(250, 250, 247, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid::before,
.site-header.solid::before { opacity: 0; }
.site-header.menu-open { color: var(--ink); background: transparent; box-shadow: none; }
.site-header.menu-open::before { opacity: 0; }
.site-header.menu-open .logo-img { filter: none; }
.site-header > * { position: relative; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .3s, height .45s var(--ease);
}
.site-header.is-solid .logo-img,
.site-header.solid .logo-img { filter: none; height: 46px; }

.site-nav { display: flex; align-items: center; gap: clamp(28px, 3.2vw, 46px); }
.site-nav a {
  font-family: var(--serif-en);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none;
  opacity: .88;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.site-nav a:hover { opacity: 1; }
.site-nav a.active { opacity: 1; border-bottom-color: currentColor; }

.btn-reserve {
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .16em;
  padding: 11px 26px 10px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-reserve:hover { background: currentColor; }
.site-header:not(.is-solid):not(.solid) .btn-reserve:hover { color: var(--deep); background: #fff; border-color: #fff; }
.site-header.is-solid .btn-reserve:hover,
.site-header.solid .btn-reserve:hover { color: #fff; background: var(--ink); border-color: var(--ink); }

.header-right { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); }
.reserve-mobile { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--shell);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity .35s; }
.mobile-menu > a {
  font-family: var(--serif-en);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu > a span {
  font-family: var(--serif-ja);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink-3);
  margin-left: 14px;
}
.mobile-menu .mobile-reserve {
  margin-top: 32px;
  align-self: flex-start;
  font-family: var(--serif-ja);
  font-size: 15px;
  letter-spacing: .14em;
  color: #fff;
  background: var(--ink);
  padding: 14px 36px;
}
.mobile-menu-foot {
  margin-top: 40px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.9;
}
.mobile-menu-foot a { color: inherit; text-decoration: none; }

/* ── Shared type ───────────────────────────────────────── */
.eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--miyako-ink);
  margin-bottom: 22px;
}
.section-h {
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.7;
  letter-spacing: .08em;
}
.section-p {
  font-size: 15px;
  line-height: 2.3;
  color: var(--ink-2);
  margin: 28px 0 40px;
}
.link-quiet {
  display: inline-block;
  align-self: flex-start;
  font-size: 14px;
  letter-spacing: .14em;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--miyako);
  transition: color .2s, border-color .2s;
}
.link-quiet:hover { color: var(--miyako-ink); }

.btn-fill {
  display: inline-block;
  font-family: var(--serif-ja);
  font-size: 15px;
  letter-spacing: .14em;
  color: #fff;
  background: var(--ink);
  padding: 17px 44px;
  text-decoration: none;
  transition: background .25s;
}
.btn-fill:hover { background: var(--deep-2); }
.btn-ghost {
  display: inline-block;
  font-family: var(--serif-ja);
  font-size: 15px;
  letter-spacing: .14em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .8);
  padding: 16px 40px;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.btn-ghost:hover { background: #fff; color: var(--deep); }

.container { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── Hero (top page) ───────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--deep);
}
.hero video, .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero video { transition: opacity 1.2s ease; }
.hero-poster { display: none; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 50, 68, .62) 0%, rgba(14, 50, 68, .12) 40%, rgba(14, 50, 68, 0) 65%);
}
.hero-copy {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(56px, 11vh, 120px);
  color: #fff;
  max-width: 760px;
}
.hero-tag {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: .04em;
  opacity: .9;
  margin-bottom: 24px;
}
.hero-h1 {
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.6;
  letter-spacing: .14em;
}
.hero-h1 span {
  display: block;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: .5em;
  letter-spacing: .03em;
  opacity: .82;
  margin-top: 14px;
}
.hero-cta { margin-top: 26px; font-size: 13px; padding: 12px 28px; }

/* one orchestrated entrance */
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .4s; }
.hero-copy > :nth-child(2) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── Intro ─────────────────────────────────────────────── */
.intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 640px;
}
.intro-img { overflow: hidden; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px) clamp(32px, 7vw, 110px);
}

/* ── Rooms (top page) ──────────────────────────────────── */
.rooms { padding: clamp(80px, 10vw, 140px) 0 clamp(72px, 8vw, 120px); }
.rooms-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--gutter);
  margin-bottom: 48px;
}
.slide-controls { display: flex; gap: 10px; }
.slide-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.slide-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.slide-btn svg { width: 18px; height: 18px; }

.room-track,
.gallery-track,
.photo-track {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.room-track::-webkit-scrollbar,
.gallery-track::-webkit-scrollbar,
.photo-track::-webkit-scrollbar { display: none; }

.room-card {
  flex: 0 0 clamp(270px, 27vw, 400px);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.room-card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.room-card-img img, .room-card-img video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover .room-card-img img, .room-card:hover .room-card-img video { transform: scale(1.03); }
.room-card-body { padding-top: 20px; }
.room-villa { font-family: var(--serif-en); font-size: 15px; letter-spacing: .16em; color: var(--ink-3); }
.room-name {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  margin: 6px 0 4px;
}
.room-name-ja { font-size: 13px; letter-spacing: .14em; color: var(--ink-2); }
.room-spec { font-family: var(--serif-en); font-size: 15px; color: var(--ink-3); margin-top: 10px; line-height: 1.7; }

/* ── Experience cards (top page) ──────────────────────── */
.experience { padding: clamp(80px, 10vw, 140px) 0; background: var(--sand); }
.exp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding: 0 var(--gutter);
}
.exp-card { text-decoration: none; color: inherit; }
.exp-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: #fff; }
.exp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp-card:hover .exp-card-img img { transform: scale(1.03); }
.exp-cat { font-family: var(--serif-en); font-style: italic; font-size: 18px; color: var(--miyako-ink); margin-top: 22px; }
.exp-title { font-size: 22px; letter-spacing: .1em; font-weight: 400; margin-top: 4px; }
.exp-lead { font-size: 13.5px; line-height: 2.1; color: var(--ink-2); margin-top: 10px; }

/* ── Evening (full-bleed dusk photo) ───────────────────── */
.evening { position: relative; height: clamp(460px, 68vh, 820px); overflow: hidden; background: #0f2035; }
.evening img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.evening-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 34, .45), rgba(8, 20, 34, 0) 50%); }
.evening-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 6vw, 72px); color: #fff; }
.evening-text .eyebrow { color: rgba(255, 255, 255, .8); margin-bottom: 12px; }
.evening-copy { font-size: clamp(20px, 2vw, 26px); letter-spacing: .14em; }
@media (max-width: 768px) { .evening { height: 62vw; min-height: 260px; } .evening-copy { font-size: 17px; } }

/* ── Gallery ───────────────────────────────────────────── */
.gallery { padding: clamp(80px, 10vw, 140px) 0; background: #fff; }
.gallery-head { text-align: center; padding: 0 var(--gutter); margin-bottom: 44px; }
.gallery-slide {
  flex: 0 0 clamp(300px, 42vw, 640px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--sand);
}
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-foot { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }

/* ── Reserve band ──────────────────────────────────────── */
.reserve-band {
  background: var(--aqua);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
}
.reserve-band .eyebrow { margin-bottom: 10px; }
.reserve-band .btn-ghost { color: var(--ink); border-color: var(--ink); }
.reserve-band .btn-ghost:hover { background: var(--ink); color: #fff; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--aqua);
  color: var(--ink-2);
  padding: clamp(64px, 8vw, 100px) var(--gutter) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(28, 36, 40, .14);
  margin-bottom: 28px;
}
.f-logo-img { height: 66px; width: auto; margin-bottom: 26px; }
.f-addr { font-size: 14px; line-height: 2.1; }
.f-addr a { text-decoration: none; }
.f-social { display: flex; gap: 22px; margin-top: 22px; }
.f-social a {
  font-family: var(--serif-en);
  font-size: 16px;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 36, 40, .25);
  padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.f-social a:hover { color: var(--ink); border-color: var(--ink); }
.f-col-title { font-family: var(--serif-en); font-style: italic; font-size: 19px; color: var(--ink); margin-bottom: 16px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.f-col a { font-family: var(--serif-en); font-size: 16px; letter-spacing: .04em; text-decoration: none; transition: color .2s; }
.f-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-3);
}
.footer-bottom a { text-decoration: none; margin-left: 24px; transition: color .2s; }
.footer-bottom a:hover { color: var(--ink); }
.footer-bottom .ja { font-family: var(--serif-ja); font-size: 12px; letter-spacing: .1em; }

/* ── Sub-page hero ─────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 64vh;
  min-height: 460px;
  overflow: hidden;
  background: var(--deep);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 50, 68, .62) 0%, rgba(14, 50, 68, .08) 50%, rgba(14, 50, 68, 0) 70%);
}
.page-hero-text {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: clamp(40px, 6vw, 72px);
  color: #fff;
}
.page-hero-text .eyebrow { color: rgba(255, 255, 255, .85); margin-bottom: 12px; }
.page-title { font-weight: 400; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: .1em; line-height: 1.4; }
.page-lead { margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .85); }

/* ── Rooms list page ───────────────────────────────────── */
.rooms-list { padding: clamp(48px, 6vw, 96px) 0 0; }
.room-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 560px;
  text-decoration: none;
  color: inherit;
}
.room-row:nth-child(even) .room-row-img { order: 2; }
.room-row-img { overflow: hidden; background: var(--sand); }
.room-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-row:hover .room-row-img img { transform: scale(1.03); }
.room-row-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(32px, 6vw, 96px);
}
.room-row .room-name { font-size: clamp(34px, 3.4vw, 46px); margin: 8px 0 6px; }
.room-row .room-spec { margin-top: 22px; font-size: 16px; color: var(--ink-2); line-height: 1.9; }
.room-row .room-spec span { display: block; }
.room-row .link-quiet { margin-top: 32px; align-self: flex-start; }

/* ── Room detail page ──────────────────────────────────── */
.room-hero { height: 78vh; min-height: 520px; }
.room-hero .room-villa { color: rgba(255, 255, 255, .8); }
.room-hero .room-name { font-size: clamp(44px, 6vw, 84px); color: #fff; margin: 6px 0 4px; }
.room-hero .room-name-ja { color: rgba(255, 255, 255, .85); }

.spec-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(32px, 4vw, 52px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.spec-item { padding: 0 32px; border-left: 1px solid var(--line); }
.spec-item:first-child { padding-left: 0; border-left: none; }
.spec-label { display: block; font-family: var(--serif-en); font-style: italic; font-size: 19px; color: var(--miyako-ink); margin-bottom: 6px; }
.spec-value { display: block; font-size: 15px; line-height: 1.9; }
.spec-value .en { font-size: 17px; }

.photos { padding: clamp(48px, 6vw, 80px) 0; }
.photo-slide {
  flex: 0 0 clamp(300px, 60vw, 900px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--sand);
}
.photo-slide img { width: 100%; height: 100%; object-fit: cover; }
.photos-foot {
  display: flex; align-items: center; gap: 18px;
  padding: 24px var(--gutter) 0;
}
.photo-counter { font-family: var(--serif-en); font-size: 17px; color: var(--ink-3); letter-spacing: .1em; }

.room-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.room-nav a {
  padding: clamp(32px, 4vw, 52px) var(--gutter);
  text-decoration: none;
  color: inherit;
  transition: background .25s;
}
.room-nav a:hover { background: var(--sand); }
.room-nav a + a { text-align: right; border-left: 1px solid var(--line); }
.room-nav-dir { display: block; font-family: var(--serif-en); font-size: 15px; letter-spacing: .12em; color: var(--ink-3); }
.room-nav-name { display: block; font-family: var(--serif-en); font-style: italic; font-size: 30px; font-weight: 500; margin: 4px 0 2px; line-height: 1.1; }
.room-nav-villa { display: block; font-family: var(--serif-en); font-size: 15px; letter-spacing: .12em; color: var(--ink-2); }

/* ── Experience page ───────────────────────────────────── */
.exp-list { padding-top: clamp(48px, 6vw, 96px); }
.exp-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 560px;
}
.exp-row:nth-child(even) .exp-row-img { order: 2; }
.exp-row-img { overflow: hidden; background: var(--sand); }
.exp-row-img img { width: 100%; height: 100%; object-fit: cover; }
.exp-row-img.split { position: relative; }
.exp-row-img.split img { position: absolute; left: 0; width: 100%; height: calc(50% - 1px); }
.exp-row-img.split img:first-child { top: 0; }
.exp-row-img.split img:last-child { bottom: 0; }
.exp-row-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(32px, 6vw, 96px);
}
.exp-name { font-family: var(--serif-en); font-style: italic; font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1; }
.exp-name-ja { font-size: 13px; letter-spacing: .14em; color: var(--ink-2); margin-top: 6px; }
.exp-desc { margin-top: 26px; font-size: 15px; line-height: 2.3; color: var(--ink-2); }
.exp-note { margin-top: 22px; font-size: 12.5px; line-height: 2; color: var(--ink-3); padding-left: 14px; border-left: 1px solid var(--miyako); }

.price { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.price-head { margin-bottom: 44px; }
.price-table { border-top: 1px solid var(--line); max-width: 1000px; }
.price-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.6fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.price-name { font-family: var(--serif-en); font-style: italic; font-size: 26px; font-weight: 500; }
.price-value { font-family: var(--serif-en); font-size: 26px; font-weight: 500; letter-spacing: .02em; }
.price-value small { font-family: var(--serif-ja); font-size: 12px; color: var(--ink-3); margin-left: 8px; letter-spacing: .1em; }
.price-value.ja { font-family: var(--serif-ja); font-size: 18px; letter-spacing: .1em; }
.price-desc { font-size: 13px; line-height: 2; color: var(--ink-2); }

.note-bar {
  background: var(--sand);
  padding: clamp(32px, 4vw, 48px) var(--gutter);
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink-2);
}

/* ── Access page ───────────────────────────────────────── */
.access-body { display: grid; grid-template-columns: 1.2fr 1fr; }
.access-map { min-height: 560px; background: var(--sand); }
.access-map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; filter: saturate(.85); }
.access-info { padding: clamp(48px, 6vw, 96px) clamp(32px, 6vw, 96px); }
.access-label { font-family: var(--serif-en); font-style: italic; font-size: 19px; color: var(--miyako-ink); margin-bottom: 10px; }
.access-block + .access-block { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.access-value { font-size: 15px; line-height: 2.1; }
.access-value strong { display: block; font-weight: 500; font-size: 17px; letter-spacing: .08em; }
.access-tel { font-family: var(--serif-en); font-size: 30px; font-weight: 500; letter-spacing: .04em; text-decoration: none; }
.transport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }
.transport-from { font-family: var(--serif-en); font-style: italic; font-size: 16px; color: var(--ink-3); }
.transport-airport { font-size: 16px; letter-spacing: .1em; margin-top: 4px; }
.transport-time { font-family: var(--serif-en); font-size: 44px; font-weight: 500; line-height: 1.1; margin-top: 4px; }
.transport-time span { font-family: var(--serif-ja); font-size: 14px; letter-spacing: .1em; margin-left: 4px; color: var(--ink-2); }

.parking { padding: clamp(72px, 9vw, 120px) var(--gutter); border-top: 1px solid var(--line); }
.parking-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.parking-item { padding: 28px 32px 28px 0; border-bottom: 1px solid var(--line); }
.parking-item + .parking-item { padding-left: 32px; border-left: 1px solid var(--line); }
.parking-item-label { font-size: 13px; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 8px; }
.parking-item-value { font-size: 15px; line-height: 2; }

/* ── Contact page ──────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.25fr; min-height: calc(100vh - 74px); padding-top: 74px; }
.contact-info {
  background: var(--aqua);
  color: var(--ink);
  padding: clamp(56px, 7vw, 110px) clamp(32px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
}
.contact-info-title { font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.7; letter-spacing: .08em; }
.contact-detail-item + .contact-detail-item { margin-top: 26px; }
.contact-detail-label { font-family: var(--serif-en); font-style: italic; font-size: 18px; color: var(--miyako-ink); }
.contact-detail-value { font-size: 15px; line-height: 2; }
.contact-detail-value a { text-decoration: none; border-bottom: 1px solid rgba(28, 36, 40, .3); transition: border-color .2s; }
.contact-detail-value a:hover { border-color: var(--ink); }
.contact-detail-value .tel { font-family: var(--serif-en); font-size: 28px; font-weight: 500; border: 0; letter-spacing: .04em; }

.contact-form-wrap { padding: clamp(56px, 7vw, 110px) clamp(32px, 6vw, 96px); background: #fff; }
.form-title { font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: .1em; }
.form-lead { margin: 12px 0 44px; font-size: 14px; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form-field { margin-bottom: 30px; }
.form-label { display: block; font-size: 13px; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 6px; }
.form-label .req { color: var(--miyako-ink); margin-left: 4px; }
.form-input, .form-textarea {
  width: 100%;
  font-family: var(--serif-ja);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  border-radius: 0;
  transition: border-color .2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #B6BCC0; }
.form-input:focus, .form-textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form-textarea { min-height: 150px; resize: vertical; line-height: 1.9; }
.form-submit { margin-top: 10px; }
.form-note { margin-top: 24px; font-size: 12.5px; line-height: 2; color: var(--ink-3); }

/* ── Success page ──────────────────────────────────────── */
.success-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px var(--gutter) 100px; text-align: center; }
.success-title { font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: .1em; }
.success-body { margin: 28px auto 44px; font-size: 15px; line-height: 2.3; color: var(--ink-2); }
.success-body strong { font-family: var(--serif-en); font-size: 24px; font-weight: 500; color: var(--ink); letter-spacing: .04em; }

/* ── Room tour (vertical video) ────────────────────────── */
.tour {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 480px);
  justify-content: center;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
  padding: clamp(56px, 7vw, 100px) var(--gutter);
  border-top: 1px solid var(--line);
}
.tour-video { position: relative; aspect-ratio: 9 / 16; background: var(--sand); overflow: hidden; }
.tour-video video { width: 100%; height: 100%; object-fit: cover; }
.tour-toggle {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(250, 250, 247, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.tour-toggle::before {
  content: ''; display: block; width: 0; height: 0;
  border-left: 12px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px;
}
.tour-video.playing .tour-toggle::before { width: 12px; height: 14px; border: 0; margin: 0; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.tour-text .section-p { margin-bottom: 18px; }
.tour-top { grid-template-columns: minmax(0, 480px) minmax(280px, 400px); border-top: none; background: #fff; }
.tour-top .tour-text { display: flex; flex-direction: column; align-items: flex-start; }
.tour-villa { font-family: var(--serif-en); font-size: 19px; letter-spacing: .06em; color: var(--ink-2); margin: 18px 0 8px; }
@media (max-width: 768px) {
  .tour, .tour-top { grid-template-columns: 1fr; gap: 32px; padding: 56px var(--gutter); }
  .tour-top .tour-video { order: -1; }
  .tour-top .tour-text { align-items: center; }
  .tour-video { max-width: 320px; margin: 0 auto; }
  .tour-text { text-align: center; }
}

/* ── Policy page ───────────────────────────────────────── */
.policy { padding: calc(74px + clamp(56px, 8vw, 110px)) var(--gutter) clamp(80px, 10vw, 140px); }
.policy-inner { max-width: 760px; }
.policy-lead { margin-top: 28px; font-size: 15px; line-height: 2.3; color: var(--ink-2); }
.policy h2 { font-weight: 500; font-size: 17px; letter-spacing: .08em; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.policy p { font-size: 14.5px; line-height: 2.2; color: var(--ink-2); }
.policy ul { margin: 10px 0 0 1.2em; font-size: 14.5px; line-height: 2.2; color: var(--ink-2); }
.policy li { padding-left: .2em; }
.policy-contact { color: var(--ink) !important; }
.policy-contact a { text-decoration: none; border-bottom: 1px solid rgba(28, 36, 40, .3); }
@media (max-width: 768px) { .policy { padding-top: calc(64px + 48px); } }

/* ── Motion preferences ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > * { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ── Tablet ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .intro, .access-body, .contact-wrap { grid-template-columns: 1fr; }
  .access-map, .access-map iframe { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-row, .exp-row { grid-template-columns: 1fr; min-height: 0; }
  .room-row:nth-child(even) .room-row-img, .exp-row:nth-child(even) .exp-row-img { order: 0; }
  .room-row-img, .exp-row-img { aspect-ratio: 3 / 2; }
  .exp-row-img.split { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .exp-row-img.split img { position: static; height: auto; aspect-ratio: 1; }
}

/* ── Mobile ────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  body { font-size: 14.5px; }
  .site-header.is-solid, .site-header.solid { height: 64px; }
  .logo-img { height: 44px; }
  .site-header.is-solid .logo-img, .site-header.solid .logo-img { height: 38px; }
  .site-nav, .btn-reserve { display: none; }
  .reserve-mobile {
    display: inline-block;
    font-family: var(--serif-en);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .14em;
    padding: 6px 0;
    border-bottom: 1px solid currentColor;
  }
  .hamburger { display: flex; }
  .header-right { gap: 18px; }

  .hero { min-height: 560px; }
  .hero-copy { bottom: 64px; }
  .hero-h1 { font-size: 21px; line-height: 1.7; letter-spacing: .1em; }
  .hero-h1 span { font-size: 13px; margin-top: 10px; }
  .hero-tag { font-size: 12px; letter-spacing: .06em; margin-bottom: 16px; }
  .hero-cta { margin-top: 24px; padding: 11px 24px; font-size: 12.5px; }

  .intro { min-height: 0; }
  .intro-img { aspect-ratio: 4 / 3; order: 2; }
  .intro-text { padding: 72px var(--gutter) 56px; }
  .eyebrow { font-size: 18px; margin-bottom: 16px; }
  .section-h { font-size: 24px; letter-spacing: .06em; }
  .section-p { margin: 22px 0 32px; }

  .rooms { padding: 72px 0 64px; }
  .rooms-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .rooms-head .slide-controls { display: none; }
  .room-card { flex-basis: 78vw; }
  .room-name { font-size: 28px; }


  .experience { padding: 72px 0; }
  .exp-cards { grid-template-columns: 1fr; gap: 40px; }
  .gallery { padding: 72px 0; }
  .gallery-slide { flex-basis: 84vw; }

  .reserve-band { flex-direction: column; align-items: flex-start; gap: 28px; }

  .site-footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom a { margin-left: 0; margin-right: 20px; }

  .page-hero { height: 58vh; min-height: 400px; }
  .page-title { font-size: 27px; }

  .room-hero { height: 70vh; }
  .room-hero .room-name { font-size: 46px; }
  .spec-bar { grid-template-columns: 1fr; gap: 22px; }
  .spec-item, .spec-item:first-child { padding: 0; border-left: none; }
  .spec-item + .spec-item { padding-top: 22px; border-top: 1px solid var(--line); }
  .photo-slide { flex-basis: 84vw; }
  .room-nav a { padding: 28px var(--gutter); }
  .room-nav-name { font-size: 24px; }

  .price { padding: 72px var(--gutter); }
  .price-row { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .price-value { font-size: 24px; }

  .transport-grid { gap: 20px; }
  .transport-time { font-size: 38px; }
  .parking-grid { grid-template-columns: 1fr; }
  .parking-item, .parking-item + .parking-item { padding: 22px 0; border-left: none; }

  .contact-wrap { padding-top: 64px; min-height: 0; }
  .contact-info { padding: 56px var(--gutter); gap: 40px; }
  .contact-form-wrap { padding: 56px var(--gutter) 72px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .success-wrap { padding: 120px var(--gutter) 80px; }
}
