/* ============================================================
   STRATUMCGI — LAYOUT CSS
   Header, footer, hero, scrollbar hide
   ============================================================ */

/* ------------------------------------------------------------
   1. SITE HEADER
   ------------------------------------------------------------ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

#site-header.header-transparent {
  background-color: transparent;
}

#site-header.header-scrolled,
#site-header.header-solid {
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

/* Colour of text inside header based on state */
#site-header.header-transparent .nav-logo,
#site-header.header-transparent .nav-link {
  color: var(--color-white);
}

#site-header.header-scrolled .nav-logo,
#site-header.header-scrolled .nav-link,
#site-header.header-solid .nav-logo,
#site-header.header-solid .nav-link {
  color: var(--color-slate);
}

#site-header.header-transparent .nav-toggle {
  color: var(--color-white);
}

#site-header.header-scrolled .nav-toggle,
#site-header.header-solid .nav-toggle {
  color: var(--color-slate);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-base);
  flex-shrink: 0;
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2rem;
  margin: 0;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-gold-light);
  color: var(--color-slate) !important;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background-color var(--transition-base);
  display: inline-block;
}

.nav-cta:hover {
  background-color: var(--color-gold);
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base);
  padding: 0;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile nav dropdown */
#nav-mobile {
  display: none;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem var(--container-pad-sm);
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

#nav-mobile.open {
  display: block;
}

@media (min-width: 1024px) {
  #nav-mobile {
    display: none !important;
  }
}

#nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#site-header #nav-mobile .nav-link,
#site-header.header-transparent #nav-mobile .nav-link,
#site-header.header-scrolled #nav-mobile .nav-link,
#site-header.header-solid #nav-mobile .nav-link {
  color: var(--color-slate);
  display: block;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25rem 0;
}

#nav-mobile .nav-cta {
  display: block;
  text-align: center;
  width: 100%;
}

/* Page body top padding (to clear fixed header) */
body {
  padding-top: 0;
}

main {
  padding-top: 0;
}

/* Pages without full-bleed hero need top padding */
body[data-page="interior"] main {
  padding-top: 5rem;
}

/* ------------------------------------------------------------
   2. SITE FOOTER
   ------------------------------------------------------------ */
#site-footer {
  background-color: var(--color-slate);
  color: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  #site-footer {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col .footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.footer-col .footer-section-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.footer-col p {
  color: var(--color-granite);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-granite);
  text-decoration: none;
  transition: color var(--transition-base);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a,
.footer-contact-item address {
  color: var(--color-granite);
  text-decoration: none;
  font-style: normal;
  line-height: 1.6;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
}

.footer-contact-item a:hover {
  color: var(--color-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-white);
  transition: all var(--transition-base);
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.social-link:hover {
  background: var(--color-gold-light);
  color: var(--color-slate);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.875rem;
  color: var(--color-granite);
}

.footer-bottom a {
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

/* ------------------------------------------------------------
   3. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4), transparent);
}

.hero-body {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem 0 9rem;
}

.hero:has(details.hero-coverage[open]) .hero-body {
  align-items: flex-start;
  padding-top: 8rem;
  padding-bottom: 10rem;
}

.hero:has(details.hero-coverage[open]) .hero-scroll {
  display: none;
}

.hero-text {
  max-width: 48rem;
  margin-left: auto;
}

.hero-text h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

.hero-text h1 .subtitle-line {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
}

.hero-text .hero-intro {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 40rem;
}

.hero-text .hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

.hero-tools {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-tools {
    display: flex;
  }
}

.hero-tool-btn {
  min-width: 3rem;
  height: 2.75rem;
  padding: 0 1rem 0 0.85rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  color: var(--color-slate);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.hero-tool-btn:hover {
  background: var(--color-white);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-tool-icon {
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  color: var(--color-gold);
}

.hero-tool-label {
  font-size: 0.8rem;
  color: var(--color-slate);
}

.hero-tool-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-gold);
}

.hero-cta-wrap {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 20;
}

@media (max-width: 1023px) {
  .hero-cta-wrap {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 2rem 1.5rem 2.5rem;
    z-index: 11;
  }
  .hero-cta-wrap .btn {
    width: 100%;
    max-width: 28rem;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 1s ease infinite;
}

.hero-scroll svg {
  width: 1.5rem;
  height: 1.5rem;
}
