/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Cormorant Garamond', serif;
  color: #f6f1e7;
  background-color: #14150f; /* fallback while image loads */
}

/* ---------- Hero / full screen section ---------- */
.hero {
  position: relative;
  min-height: 100svh;   /* small-viewport height: avoids clipping under mobile browser UI */
  min-height: 100dvh;   /* dynamic viewport height where supported */
  width: 100%;
  display: flex;
  flex-direction: column;
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* fixed can misbehave on mobile Safari */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 8, 0.55) 0%,
    rgba(10, 12, 8, 0.35) 35%,
    rgba(10, 12, 8, 0.55) 70%,
    rgba(10, 12, 8, 0.75) 100%
  );
}

/* ---------- Content ---------- */
.hero__content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw 4vh;
  gap: 0.9rem;
}

.eyebrow {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  color: #d8c9a3;
}

.brand {
  margin: 0.2rem 0 0;
  max-width: 100%;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.05;
  font-size: clamp(1.8rem, 8.2vw, 5.5rem);
  letter-spacing: 0.01em;
  color: #fbf7ee;
  overflow-wrap: break-word;
}

.subtitle {
  margin: -0.25rem 0 0;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  font-size: clamp(1.2rem, 4.6vw, 2rem);
  color: #f0e6cf;
}

.tagline {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 3.2vw, 1.4rem);
  color: #f0e6cf;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: min(70vw, 320px);
  margin: 0.3rem auto;
}
.divider span {
  flex: 1;
  height: 1px;
  background: rgba(246, 241, 231, 0.5);
}
.divider i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8c9a3;
  display: block;
  font-style: normal;
}

.subtext {
  margin: 0;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: #f6f1e7;
}

.note {
  margin: 1.4rem auto 0;
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  letter-spacing: 0.03em;
  color: #e3dbc8;
  max-width: 32ch;
}

.contact {
  margin-top: 1rem;
  font-size: clamp(0.85rem, 2.4vw, 1rem);
  letter-spacing: 0.06em;
  color: #f6f1e7;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 241, 231, 0.5);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.contact:hover,
.contact:focus-visible {
  opacity: 0.75;
}

.address {
  margin: 0.6rem auto 0;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.03em;
  color: rgba(246, 241, 231, 0.75);
  max-width: 36ch;
}

/* ---------- Larger screens ---------- */
@media (min-width: 900px) {
  .hero__content { gap: 1.1rem; }
  .note { max-width: 42ch; }
}
