:root {
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --ink: #2c2a26;
  --muted: #7a756c;
  --line: #ebe4d6;
  --chroma: #2fbf5a;
  --chroma-ink: #14632c;
  --chroma-soft: #e7f8ec;
  --shadow: 0 12px 32px rgba(70, 55, 30, 0.07);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
#top {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 22px;
  background: rgba(246, 243, 236, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.logo::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--chroma);
}

.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.nav a,
.header-tel,
.menu-btn {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.header-tel {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--chroma);
  color: var(--chroma-ink);
}

.menu-btn {
  display: none;
}

.intro,
.block,
.photo-card,
.sizes {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.intro {
  padding: 56px 0 24px;
}

.intro h1 {
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.12;
  max-width: 19em;
}

.intro h1 .h1-lead {
  display: block;
}

.intro h1 .h1-sub {
  display: block;
  margin-top: 0.55em;
  font-size: 0.5em;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.intro .lede {
  max-width: 44em;
}

.badge {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chroma-soft);
  color: var(--chroma-ink);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2 {
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 6vw, 56px);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.2vw, 36px);
}

.lede {
  max-width: 36em;
  margin: 0 0 22px;
  color: var(--muted);
}

.quick,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--chroma) 48%, var(--line));
}

.btn:focus-visible,
.tile:focus-visible,
.cal-cell:focus-visible,
.cal-toolbar button:focus-visible,
.menu-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--chroma) 55%, white);
  outline-offset: 3px;
}

.btn.primary {
  background: var(--chroma);
  border-color: var(--chroma);
  color: var(--chroma-ink);
}

.photo-card {
  padding: 8px;
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: min(68vh, 640px);
  object-fit: cover;
  object-position: center 46%;
  border-radius: 24px;
  display: block;
}

.photo-card + .photo-card {
  margin-top: 16px;
}

.photo-card--mini img {
  height: auto;
  max-height: none;
  object-fit: cover;
}

.sizes {
  margin-top: 28px;
  padding: 8px 0 0;
}

