/* GJ_LOTTECASTLE2 only — Lotte Castle signature red + white */

/* Wanted Sans (SIL OFL) — site-wide sans; Nanum Myeongjo stays on hero titles */
@font-face {
  font-family: 'Wanted Sans';
  src: url('https://cdn.jsdelivr.net/npm/wanted-sans@1.0.3/fonts/webfonts/static/complete/woff2/WantedSans-Regular.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Wanted Sans';
  src: url('https://cdn.jsdelivr.net/npm/wanted-sans@1.0.3/fonts/webfonts/static/complete/woff2/WantedSans-Medium.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: 'Wanted Sans';
  src: url('https://cdn.jsdelivr.net/npm/wanted-sans@1.0.3/fonts/webfonts/static/complete/woff2/WantedSans-SemiBold.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: 'Wanted Sans';
  src: url('https://cdn.jsdelivr.net/npm/wanted-sans@1.0.3/fonts/webfonts/static/complete/woff2/WantedSans-Bold.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Wanted Sans';
  src: url('https://cdn.jsdelivr.net/npm/wanted-sans@1.0.3/fonts/webfonts/static/complete/woff2/WantedSans-ExtraBold.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  /* Deeper burgundy (Lotte Castle wine tone) */
  --lotte-red: #7a1f2b;
  --lotte-red-deep: #5c1520;
  --lotte-red-soft: #f3e8ea;
  --lotte-red-mid: #9a3340;

  --font-sans: 'Wanted Sans', 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo',
    sans-serif;

  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-surface: #ffffff;
  --color-ink: #1a1a1a;
  --color-muted: #5c5c5c;
  --color-primary: var(--lotte-red);
  --color-primary-hover: var(--lotte-red-deep);
  --color-secondary: var(--lotte-red);
  --color-secondary-soft: var(--lotte-red-mid);
  --color-accent: var(--lotte-red);
  --color-accent-hover: var(--lotte-red-deep);
  --color-border: #e4d0d3;
  --color-danger: #5c1520;
  --color-success: #1f5c3a;
}

html,
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
}

button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}

/* Header — white / red */
.site-header {
  color: var(--color-ink);
}

.site-header:not(.is-scrolled) .site-header__bar {
  background: transparent;
}

.site-header.is-scrolled .site-header__bar,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(122, 31, 43, 0.14);
  box-shadow: 0 8px 24px rgba(92, 21, 32, 0.1);
}

.site-header .brand,
.site-header .brand-text,
.site-header .header-phone,
.site-header .header-cta-label,
.site-header .nav-desktop a,
.site-header .site-nav a {
  color: #fff;
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .brand-text,
.site-header.is-scrolled .header-phone,
.site-header.is-scrolled .header-cta-label,
.site-header.is-scrolled .nav-desktop a,
.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .mobile-nav-reveal a {
  color: var(--lotte-red-deep);
}

.site-header .header-phone {
  font-weight: 800;
}

.site-header.is-scrolled .header-phone:hover,
.site-header .header-phone:hover {
  color: var(--lotte-red);
}

.site-header:not(.is-scrolled) .nav-desktop a.is-active,
.site-header:not(.is-scrolled) .nav-desktop a[aria-current='true'] {
  color: var(--lotte-red);
}

.site-header.is-scrolled .nav-desktop a.is-active,
.site-header.is-scrolled .nav-desktop a[aria-current='true'],
.site-header.is-scrolled .mobile-nav-row a.is-active,
.site-header.is-scrolled .mobile-nav-row a[aria-current='true'] {
  color: var(--lotte-red);
}

/* Section titles */
.section-title,
.section-eyebrow,
.overview-kicker,
.location-feature__title {
  color: var(--lotte-red-deep);
}

.section-lead {
  color: var(--color-muted);
}

/* Section headers — centered; English eyebrow ↑, Korean title ↓; subtitles unchanged */
.location-showcase__header,
.overview-showcase__header,
.premium-gallery__header,
.units-section__header {
  text-align: center;
  margin-inline: auto;
}

.location-showcase__header,
.overview-showcase__header,
.premium-gallery__header,
.units-section__header {
  max-width: 920px;
}

.location-showcase__eyebrow,
.overview-showcase__eyebrow,
.premium-gallery__eyebrow,
.units-section__eyebrow {
  font-size: clamp(18px, 1.65vw, 24px);
  letter-spacing: 0.14em;
}

.location-showcase__title,
.overview-showcase__title,
.premium-gallery__title,
.units-section__title {
  font-size: clamp(22px, 2.35vw, 32px);
}

/* Location: title then kicker; map + station; BEST VISION / BEST PARK cards */
.location-showcase__header .location-showcase__kicker {
  margin: 14px 0 0;
  color: var(--color-muted);
}

.location-showcase__header.is-visible .location-showcase__title > span:nth-child(1) {
  animation-delay: 0.14s;
}

.location-showcase__header.is-visible .location-showcase__title > span:nth-child(2) {
  animation-delay: 0.26s;
}

.location-showcase__header.is-visible .location-showcase__kicker {
  animation-delay: 0.4s;
}

.location-media-stack {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(36px, 5vw, 56px);
}

.location-station {
  margin: 0;
  overflow: hidden;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(24px);
}

.location-station.is-visible {
  animation: locationMediaReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.location-station__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.location-promo-cards {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  margin-top: clamp(36px, 5vw, 56px);
}

.location-promo-card {
  margin: 0;
  padding: clamp(22px, 3.2vw, 36px) clamp(18px, 2.8vw, 32px) clamp(26px, 3.4vw, 40px);
  border-radius: 18px;
  opacity: 0;
  transform: translateY(28px);
}

.location-promo-card.is-visible {
  animation: locationMediaReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.location-promo-card--vision {
  background: #e8eef5;
  color: #1a3558;
}

.location-promo-card--park {
  background: #f3ebe0;
  color: #5a3d28;
}

.location-promo-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

.location-promo-card__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  text-align: left;
}

.location-promo-card--vision .location-promo-card__title {
  color: #1e4a7a;
}

.location-promo-card--park .location-promo-card__title {
  color: #7a5230;
}

.location-promo-card__title strong {
  font-weight: 800;
}

.location-promo-card__label {
  margin: 2px 0 0;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  text-align: right;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.location-promo-card__visual {
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  overflow: hidden;
  border-radius: 13px;
  background: transparent;
}

.location-promo-card__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.location-promo-card__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
  text-align: left;
}

.location-promo-card__facts li {
  position: relative;
  padding-left: 14px;
}

.location-promo-card__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 4px;
  height: calc(100% - 0.15em);
  border-radius: 2px;
}

.location-promo-card--vision .location-promo-card__facts li::before {
  background: #2f6fb5;
}

.location-promo-card--park .location-promo-card__facts li::before {
  background: #9a6b3d;
}

.location-promo-card__fact-title {
  margin: 0 0 6px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.location-promo-card__fact-text {
  margin: 0;
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
  opacity: 0.88;
  word-break: keep-all;
}

@media (prefers-reduced-motion: reduce) {
  .location-station,
  .location-promo-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.section-reservation .section-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  text-align: left;
}

.section-reservation .section-lead,
.section-reservation .lead-form {
  text-align: left;
  margin-inline: 0;
}

/* Benefit jump CTA between title and form (PC + mobile, distinct from submit) */
.section-reservation .reservation-benefit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.35rem auto 1.45rem;
  padding: 1.05rem 1.7rem;
  border: 1.5px solid rgba(184, 140, 74, 0.65);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8ec 0%, #f3e2c2 100%);
  color: #6b4a1e;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(122, 88, 28, 0.14);
  animation: gj-benefit-double-bounce 2.4s ease-in-out infinite;
  will-change: transform;
}

.section-reservation .reservation-benefit-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #9a5a1f;
}

.section-reservation .reservation-benefit-btn__icon svg {
  display: block;
}

.section-reservation .reservation-benefit-btn:hover,
.section-reservation .reservation-benefit-btn:focus-visible {
  background: linear-gradient(180deg, #fffaf1 0%, #edd6a8 100%);
  border-color: rgba(160, 118, 48, 0.8);
  color: #5a3d16;
  box-shadow: 0 8px 22px rgba(122, 88, 28, 0.2);
}

.section-reservation .reservation-benefit-btn:focus-visible {
  outline: 2px solid rgba(122, 31, 43, 0.45);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .section-reservation .reservation-benefit-btn {
    width: 100%;
    padding: 1.15rem 1.25rem;
    font-size: 1.12rem;
  }
}

@keyframes gj-benefit-double-bounce {
  0%,
  42%,
  100% {
    transform: translateY(0);
  }
  8% {
    transform: translateY(-10px);
  }
  16% {
    transform: translateY(0);
  }
  24% {
    transform: translateY(-6px);
  }
  32% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-reservation .reservation-benefit-btn {
    animation: none !important;
  }
}

.units-section__description,
.overview-showcase__description {
  margin-inline: auto;
}

/* Promotion: PC sparkles only (mobile uses GIF) */
.promotion-section__media {
  position: relative;
  display: block;
  width: 100%;
}

.promotion-sparkles {
  display: none;
}

@media (min-width: 768px) {
  .promotion-sparkles {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    z-index: 2;
  }

  .promotion-sparkles__dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: calc(10px * var(--s, 1));
    height: calc(10px * var(--s, 1));
    margin: 0;
    transform: translate(-50%, -50%) scale(0.35);
    opacity: 0;
    background: radial-gradient(circle, #fff9e6 0%, #ffe29a 38%, transparent 72%);
    filter: drop-shadow(0 0 4px rgba(255, 220, 140, 0.85));
    animation: gj-promo-twinkle 2.2s ease-in-out infinite;
    animation-delay: var(--d, 0s);
  }

  .promotion-sparkles__dot::before,
  .promotion-sparkles__dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 248, 220, 0.95) 50%,
      transparent 100%
    );
    transform: translate(-50%, -50%);
  }

  .promotion-sparkles__dot::before {
    width: 220%;
    height: 1.5px;
  }

  .promotion-sparkles__dot::after {
    width: 1.5px;
    height: 220%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 248, 220, 0.95) 50%,
      transparent 100%
    );
  }
}

