:root {
  --bg: #f6f1e8;
  --surface: #fffaf2;
  --ink: #172033;
  --muted: #6f665d;
  --moss: #6f8067;
  --line: rgba(23, 32, 51, 0.14);
  --accent: #2563eb;
  --shadow: 0 24px 80px rgba(38, 30, 20, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(23, 32, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.62), rgba(8, 10, 14, 0.14) 54%, rgba(8, 10, 14, 0.06)),
    url("./assets/room.png") center / cover;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.68), rgba(8, 10, 14, 0.2) 54%, rgba(8, 10, 14, 0.1)),
    linear-gradient(0deg, rgba(8, 10, 14, 0.34), transparent 46%);
}

.hero-video {
  position: absolute;
  top: -7%;
  left: -7%;
  width: 114%;
  height: 114%;
  object-fit: cover;
  object-position: center;
  transform: translate(-2%, -2%);
}

.hero-scrim {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.48));
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 680px);
  min-height: 100dvh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(24px, 5vw, 80px) clamp(88px, 14vh, 150px);
  color: #fff;
}

.brand-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

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

h1 {
  display: grid;
  width: min(540px, 100%);
  margin-bottom: 22px;
  font-size: clamp(46px, 5.2vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  word-break: keep-all;
}

h1 span,
h2 {
  overflow-wrap: normal;
  word-break: keep-all;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.7vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 720px;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.hero-copy p {
  max-width: 520px;
  margin-bottom: 30px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.button.ghost {
  color: inherit;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
}

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

.section-pad {
  padding: clamp(88px, 12vw, 160px) clamp(20px, 5vw, 80px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.section-heading p,
.space-copy p,
.booking-copy p,
.final-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
}

.room-feature {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.room-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(transparent 42%, rgba(0, 0, 0, 0.64));
}

.room-feature div {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 4vw, 48px);
  right: clamp(24px, 4vw, 48px);
  bottom: clamp(24px, 4vw, 48px);
  color: #fff;
}

.room-feature span,
.panel-head span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.room-list {
  display: grid;
  align-content: end;
  gap: 0;
}

.room-list article {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.room-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--moss);
  font-weight: 900;
}

.room-list p {
  color: var(--muted);
  line-height: 1.7;
}

.space {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.75fr);
  min-height: 820px;
  background: #e7e0d4;
}

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

.space-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 100px);
}

.space-copy h2 {
  max-width: 520px;
  font-size: clamp(34px, 3.6vw, 52px);
}

.side-note {
  position: absolute;
  top: 44px;
  right: 38px;
  writing-mode: vertical-rl;
  color: rgba(23, 32, 51, 0.42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.line-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.line-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.line-list span {
  color: var(--moss);
  font-weight: 900;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-line span {
  padding: 18px 14px;
  color: var(--moss);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.process-line span + span {
  border-left: 1px solid var(--line);
}

.booking-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
}

.panel-head,
.full {
  grid-column: 1 / -1;
}

.panel-head strong {
  display: block;
  font-size: 22px;
}

label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.embed-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.external-booking-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 24px;
}

.map-panel {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 40%, rgba(111, 128, 103, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(111, 128, 103, 0.25), rgba(255, 250, 242, 0.9));
  border: 1px solid var(--line);
}

.map-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--surface);
  background: rgba(23, 32, 51, 0.86);
  font-size: 13px;
}

.map-panel::before {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 55% 45% 48% 52%;
  content: "";
  transform: rotate(-12deg);
}

.map-pin {
  position: absolute;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(38, 30, 20, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.pin-one {
  top: 18%;
  left: 18%;
}

.pin-two {
  top: 42%;
  right: 16%;
}

.pin-three {
  left: 35%;
  bottom: 16%;
}

.pin-four {
  right: 24%;
  bottom: 34%;
}

.news-panel {
  display: grid;
  align-content: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.news-panel a {
  display: grid;
  gap: 7px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.news-panel span {
  color: var(--moss);
  font-size: 13px;
  font-weight: 900;
}

.guide-grid img {
  grid-column: 1 / -1;
  height: min(44vw, 460px);
  border-radius: 28px;
}

.final-cta {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
}

.final-cta > img,
.final-overlay {
  position: absolute;
  inset: 0;
}

.final-overlay {
  background:
    linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 35%, transparent, rgba(0, 0, 0, 0.42));
}

.final-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 180px;
  text-align: center;
}

.final-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.info-band {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 5vw, 80px);
  right: clamp(20px, 5vw, 80px);
  bottom: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(12, 16, 22, 0.28);
  backdrop-filter: blur(18px);
}

.info-band span {
  padding: 22px;
  line-height: 1.6;
}

.info-band span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.info-band strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 34px 20px 92px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.mobile-reserve {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: none;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
  font-weight: 900;
  transform: translateY(120%);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
  opacity: 0;
}

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

.section-reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .section-reveal,
  .button,
  .site-header {
    transition: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero-copy {
    width: auto;
    margin: 0 22px;
    padding: 0 0 92px;
  }

  h1 {
    max-width: min(100%, 500px);
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, calc(100vw - 44px));
  }

  .button {
    width: 100%;
  }

  .room-layout,
  .space,
  .booking,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .room-feature {
    min-height: 480px;
  }

  .space {
    min-height: 0;
  }

  .space-copy {
    padding: 56px 22px 72px;
  }

  .side-note {
    position: static;
    margin-bottom: 24px;
    writing-mode: horizontal-tb;
  }

  .process-line {
    grid-template-columns: 1fr 1fr;
  }

  .process-line span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-line span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .booking-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .info-band span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .final-copy {
    padding-bottom: 280px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding-bottom: 96px;
  }

  .mobile-reserve {
    display: flex;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 76px 18px;
  }

  .hero-copy p,
  .section-heading p,
  .space-copy p,
  .booking-copy p,
  .final-copy p {
    font-size: 16px;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .hero-copy {
    width: auto;
  }

  h1 {
    font-size: clamp(34px, 9.2vw, 40px);
  }

  .space-copy h2 {
    font-size: clamp(30px, 8.2vw, 38px);
  }

  .room-feature,
  .map-panel {
    border-radius: 22px;
  }

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

  .map-pin {
    font-size: 12px;
  }
}
