/* Arangheon — Morning Mist redesign */

:root {
  --ink: #1a221d;
  --seal: #b4232a;
  --pine: #2f4a3c;
  --mist: #d7e4de;
  --fog: #eaf1ed;
  --wash: #f5f8f6;
  --muted: #5f6f66;
  --line: rgba(26, 34, 29, 0.12);
  --display: "Gowun Batang", "Batang", serif;
  --english: "Instrument Serif", Georgia, serif;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
  --sticky-h: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --pad: clamp(20px, 4vw, 40px);
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(215, 228, 222, 0.9), transparent 55%),
    radial-gradient(900px 500px at 0% 30%, rgba(234, 241, 237, 0.8), transparent 50%),
    linear-gradient(180deg, var(--wash) 0%, #eef3f0 40%, var(--wash) 100%);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-h) + var(--safe-bottom));
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* —— Topbar —— */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 44px 1fr 52px;
  align-items: center;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--pad) 12px;
  color: #fff;
  transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
}

.topbar.is-solid {
  background: rgba(245, 248, 246, 0.92);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.topbar-brand {
  text-align: center;
  font-family: var(--english);
  font-size: 15px;
  letter-spacing: 0.18em;
  font-style: italic;
}

.topbar-book {
  text-align: right;
  font-size: 13px;
  font-weight: 600;
}

.topbar.is-solid .topbar-book {
  color: var(--seal);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 6px;
  align-content: center;
  cursor: pointer;
  padding: 8px 4px;
  color: inherit;
}

.icon-btn span {
  display: block;
  height: 1.5px;
  width: 18px;
  background: currentColor;
}

/* —— Drawer —— */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(26, 34, 29, 0.48);
}

