/* ==========================================================================
   Asperland – Restored Site
   Font: Libre Franklin (matching WordPress Twenty Seventeen)
   Homepage hero matches original screenshot layout
   Nav: top sticky bar (logo left, links right) on all pages
   ========================================================================== */

:root {
  --accent:     #1B3A5C;
  --accent-dk:  #112840;
  --text:       #333333;
  --text-light: #666666;
  --border:     #ddd;
  --bg-light:   #f7f7f7;
  --white:      #ffffff;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Franklin', 'Helvetica Neue', helvetica, arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }

.btn-white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.btn-white:hover { background: var(--bg-light); }

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

.btn-full { width: 100%; text-align: center; }

/* ==========================================================================
   NAVIGATION – sticky top bar, all pages
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 36px;
  height: auto;
}

.nav-logo-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ==========================================================================
   HOME PAGE – HERO (matches original screenshot)
   Full-bleed header image, logo + ASPERLAND centered near bottom
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%);
}

.hero-branding {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 60px;
}

.hero-logo {
  width: 110px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.25));
}

.hero-brand-text {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.hero-site-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.hero-site-tagline {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 2px;
  opacity: 0.9;
}

/* ---------- Hero Banner ("Extraordinary Projects") ---------- */

.hero-banner-bg {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 4em;
  max-width: 580px;
}

.hero-banner-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ==========================================================================
   PILLARS
   ========================================================================== */

.pillars {
  padding: 5em 0 4em;
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
}

.pillar {
  text-align: center;
  padding: 1.5em;
}

.pillar-icon {
  color: var(--accent);
  margin-bottom: 14px;
}

.pillar-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery {
  padding: 0 0 3em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.02); }

.gallery-item-wide {
  grid-column: 1 / -1;
  max-height: 400px;
}

.gallery-item:not(.gallery-item-wide) {
  height: 260px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
  padding: 3em 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  max-width: 880px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: 2em;
  border: none;
  margin: 0;
}

.testimonial-text {
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
}

.testimonial-cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-light);
  display: block;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  padding: 72px 0;
  background: var(--accent);
  text-align: center;
}

.cta-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text {
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 48px 0 36px;
  background: var(--accent-dk);
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.footer-logo {
  width: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 4px;
}

.footer-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ==========================================================================
   INNER PAGE HEADER
   ========================================================================== */

.page-header {
  padding: 80px 0 44px;
  background: var(--accent);
  text-align: center;
}

.page-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.page-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  font-weight: 300;
}

.back-link { color: rgba(255,255,255,0.6); }
.back-link:hover { color: var(--white); }

