:root {
  --ink: #161412;
  --muted: #6f6a63;
  --line: #e7dfd2;
  --paper: #faf7f1;
  --white: #fff;
  --clay: #e8485f;
  --leaf: #03c75a;
  --gold: #c99a4a;
  --charcoal: #24211e;
  --shadow: 0 24px 80px rgba(36, 33, 30, 0.14);
  --content-width: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 64px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header,
.site-footer {
  padding-right: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
  padding-left: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
}

.hero-content {
  margin-right: auto;
  margin-left: max(clamp(20px, 7vw, 6px), calc((100vw - var(--content-width)) / 2));
}

.hero-info {
  right: max(clamp(20px, 5vw, 70px), calc((100vw - var(--content-width)) / 2));
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 10px 30px rgba(36, 33, 30, 0.08);
  backdrop-filter: blur(16px);
}

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

/*.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
}*/
.brand-mark {
  display: grid;
  place-items: center;
  width: 142px;

}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.75;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  /*font-size: 15px;*/
  font-size: 20px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  content: "";
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.header-call {
  gap: 8px;
  min-width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
}

.site-header.is-scrolled .header-call {
  color: var(--ink);
  background: transparent;
}

.header-call span {
  color: currentColor;
  font-size: 16px;
  font-weight: 900;
}

.header-call strong {
  color: currentColor;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.site-header.is-scrolled .header-call strong {
  color: #e8485f;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-panel {
  position: fixed;
/*  inset: 74px 0 auto;*/
top:74px;
width: 50%;
right: 0;
  z-index: 19;
  display: none;
  padding: 18px;
  /*border: 1px solid var(--line);*/
  background: rgba(0, 0, 0, 0.96);
  box-shadow: var(--shadow);
}

.mobile-panel.is-open {
  display: grid;
  gap: 8px;
}

.mobile-panel a {
  padding: 12px 6px;
  /*border-bottom: 1px solid var(--line);*/
  border-bottom: 1px solid #444444;
  color: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-slider,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  overflow: hidden;
}

.hero-bg {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.78), rgba(20, 16, 12, 0.36) 48%, rgba(20, 16, 12, 0.68)),
    linear-gradient(0deg, rgba(20, 16, 12, 0.82), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding: 160px clamp(20px, 1vw, 96px) 112px;
}

.eyebrow,
.section-label,
.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(76px, 13vw, 176px);
  font-weight: 900;
  line-height: 0.9;
}

.hero-copy {
  max-width: 660px;
  margin: 0;
  font-size: clamp(18px, 2vw, 20px);
  padding-top: 15px;
  font-weight: 500;
  letter-spacing: -1px;
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn.primary {
  color: var(--white);
  background: var(--clay);
}

.btn.naver {
  color: var(--white);
  background: var(--leaf);
}


.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn.dark {
  color: var(--white);
  background: var(--charcoal);
}

.hero-info {
  position: absolute;
  right: max(clamp(20px, 5vw, 70px), calc((100vw - var(--content-width)) / 2));
  bottom: 36px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 430px;
}

.hero-info span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.section {
  padding-top: clamp(72px, 10vw, 140px);
  padding-right: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
  padding-bottom: clamp(72px, 10vw, 140px);
  padding-left: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
}

.story-section {
  background: var(--white);
}

.story-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 0.9fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
}

.story-photo {padding-top: 38px;}

.story-photo-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.58;
  border-radius: 14px;
  background: var(--line);
}

.story-photo-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 5s ease;
}

.story-photo-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}

.story-photo-copy {
  display: none;
  padding-top: 22px;
}

.story-photo-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.story-photo-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.story-detail {
  position: relative;
 /* padding-top: 38px;*/
}

.quote-mark {
  position: absolute;
  top: -42px;
  right: 0;
  color: rgba(36, 33, 30, 0.22);
  font-family: "Playfair Display", serif;
  font-size: clamp(84px, 9vw, 142px);
  line-height: 1;
}

.story-detail h2,
.section-head h2,
.space-text h2,
.location-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(36px, 5.5vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
}

.story-detail > p:not(.section-label) {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.story-controls {
  display: flex;
  gap: 3px;
  margin-top: 34px;
}

.story-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: #3e4d63;
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.story-controls button:hover {
  background: #2d394b;
}

.story-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
 /* margin-top: 78px;*/
  margin-top: 18px;
}

.story-points article {
  min-width: 0;
}

.story-points img {
  width: 100%;
  aspect-ratio: 1.78;
  object-fit: cover;
  border-radius: 6px;
}

.story-points strong {
  display: block;
  margin-top: 14px;
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.45;
  font-weight: normal;
  text-align: center;
}

.menu-section {
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 18, 16, 0.9), rgba(20, 18, 16, 0.94)),
    url("assets/interior.jpg") center/cover;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 30px;
  align-items: end;
}