.drawer[hidden] {
  display: none;
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background:
    linear-gradient(165deg, #f7faf8 0%, var(--fog) 100%);
  padding: 28px 28px 32px;
  animation: slideIn 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideIn {
  from {
    transform: translateX(-18px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.drawer-close {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  float: right;
}

.drawer-en {
  clear: both;
  margin: 40px 0 28px;
  font-family: var(--english);
  font-style: italic;
  letter-spacing: 0.16em;
  font-size: 18px;
  color: var(--pine);
}

.drawer-nav {
  display: grid;
  gap: 2px;
}

.drawer-nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 24px;
}

.drawer-cta {
  color: var(--seal) !important;
}

.drawer-contact {
  margin-top: 32px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  transform: scale(1.06);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 34, 29, 0.55) 0%, rgba(26, 34, 29, 0.12) 48%, transparent 70%),
    linear-gradient(180deg, rgba(26, 34, 29, 0.25) 0%, transparent 28%),
    linear-gradient(180deg, transparent 38%, rgba(26, 34, 29, 0.72) 78%, rgba(26, 34, 29, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: 0 var(--pad) calc(40px + var(--sticky-h));
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-en,
.sec-en {
  margin: 0 0 10px;
  font-family: var(--english);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.hero-en {
  opacity: 0.88;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 18vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-line {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(20px, 4.6vw, 28px);
  line-height: 1.45;
  font-weight: 400;
  max-width: 16em;
}

.hero-sub {
  margin: 12px 0 26px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-seal {
  background: var(--seal);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-outline {
  border-color: rgba(26, 34, 29, 0.35);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
}

.btn-block {
  width: 100%;
}

.cta-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
  max-width: 360px;
}

/* —— Sections —— */
.sec {
  padding: clamp(56px, 9vw, 96px) 0;
}

.sec-inner {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
}

.sec-en {
  color: var(--pine);
}

.sec-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.sec-body {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 34em;
}

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* About */
.about-grid {
  display: grid;
  gap: 36px;
}

.about-shot {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mist);
}

.about-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.about-shot.is-in img {
  animation: softZoom 8s ease-out both;
}

@keyframes softZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 420px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.facts span {
  color: var(--muted);
}

.facts strong {
  font-weight: 600;
  text-align: right;
}

.hint-plain {
  margin: 18px 0 6px;
  font-size: 13px;
  color: var(--pine);
}

/* Gallery */
.sec-gallery {
  padding-bottom: 48px;
  background: linear-gradient(180deg, transparent, rgba(215, 228, 222, 0.35) 30%, transparent);
}

.filter-row {
  display: flex;
  gap: 18px;
  margin: 28px 0 0;
  overflow-x: auto;
}

.filter-row button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.filter-row button.is-on {
  color: var(--ink);
  border-bottom-color: var(--seal);
}

.gal-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: end;
  gap: 14px;
  overflow-x: auto;
  margin: 32px 0 0;
  padding: 8px var(--pad) 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gal-card {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  width: 210px;
  color: inherit;
}

.gal-card.is-lead,
.gal-card.gal-tall {
  width: 248px;
}

.gal-card.gal-wide {
  width: 280px;
}

.gal-card.is-lead.gal-tall {
  width: 268px;
}

.gal-frame {
  display: block;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 3 / 4;
}

.gal-wide .gal-frame {
  aspect-ratio: 4 / 3;
}

.gal-tall .gal-frame,
.gal-card.is-lead .gal-frame {
  aspect-ratio: 3 / 4.4;
}

.gal-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gal-card:hover .gal-frame img,
.gal-card:focus-visible .gal-frame img {
  transform: scale(1.05);
}

.gal-caption {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.gal-card.is-lead .gal-caption {
  font-size: 17px;
}

/* Why */
.why-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.why-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.why-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.why-num {
  font-family: var(--english);
  font-size: 22px;
  font-style: italic;
  color: var(--seal);
  padding-top: 2px;
}

.why-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 28px);
  margin-bottom: 8px;
}

.why-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.why-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  margin-top: 40px;
  padding: 0 var(--pad);
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  margin-left: auto;
  margin-right: auto;
}

.why-band-shot {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--mist);
}

.why-band-shot:first-child {
  aspect-ratio: 4 / 5;
}

.why-band-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Packages */
.sec-packages {
  background:
    linear-gradient(180deg, rgba(234, 241, 237, 0.55), transparent 40%);
}

.pkg-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.pkg {
  border-bottom: 1px solid var(--line);
}

.pkg-btn {
  position: relative;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 18px 36px 18px 8px;
  cursor: pointer;
  transition: background 180ms ease, padding-left 180ms ease;
}

.pkg.is-selected .pkg-btn {
  background: rgba(47, 74, 60, 0.06);
  box-shadow: inset 3px 0 0 var(--seal);
  padding-left: 14px;
}

.pkg.is-open .pkg-btn {
  background: rgba(47, 74, 60, 0.05);
}

.pkg-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--pine);
  border-bottom: 1.5px solid var(--pine);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 200ms ease;
}

.pkg.is-open .pkg-toggle {
  transform: translateY(-20%) rotate(225deg);
}

.pkg-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding-right: 8px;
}

.pkg-top strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
}

.pkg-top em {
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  color: var(--pine);
}

.pkg-lead {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  padding-right: 12px;
}

.pkg-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--seal);
}

.pkg-focus .pkg-btn {
  background: rgba(180, 35, 42, 0.03);
}

.pkg-detail {
  padding: 0 8px 22px 14px;
  border-bottom: 0;
  animation: pkgOpen 280ms ease;
}

.pkg-detail[hidden] {
  display: none;
}

@keyframes pkgOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pkg-detail-sum {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.pkg-detail-list,
.pkg-detail-deliver {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.pkg-detail-list {
  margin-bottom: 12px;
}

.pkg-detail-deliver {
  padding: 12px 0 0 18px;
  border-top: 1px solid var(--line);
  color: var(--pine);
}

.pkg-detail-deliver strong {
  color: var(--seal);
}

.pkg-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--seal);
}

.pkg-compare {
  margin-top: 40px;
}

.pkg-compare-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.pkg-compare-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.pkg-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.pkg-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.pkg-table th,
.pkg-table td {
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid rgba(26, 34, 29, 0.06);
  color: var(--ink);
  min-width: 88px;
}

