/* =============================================
   ULTAXA LLC — Main Stylesheet
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto+Slab:wght@300;400&display=swap');

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --navy:        #283954;
  --green:       #6FC172;
  --teal:        #006A7A;
  --light-green: #EDF4D8;
  --lime:        #C5DC6F;
  --warm-black:  #2F2B2A;
  --white:       #FFFFFF;
  --gray-light:  #F7F8F9;
  --gray-mid:    #E4E8EC;
  --gray-text:   #6B7280;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Roboto Slab', Georgia, serif;

  --max-width: 1160px;
  --nav-height: 76px;
  --radius: 6px;
  --transition: 0.2s ease;

  --shadow-sm: 0 1px 4px rgba(40, 57, 84, 0.08);
  --shadow-md: 0 4px 16px rgba(40, 57, 84, 0.12);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--warm-black);
  background-color: var(--white);
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--warm-black);
  font-weight: 300;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 300;
}

/* =============================================
   Layout Utilities
   ============================================= */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section--sm {
  padding-block: 3rem;
}

.section--alt {
  background-color: var(--gray-light);
}

.section--tinted {
  background-color: var(--light-green);
}

.section--navy {
  background-color: var(--navy);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.625rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray-text);
  max-width: 560px;
}

.section-header {
  margin-bottom: 3rem;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.8125rem 1.875rem;
  border-radius: var(--radius);
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(111, 193, 114, 0.35);
}

.btn-primary:hover {
  background-color: #5aad5d;
  box-shadow: 0 4px 14px rgba(111, 193, 114, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
}

.btn-teal {
  background-color: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background-color: #005766;
  transform: translateY(-1px);
}

/* =============================================
   Image Placeholders
   ============================================= */
.img-placeholder {
  background-color: var(--gray-mid);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-mid) 100%);
}

.img-placeholder .placeholder-icon {
  position: relative;
  width: 48px;
  height: 48px;
  background-color: rgba(40, 57, 84, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder .placeholder-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
  opacity: 0.5;
}

.img-placeholder .placeholder-label {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--gray-text);
  font-weight: 300;
  font-style: italic;
  max-width: 220px;
}

/* =============================================
   Navigation
   ============================================= */
.mobile-nav-cb {
  display: none;
  position: absolute;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.logo-img--footer {
  height: 38px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-links li a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--warm-black);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--teal);
  background-color: rgba(0, 106, 122, 0.07);
}

.nav-links li a.active {
  color: var(--teal);
}

.nav-links li .nav-cta {
  background-color: var(--green);
  color: var(--white);
  padding: 0.5625rem 1.25rem;
  border-radius: var(--radius);
}

.nav-links li .nav-cta:hover {
  background-color: #5aad5d;
  color: var(--white);
}

/* Mobile toggle */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 820px) {
  .nav-toggle-btn {
    display: flex;
    order: 3;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--white);
    border-bottom: 2px solid var(--teal);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 0.75rem 1rem; }
  .nav-links li .nav-cta { display: inline-flex; width: auto; margin-top: 0.5rem; }

  .mobile-nav-cb:checked ~ .nav-wrapper .nav-links {
    display: flex;
  }

  .mobile-nav-cb:checked ~ .nav-wrapper .nav-toggle-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-nav-cb:checked ~ .nav-wrapper .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-cb:checked ~ .nav-wrapper .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28, 38, 54, 0.90) 0%,
    rgba(28, 38, 54, 0.72) 42%,
    rgba(28, 38, 54, 0.15) 65%,
    transparent 80%
  );
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(480px, 90%);
  margin-left: max(clamp(2rem, 7vw, 7rem), calc((100vw - var(--max-width)) / 2 + 1.5rem));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.625rem);
  line-height: 1.2;
  color: #ffffff;
}

.hero-copy .subheadline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
  justify-content: flex-start;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-credential {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* =============================================
   Problem / Empathy Section
   ============================================= */
.empathy-section {
  background-color: var(--light-green);
  padding-block: 3.5rem;
}

.empathy-section blockquote {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.7;
  font-style: italic;
}

.empathy-section blockquote::before,
.empathy-section blockquote::after {
  content: '';
}

/* =============================================
   Service Cards (overview)
   ============================================= */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 106, 122, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.service-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-text);
}

/* =============================================
   Services Full Page
   ============================================= */
.service-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  transition: box-shadow var(--transition);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
}

.service-item-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 106, 122, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-item-icon svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.service-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 0.9375rem;
  color: var(--gray-text);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* =============================================
   About Teaser
   ============================================= */
.about-teaser {
  background-color: var(--gray-light);
}

.about-teaser-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-teaser-photo .img-placeholder {
  width: 280px;
  aspect-ratio: 4/5;
  border-radius: 8px;
}