@keyframes gj-promo-twinkle {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25) rotate(0deg);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(12deg);
  }
  36% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(0.4) rotate(20deg);
  }
  54% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.9) rotate(28deg);
  }
  72%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25) rotate(40deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promotion-sparkles__dot {
    animation: none !important;
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.7);
  }
}

@media (max-width: 767px) {
  .promotion-sparkles {
    display: none !important;
  }
}

/* Primary / CTA buttons */
.btn-primary {
  background: var(--lotte-red);
  color: #fff;
  border-color: var(--lotte-red);
}

.btn-primary:hover {
  background: var(--lotte-red-deep);
}

#submit-button,
#submit-button-bottom {
  background: linear-gradient(180deg, #9a3340 0%, #7a1f2b 100%);
  color: #ffffff;
  border: 2px solid #d4a0a8;
  text-shadow: 0 1px 2px rgba(60, 10, 18, 0.4);
  box-shadow: 0 4px 18px rgba(122, 31, 43, 0.42), 0 0 14px rgba(154, 51, 64, 0.32);
  animation: gj-submit-pulse 6.4s ease-in-out infinite;
}

#submit-button::after,
#submit-button-bottom::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 15%,
    rgba(255, 255, 255, 0.7) 45%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.7) 55%,
    rgba(255, 255, 255, 0.12) 85%,
    transparent 100%
  );
}

