/* =========================================================
   / — Arden Hills home page
   ---------------------------------------------------------
   Brand-level entry point. Layered on top of public-site.css
   (shell) and styled with the same design tokens.
   All styles scoped under .home-page so they can't leak.
   ========================================================= */

.home-page {
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

/* Shared inner-container width (matches villa-page) */
.home-story__inner,
.home-history__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}
@media (min-width: 900px) {
  .home-story__inner,
  .home-history__inner {
    padding-left: var(--s-7);
    padding-right: var(--s-7);
  }
}

/* Shared eyebrow */
.home-story__eyebrow,
.home-history__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-bronze-bright);
  margin: 0 0 var(--s-3);
}

/* =========================================================
   1. Hero — gold wordmark logo on dark textured background
   ========================================================= */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* The hero sits flush under the sticky header — the header is
     translucent, so we paint the hero edge-to-edge. */
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(188, 151, 98, 0.1),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.5) 0%,
      rgba(10, 10, 10, 0.35) 40%,
      rgba(10, 10, 10, 0.95) 100%
    );
  z-index: -1;
}
.home-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-9) var(--s-5);
  max-width: 720px;
}
.home-hero__logo {
  width: clamp(180px, 36vw, 320px);
  height: auto;
  /* The PNG already includes a gold-on-transparent treatment, so
     no further filter. A subtle drop-shadow lifts it off the
     textured wall. */
  filter: drop-shadow(0 6px 32px rgba(0, 0, 0, 0.55));
}
.home-hero__tagline {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--color-bronze-bright);
  margin: var(--s-6) 0 var(--s-3);
  font-weight: 500;
}
.home-hero__location {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0;
}

/* Subtle "scroll down" affordance pinned to the bottom */
.home-hero__scroll {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-bronze-bright);
  opacity: 0.7;
  text-decoration: none;
  border: none;
  transition: opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
  animation: hero-scroll-bob 2.2s var(--ease-in-out) infinite;
}
.home-hero__scroll:hover {
  opacity: 1;
}
@keyframes hero-scroll-bob {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__scroll {
    animation: none;
  }
}

/* =========================================================
   2. Brand story
   ========================================================= */
.home-story {
  padding: var(--s-10) 0;
  background: var(--surface-0);
  text-align: center;
}
.home-story__inner {
  max-width: 760px;
}
.home-story__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0 0 var(--s-6);
  color: var(--text-primary);
}
.home-story__body {
  font-family: var(--font-editorial);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.home-story__body p {
  margin: 0 0 var(--s-4);
  text-align: left;
}
.home-story__body p:last-child {
  margin-bottom: 0;
}
.home-story__body strong {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1.05em;
  letter-spacing: 0.01em;
}
@media (min-width: 720px) {
  .home-story__body p {
    text-align: center;
  }
}

/* =========================================================
   3. Our History — full-width photo band (same treatment as the
      former "leave the world behind" quote band)
   ========================================================= */
.home-history {
  position: relative;
  padding: var(--s-11) 0;
  min-height: clamp(360px, 42vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    /* Soft bronze glow in the center to lift the type */
    radial-gradient(
      ellipse at 50% 50%,
      rgba(160, 122, 68, 0.14),
      transparent 70%
    ),
    /* Darken overlay — stronger at top/bottom for readability,
       lighter through the middle where the photo shows through */
    linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.78) 0%,
      rgba(8, 8, 8, 0.66) 35%,
      rgba(8, 8, 8, 0.66) 65%,
      rgba(8, 8, 8, 0.84) 100%
    ),
    /* Photo */
    url('/images/site/home/villa-arden-hills.jpg') center / cover no-repeat;
  border-top: 1px solid rgba(160, 122, 68, 0.18);
  border-bottom: 1px solid rgba(160, 122, 68, 0.18);
  text-align: center;
  isolation: isolate;
}
.home-history__inner {
  position: relative;
}
/* Drop shadows guarantee readability over any photo region */
.home-history__eyebrow,
.home-history__title,
.home-history__lede,
.home-history__cta {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}
.home-history__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--text-primary);
  margin: 0 auto var(--s-5);
  position: relative;
}
.home-history__title::before,
.home-history__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-bronze);
  margin: var(--s-5) auto;
  opacity: 0.7;
}
.home-history__title::before {
  margin-top: 0;
}
.home-history__title::after {
  margin-bottom: 0;
}
.home-history__lede {
  font-family: var(--font-editorial);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0 auto var(--s-6);
}
.home-history__cta {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid var(--color-bronze-bright);
  padding: var(--s-2) 0;
  transition: transform var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}
.home-history__cta:hover {
  color: var(--color-bronze-bright);
  transform: translateX(4px);
}

/* Our History is now the last block on the page, so it meets the footer
   directly. (Other pages keep the footer's normal top margin.) */
.home-page + .public-footer {
  margin-top: 0;
}