.pkg-table thead th {
  padding: 0;
  background: rgba(215, 228, 222, 0.55);
  position: sticky;
  top: 0;
  z-index: 2;
}

.pkg-col-btn {
  width: 100%;
  min-height: 64px;
  border: 0;
  background: transparent;
  padding: 12px 8px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
}

.pkg-col-btn span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--pine);
}

.pkg-col-btn.is-popular span {
  color: var(--seal);
}

.pkg-col-btn.is-on {
  background: rgba(180, 35, 42, 0.1);
  box-shadow: inset 0 -3px 0 var(--seal);
}

.pkg-sticky {
  position: sticky;
  left: 0;
  z-index: 3;
  text-align: left !important;
  font-weight: 600;
  color: var(--pine) !important;
  background: #f3f7f5;
  min-width: 64px !important;
  max-width: 72px;
  white-space: normal !important;
}

.pkg-table thead .pkg-sticky {
  z-index: 4;
  background: #e4ece8;
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
  padding: 12px 10px;
}

.pkg-table tbody th.pkg-sticky {
  background: #f3f7f5;
}

.pkg-table td small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}

.pkg-table td strong {
  font-size: 15px;
  font-weight: 700;
}

.pkg-row-key td,
.pkg-row-who td {
  background: rgba(234, 241, 237, 0.45);
}

.pkg-table td.is-on {
  background: rgba(180, 35, 42, 0.08) !important;
}

.pkg-detail-title {
  display: none;
}

.pkg-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.pkg-foot {
  margin: 20px 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

#pkgBookBtn {
  max-width: 420px;
}

.choice-main {
  display: block;
  font-weight: 600;
}

.choice-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
}

/* Reviews */
.review-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 72%);
  gap: 14px;
  overflow-x: auto;
  margin: 28px 0 0;
  padding: 0 var(--pad) 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.review-item {
  scroll-snap-align: start;
  border-top: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.55), rgba(234, 241, 237, 0.4));
  padding: 22px 18px 18px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.review-user {
  font-size: 13px;
  font-weight: 600;
}

.review-via {
  font-family: var(--english);
  font-style: italic;
  font-size: 13px;
  color: var(--pine);
}

.review-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  flex: 1;
}

.review-tag {
  font-size: 12px;
  color: var(--seal);
}

/* Visit */
.visit-grid {
  display: grid;
  gap: 28px;
}

.visit-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  max-width: 360px;
}

.visit-map {
  min-height: 220px;
  padding: 28px;
  background:
    radial-gradient(circle at 70% 30%, rgba(215, 228, 222, 0.9), transparent 45%),
    linear-gradient(145deg, var(--pine), #1f3329);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.visit-map-label {
  margin: 0;
  font-family: var(--english);
  font-style: italic;
  font-size: 16px;
  opacity: 0.8;
}

.visit-map-ko {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(36px, 8vw, 52px);
  line-height: 1.15;
}

/* Booking */
.sec-book {
  padding-bottom: 64px;
}

.book-shell {
  max-width: 560px;
  padding: 28px 22px 32px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.step-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 28px 0 12px;
}

.step-rail i {
  display: block;
  height: 2px;
  background: var(--line);
}

.step-rail i.done,
.step-rail i.now {
  background: var(--seal);
}

.step-label {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--pine);
}

.book-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.book-step[hidden] {
  display: none;
}

.field,
.field-set {
  display: block;
  margin-top: 16px;
  border: 0;
  padding: 0;
}

.field > span,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 8px 2px;
  border-radius: 0;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.choice > span {
  flex: 1;
  min-width: 0;
}

.choice input {
  margin-top: 3px;
  accent-color: var(--seal);
}

.agree {
  margin-top: 16px;
  border-bottom: 0;
}

.form-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

#kakaoSchedule {
  margin-top: 4px;
}