#submit-button:hover:not(:disabled),
#submit-button-bottom:hover:not(:disabled) {
  background: linear-gradient(180deg, #5c1520 0%, #3f0e16 100%);
  color: #ffffff;
  border-color: #e8c4ca;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: 0 6px 24px rgba(63, 14, 22, 0.5), 0 0 18px rgba(122, 31, 43, 0.45);
}

#submit-button:active:not(:disabled),
#submit-button-bottom:active:not(:disabled) {
  background: linear-gradient(180deg, #3f0e16 0%, #2a090f 100%);
  color: #ffffff;
  border-color: #9a3340;
  box-shadow: 0 3px 12px rgba(63, 14, 22, 0.45), inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

@keyframes gj-submit-pulse {
  0%,
  100% {
    box-shadow: 0 4px 18px rgba(122, 31, 43, 0.35), 0 0 10px rgba(154, 51, 64, 0.25);
    border-color: #d4a0a8;
  }
  50% {
    box-shadow: 0 6px 24px rgba(122, 31, 43, 0.55), 0 0 22px rgba(212, 160, 168, 0.55);
    border-color: #e8c4ca;
  }
}

/* Form accents */
.lead-form {
  border-color: rgba(122, 31, 43, 0.18);
  box-shadow: 0 12px 40px rgba(92, 21, 32, 0.06);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--lotte-red);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.16);
}

