:root {
  --primary: #365f43;
  --primary-red: #a5302c;
  --neutral-100: #1d2a21;
  --neutral-80: #747977;
  --neutral-60: #cdcccc;
  --neutral-40: #d1d4d2;
  --neutral-20: #e7ebe8;
  --store-bg: #dde4df;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Nanum Gothic", Arial, sans-serif;
  color: var(--neutral-100);
  background: var(--white);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.brand-header {
  display: flex;
  justify-content: center;
  background: var(--white);
  padding-block: 24px;
}

.brand-logo {
  width: 109.26px;
  aspect-ratio: 0.97 / 1;
  object-fit: contain;
}

.landing-intro {
  height: 613px;
  min-height: 613px;
  padding: 96px 24px 42px;
  background-image: linear-gradient(rgba(19, 44, 28, 0.08), rgba(19, 44, 28, 0.08)), url("./assets/img/banner-scaled.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  text-align: center;
}

.intro-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-kicker,
.intro-stay {
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.intro-copy h1 {
  margin-top: 13px;
  color: var(--white);
  font-size: 76px;
  font-weight: 700;
  line-height: 91px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-stay {
  margin-top: 20px;
  margin-bottom: 83px;
}

.intro-slogan {
  width: 240px;
  margin: 0 auto;
}

.story-section {
  padding-block: 60px;
  background: var(--white);
}

.story-copy {
  width: min(712px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--neutral-100);
  font-size: 15px;
  line-height: 1.5;
}

.store-section {
  background: var(--store-bg);
}

.store-container {
  padding-top: 72px;
  padding-bottom: 88px;
}

.store-container h2 {
  margin-bottom: 48px;
  color: var(--neutral-100);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.store-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.store-card > img {
  width: 100%;
  aspect-ratio: 2.222 / 1;
  object-fit: cover;
}

.store-body {
  padding: 24px;
}

.store-body h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--neutral-100);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.apple-badge {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(54, 95, 67, 0.06);
}

.apple-badge img {
  width: 11.04px;
  height: 22.87px;
  object-fit: contain;
}

.store-body p {
  margin-bottom: 12px;
  color: var(--neutral-100);
  font-size: 14px;
  line-height: 1.5;
}

.map-link {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.store-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.store-actions a {
  width: 100%;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  font-size: 14px;
  line-height: 1.25rem;
  text-align: center;
}

.store-actions a:hover,
.store-actions a:focus-visible {
  background: #2f543a;
}

.location-section {
  padding-block: 95px 0;
  background: var(--white);
}

.location-section h2 {
  margin-bottom: 24px;
  color: var(--neutral-100);
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
  letter-spacing: 0;
}

.location-copy > p {
  margin-bottom: 24px;
  color: var(--neutral-100);
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

.map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 502px;
  min-height: 502px;
  background: var(--neutral-20);
}

.tile-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #e8ece8;
}

.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
}

.map-marker {
  position: absolute;
  z-index: 3;
  width: 32px;
  height: 42px;
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -100%);
}

.map-marker:hover,
.map-marker:focus-visible,
.map-marker.is-active {
  z-index: 5;
}

.map-marker::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  box-shadow: 0 3px 8px rgba(29, 42, 33, 0.32);
  transform: rotate(-45deg);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.map-marker::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s ease;
}

.map-marker:hover::before,
.map-marker:focus-visible::before,
.map-marker.is-active::before {
  background: #2f543a;
  box-shadow: 0 5px 12px rgba(29, 42, 33, 0.38);
  transform: rotate(-45deg) scale(1.12);
}

.map-marker:hover::after,
.map-marker:focus-visible::after,
.map-marker.is-active::after {
  transform: scale(1.1);
}

.map-info {
  width: min(488px, calc(100% - 48px));
  position: absolute;
  left: 50%;
  top: 72px;
  margin: 0;
  z-index: 4;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 20px 24px 22px;
  transform: translateX(-50%);
}

.map-info-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  color: var(--neutral-100);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.map-info p {
  color: var(--neutral-100);
  font-size: 14px;
  line-height: 1.6;
}

.map-attribution {
  position: absolute;
  right: 8px;
  bottom: 5px;
  z-index: 3;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.86);
  color: #356;
  padding: 2px 5px;
  font-size: 10px;
  line-height: 1.2;
}