.section-head .section-label {
  grid-column: 1 / -1;
}

.section-head h2,
.section-head p {
  margin: 0;
}

.section-head p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.menu-tabs button {
  min-width: 120px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.menu-tabs button.is-active {
  background: var(--clay);
}

.menu-carousel {
  position: relative;
}

.menu-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.menu-track::-webkit-scrollbar {
  display: none;
}

.menu-card {
  min-width: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  scroll-snap-align: start;
}

.menu-card.is-hidden {
  display: none;
}

.menu-card img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
}

.menu-card h3 {
  margin: 18px 0 8px;
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
}

.menu-card p {
  min-height: 58px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.menu-card strong {
  color: var(--gold);
  font-size: 18px;
}

.menu-arrow {
  position: absolute;
  top: 35%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 5px solid var(--charcoal);
  border-radius: 50%;
  color: var(--white);
  background: #3e4d63;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.menu-arrow.prev {
  left: -36px;
}

.menu-arrow.next {
  right: -36px;
}

.menu-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.menu-dots span {
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.36);
}

.menu-dots span.is-active {
  background: var(--clay);
}

.space-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding-top: clamp(72px, 10vw, 128px);
  padding-right: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
  padding-bottom: clamp(72px, 10vw, 128px);
  padding-left: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
  background: var(--white);
}

.space-text {
  position: sticky;
  top: 120px;
  align-self: start;
}

.space-text p {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery img:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery img:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img:nth-child(3),
.gallery img:nth-child(4),
.gallery img:nth-child(5),
.gallery img:nth-child(6) {
  grid-column: span 3;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: stretch;
  background: rgb(250 250 250 / var(--tw-bg-opacity, 1));
}

.location-copy dl {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
}

.location-copy dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(36, 33, 30, 0.16);
}

.location-copy dt {
  color: var(--ink);
  font-weight: 900;
}

.location-copy dd {
  margin: 0;
  color: var(--muted);
  /*font-weight: 700;*/
  letter-spacing: -1px;
}

.map-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(36, 33, 30, 0.16);
  background: var(--white);
}

.map-panel .root_daum_roughmap {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.map-panel .root_daum_roughmap,
.map-panel .root_daum_roughmap .wrap_map,
.map-panel .root_daum_roughmap .map,
.map-panel .root_daum_roughmap iframe {
  width: 100% !important;
}

.map-panel .root_daum_roughmap .wrap_map {
  height: 520px !important;
}

.map-fallback {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(36, 33, 30, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  padding-right: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
  padding-bottom: 28px;
  padding-left: max(clamp(20px, 6vw, 84px), calc((100vw - var(--content-width)) / 2));
  color: var(--white);
  background: var(--charcoal);
}

.site-footer strong {
  font-size: 20px;
}
.site-footer abbr {font-size: 12px;}

@media (max-width: 980px) {
  .desktop-nav,
  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-info {
    display: none;
    position: relative;
    right: auto;
    bottom: auto;
    padding: 0 20px 34px;
  }

  .story-controls {position: absolute; top: -120px;}
  .story-showcase,
  .section-head,
  .space-section,
  .location-section {
    grid-template-columns: 1fr;
  }

  .story-detail {
    padding-top: 0;
  }

  .story-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
  }

  .menu-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .menu-arrow {
    width: 58px;
    height: 58px;
    border-width: 4px;
    font-size: 28px;
  }

  .menu-arrow.prev {
    left: -18px;
  }

  .menu-arrow.next {
    right: -18px;
  }

  .space-text {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    padding: 124px 20px 38px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .location-actions {
    display: grid;
  }

  .btn {
    width: 92%;
  }

  .section,
  .space-section {
    padding: 64px 20px;
  }

  .story-detail h2,
  .section-head h2,
  .space-text h2,
  .location-copy h2 {
    font-size: 36px;
  }

  .menu-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .menu-tabs button {
    min-width: max-content;
    height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .menu-track {
    grid-auto-columns: 100%;
    gap: 16px;
  }

  .menu-card img {
    aspect-ratio: 1.05;
  }

  .menu-card p {
    min-height: auto;
  }

  .menu-arrow {
    top: 38%;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .menu-arrow.prev {
    left: -14px;
  }

  .menu-arrow.next {
    right: -14px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .gallery img,
  .gallery img:nth-child(1),
  .gallery img:nth-child(2),
  .gallery img:nth-child(3),
  .gallery img:nth-child(4),
  .gallery img:nth-child(5),
  .gallery img:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .location-copy dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .map-panel {
    min-height: 360px;
  }

  .map-panel .root_daum_roughmap,
  .map-panel .root_daum_roughmap .wrap_map {
    min-height: 360px;
    height: 360px !important;
  }

  .map-fallback {
    right: 12px;
    bottom: 12px;
  }

  .site-footer {
    display: grid;
  }
}