.consent-view-btn {
  color: var(--lotte-red);
}

.birth-date-field__cal {
  border-color: rgba(122, 31, 43, 0.22);
  color: var(--lotte-red-deep);
}

.birth-date-field__cal:hover,
.birth-date-field__cal:focus-visible {
  border-color: var(--lotte-red);
  color: var(--lotte-red);
}

/* Mobile bottom CTA — floating glass pill; sliding burgundy point */
.mobile-bottom-cta {
  --cta-pad: 5px;
  --cta-gap: 4px;
  --cta-count: 3;
  --cta-index: 0;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(4px + env(safe-area-inset-bottom));
  width: auto;
  min-height: 54px;
  padding: var(--cta-pad);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--cta-gap);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 12px 36px rgba(28, 12, 16, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.mobile-cta-pill {
  position: absolute;
  top: var(--cta-pad);
  left: var(--cta-pad);
  z-index: 0;
  width: calc(
    (100% - (var(--cta-pad) * 2) - (var(--cta-gap) * (var(--cta-count) - 1))) /
      var(--cta-count)
  );
  height: calc(100% - (var(--cta-pad) * 2));
  border-radius: 999px;
  pointer-events: none;
  background-color: var(--lotte-red);
  background-image:
    linear-gradient(180deg, rgba(154, 51, 64, 0.35), rgba(92, 21, 32, 0.15)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.35 0 0 0 0 0.12 0 0 0 0 0.14 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, 120px 120px;
  background-blend-mode: normal, soft-light;
  box-shadow:
    0 4px 14px rgba(92, 21, 32, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateX(calc(var(--cta-index) * (100% + var(--cta-gap))));
  transition: transform 0.38s ease-in;
  will-change: transform;
}

.mobile-cta-item,
.mobile-cta-primary,
.mobile-cta-accent,
.mobile-cta-top {
  position: relative;
  z-index: 1;
  min-height: 44px;
  border: 0;
  border-right: 0;
  border-radius: 999px;
  background: transparent !important;
  color: var(--lotte-red-deep);
  text-shadow: none;
  font-size: clamp(0.95rem, 3.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow: none !important;
  transition: color 0.22s ease-in;
}

.mobile-cta-item.is-active {
  color: #ffffff;
  background: transparent !important;
  background-image: none !important;
}

.mobile-cta-item:focus-visible {
  outline: 2px solid var(--lotte-red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta-pill {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .mobile-bottom-cta {
    display: none;
  }
}

/* Fixed CTA groups — gentle bob as one unit (not per-button) */
@keyframes gj-mobile-cta-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Keep vertical centering (translateY -50%) while bobbing */
@keyframes gj-desktop-cta-bob {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 6px));
  }
}

.mobile-bottom-cta {
  animation: gj-mobile-cta-bob 3.8s ease-in-out infinite;
  will-change: transform;
}

/* Desktop float CTA — glass → solid paper white when active */
.desktop-float-cta {
  width: 108px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: none;
  flex-direction: column;
  gap: 10px;
  animation: gj-desktop-cta-bob 3.8s ease-in-out infinite;
  will-change: transform;
}

@media (min-width: 1024px) {
  .desktop-float-cta {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-cta,
  .desktop-float-cta {
    animation: none;
    will-change: auto;
  }
}

.float-cta-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--lotte-red-deep);
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow:
    0 10px 28px rgba(92, 21, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    background-color 0.22s ease,
    background-image 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
}

/* subtle glass sheen */
.float-cta-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.9;
  transition: opacity 0.22s ease;
}

.float-cta-item > * {
  position: relative;
  z-index: 1;
}

.float-cta-item:hover,
.float-cta-item:focus-visible,
.float-cta-item:active {
  color: var(--lotte-red-deep);
  border-color: rgba(255, 255, 255, 0.95);
  background-color: #ffffff;
  /* paper fiber grain */
  background-image:
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(248, 244, 239, 0.98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.45 0 0 0 0 0.32 0 0 0 0 0.28 0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, 140px 140px;
  background-blend-mode: normal, multiply;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    0 14px 32px rgba(92, 21, 32, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(92, 21, 32, 0.06) inset;
  transform: translateY(-1px);
}

.float-cta-item:hover::before,
.float-cta-item:focus-visible::before,
.float-cta-item:active::before {
  opacity: 0.22;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0) 55%
  );
}

.float-cta-item:focus-visible {
  outline: 2px solid var(--lotte-red);
  outline-offset: 3px;
}

/* Lucide icons in float CTA — stroke set in HTML */
.desktop-float-cta .float-cta-icon {
  display: grid;
  place-items: center;
  line-height: 0;
}

.desktop-float-cta .float-cta-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Tabs / chips */
.units-tabs__button.is-active,
.units-tabs__button[aria-selected='true'] {
  background: var(--lotte-red);
  color: #fff;
  border-color: var(--lotte-red);
}

.units-tabs__button {
  border-color: rgba(122, 31, 43, 0.28);
  color: var(--lotte-red-deep);
}

.units-tabs__button:hover {
  border-color: var(--lotte-red);
  color: var(--lotte-red);
}

/* Image windows — soften hard borders / heavy drop shadows */
.overview-card,
.premium-gallery-card,
.news-card {
  border-color: rgba(122, 31, 43, 0.05);
}

.location-map__button,
.location-feature__media,
.overview-showcase__visual,
.premium-gallery-card__visual,
.news-carousel__viewport {
  box-shadow: 0 10px 28px rgba(92, 21, 32, 0.06);
}

/* All image frames → border-radius 13px */
@keyframes gj-premium-clip-reveal {
  from {
    clip-path: inset(10% 0 0 0 round 13px);
  }
  to {
    clip-path: inset(0 0 0 0 round 13px);
  }
}

.location-map__button,
.location-feature__media,
.overview-showcase__visual,
.premium-gallery-card__visual,
.news-carousel__viewport,
.units-stage,
.location-map-dialog__content {
  border-radius: 13px;
}

.location-map__button {
  clip-path: inset(10% 0 0 0 round 13px);
  background: transparent;
  box-shadow: none;
}

.location-map.is-visible .location-map__button {
  clip-path: inset(0 0 0 0 round 13px);
}

.location-map,
.location-media-stack {
  background: transparent;
}

.premium-gallery-card__visual {
  clip-path: inset(10% 0 0 0 round 13px);
}

.premium-gallery-card.is-visible .premium-gallery-card__visual {
  animation-name: gj-premium-clip-reveal;
}

.news-carousel__viewport {
  clip-path: inset(9% 0 0 0 round 13px);
}

.news-carousel.is-visible .news-carousel__viewport {
  clip-path: inset(0 0 0 0 round 13px);
}

.units-stage {
  border: 1px solid rgba(122, 31, 43, 0.05);
  box-shadow: 0 8px 24px rgba(92, 21, 32, 0.05);
}

@media (max-width: 767px) {
  .location-map__button,
  .location-feature__media,
  .overview-showcase__visual,
  .premium-gallery-card__visual,
  .news-carousel__viewport,
  .units-stage,
  .location-map-dialog__content {
    border-radius: 13px;
  }

  .location-map__button {
    clip-path: inset(10% 0 0 0 round 13px);
  }

  .location-map.is-visible .location-map__button {
    clip-path: inset(0 0 0 0 round 13px);
  }

  .premium-gallery-card__visual {
    clip-path: inset(10% 0 0 0 round 13px);
  }

  .premium-gallery-card.is-visible .premium-gallery-card__visual {
    animation-name: gj-premium-clip-reveal;
  }

  .news-carousel__viewport {
    clip-path: inset(9% 0 0 0 round 13px);
  }

  .news-carousel.is-visible .news-carousel__viewport {
    clip-path: inset(0 0 0 0 round 13px);
  }
}

/* Overview facts — label/value rows (not cards) */
.overview-facts {
  margin: 0;
  gap: 0;
  align-self: center;
  padding: 4px 0;
  border-top: 1px solid rgba(122, 31, 43, 0.14);
  border-bottom: 1px solid rgba(122, 31, 43, 0.14);
  background: transparent;
  box-shadow: none;
}

.overview-facts .overview-spec-card,
.overview-facts__row {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 0.7rem 1.15rem;
  align-items: baseline;
  margin: 0;
  padding: 1.15rem 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(122, 31, 43, 0.1);
  background: transparent;
  box-shadow: none;
}

.overview-facts__row:last-child {
  border-bottom: 0;
}

.overview-facts .overview-spec-card__label {
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lotte-red);
}

.overview-facts .overview-spec-card__value {
  margin: 0;
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  word-break: keep-all;
}

.premium-gallery-card__caption {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.location-map__zoom {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .premium-gallery-card:hover .premium-gallery-card__visual {
    box-shadow: 0 14px 36px rgba(92, 21, 32, 0.09);
  }

  .overview-facts .overview-spec-card.is-visible:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .overview-facts .overview-spec-card,
  .overview-facts__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.85rem 0;
  }
}

.location-feature__number {
  color: var(--lotte-red);
}

/* Units — two example type buttons centered */
.units-tabs--pair {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.units-tabs--pair .units-tabs__button {
  min-width: 7.5rem;
  flex: 0 0 auto;
}

.units-tabs--pair .units-tabs__button:nth-child(n + 7) {
  display: inline-flex;
}

.units-tabs--pair .units-tabs__button:not(:nth-child(6n))::after {
  display: none;
}

/* Shared supply-type table under plan (same for all type buttons) */
.units-supply-table {
  width: min(100%, 920px);
  max-width: 920px;
  margin: clamp(18px, 2.4vw, 28px) auto 0;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid rgba(122, 31, 43, 0.05);
  background: #fff;
  box-shadow: 0 8px 24px rgba(92, 21, 32, 0.05);
}

.units-supply-table__button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: zoom-in;
}

.units-supply-table__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  pointer-events: none;
}

