/* RENOVON layout — header, footer, containers, section rhythm, theme sections. */

.container { width: var(--container); margin-inline: auto; }

/* Sections are transparent — body carries the theme background so color
   flows continuously between sections instead of hard block changes. */
.sect { position: relative; padding: var(--sect-y) 0; }
.sect--tight { padding: calc(var(--sect-y) * .6) 0; }

.sect-head { max-width: 760px; }
.sect-head .rule {
  width: 64px; height: 3px; background: var(--premium-gold);
  margin-top: 26px; border-radius: 2px; transform-origin: left center;
}

/* ================= SHARED PRE-FOOTER MARK =================
   One responsive treatment for the Renovon ring on every page. */
.pre-footer-ring,
.cta-final__ring,
.cta-band__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 110vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}
.pre-footer-ring circle,
.cta-final__ring circle,
.cta-band__ring circle {
  fill: none;
  stroke: var(--premium-gold);
}
.pre-footer-ring ~ .container,
.cta-final__ring ~ .container,
.cta-band__ring ~ .container {
  position: relative;
  z-index: 1;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 52px);
  transition: padding .35s var(--ease-out), background .35s, box-shadow .35s;
}
.site-header::before { /* condensing backdrop */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--ink-navy) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .35s;
}
.site-header.scrolled { padding-block: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.site-header.scrolled::before { opacity: 1; }
.site-header .logo { height: 24px; width: auto; }
.site-header .logo img { height: 100%; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.site-nav a:not(.btn) {
  font-family: var(--font-brand); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--light-stone); opacity: .82; position: relative; padding: 6px 0;
  transition: opacity .2s, color .2s;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--premium-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.site-nav a:not(.btn):hover { opacity: 1; color: var(--white); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav .btn { padding: 11px 22px; font-size: .85rem; }

.nav-toggle {
  display: none; z-index: 110;
  width: 44px; height: 44px; border-radius: 8px;
  color: var(--light-stone); font-size: 1.5rem; line-height: 1;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--navy-deep); color: var(--light-stone);
  padding: 76px 0 36px; position: relative;
}
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 44px; }
.site-footer .brand-blurb { max-width: 32ch; }
.site-footer .brand-blurb img { height: 22px; width: auto; }
.site-footer .brand-blurb p { margin-top: 16px; opacity: .75; font-size: var(--fs-small); }
.site-footer .brand-blurb .tag {
  color: var(--premium-gold); font-family: var(--font-brand); font-weight: 600;
  letter-spacing: .14em; font-size: .78rem; margin-top: 14px; text-transform: uppercase;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: clamp(30px, 5vw, 70px); }
.site-footer nav h4 {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--premium-gold); margin-bottom: 14px; font-weight: 700;
}
.site-footer nav a { display: block; font-size: .9rem; opacity: .75; padding: 5px 0; transition: opacity .2s, color .2s; }
.site-footer nav a:hover { opacity: 1; color: var(--premium-gold); }
.site-footer .base {
  margin-top: 52px; padding-top: 22px;
  border-top: 1px solid rgba(245,244,240,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .78rem; opacity: .55;
}

/* ================= responsive ================= */
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: fixed; inset: 0; z-index: 105;
    display: none;
    flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    background: color-mix(in srgb, var(--ink-navy) 97%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { font-size: 1.05rem; }
}
