:root {
  --ink: #24302d;
  --muted: #68736d;
  --paper: #f6f7f3;
  --paper-strong: #ffffff;
  --forest: #386a4a;
  --forest-dark: #234839;
  --sky: #2e7d9d;
  --water: #dbece9;
  --sun: #cf8337;
  --line: rgba(36, 48, 45, 0.14);
  --shadow: 0 18px 45px rgba(25, 39, 36, 0.16);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 243, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(36, 48, 45, 0.08);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest-dark);
  font-weight: 800;
  font-size: 0.82rem;
}

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

.brand-name {
  font-weight: 800;
  line-height: 1.2;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--forest-dark);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--sky);
}

.hero {
  position: relative;
  min-height: clamp(520px, 68svh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 34, 31, 0.25), rgba(18, 34, 31, 0.2)),
    url("assets/highland-view.jpg") center / cover;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 35, 32, 0.82), rgba(17, 35, 32, 0.2)),
    radial-gradient(circle at 70% 30%, rgba(207, 131, 55, 0.24), transparent 28rem);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) 0 clamp(64px, 7vw, 92px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1bf7e;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.25rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin-bottom: 28px;
  font-size: clamp(1.05rem, 2.3vw, 1.42rem);
  line-height: 1.8;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.34);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.3;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: var(--sun);
  color: #1f241e;
}

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

.button-outline {
  background: transparent;
  border-color: rgba(36, 48, 45, 0.34);
  color: var(--ink);
}

.access-section .button-secondary {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

.quick-info {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.quick-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-grid > div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.quick-grid > div:last-child {
  border-right: 0;
}

.quick-label,
.quick-grid strong,
.quick-grid span {
  display: block;
}

.quick-label {
  margin-bottom: 7px;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 800;
}

.quick-grid strong {
  margin-bottom: 4px;
  line-height: 1.45;
}

.quick-grid span:not(.quick-label) {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2),
.season-card:nth-child(2) {
  --reveal-delay: 90ms;
}

.feature-card:nth-child(3),
.season-card:nth-child(3) {
  --reveal-delay: 180ms;
}

.season-card:nth-child(4) {
  --reveal-delay: 270ms;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-copy p {
  max-width: 68ch;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.intro-layout,
.onsen-layout,
.sports-layout,
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.photo-pair figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 34px rgba(36, 48, 45, 0.12);
}

.photo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-pair figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.stay-section,
.sports-section {
  background: var(--water);
}

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

.feature-card,
.season-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.feature-card img,
.season-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d8ddd8;
}

.feature-card > div,
.season-card > div {
  padding: 22px;
}

.feature-card p,
.season-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.onsen-section {
  background: var(--forest-dark);
  color: #f8fbf7;
}

.onsen-section .section-kicker,
.onsen-section .section-copy p,
.onsen-section .detail-list dd {
  color: #cfe0d8;
}

.onsen-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.onsen-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-list dt {
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.season-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--sun);
  font-weight: 900;
}

.sports-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
}

.sports-panel {
  display: grid;
  gap: 18px;
}

.sports-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

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

.facility-list li {
  min-height: 112px;
  padding: 18px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facility-list strong,
.facility-list span {
  display: block;
}

.facility-list strong {
  margin-bottom: 8px;
}

.facility-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.access-section {
  background:
    linear-gradient(rgba(246, 247, 243, 0.93), rgba(246, 247, 243, 0.93)),
    url("assets/hutte-exterior.jpg") center / cover;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-style: normal;
}

.access-stack {
  display: grid;
  gap: 18px;
}

.map-card {
  min-height: 280px;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  border: 0;
}

.map-link {
  justify-self: start;
  color: var(--forest-dark);
  font-weight: 900;
}

.contact-card strong {
  font-size: 1.06rem;
}

.contact-card a {
  color: var(--forest-dark);
  font-weight: 900;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 66px;
  }

  .site-nav {
    max-width: 52vw;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .quick-grid > div:nth-child(2) {
    border-right: 0;
  }

  .quick-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .onsen-image {
    order: 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    width: min(100% - 24px, var(--max));
    gap: 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-sub {
    display: none;
  }

  .site-nav {
    max-width: 44vw;
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 66svh;
  }

  .hero::before {
    background:
      linear-gradient(rgba(17, 35, 32, 0.78), rgba(17, 35, 32, 0.46)),
      radial-gradient(circle at 65% 25%, rgba(207, 131, 55, 0.2), transparent 18rem);
  }

  .hero-inner,
  .section-inner,
  .quick-grid,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .quick-info {
    margin-top: -20px;
  }

  .quick-grid,
  .feature-grid,
  .season-grid,
  .facility-list {
    grid-template-columns: 1fr;
  }

  .quick-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }

  .quick-grid > div:last-child {
    border-bottom: 0;
  }

  .feature-card > div,
  .season-card > div,
  .contact-card {
    padding: 20px;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