.units-supply-table__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(92, 21, 32, 0.82);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.units-supply-table-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .units-supply-table__zoom {
    right: 10px;
    bottom: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Premium — single services board image (match other section content width) */
.premium-services {
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 920px);
  overflow: hidden;
  border-radius: 13px;
  background: transparent;
}

.premium-services__button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: zoom-in;
}

.premium-services__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  pointer-events: none;
}

.premium-services__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(92, 21, 32, 0.82);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.premium-services-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  #premium.premium-gallery {
    padding-left: 10px;
    padding-right: 10px;
  }

  .premium-services {
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
  }

  .premium-services__button {
    border-radius: 10px;
  }

  .premium-services__zoom {
    right: 10px;
    bottom: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .premium-services {
    max-width: min(100%, 980px);
  }
}

/* Footer — full burgundy */
.site-footer {
  background: var(--lotte-red-deep);
  color: #f7eef0;
  border-top: 0;
}

.site-footer a,
.site-footer .footer-meta__link,
.site-footer .footer-policy-link {
  color: #ffffff;
}

.site-footer a:hover,
.site-footer .footer-meta__link:hover,
.site-footer .footer-policy-link:hover {
  color: #f0c4cb;
}

.site-footer .footer-meta {
  gap: 1rem;
}

.site-footer .footer-meta__eyebrow {
  margin-bottom: 0.15rem;
  font-size: 0.65rem;
  line-height: 1.3;
}

