:root {
  --ink: #18211d;
  --muted: #68746c;
  --paper: #f6f1e7;
  --paper-2: #ebe2d2;
  --wood: #8a6542;
  --cedar: #253b2e;
  --moss: #5c7257;
  --night: #101714;
  --white: #fffaf0;
  --line: rgba(24, 33, 29, 0.16);
  --shadow: 0 20px 70px rgba(11, 17, 14, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 24px 42px;
  color: var(--white);
  transition: background 240ms ease, padding 240ms ease, color 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding-block: 16px;
  color: var(--ink);
  background: rgba(246, 241, 231, 0.92);
  border-bottom: 1px solid rgba(24, 33, 29, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
}

.brand-mark::before {
  inset: 7px 5px 9px 10px;
}

.brand-mark::after {
  inset: 12px 10px 7px 5px;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 4px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.desktop-nav a,
.text-button {
  position: relative;
}

.desktop-nav a::after,
.text-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: right 220ms ease;
}

.desktop-nav a:hover::after,
.text-button:hover::after {
  right: 0;
}

.reserve-link,
.primary-button,
.outline-button,
.booking-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid rgba(255, 250, 240, 0.72);
  background: rgba(255, 250, 240, 0.88);
  color: var(--ink);
  font-size: 0.95rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.site-header.is-scrolled .reserve-link,
.site-header.menu-active .reserve-link {
  border-color: rgba(24, 33, 29, 0.18);
  background: var(--cedar);
  color: var(--white);
}

.reserve-link:hover,
.primary-button:hover,
.outline-button:hover,
.booking-form button:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-direction: column;
}

.menu-button span {
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-active .menu-button span:first-child {
  transform: translateY(4px) rotate(35deg);
}

.menu-active .menu-button span:last-child {
  transform: translateY(-4px) rotate(-35deg);
}

.mobile-menu {
  position: fixed;
  z-index: 18;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 22px;
  background: rgba(246, 241, 231, 0.97);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  font-size: 1.4rem;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 10, 0.62), rgba(8, 12, 10, 0.18) 52%, rgba(8, 12, 10, 0.36)),
    linear-gradient(180deg, rgba(8, 12, 10, 0.3), transparent 38%, rgba(8, 12, 10, 0.48));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 7vw 15vh;
  max-width: 980px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 1.12;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.text-button {
  padding: 12px 0;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}

.scroll-cue span {
  width: 18px;
  height: 18px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  padding: 86px 0 72px;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 80px minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 54px;
  align-items: start;
}

.vertical-title {
  writing-mode: vertical-rl;
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.38em;
  color: var(--wood);
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1.35;
}

.intro p:last-child,
.feature-copy p,
.dining-copy p,
.access address {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-kicker {
  color: var(--wood);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 680px;
  background: var(--paper-2);
}

.feature-onsen {
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  background: #dfe6dc;
}

.feature-image {
  min-height: 560px;
}

.feature-copy {
  align-self: center;
  padding: 80px min(7vw, 96px);
}

.feature-copy h2,
.dining-copy h2,
.reserve h2,
.access h2 {
  margin-bottom: 28px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-list div {
  background: rgba(255, 250, 240, 0.58);
  padding: 18px;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-list dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
}

.outline-button {
  margin-top: 36px;
  border-color: rgba(24, 33, 29, 0.18);
  background: transparent;
}

.dining {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background: var(--night);
}

.dining img {
  position: absolute;
  inset: 0;
}

.dining::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 9, 0.72), rgba(7, 10, 9, 0.18) 58%, rgba(7, 10, 9, 0.46));
}

.dining-copy {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 48px));
  margin-left: 7vw;
  padding-top: 22vh;
}

.dining-copy p {
  color: rgba(255, 250, 240, 0.82);
}

.stay-flow {
  padding: 92px 0;
  background: var(--paper);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.flow-grid article {
  min-height: 210px;
  padding: 34px;
  background: rgba(255, 250, 240, 0.48);
}

.flow-grid span {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--wood);
  letter-spacing: 0.12em;
}

.flow-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
  font-weight: 400;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
}

.reserve {
  padding: 96px 24px;
  background:
    linear-gradient(rgba(16, 23, 20, 0.55), rgba(16, 23, 20, 0.55)),
    url("assets/onsen-stream.png") center / cover no-repeat;
}

.reserve-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 48px;
  background: rgba(246, 241, 231, 0.94);
  box-shadow: var(--shadow);
}

.booking-form {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr auto;
  gap: 16px;
  align-items: end;
  margin-top: 34px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.booking-form input,
.booking-form select {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(24, 33, 29, 0.18);
  border-radius: 0;
  background: rgba(255, 250, 240, 0.8);
  color: var(--ink);
  padding: 0 14px;
}

.booking-form button {
  min-height: 52px;
  border-color: var(--cedar);
  background: var(--cedar);
  color: var(--white);
}

.form-message {
  min-height: 28px;
  margin: 18px 0 0;
  color: var(--moss);
}

.access {
  padding: 88px 0;
  background: var(--paper-2);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
}

address {
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 42px;
  color: var(--white);
  background: var(--night);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 250, 240, 0.66);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 18px 22px;
  }

  .desktop-nav,
  .reserve-link {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-content {
    padding: 0 24px 120px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .intro-grid,
  .feature,
  .feature-onsen,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .vertical-title {
    writing-mode: horizontal-tb;
  }

  .intro-grid {
    gap: 24px;
  }

  .feature-onsen .feature-copy {
    order: 2;
  }

  .feature-onsen .feature-image {
    order: 1;
  }

  .feature-copy {
    padding: 56px 24px 64px;
  }

  .feature-image,
  .dining {
    min-height: 520px;
  }

  .flow-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .reserve-panel {
    padding: 34px 22px;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 88svh;
  }

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

  .hero-content {
    min-height: 88svh;
  }

  .eyebrow {
    max-width: 15em;
  }

  .primary-button,
  .outline-button,
  .booking-form button {
    width: 100%;
  }

  .text-button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 36px, 1180px);
  }

  .intro {
    padding: 62px 0;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .dining-copy {
    margin-left: 24px;
    padding-top: 120px;
  }

  .stay-flow,
  .access {
    padding: 64px 0;
  }

  .reserve {
    padding: 60px 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }
}
