/* ============================================================
   Interior Boards — Coming Soon
   Background: full-screen interior photograph (background.jpg)
   Palette tuned to the photo:
   --ink    #0E1016  deep night canvas (fallback behind image)
   --mist   #F1EDE4  warm ivory text
   --muted  #A9A296  soft stone secondary text
   --gold   #D8B26E  brass / lamp-light accent
   --amber  #FFC983  warm glow accent
   ============================================================ */

:root {
  --ink: #0e1016;
  --mist: #f1ede4;
  --muted: #a9a296;
  --gold: #d8b26e;
  --amber: #ffc983;
  --line: rgba(241, 237, 228, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Full-screen background image ---------- */

.bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/web_end/images/interior-bg.jpg");
  background-size: cover;       /* fill full width & height */
  background-position: center;  /* keep the sofa centered */
  background-repeat: no-repeat;
}
.bg-image-home {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/web_end/images/interior-bg.jpeg");
  background-size: cover;       /* fill full width & height */
  background-position: center;  /* keep the sofa centered */
  background-repeat: no-repeat;
}

/* Dark gradient overlay so the text stays readable on the photo */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 18, 0.55) 0%,
    rgba(10, 12, 18, 0.35) 45%,
    rgba(10, 12, 18, 0.65) 100%
  );
  pointer-events: none;
}

/* Fine grain to blend the overlay with the photo */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.04;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Page frame ---------- */

.page {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 44px);
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  color: var(--mist);
  text-decoration: none;
}

/* Logo image — swap logo.png with your file */
.logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.wordmark .dot {
  color: var(--gold);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mist);
  backdrop-filter: blur(8px);
  background: rgba(14, 16, 22, 0.45);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 201, 131, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(255, 201, 131, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 201, 131, 0); }
}

/* ---------- Hero ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 8vh, 96px) 0;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  animation: rise 0.9s ease both;
}

.headline {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 14vw, 10.5rem);
  line-height: 0.94;
  letter-spacing: -0.02em;

  /* Warm lamp-light gradient alive inside the letters */
  background: linear-gradient(
    100deg,
    var(--mist) 0%,
    var(--gold) 35%,
    var(--amber) 60%,
    var(--mist) 100%
  );
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
  animation: rise 0.9s 0.12s ease both, shimmer 9s ease-in-out infinite;
}

.headline em {
  font-style: italic;
  font-weight: 300;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.lede {
  margin-top: 28px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--mist);
  opacity: 0.85;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  animation: rise 0.9s 0.24s ease both;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 22px;
}

.socials a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--mist);
}

.socials a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Shared ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .logo {
    height: 36px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .headline,
  .pulse {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .eyebrow,
  .lede {
    animation: none;
    opacity: 1;
    transform: none;
  }
}