.site-footer .footer-meta__brand {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

.site-footer .footer-meta__list {
  gap: 0.08rem;
}

.site-footer .footer-meta__list > div {
  gap: 0.1rem 0.55rem;
}

.site-footer .footer-meta__list dt {
  font-size: 0.68rem;
  line-height: 1.2;
}

.site-footer .footer-meta__list dd {
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-footer .footer-disclaimer {
  margin-top: 1rem;
  gap: 0.12rem;
  font-size: 0.65rem;
  line-height: 1.28;
}

.site-footer .footer-credit {
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top-color: rgba(247, 238, 240, 0.18);
  gap: 0.1rem;
  font-size: 0.65rem;
  line-height: 1.3;
}

/* Mobile: clear floating CTA only — keep powered-by just above it */
@media (max-width: 1023px) {
  .site-footer {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px) + 8px);
  }
}

@media (min-width: 768px) {
  .site-footer .footer-meta {
    gap: 1.15rem;
  }
}

/* Popup chrome */
.landing-popup-close {
  background: #fff;
  color: var(--lotte-red-deep);
  border: 1px solid rgba(122, 31, 43, 0.2);
}

.landing-popup-close:hover {
  background: var(--lotte-red-soft);
  color: var(--lotte-red);
}

.landing-popup-hide-today {
  color: #fff;
}

