:root {
  --olive: #4B4F2A;
  --espresso: #6B4A36;
  --ivory: #F5F1E8;
  --gold: #C7A15A;
  --charcoal: #2B2B2B;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;

  --bar-h: 4.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--espresso);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* premium depth: warm radial glow over ivory */
  background:
    radial-gradient(120% 90% at 50% 38%, #FBF8F1 0%, var(--ivory) 55%, #EDE7D8 100%);
}

/* Subtle decorative pattern: fine diamond lattice + soft film grain.
   Sits above the background gradient, below all content. */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* delicate gold/olive diamond trellis */
  background-image:
    repeating-linear-gradient( 45deg, rgba(75, 79, 42, 0.04) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, rgba(199, 161, 90, 0.05) 0 1px, transparent 1px 30px);
  /* fade the pattern toward the centre so the logo stays clean */
  -webkit-mask-image: radial-gradient(115% 95% at 50% 42%, transparent 0%, #000 78%);
          mask-image: radial-gradient(115% 95% at 50% 42%, transparent 0%, #000 78%);
}

/* Soft film grain for a printed, artisanal feel */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

/* Thin gold rule across the very top edge */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, #E3C988 50%, var(--gold) 100%);
  z-index: 20;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 3px; left: 0; right: 0;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  z-index: 15;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--espresso);
}

.nav-contact {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.nav-contact:hover { opacity: 1; color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: calc(var(--bar-h) + 2rem) 1.5rem calc(var(--bar-h) + 2rem);
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 560px;
  animation: fade-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wrap > * { max-width: 100%; }

.logo {
  width: min(420px, 76vw);
  height: auto;
}

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.coming {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--olive);
  overflow-wrap: break-word;
}

.tagline {
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-size: clamp(0.62rem, 2.6vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  overflow-wrap: break-word;
}

/* ---------- Footer ---------- */
.footer {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  padding: 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.5;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .wrap { animation: none; }
}

@media (max-width: 600px) {
  :root { --bar-h: 3.75rem; }
  .wrap { gap: 2rem; }
  .brand { letter-spacing: 0.22em; }
  .tagline { letter-spacing: 0.16em; }
  .footer { letter-spacing: 0.1em; }
}

@media (max-width: 430px) {
  .nav-contact { display: none; }
  .brand { letter-spacing: 0.18em; }
  .tagline { letter-spacing: 0.1em; }
}

@media (max-width: 360px) {
  .tagline { letter-spacing: 0.04em; }
  .footer { font-size: 0.62rem; letter-spacing: 0.04em; }
}