.deposit-box {
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deposit-box p {
  margin: 0 0 6px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.deposit-note {
  color: var(--muted) !important;
  font-size: 12px !important;
}

.text-link {
  border: 0;
  background: none;
  color: var(--seal);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.terms {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.terms summary {
  cursor: pointer;
  color: var(--ink);
}

.terms ul {
  padding-left: 18px;
  line-height: 1.7;
}

.book-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.book-nav:has(#prevStep[hidden]) #nextStep,
.book-nav:has(#prevStep[hidden]) #submitBook {
  grid-column: 1 / -1;
}

.form-error {
  margin: 16px 0 0;
  padding: 12px 0;
  color: var(--seal);
  font-size: 14px;
  border-top: 1px solid rgba(180, 35, 42, 0.25);
}

.btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

#bookCode {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.summary {
  white-space: pre-wrap;
  background: var(--fog);
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
  overflow: auto;
  margin: 0 0 16px;
  font-family: var(--sans);
}

/* Footer */
.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  background: linear-gradient(180deg, transparent, rgba(215, 228, 222, 0.4));
}

.footer-brand {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 24px;
  color: var(--ink);
}

.footer-copy {
  margin-top: 18px;
  font-family: var(--english);
  font-style: italic;
  font-size: 13px;
}

/* Sticky */
.sticky-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + var(--safe-bottom));
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 6px;
  padding: 8px;
  background: rgba(245, 248, 246, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-bar.is-on {
  transform: translateY(0);
}

.sticky-bar a {
  display: grid;
  place-items: center;
  min-height: 44px;
  font-size: 13px;
}

.sticky-primary {
  background: var(--seal);
  color: #fff !important;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(26, 34, 29, 0.94);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 16px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.toast[hidden] {
  display: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Desktop */
@media (min-width: 860px) {
  .hero-copy {
    padding-left: clamp(40px, 8vw, 96px);
    padding-bottom: 72px;
  }

  .cta-row {
    max-width: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 64px;
  }

  .about-shot {
    aspect-ratio: 4 / 5;
    max-height: 640px;
  }

  .why-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .why-list li {
    grid-template-columns: 1fr;
    border: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }

  .why-list li:last-child {
    border-bottom: 0;
  }

  .why-band {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    padding: 0;
    width: min(100% - (var(--pad) * 2), var(--max));
  }

  .visit-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 40px;
  }

  .visit-map {
    min-height: 100%;
  }

  .visit-actions {
    grid-template-columns: 1fr 1fr;
  }

  .visit-actions .btn:last-child {
    grid-column: 1 / -1;
  }

  .review-strip {
    grid-auto-columns: minmax(300px, 32%);
    width: min(100%, calc(var(--max) + var(--pad) * 2));
    margin-left: auto;
    margin-right: auto;
  }

  .gal-strip {
    width: min(100%, calc(var(--max) + var(--pad) * 2));
    margin-left: auto;
    margin-right: auto;
    gap: 18px;
  }

  .gal-card {
    width: 240px;
  }

  .gal-card.is-lead,
  .gal-card.gal-tall {
    width: 280px;
  }

  .gal-card.gal-wide {
    width: 320px;
  }

  .gal-card.is-lead.gal-tall {
    width: 300px;
  }

  .sticky-bar {
    left: 50%;
    right: auto;
    width: min(420px, calc(100% - 24px));
    transform: translate(-50%, 120%);
  }

  .sticky-bar.is-on {
    transform: translate(-50%, 0);
  }

  .book-shell {
    padding: 40px 36px 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img,
  .hero-copy,
  .reveal,
  .about-shot.is-in img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Kakao channel chat FAB */
.kakao-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: #fee500;
  color: #191600;
  text-decoration: none;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 28px rgba(47, 74, 60, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kakao-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(47, 74, 60, 0.28);
}
.kakao-fab-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(60, 30, 30, 0.06);
}
.kakao-fab-label {
  padding-right: 4px;
}
@media (min-width: 900px) {
  .kakao-fab {
    bottom: max(28px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 520px) {
  .kakao-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .kakao-fab {
    padding: 12px;
    border-radius: 50%;
  }
}