/* Hero copy overlay + large bounce scroll cue */
#hero.hero {
  color: #fff;
}

/* PC: left-aligned, inset from the edge (not flush left, not centered) */
#hero.hero .hero__content {
  left: clamp(72px, 11vw, 168px);
  right: auto;
  top: clamp(16%, 20vh, 26%);
  transform: none;
  width: min(72vw, 880px);
  max-width: 880px;
  text-align: left;
  z-index: 3;
}

/* Popup-gated intro — no auto-play until JS adds is-*-in */
@keyframes gj-hero-text-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero.hero .hero__title--hand {
  margin: 0;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  font-family: 'Nanum Myeongjo', 'Noto Serif KR', Georgia, serif;
  font-size: clamp(43px, 5.04vw, 79px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: transparent;
  outline: none;
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 10px rgba(40, 12, 18, 0.35);
  opacity: 0;
  transform: translateY(20px);
  filter: none;
}

#hero.hero.is-title-in .hero__title--hand {
  animation: gj-hero-text-in 0.75s ease-out forwards;
}

#hero.hero .hero__lead,
#hero.hero .hero__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: -0.03em;
  background: transparent;
  text-shadow: 0 2px 8px rgba(40, 12, 18, 0.32);
  opacity: 0;
  transform: translateY(16px);
  filter: none;
}

#hero.hero .hero__lead {
  margin-top: clamp(18px, 2vw, 28px);
  font-size: clamp(20px, 2.15vw, 32px);
  font-weight: 700;
  line-height: 1.4;
}

#hero.hero.is-lead-in .hero__lead {
  animation: gj-hero-text-in 0.7s ease-out forwards;
}

#hero.hero .hero__hl--park,
#hero.hero .hero__hl--brand {
  font-family: 'Nanum Myeongjo', 'Noto Serif KR', Georgia, serif;
  font-weight: 800;
  background: transparent;
}

#hero.hero .hero__hl--park {
  color: #2c4f2e;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.35);
}

#hero.hero .hero__hl--brand {
  color: #8c2639;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.35);
}

#hero.hero .hero__sub {
  margin-top: clamp(10px, 1.1vw, 16px);
  font-size: clamp(18px, 1.85vw, 28px);
  line-height: 1.45;
  font-weight: 400;
}

#hero.hero.is-sub-in .hero__sub {
  animation: gj-hero-text-in 0.7s ease-out forwards;
}

/* CTA + paper plane */
#hero.hero .hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin-top: clamp(22px, 2.4vw, 34px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

#hero.hero.is-cta-in .hero__cta-row {
  pointer-events: auto;
  animation: gj-hero-text-in 0.65s ease-out forwards;
}

#hero.hero .hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: var(--lotte-red-deep);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(40, 12, 18, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#hero.hero .hero__cta-btn:hover {
  background: #fff;
  color: var(--lotte-red);
  transform: translateY(-1px);
}

#hero.hero .hero__cta-btn.is-blinking {
  animation: gj-cta-blink 0.98s ease-in-out 1;
}

@keyframes gj-cta-blink {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(40, 12, 18, 0.22);
    filter: brightness(1);
  }
  18%,
  58% {
    transform: scale(1.045);
    box-shadow:
      0 10px 28px rgba(40, 12, 18, 0.28),
      0 0 0 5px rgba(255, 255, 255, 0.55);
    filter: brightness(1.12);
  }
  36%,
  76% {
    transform: scale(0.98);
    box-shadow: 0 6px 16px rgba(40, 12, 18, 0.18);
    filter: brightness(0.92);
  }
}

