:root {
  --bg: #0f1117;
  --bg-accent: #171b24;
  --surface: rgba(23, 27, 36, 0.82);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f0ec;
  --muted: #b9b2a8;
  --primary: #c9975b;
  --primary-deep: #f0c28b;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  background: #0b0d12;
  min-height: 100%;
}

html,
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: #0b0d12;
  background-color: #0b0d12;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding:
    calc(28px + env(safe-area-inset-top))
    calc(20px + env(safe-area-inset-right))
    calc(44px + env(safe-area-inset-bottom))
    calc(20px + env(safe-area-inset-left));
}

.hero-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px);
  background: rgba(18, 22, 30, 0.88);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-copy,
.photo-frame {
  width: 100%;
  backdrop-filter: blur(20px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(14, 17, 23, 0) 0%, rgba(14, 17, 23, 0.68) 16%, rgba(14, 17, 23, 0.96) 100%);
}

.eyebrow {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(201, 151, 91, 0.12);
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.photo-caption {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.photo-location {
  margin: 0;
  color: rgba(242, 240, 236, 0.86);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-title {
  margin: 0;
  font-size: 1.06rem;
  color: var(--primary-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-description {
  margin: 18px 0 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, #a87442 0%, var(--primary) 100%);
  color: #121212;
  box-shadow: 0 16px 28px rgba(169, 118, 65, 0.18);
}

.button--ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

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

.contact-list a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.contact-list strong {
  color: var(--text);
  font-weight: 700;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: linear-gradient(160deg, rgba(30, 35, 46, 0.96), rgba(17, 19, 26, 0.92));
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  display: block;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.04) 0%, rgba(8, 10, 14, 0.1) 38%, rgba(8, 10, 14, 0.78) 100%),
    linear-gradient(135deg, rgba(201, 151, 91, 0.1) 0%, rgba(0, 0, 0, 0) 42%);
}

.hero-photo--placeholder {
  display: grid;
  place-items: center;
  color: var(--primary-deep);
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  background:
    radial-gradient(circle at top, rgba(201, 151, 91, 0.18), rgba(28, 32, 42, 0.92)),
    linear-gradient(135deg, #1d212b 0%, #101319 100%);
}

@media (max-width: 960px) {
  .photo-frame,
  .hero-photo {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding:
      max(14px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      calc(28px + env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  .hero-copy {
    padding: 24px;
  }

  .photo-frame {
    min-height: 420px;
  }

  .hero-photo {
    min-height: 420px;
  }

  .photo-caption {
    inset: auto 18px 18px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }
}
