/* Shanghai MKE — rebuilt for Netlify (previously Canva) */

:root {
  --maroon: #1e0103;
  --maroon-soft: #2a0507;
  --cream: #f3ece1;
  --cream-dim: rgba(243, 236, 225, 0.85);
  --black: #000000;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--maroon);
  color: var(--cream);
  font-family: var(--serif);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.page {
  display: flex;
  flex: 1 1 auto;
  min-height: 100vh;
}

/* ---------- Hero (photo) side ---------- */

.hero {
  position: relative;
  flex: 1 1 60%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--maroon);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.logo {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(110px, 15vw, 180px);
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.hero-copy {
  position: absolute;
  left: clamp(24px, 6vw, 64px);
  right: clamp(24px, 6vw, 64px);
  bottom: 9%;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #fdfaf6;
  white-space: nowrap;
}

.hero-copy .location {
  margin: 0;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: 0.05em;
  color: var(--cream-dim);
}

/* ---------- Panel (maroon) side ---------- */

.panel {
  position: relative;
  flex: 1 1 40%;
  min-height: 100vh;
  background: var(--maroon);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vh, 64px) clamp(24px, 6vw, 72px);
}

.panel-top {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}

.btn {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  text-align: center;
  border: 1px solid var(--cream);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 16px 20px;
  transition: background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--cream);
  color: var(--maroon);
}

.panel-bottom {
  position: absolute;
  right: clamp(24px, 6vw, 72px);
  bottom: clamp(28px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.phone {
  font-family: var(--serif);
  font-size: clamp(14px, 1.15vw, 17px);
  letter-spacing: 0.16em;
  color: var(--cream);
  border-bottom: 1px solid transparent;
}

.phone:hover,
.phone:focus-visible {
  border-bottom-color: var(--cream);
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-2px);
  background-color: #ffffff;
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .page {
    flex-direction: column;
    min-height: auto;
  }

  .hero,
  .panel {
    min-height: auto;
  }

  .hero {
    height: 78vh;
    min-height: 460px;
  }

  .logo {
    top: 14%;
    width: clamp(96px, 26vw, 140px);
  }

  .hero-copy {
    bottom: 8%;
  }

  .hero-copy h1 {
    white-space: normal;
  }

  .panel {
    justify-content: space-between;
    padding: 40px clamp(24px, 8vw, 48px) 48px;
    gap: 40px;
  }

  .panel-top,
  .panel-bottom {
    position: static;
    align-items: center;
    text-align: center;
  }

  .btn {
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .hero {
    height: 62vh;
    min-height: 380px;
  }

  .hero-copy h1 {
    font-size: 22px;
  }
}