#hero.hero .hero__plane {
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(40, 12, 18, 0.35));
  transform: rotate(-18deg);
  transition: opacity 0.2s ease;
}

#hero.hero .hero__plane svg {
  width: 34px;
  height: 34px;
}

#hero.hero .hero__plane.is-departed {
  opacity: 0;
}

.hero__plane-flyer {
  position: fixed;
  z-index: 70;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(40, 12, 18, 0.4));
  will-change: transform, opacity;
}

.hero__plane-flyer svg {
  width: 34px;
  height: 34px;
}

.hero__plane-trail {
  position: fixed;
  inset: 0;
  z-index: 65;
  margin: 0;
  pointer-events: none;
  opacity: 0;
}

.hero__plane-trail.is-active {
  opacity: 1;
}

.hero__plane-trail.is-fading .hero__plane-trail-dot {
  animation: none;
  opacity: 0;
  transition: opacity 1.05s ease-out;
}

.hero__plane-trail-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 210, 200, 0.85) 55%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  animation: gj-trail-dot 1.15s ease-out forwards;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.45));
}

@keyframes gj-trail-dot {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  18% {
    opacity: 0.95;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.55);
  }
}

#hero.hero .hero-scroll {
  display: grid;
  bottom: clamp(18px, 3.2vh, 40px);
  width: auto;
  height: auto;
  min-width: 72px;
  min-height: 72px;
  gap: 8px;
  color: #ffffff;
  filter: drop-shadow(0 4px 14px rgba(40, 12, 18, 0.35));
  opacity: 0;
  transform: translate(-50%, 24px);
}

#hero.hero.is-scroll-in .hero-scroll {
  animation:
    heroScrollReveal 0.75s ease-out forwards,
    gj-hero-scroll-bounce 1.6s ease-in-out 0.85s infinite;
}

#hero.hero .hero-scroll-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  opacity: 0.9;
}

#hero.hero .hero-scroll-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

@keyframes gj-hero-scroll-bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 12px);
  }
}

/* Mobile: centered, higher than mid, no horizontal overflow */
@media (max-width: 767px) {
  #hero.hero .hero__content {
    left: 50%;
    right: auto;
    top: 34%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 360px;
    padding: 0 2px;
    box-sizing: border-box;
    text-align: center;
  }

  #hero.hero .hero__title--hand {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    /* a bit larger than previous mobile size */
    font-size: clamp(28px, 7.6vw, 36px);
    line-height: 1.3;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: visible;
  }

  #hero.hero .hero__lead,
  #hero.hero .hero__sub {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  #hero.hero .hero__lead {
    margin-top: 14px;
    font-size: clamp(16px, 4.2vw, 19px);
    line-height: 1.45;
  }

  #hero.hero .hero__sub {
    margin-top: 8px;
    font-size: clamp(15px, 3.9vw, 17px);
  }

  /* Button truly centered; plane sits to its right without shifting the button */
  #hero.hero .hero__cta-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    margin-left: 0;
    margin-right: 0;
    gap: 0;
  }

  #hero.hero .hero__cta-btn {
    grid-column: 2;
    min-height: 44px;
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
  }

  #hero.hero .hero__plane {
    grid-column: 3;
    justify-self: start;
    width: 44px;
    height: 44px;
    margin-left: 10px;
  }

  #hero.hero .hero__plane svg,
  .hero__plane-flyer svg {
    width: 28px;
    height: 28px;
  }

  #hero.hero .hero-scroll {
    display: grid;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    min-width: 64px;
    min-height: 64px;
  }

  #hero.hero .hero-scroll-icon {
    width: 24px;
    height: 24px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #submit-button,
  #submit-button-bottom {
    animation: none;
  }

  #hero.hero .hero__title--hand,
  #hero.hero .hero__lead,
  #hero.hero .hero__sub,
  #hero.hero .hero__cta-row,
  #hero.hero .hero-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  #hero.hero .hero__cta-row {
    pointer-events: auto;
  }

  #hero.hero .hero-scroll {
    transform: translateX(-50%);
  }

  .hero__plane-flyer,
  .hero__plane-trail {
    display: none !important;
  }
}