.footer {
  border-top: 1px solid var(--neutral-20);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  justify-content: space-between;
  padding-block: 56px 60px;
}

.footer-contact {
  color: var(--neutral-100);
}

.footer-contact p:first-child strong {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.footer-contact h2 {
  padding-top: 12px;
  padding-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 36px;
}

.footer-contact p:nth-of-type(2) {
  padding-bottom: 36px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.social-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary-red);
  color: var(--white);
}

.social-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--neutral-80);
  font-size: 14px;
  line-height: 1.5;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 36px;
}

.footer-info span,
.footer-info strong {
  color: var(--neutral-100);
  font-weight: 700;
}

.footer-info a {
  color: var(--primary);
  font-weight: 700;
}

.copyright {
  margin-top: 22px;
  color: #606165;
  font-size: 12px;
}

.marketplace-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.marketplace-modal.is-open {
  display: flex;
}

.marketplace-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 42, 33, 0.46);
}

.marketplace-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 80px rgba(29, 42, 33, 0.28);
  padding: 34px 30px 30px;
  color: var(--neutral-100);
}

.marketplace-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: rgba(54, 95, 67, 0.06);
  color: var(--primary);
  cursor: pointer;
}

.marketplace-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.marketplace-badge {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(54, 95, 67, 0.06);
}

.marketplace-badge img {
  width: 16px;
  height: auto;
}

.marketplace-eyebrow {
  margin-top: 18px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-panel h2 {
  margin-top: 6px;
  color: var(--neutral-100);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.marketplace-copy {
  margin-top: 10px;
  color: var(--neutral-80);
  font-size: 14px;
  line-height: 1.55;
}

.marketplace-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.marketplace-option {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  border: 1px solid rgba(54, 95, 67, 0.16);
  background: rgba(54, 95, 67, 0.05);
  color: var(--primary);
  padding: 12px 14px 12px 18px;
  font-size: 14px;
  font-weight: 700;
}

.marketplace-option:hover,
.marketplace-option:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.marketplace-option svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.marketplace-note {
  border-radius: 8px;
  background: rgba(165, 48, 44, 0.07);
  color: var(--neutral-100);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .store-actions {
    flex-direction: row;
  }

  .store-actions a {
    width: auto;
    min-width: 148px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 900px;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
  }

  .store-body {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1176px;
  }

  .map-frame {
    height: 502px;
    min-height: 502px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-info {
    max-width: 728px;
    padding-top: 5px;
  }

  .footer-info-grid {
    grid-template-columns: auto auto;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 0;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 24px;
  }

  .brand-header {
    padding-block: 18px;
  }

  .brand-logo {
    width: 88px;
  }

  .landing-intro {
    height: 520px;
    min-height: 520px;
    padding: 68px 24px 36px;
  }

  .intro-kicker,
  .intro-stay {
    font-size: 25px;
    line-height: 34px;
  }

  .intro-copy h1 {
    margin-top: 12px;
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 50px;
  }

  .intro-stay {
    margin-top: 18px;
    margin-bottom: 68px;
  }

  .intro-slogan {
    width: 188px;
  }

  .story-copy {
    width: calc(100% - 48px);
  }

  .store-container {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .store-container h2 {
    margin-bottom: 36px;
  }

  .store-body h3 {
    align-items: flex-start;
    font-size: 17px;
  }

  .location-section {
    padding-block: 72px 0;
  }

  .map-frame {
    height: 430px;
    min-height: 430px;
  }

  .map-info {
    top: 40px;
    width: calc(100% - 40px);
    padding: 16px 18px 18px;
  }

  .map-info-title {
    font-size: 18px;
  }

  .footer-inner {
    padding-block: 48px;
  }
}