.article-meta-header {
  display: flex;
  gap: 8px;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-top: 10px;
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */

.services { padding: 60px 0; }

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.service-card:last-child { margin-bottom: 0; }

.service-card-reverse .service-img { order: 2; }

.service-img {
  overflow: hidden;
  height: 320px;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.service-text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-section { padding: 60px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.contact-info-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.contact-info-text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-detail svg { flex-shrink: 0; color: var(--accent); }

.contact-form {
  background: var(--bg-light);
  padding: 36px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { resize: vertical; }

/* ==========================================================================
   BLOG
   ========================================================================== */

.blog-listing { padding: 60px 0; }

.blog-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.blog-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.blog-card-img {
  overflow: hidden;
  height: 220px;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card-img:hover img { transform: scale(1.02); }

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-author { font-weight: 600; color: var(--text); }

.blog-date::before { content: '·'; margin-right: 8px; }

.blog-card-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card-title a { transition: color 0.2s; }
.blog-card-title a:hover { color: var(--accent); }

.blog-card-excerpt {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.blog-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-read-more:hover { text-decoration: underline; }

/* ==========================================================================
   ARTICLE
   ========================================================================== */

.article { padding: 60px 0; }

.article-container { max-width: 720px; }

.article-hero-img {
  overflow: hidden;
  margin-bottom: 36px;
  max-height: 380px;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content h2 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 12px;
}

.article-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.article-content ul {
  margin: 0 0 20px 24px;
  color: var(--text);
  line-height: 1.8;
}
.article-content li { margin-bottom: 6px; font-size: 0.95rem; }
.article-content strong { font-weight: 700; }

/* Legal */
.legal-content h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--accent-dk); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 14px; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { height: 55vh; min-height: 320px; }
  .hero-branding { gap: 14px; padding-bottom: 36px; }
  .hero-logo { width: 70px; }
  .hero-site-title { font-size: 1.35rem; }
  .hero-site-tagline { font-size: 0.82rem; }

  /* Hero banner */
  .hero-banner-bg { min-height: 340px; }
  .hero-banner-content { padding: 2em 1.5em; }
  .hero-banner-title { font-size: 1.5rem; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; gap: 0.5em; }
  .pillar { padding: 1.5em 1em; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-wide { max-height: 220px; }
  .gallery-item:not(.gallery-item-wide) { height: 200px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1em; }
  .testimonial { padding: 1.5em; }

  /* Services */
  .service-card { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .service-card-reverse .service-img { order: 0; }
  .service-img { height: 220px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px 18px; }

  /* Blog */
  .blog-card { grid-template-columns: 1fr; gap: 16px; }
  .blog-card-img { height: 200px; }

  /* Article meta */
  .article-meta-header { flex-direction: column; gap: 2px; }
  .article-meta-header span:nth-child(2) { display: none; }

  /* Page header */
  .page-header { padding: 72px 0 36px; }
}

@media (max-width: 480px) {
  .hero { height: 50vh; min-height: 280px; }
  .hero-branding { flex-direction: column; text-align: center; gap: 10px; padding-bottom: 28px; }
  .hero-logo { width: 60px; }
  .hero-site-title { font-size: 1.2rem; }

  .hero-banner-content { padding: 1.5em; }

  .footer-links { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-item img, .blog-card-img img { transition: none; }
}

/* ==========================================================================
   HOME PAGE – SCROLL-SNAP LAYOUT
   ========================================================================== */

body.home-page {
  overflow: hidden;
}

.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   OVERLAY NAV (home page only)
   ========================================================================== */

.overlay-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none; /* let clicks through except on children */
}

.overlay-nav > * { pointer-events: auto; }

/* Transparent on hero */
.overlay-nav.nav-transparent,
.overlay-nav:not(.nav-solid) {
  background: transparent;
}

/* Solid after scrolling past hero */
.overlay-nav.nav-solid {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Logo */
.overlay-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.overlay-logo-img {
  width: 40px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.4));
  transition: filter 0.4s;
}

.nav-solid .overlay-logo-img {
  filter: none;
}

.overlay-logo-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: color 0.4s, text-shadow 0.4s;
}

.nav-solid .overlay-logo-text {
  color: var(--accent);
  text-shadow: none;
}

/* Links */
.overlay-nav-links {
  list-style: none;
  display: flex;
  gap: 0;
}

.overlay-nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-solid .overlay-nav-links a {
  color: var(--text);
  text-shadow: none;
}

.overlay-nav-links a.active,
.overlay-nav-links a:hover {
  color: var(--white);
}

.nav-solid .overlay-nav-links a.active,
.nav-solid .overlay-nav-links a:hover {
  color: var(--accent);
}

/* Hamburger toggle */
.overlay-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
}

.overlay-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
}

.nav-solid .overlay-nav-toggle span { background: var(--text); }

.overlay-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.overlay-nav-toggle.open span:nth-child(2) { opacity: 0; }
.overlay-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO SECTION (snap)
   ========================================================================== */

.snap-section#hero {
  min-height: 100vh;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
}

.snap-section#hero .hero-branding {
  align-self: auto;
  margin-left: 8vw;
  margin-bottom: 18vh;
  margin-top: auto;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-branding {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-center-logo {
  width: 110px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.hero-brand-text {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero-site-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.hero-site-tagline {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-top: 4px;
  opacity: 0.9;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ==========================================================================
   BANNER SECTION (snap)
   ========================================================================== */

.snap-section#about {
  padding: 0;
  overflow: hidden;
}

.banner-bg {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 0 10vw;
  max-width: 680px;
}

.banner-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.banner-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ==========================================================================
   PILLARS SECTION (snap)
   ========================================================================== */

.pillars-section {
  background: var(--white);
  padding: 0;
}

.pillars-section .container {
  width: 100%;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
}

.pillar {
  text-align: center;
  padding: 2em 1.5em;
}

.pillar-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.pillar-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================================================
   SERVICES PREVIEW (snap)
   ========================================================================== */

.services-preview-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.section-heading {
  font-family: 'Libre Franklin', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 36px;
  text-align: center;
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-preview-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-preview-img {
  height: 200px;
  overflow: hidden;
}

.service-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-preview-card:hover .service-preview-img img { transform: scale(1.04); }

.service-preview-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-preview-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.service-preview-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   BLOG PREVIEW (snap)
   ========================================================================== */

.blog-preview-section {
  background: var(--white);
  padding: 60px 0;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.blog-preview-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  overflow: hidden;
}

.blog-preview-img {
  height: 220px;
  overflow: hidden;
}

.blog-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-preview-card:hover .blog-preview-img img { transform: scale(1.03); }

.blog-preview-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(27,58,92,0.08);
  padding: 3px 10px;
  margin-bottom: 10px;
}

.blog-preview-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-preview-title a { transition: color 0.2s; }
.blog-preview-title a:hover { color: var(--accent); }

.blog-preview-excerpt {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}

.blog-read-more {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-read-more:hover { text-decoration: underline; }

/* ==========================================================================
   TESTIMONIALS (snap)
   ========================================================================== */

.testimonials-section {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  max-width: 880px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: 2.5em;
  background: var(--white);
  border: 1px solid var(--border);
}

.testimonial-text {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.testimonial-cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-light);
  display: block;
}

/* ==========================================================================
   CONTACT CTA (snap)
   ========================================================================== */

.contact-cta-section {
  background: var(--accent);
  text-align: center;
}

.contact-cta-section .cta-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-cta-section .cta-text {
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ==========================================================================
   FOOTER SECTION (snap)
   ========================================================================== */

.footer-section {
  background: var(--accent-dk);
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  justify-content: center;
  min-height: auto;
  padding: 60px 0;
  scroll-snap-align: end;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.footer-logo {
  width: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 4px;
}

.footer-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ==========================================================================
   DOT NAVIGATION
   ========================================================================== */

.dot-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.dot.active {
  background: var(--white);
  transform: scale(1.35);
  border-color: var(--white);
}

/* When nav is solid (not on hero), dots adapt */
.overlay-nav.nav-solid ~ .dot-nav .dot {
  background: rgba(27,58,92,0.25);
  border-color: rgba(27,58,92,0.5);
}

.overlay-nav.nav-solid ~ .dot-nav .dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   HOME PAGE RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .services-preview-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-preview-img { height: 160px; }
  .services-preview-section { padding: 40px 0; }
}

@media (max-width: 768px) {
  /* Overlay nav mobile */
  .overlay-nav {
    padding: 16px 20px;
  }
  .overlay-nav-toggle { display: flex; }

  .overlay-nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17,40,64,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 199;
  }

  .overlay-nav-links.open { display: flex; }

  .overlay-nav-links a {
    padding: 18px 24px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9) !important;
    text-shadow: none !important;
  }

  .overlay-nav-links a.active,
  .overlay-nav-links a:hover {
    color: var(--white) !important;
  }

  /* Hero */
  .hero-branding { gap: 14px; }
  .hero-center-logo { width: 70px; }
  .hero-site-title { font-size: 1.4rem; }
  .hero-site-tagline { font-size: 0.82rem; }

  /* Banner */
  .banner-content { padding: 0 6vw; }
  .banner-title { font-size: 1.6rem; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 1.2em 1em; }

  /* Services preview */
  .services-preview-grid { grid-template-columns: 1fr; }
  .service-preview-img { height: 180px; }

  /* Blog preview */
  .blog-preview-grid { grid-template-columns: 1fr; }
  .blog-preview-img { height: 180px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Dot nav: hide on mobile (too small) */
  .dot-nav { display: none; }
}

@media (max-width: 480px) {
  .hero-branding { flex-direction: column; text-align: center; gap: 10px; }
  .hero-center-logo { width: 60px; }
  .hero-site-title { font-size: 1.2rem; }
  .overlay-logo-text { font-size: 0.85rem; }
  .overlay-logo-img { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-container { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
}