.about-teaser-img {
  width: 280px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.about-teaser-copy h2 {
  margin-bottom: 1rem;
}

.about-teaser-copy p {
  margin-bottom: 1.5rem;
  max-width: 520px;
}

/* =============================================
   Testimonials
   ============================================= */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.testimonial-author {
  margin-top: auto;
}

.testimonial-placeholder {
  height: 80px;
  background-color: var(--gray-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-placeholder span {
  font-size: 0.8125rem;
  color: var(--gray-text);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-mid);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar svg {
  width: 22px;
  height: 22px;
  color: var(--gray-text);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  display: block;
}

.testimonial-business {
  font-size: 0.8125rem;
  color: var(--gray-text);
  display: block;
}

.testimonial-quote {
  flex: 1;
  margin: 0;
  padding: 0;
}

.testimonial-quote p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--body-text);
  font-style: italic;
  margin: 0;
}

.testimonials-coming-soon {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
}

.testimonials-coming-soon__headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.testimonials-coming-soon__body {
  font-size: 0.9375rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* =============================================
   Final CTA Section
   ============================================= */
.final-cta {
  background-color: var(--navy);
  text-align: center;
  padding-block: 5rem;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* =============================================
   Page Hero (interior pages)
   ============================================= */
.page-hero {
  background-color: var(--light-green);
  padding-block: 3.5rem 3rem;
  border-bottom: 1px solid var(--gray-mid);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  color: var(--gray-text);
  max-width: 540px;
}

/* =============================================
   About Page
   ============================================= */
.bio-section {
  padding-block: 5rem;
}

.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.bio-photo .img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
}

.bio-photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.kim-signature {
  display: block;
  max-width: 240px;
  height: auto;
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
}

.bio-copy h1 {
  margin-bottom: 0.5rem;
}

.bio-copy .title-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--teal);
  display: block;
  margin-bottom: 1.5rem;
}

.bio-copy p {
  margin-bottom: 1.25rem;
}

/* Timeline */
.timeline {
  padding-block: 5rem;
  background-color: var(--gray-light);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-left: 3px solid var(--teal);
  padding-left: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--teal);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--teal);
  padding-top: 0.25rem;
}

.timeline-content h4 {
  margin-bottom: 0.375rem;
  font-size: 1.0625rem;
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--gray-text);
}

/* Team section */
.team-section {
  padding-block: 5rem;
}

.team-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.team-member-card {
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.team-member-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-member-info {
  padding: 1.75rem 2rem 1.5rem;
}

.team-member-sig {
  display: block;
  max-width: 200px;
  height: auto;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  mix-blend-mode: multiply;
}

.team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--teal);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.9375rem;
  color: var(--gray-text);
}

/* =============================================
   FAQ Page
   ============================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: flex-start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 740px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-mid);
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  padding-block: 1.375rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--teal);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  color: var(--teal);
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 1.375rem;
  font-size: 0.9375rem;
  color: var(--gray-text);
  line-height: 1.75;
  max-width: 620px;
}

.faq-answer a {
  color: var(--teal);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--navy);
}

/* =============================================
   Blog Page
   ============================================= */
.blog-card {
  background-color: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-image-link {
  display: block;
  overflow: hidden;
}

.blog-card-image-link img {
  transition: transform 0.3s ease;
}

.blog-card-image-link:hover img {
  transform: scale(1.04);
}

@keyframes blog-card-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    var(--gray-mid) 25%,
    #d0d5db        50%,
    var(--gray-mid) 75%
  );
  background-size: 200% 100%;
  animation: blog-card-shimmer 1.4s ease-in-out infinite;
  position: relative;
}

.blog-card-image:has(img.img-loaded),
.blog-card-image.img-loaded,
.blog-card-image.img-error {
  background: var(--gray-mid);
  animation: none;
}

.blog-card-image.img-error::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 1;
  background: var(--gray-mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='m3 16 5-5 4 4 3-3 6 6'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3C/svg%3E") center / 40px no-repeat;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.4s ease;
}

.blog-card-image img.img-loaded {
  opacity: 1;
}

.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  color: var(--teal);
}

.blog-card-image .img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.blog-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.blog-card-body h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
}

.blog-card-body p {
  font-size: 0.9375rem;
  color: var(--gray-text);
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-mid);
  margin-top: auto;
}

.blog-date {
  font-size: 0.8125rem;
  color: var(--gray-text);
  font-family: var(--font-heading);
}

.read-more {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}

.read-more:hover {
  gap: 0.5rem;
}

.blog-note {
  background-color: var(--light-green);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 3rem;
}

.blog-note p {
  font-size: 0.9375rem;
  color: var(--navy);
}

/* =============================================
   Blog Post Page
   ============================================= */
.container--narrow {
  max-width: 720px;
}

.back-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.back-link:hover {
  color: var(--navy);
}

.post-meta {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--gray-text);
  margin-top: 0.75rem;
}

.post-body {
  padding-block: 3rem 4rem;
}

.post-hero-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  background: linear-gradient(
    90deg,
    var(--gray-mid) 25%,
    #d0d5db        50%,
    var(--gray-mid) 75%
  );
  background-size: 200% 100%;
  animation: blog-card-shimmer 1.4s ease-in-out infinite;
  overflow: hidden;
  position: relative;
}

.post-hero-wrap:has(.post-hero-img.img-loaded),
.post-hero-wrap.img-loaded,
.post-hero-wrap.img-error {
  background: var(--gray-mid);
  animation: none;
}

