/* ============================================
   Mālama Sustainability Consulting
   Main Stylesheet
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--stone);
  background-color: var(--sand-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-dark);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Ocean & Sky */
  --deep: #0f2b3c;
  --ocean: #1a4f6e;
  --teal: #167a72;
  --teal-dark: #115f59;
  --teal-light: #e6f5f3;

  /* Earth & Sand */
  --sand-light: #faf8f4;
  --sand: #f0ece4;
  --sand-dark: #d4cec2;

  /* Accent */
  --coral: #c4563a;
  --coral-dark: #a8482f;

  /* Neutrals */
  --volcanic: #1a1a1a;
  --stone: #3d3d3d;
  --stone-light: #6b6b6b;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--volcanic);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-xl) 0;
}

/* When page-hero-banner is present, following section doesn't need extra top padding */
.page-hero-banner + .section {
  padding-top: var(--space-xl);
}

/* Interior pages without a banner — clear the fixed header */
.page-section {
  padding-top: calc(var(--space-xl) + 5rem);
}

@media (max-width: 767px) {
  .section {
    padding: var(--space-lg) 0;
  }
  .page-hero-banner + .section {
    padding-top: var(--space-lg);
  }
  .page-section {
    padding-top: calc(var(--space-lg) + 4.5rem);
  }
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-intro {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--stone-light);
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 500;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* ============================================
   FOCUS STYLES
   ============================================ */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ============================================
   HEADER & NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.header.scrolled,
.header-interior {
  background-color: rgba(250, 248, 244, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.35s ease;
  text-decoration: none;
}

.header.scrolled .logo,
.header-interior .logo {
  color: var(--volcanic);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

.header.scrolled .nav-link,
.header-interior .nav-link {
  color: var(--stone);
}

.header.scrolled .nav-link.active,
.header-interior .nav-link.active {
  color: var(--teal);
}

.header.scrolled .nav-link:hover,
.header-interior .nav-link:hover {
  color: var(--teal);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
}

.nav-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  background: var(--teal);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 2001;
  position: relative;
}

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

.header.scrolled .nav-toggle span,
.header-interior .nav-toggle span {
  background: var(--volcanic);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--volcanic);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--volcanic);
}

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

/* Mobile Nav Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--sand-light);
  z-index: 2000;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 43, 60, 0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--volcanic);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sand-dark);
  display: block;
  transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--teal);
}

.mobile-nav-cta {
  display: inline-block;
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--teal);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background:
    linear-gradient(rgba(15, 43, 60, 0.5), rgba(15, 43, 60, 0.65)),
    url('https://images.unsplash.com/photo-1598135753163-6167c1a1ad65?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(22, 122, 114, 0.12), transparent 60%);
  animation: hero-shimmer 12s ease-in-out infinite alternate;
}

@keyframes hero-shimmer {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(240, 236, 228, 0.9);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--coral);
  padding: 0.9rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(196, 86, 58, 0.25);
}

.btn-primary:hover {
  background: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(196, 86, 58, 0.35);
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-submit {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--teal);
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   WAVE TRANSITIONS
   ============================================ */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

@media (min-width: 768px) {
  .hero-wave svg {
    height: 120px;
  }
}

.services-wave,
.contact-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  transform: scaleY(-1);
}

.services-wave svg,
.contact-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 768px) {
  .services-wave svg,
  .contact-wave svg {
    height: 80px;
  }
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision {
  background: var(--sand-light);
  position: relative;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.vision-card {
  position: relative;
}

.vision-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--teal);
}

.vision-card h3 {
  color: var(--volcanic);
  margin-bottom: 1rem;
}

.vision-card p {
  color: var(--stone-light);
  line-height: 1.75;
}

/* Connection lines between vision cards (desktop only) */
@media (min-width: 768px) {
  .vision-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--sand-dark), var(--teal), var(--sand-dark));
    opacity: 0.4;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--sand);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: var(--space-md);
}

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

.service-card {
  background: var(--sand-light);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  border: 1px solid var(--sand-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--teal);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--stone-light);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-ideal {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand-dark);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--sand-light);
}

.about-story {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: var(--space-md);
}

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

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  text-align: center;
}

/* Photo placeholder: initials on gradient */
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.team-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo--beth {
  background: linear-gradient(135deg, var(--ocean), var(--teal));
}

.team-photo--randy {
  background: linear-gradient(135deg, var(--teal), #2d8a6e);
}

.team-photo--alex {
  background: linear-gradient(135deg, #2d8a6e, var(--ocean));
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--stone-light);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto 1rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.linkedin-link:hover {
  color: var(--teal-dark);
}

.linkedin-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--sand);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-info p {
  color: var(--stone-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--stone);
  font-size: 0.95rem;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--stone);
}

.contact-detail a:hover {
  color: var(--teal);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--volcanic);
}

.form-group label .optional {
  font-weight: 400;
  color: var(--stone-light);
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  background: var(--sand-light);
  color: var(--volcanic);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 122, 114, 0.1);
  outline: none;
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--coral);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  font-size: 0.82rem;
  color: var(--coral);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal);
}

.form-status.error {
  display: block;
  background: #fdf0ed;
  color: var(--coral-dark);
  border: 1px solid var(--coral);
}

/* ============================================
   GIVING BACK
   ============================================ */
.giving-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: var(--space-lg);
}

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

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

.giving-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.giving-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.giving-icon {
  width: 56px;
  height: 56px;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.giving-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.75rem;
}

.giving-card p {
  color: var(--stone);
  line-height: 1.75;
}

.giving-cta {
  margin-top: var(--space-lg);
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.giving-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.75rem;
}

.giving-cta p {
  color: var(--stone);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--deep);
  color: rgba(240, 236, 228, 0.7);
  padding: 3rem 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-meaning {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(240, 236, 228, 0.5);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(240, 236, 228, 0.45);
}

.footer a {
  color: rgba(240, 236, 228, 0.7);
}

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

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before {
    animation: none;
  }

  .service-card {
    transition: none;
  }

  .btn-primary,
  .btn-outline,
  .btn-submit,
  .nav-cta {
    transition: none;
  }
}

/* ============================================
   PAGE HERO BANNER (interior pages)
   ============================================ */
.page-hero-banner {
  position: relative;
  height: 340px;
  overflow: hidden;
  margin-top: 4rem; /* clear fixed header */
}

.page-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 43, 60, 0.3), rgba(15, 43, 60, 0.15));
}

@media (min-width: 768px) {
  .page-hero-banner {
    height: 420px;
  }
}

/* ============================================
   CONTENT IMAGE (inline photo break)
   ============================================ */
.content-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin: var(--space-lg) 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.content-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .content-image img {
    height: 400px;
  }
}

/* ============================================
   IMAGE-TEXT SPLIT (side-by-side layout)
   ============================================ */
.image-text-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .image-text-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.image-text-split .split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.image-text-split .split-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .image-text-split .split-image img {
    height: 400px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .header, .hero-wave, .services-wave, .contact-wave,
  .skip-link, .nav-toggle, .mobile-nav, .mobile-nav-overlay {
    display: none;
  }

  .hero {
    min-height: auto;
    background: var(--deep) !important;
    padding: 3rem 0;
  }

  .section {
    padding: 2rem 0;
    break-inside: avoid;
  }

  body {
    color: #000;
    background: #fff;
  }
}