.sizes h2 {
  margin: 0 0 18px;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.size-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 148px;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.size-card.main {
  background: linear-gradient(160deg, #e8f8ee 0%, var(--paper) 55%);
  border: 1px solid color-mix(in srgb, var(--chroma) 28%, transparent);
}

.size-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.size-card strong {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.size-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

.block {
  padding: 56px 0 8px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--chroma-ink);
  font-size: 13px;
  font-weight: 700;
}

.navi,
.price-note,
.small,
.doc p {
  color: var(--muted);
}

.doc {
  margin: 0;
  padding: 22px 24px 12px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.doc header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--chroma-ink);
}

.doc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.doc li:last-child {
  border-bottom: 0;
}

.doc strong {
  display: block;
  margin-bottom: 4px;
}

.doc p {
  margin: 0;
  font-size: 15px;
}

.plan,
.price-card,
.facility-group {
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.plan {
  padding: 16px;
}

.plan img {
  width: 100%;
  border-radius: 16px;
  background: #e8dcc4;
}

.plan figcaption {
  margin: 12px 4px 4px;
  color: var(--muted);
  font-size: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery.compact {
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
}

.gallery.wide {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.facility-galleries {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.facility-group {
  padding: 22px 22px 20px;
}

.facility-group h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.facility-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.facility-group--text .facility-copy {
  margin-top: 0;
}

.tile.captioned img {
  height: auto;
  min-height: 200px;
  max-height: 280px;
  object-fit: contain;
  background: #ece7df;
}

.convert {
  margin: 0 0 32px;
}

.convert-copy {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.convert .gallery.compact {
  margin-top: 0;
}

.tile {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #d9d2c6;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}

.tile img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.tile.featured {
  grid-row: span 2;
}

.tile.featured img {
  height: 492px;
}

.tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.price-card {
  padding: 32px 32px 28px;
}

.rate {
  width: min(520px, 100%);
  margin: 18px 0 12px;
  border-collapse: collapse;
}

.rate th,
.rate td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.rate th:nth-child(2),
.rate td:nth-child(2) {
  text-align: right;
}

.rate th {
  color: var(--muted);
  font-weight: 500;
}

.small {
  font-size: 13px;
}

.price-card .btn {
  margin-top: 8px;
}

.cal-wrap {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cal-toolbar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding: 8px 14px;
  font-weight: 700;
}

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-week {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.cal-cell {
  min-height: 72px;
  padding: 8px 6px;
  border: 0;
  border-radius: 16px;
  background: var(--bg);
  text-align: left;
  cursor: pointer;
}

.cal-cell.empty {
  background: transparent;
  cursor: default;
}

.cal-cell.today {
  outline: 2px solid var(--chroma);
}

.cal-cell.selected {
  background: var(--chroma-soft);
}

.cal-cell.busy {
  background: #eef8e8;
}

.cal-cell.past {
  background: #eceae6;
  color: var(--muted);
  opacity: 0.82;
}

.cal-cell.past.busy {
  background: #e4e2de;
}

.cal-cell.past .cal-pill {
  background: #c8c4bc;
  color: #6f6a62;
}

.cal-cell.past.selected {
  background: #dedbd4;
  outline: 1px solid #c8c4bc;
}

.cal-cell.past.today {
  outline-color: #a8a49c;
}

.cal-cell strong {
  display: block;
  font-size: 14px;
}

.cal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.cal-pill {
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--chroma);
  color: var(--chroma-ink);
  font-size: 11px;
  font-weight: 700;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.cal-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--line);
}

.cal-legend .am,
.cal-legend .pm {
  background: var(--chroma);
}

.cal-detail {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cal-day-title {
  margin: 0 0 8px;
  font-weight: 800;
}

.cal-slots {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.cal-slots li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.cal-hint {
  color: var(--muted);
}

.contact-phones {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-panel {
  scroll-margin-top: 96px;
  margin: 12px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--bg);
}

.contact-panel .eyebrow {
  margin: 0 0 6px;
}

.contact-note {
  margin: 8px 0 0;
  color: var(--muted);
}

.tel-link {
  color: inherit;
  text-decoration: none;
}

.tel-link-secondary {
  color: var(--muted);
  font-weight: 600;
}

.contact-alt {
  margin: 0 0.25em;
  color: var(--muted);
}

.cal-past-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.cal-slots-past {
  opacity: 0.72;
}

.cal-phones {
  margin-top: 10px;
}

.cal-phones a {
  color: inherit;
  font-weight: 700;
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 40px auto 108px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 6px;
}

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--chroma);
  color: var(--chroma-ink);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.lightbox {
  position: relative;
  border: 0;
  padding: 0;
  background: #111;
  max-width: min(96vw, 1200px);
  border-radius: 16px;
  overflow: hidden;
}

.lightbox-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.lightbox-stage {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-caption {
  margin: 0;
  padding: 10px 16px 0;
  color: #f5f0e8;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-caption:empty {
  display: none;
}

.lightbox-count {
  margin: 6px 0 12px;
  color: rgba(245, 240, 232, 0.72);
  font-size: 0.85rem;
  text-align: center;
}

.lightbox-count:empty {
  display: none;
}

.lightbox::backdrop {
  background: rgba(40, 36, 30, 0.72);
}

.lightbox-nav {
  flex: 0 0 auto;
  border: 0;
  background: rgba(245, 240, 232, 0.12);
  color: #f5f0e8;
  width: 44px;
  min-height: 120px;
  align-self: stretch;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(245, 240, 232, 0.22);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  background: rgba(245, 240, 232, 0.92);
  color: #111;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav,
  .header-tel {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 56px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    padding: 16px 18px 20px;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .menu-btn {
    display: block;
    margin-left: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--ink);
  }

  .size-grid,
  .gallery:not(.wide) {
    grid-template-columns: 1fr 1fr;
  }

  .gallery.wide {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .tile.featured {
    grid-column: span 2;
    grid-row: auto;
  }

  .tile.featured img,
  .tile img,
  .photo-card img {
    height: 46vh;
  }

  .photo-card--mini img {
    height: auto;
  }
}

@media (max-width: 560px) {
  .intro,
  .block,
  .photo-card,
  .sizes {
    width: calc(100% - 24px);
  }

  .size-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .intro {
    padding-top: 36px;
  }

  .intro h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .intro h1 .h1-sub {
    font-size: 0.52em;
  }

  .size-card {
    min-height: 0;
  }

  .tile.featured {
    grid-column: auto;
  }

  .cal-cell {
    min-height: 58px;
  }

  .lightbox-nav {
    width: 36px;
    font-size: 1.6rem;
  }

  .lightbox-caption,
  .lightbox-count {
    padding-left: 10px;
    padding-right: 10px;
  }
}
