:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #f6f1e8;
  --paper-deep: #ebe1d1;
  --willow: #6f7f5f;
  --willow-dark: #3e503b;
  --tea: #8a6a4f;
  --gold: #c9a66b;
  --clay: #a95f3d;
  --mist: #f9f7f2;
  --line: rgba(17, 17, 17, 0.14);
  --shadow: 0 24px 70px rgba(39, 31, 22, 0.18);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Inter", "Yu Gothic UI", "Hiragino Sans", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 26px clamp(22px, 4vw, 58px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    border 180ms ease;
}

.site-header.is-solid {
  background: rgba(246, 241, 232, 0.9);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 210px;
}

.brand span,
.kicker,
.stay-card span {
  color: currentColor;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: inherit;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border 160ms ease;
}

.menu-toggle {
  display: inline-grid;
  gap: 7px;
  width: 36px;
  height: 36px;
  padding: 7px 5px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: currentColor;
}

.site-header .nav-cta {
  margin-left: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: currentColor;
}

.site-header.is-solid .language-switcher {
  border-color: rgba(17, 17, 17, 0.22);
}

.language-switcher button {
  min-width: 34px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active {
  background: currentColor;
  color: var(--paper);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.button.outline {
  border-color: var(--willow);
  color: var(--willow-dark);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #1b1714;
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  animation: slowZoom 24s ease-out both;
}

.hero-scrim {
  background:
    radial-gradient(circle at center, rgba(11, 9, 7, 0.04), rgba(11, 9, 7, 0.46) 76%),
    linear-gradient(0deg, rgba(11, 9, 7, 0.48), rgba(11, 9, 7, 0.08) 42%, rgba(11, 9, 7, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100svh;
  max-width: none;
  padding: 120px clamp(20px, 7vw, 96px);
  text-align: center;
}

.kicker {
  color: var(--gold);
}

.hero h1,
.section h2,
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-logo {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4.4vw, 68px);
  width: min(82vw, 960px);
  margin-top: 18px;
  color: #fff;
  font-family: Inter, var(--sans);
  font-size: clamp(46px, 8.2vw, 116px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.hero-logo span {
  display: block;
}

.hero-place {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.hero-jp {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 28px);
}

.hero-photo-link {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 45px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero-photo-link::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: #fff;
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 72px);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.hero-bottom a {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.lead {
  max-width: 620px;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-facts div {
  padding: 16px 16px 0 0;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.hero-facts dd {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 22px;
}

.section {
  padding: clamp(96px, 12vw, 178px) clamp(22px, 7vw, 116px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-heading h2,
.section-copy h2,
.final-cta h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.8vw, 72px);
  line-height: 1.26;
}

.section-heading p,
.section-copy p,
.final-cta p,
.timeline p,
.note p {
  color: rgba(17, 17, 17, 0.74);
  font-size: 16px;
  line-height: 1.95;
}

.section-heading > p:not(.kicker),
.section-copy p,
.final-cta p {
  margin-top: 20px;
}

.concept-section,
.location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(46px, 8vw, 130px);
  align-items: center;
}

.intro-copy {
  align-self: end;
  padding-bottom: clamp(0px, 4vw, 72px);
}

.feature-image,
.location-image {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.feature-image img,
.location-image img,
.stay-card img,
.gallery-item img {
  transition: transform 700ms ease;
}

.feature-image:hover img,
.location-image:hover img,
.stay-card:hover img,
.gallery-item:hover img {
  transform: scale(1.035);
}

.stay-section {
  background: #fffdf8;
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stay-card {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.stay-card img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}

.stay-card div {
  min-height: 178px;
  padding: 24px;
}

.stay-card span {
  color: var(--willow);
}

.stay-card h3,
.timeline h3,
.note h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
}

.experience-section {
  background: #0d1710;
  color: #fff;
}

.experience-section .section-heading p,
.experience-section .timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 1080px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline time {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
}

.location-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.location-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.location-list li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: rgba(17, 17, 17, 0.78);
  line-height: 1.7;
}

.gallery-section {
  background: var(--paper-deep);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.gallery-filters button,
.dialog-controls button,
.dialog-close {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gallery-filters button {
  padding: 0 16px;
}

.gallery-filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: rgba(17, 17, 17, 0.12);
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  min-height: 280px;
  border: 0;
  border-radius: 0;
  background: #ddd;
  cursor: pointer;
}

.gallery-item.is-wide {
  grid-column: span 8;
}

.gallery-item.is-tall {
  min-height: 430px;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
}

.gallery-item span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(17, 17, 17, 0.68);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  backdrop-filter: blur(12px);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity-grid li {
  min-height: 58px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  font-weight: 700;
}

.notes-section {
  background: var(--mist);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.note {
  min-height: 210px;
  padding: 28px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.final-cta {
  display: grid;
  min-height: 68svh;
  place-items: center;
  padding: clamp(74px, 10vw, 130px) 20px;
  background:
    linear-gradient(rgba(16, 16, 14, 0.54), rgba(16, 16, 14, 0.62)),
    url("./assets/images/terrace-night.webp") center / cover;
  color: #fff;
  text-align: center;
}

.contact-section {
  background: #fffdf8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.contact-grid article {
  min-height: 180px;
  padding: 28px;
  background: #fff;
}

.contact-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--willow);
  font-size: 12px;
  font-weight: 800;
}

.contact-grid a {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-grid p {
  color: rgba(17, 17, 17, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.final-cta > div {
  max-width: 760px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .button {
  margin-top: 28px;
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.company-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 72px 20px 104px;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.company-footer-logo {
  width: min(260px, 72vw);
  height: auto;
  max-height: none;
  object-fit: contain;
}

.company-footer p {
  color: rgba(17, 17, 17, 0.74);
  font-family: var(--serif);
  font-size: 18px;
}

.company-footer-contact a {
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.company-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(26px, 6vw, 96px);
  width: min(920px, 100%);
  margin-top: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.company-footer nav a {
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
}

.company-footer nav a:hover {
  color: var(--willow-dark);
}

.sticky-booking {
  position: fixed;
  z-index: 18;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.94);
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.2);
  backdrop-filter: blur(14px);
}

.menu-panel {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 96px 24px 32px;
  background: rgba(246, 241, 232, 0.97);
  color: var(--ink);
  text-align: center;
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel nav {
  display: grid;
  gap: 2px;
  width: min(360px, calc(100vw - 48px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.7);
  box-shadow: 0 18px 50px rgba(39, 31, 22, 0.14);
}

.menu-panel nav a {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  padding: 14px 12px;
  border-radius: 6px;
}

.menu-panel nav a:hover {
  background: rgba(111, 127, 95, 0.1);
}

.menu-panel > .button {
  width: min(360px, calc(100vw - 48px));
}

.sticky-booking span {
  padding-left: 12px;
  font-family: var(--serif);
  font-weight: 600;
}

.sticky-booking .button {
  min-height: 40px;
}

.gallery-dialog {
  width: min(94vw, 1100px);
  max-height: 92svh;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.gallery-dialog::backdrop {
  background: rgba(17, 17, 17, 0.72);
}

.gallery-dialog img {
  max-height: 72svh;
  object-fit: contain;
  background: #111;
}

.gallery-dialog p {
  padding: 12px 2px 0;
  font-weight: 700;
}

.dialog-close {
  display: block;
  margin: 0 0 10px auto;
  padding: 0 14px;
}

.dialog-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.dialog-controls button {
  padding: 0 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes slowZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .concept-section,
  .location-section {
    grid-template-columns: 1fr;
  }

  .stay-grid,
  .amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item,
  .gallery-item.is-wide {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 18px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .brand strong {
    font-size: 13px;
  }

  .site-header .nav-cta {
    display: none;
  }

  .language-switcher {
    position: fixed;
    left: 18px;
    bottom: 88px;
    z-index: 22;
    background: rgba(246, 241, 232, 0.94);
    color: var(--ink);
    border-color: var(--line);
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero-media img {
    object-position: 56% center;
  }

  .hero-content {
    padding: 104px 20px 120px;
  }

  .hero-logo {
    gap: 10px;
    width: 94vw;
    font-size: 44px;
  }

  .hero-photo-link {
    right: 24px;
    bottom: 82px;
  }

  .hero-photo-link::after {
    width: 46px;
  }

  .hero-bottom {
    left: 20px;
    right: 20px;
    bottom: 118px;
    justify-content: space-between;
    gap: 18px;
    font-size: 12px;
  }

  .hero-bottom p {
    max-width: none;
  }

  .hero-bottom a {
    display: none;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 86px 20px;
  }

  .section-heading h2,
  .section-copy h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .stay-grid,
  .amenity-grid,
  .notes-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.is-wide,
  .gallery-item.is-tall {
    grid-column: auto;
    min-height: 320px;
  }

  .sticky-booking {
    left: 10px;
    right: auto;
    bottom: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(330px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    gap: 10px;
    border-radius: 8px;
  }

  .sticky-booking span {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    padding-left: 4px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sticky-booking .button {
    flex: 0 0 auto;
    width: auto;
    min-width: 104px;
    padding: 0 16px;
    white-space: nowrap;
  }
}