.post-hero-wrap.img-error::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 1;
  background: var(--gray-mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='m3 16 5-5 4 4 3-3 6 6'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3C/svg%3E") center / 56px no-repeat;
}

.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.post-hero-img.img-loaded {
  opacity: 1;
}

.post-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.post-body h3 {
  font-size: 1.0625rem;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.post-body p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--warm-black);
}

.post-body ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-body li {
  line-height: 1.7;
  color: var(--warm-black);
}

.post-cta-inline {
  background-color: var(--light-green);
  border-left: 4px solid var(--green);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-top: 2.5rem;
}

.post-cta-inline p {
  margin: 0;
  font-size: 1rem;
}

.post-cta-inline a {
  color: var(--teal);
  font-weight: 600;
}

/* =============================================
   Contact Page
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info .lead {
  margin-bottom: 2rem;
  color: var(--gray-text);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(0, 106, 122, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.contact-detail-text strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.125rem;
}

.contact-detail-text a {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 400;
  transition: color var(--transition);
}

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

.contact-service-note {
  margin-top: 2rem;
  padding: 1.25rem;
  background-color: var(--light-green);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.6;
}

/* Contact Form */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}

.form-group label .required {
  color: var(--teal);
  margin-left: 0.125rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--warm-black);
  background-color: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-submit {
  margin-top: 0.5rem;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 3.5rem 2rem;
}

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


.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.875rem;
  line-height: 1.6;
}

.footer-contact {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--lime);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bio-grid {
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
  }

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

  .about-teaser-grid {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }

  .about-teaser-photo .img-placeholder {
    width: 240px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding-block: 3.5rem;
  }

  .hero {
    height: auto;
    min-height: 420px;
    padding-block: 3.5rem;
  }

  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(28, 38, 54, 0.92) 0%,
      rgba(28, 38, 54, 0.80) 50%,
      rgba(28, 38, 54, 0.40) 100%
    );
  }

  .page-hero {
    padding-block: 2.25rem 2rem;
  }

  .final-cta {
    padding-block: 3.5rem;
  }

  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    order: 0;
  }

  .hero-image .img-placeholder {
    aspect-ratio: 16/9;
    min-height: 260px;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  /* About page — bio */
  .bio-section {
    padding-block: 3.5rem;
  }

  .bio-grid {
    grid-template-columns: 1fr;
  }

  .bio-photo .img-placeholder {
    aspect-ratio: 4/3;
    max-width: 320px;
  }

  .bio-photo-img {
    max-width: 320px;
    aspect-ratio: 4/3;
  }

  /* About page — team */
  .team-section {
    padding-block: 3.5rem;
  }

  .team-cards-grid {
    grid-template-columns: 1fr;
  }

  .team-member-photo {
    aspect-ratio: 4/3;
  }

  .team-member-info {
    padding: 1.25rem 1.5rem 1.25rem;
  }

  /* Services page */
  .service-item {
    padding: 1.375rem;
  }

  .about-teaser-grid {
    grid-template-columns: 1fr;
  }

  .about-teaser-photo .img-placeholder {
    width: 220px;
    aspect-ratio: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  /* Prevent iOS auto-zoom on input focus (requires font-size >= 16px) */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.375rem;
  }

  .post-body {
    padding-block: 2rem 3rem;
  }

  .post-hero-wrap {
    margin-bottom: 1.75rem;
  }

  .post-meta {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }

  /* FAQ page */
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq-chevron {
    width: 22px;
    height: 22px;
  }

  .faq-answer {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 1.625rem;
  }

  .hero {
    min-height: 380px;
    padding-block: 2.75rem;
  }

  .section {
    padding-block: 2.75rem;
  }

  .page-hero {
    padding-block: 1.75rem 1.5rem;
  }

  .final-cta {
    padding-block: 2.75rem;
  }

  /* About page — bio at smallest phones */
  .bio-section {
    padding-block: 2.75rem;
  }

  .bio-photo-img {
    max-width: 100%;
    aspect-ratio: 4/3;
  }

  /* About page — team at smallest phones */
  .team-section {
    padding-block: 2.75rem;
  }

  .team-member-info {
    padding: 1rem 1.25rem 1rem;
  }

  /* FAQ page */
  .faq-question {
    padding-block: 1.5rem;
  }

  .faq-chevron {
    width: 24px;
    height: 24px;
  }

  /* Services page at smallest phones */
  .service-item {
    padding: 1rem;
    gap: 1rem;
  }

  /* Contact page at smallest phones */
  .contact-form-card {
    padding: 1.125rem;
  }

  .form-group input,
  .form-group select {
    min-height: 44px;
    padding-block: 0.6875rem;
  }

  .form-submit .btn {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }

  .post-cta-inline {
    padding: 1rem 1.125rem;
  }

  .container {
    padding-inline: 1rem;
  }
}

/* =============================================
   Utilities
   ============================================= */
.text-teal  { color: var(--teal); }
.text-navy  { color: var(--navy); }
.text-green { color: var(--green); }
.text-muted { color: var(--gray-text); }
.text-white { color: var(--white); }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

.divider {
  border: none;
  border-top: 1px solid var(--gray-mid);
  margin-block: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
