/* ============================================================
VBAC STYLES
   ============================================================ */
:root{
  --red:         #b12028;
  --red-deep:    #910811;
  --sand:        #f2dab2;
  --sand-light:  #fff7e1;
  --purple:      #3c225e;
  --cream:       #fff7e1;
  --white:       #FFFFFF;
  --ink:         #1B1E24;
  --ink-soft:    #5C6472;
  --hairline:    rgba(22,35,63,.12);

  --font-display: 'Montserrat' sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --font-mono:    'Century Gothic' sans-serif;

  --radius-lg: 5px;
  --radius-md: 5px;
  --shadow-card: 10px 30px 60px -20px rgba(13,23,48,.35);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #525368;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--font-mono);}

:focus-visible{
  outline: 3px solid var(--sand);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   TOP BAR — background color, 3 columns
   ============================================================ */
.topbar{
  background: var(--red-deep);
  color: rgba(255,255,255);
}
.topbar__grid{
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px clamp(20px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 1.0rem;
}
.topbar__left{ text-align: left; }
.topbar__center{ text-align: center; font-weight: 600; color: var(--sand-light); white-space: nowrap; }
.topbar__right{ text-align: right; }
.topbar__right a{ opacity: .9; }
.topbar__right a:hover{ opacity: 1; text-decoration: underline; }

.topsp{
  font-family: var(--font-special);
}

/* ============================================================
   HERO — background image layer + transparent nav on top
   ============================================================ */
.hero{
  position: relative;
  min-height: 680px;
  padding-bottom: 110px; /* room for the card to overlap into */
  overflow: hidden;
}

.hero__bg{
  position:absolute;
  inset:0;
  height: 86vh;
  min-height: 520px;
  z-index: 0;
}
.hero__img{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6; /* <-- controls image transparency, 0 = invisible, 1 = fully opaque */
}

.hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* matches the previous image treatment */
  transition: opacity 1s ease;
}
/* fallback poster: present at all times but invisible by default, so it
   can cross-fade in smoothly — either because video isn't supported/
   autoplay was blocked, or because a "play once" video just finished.
   See hero-video.js, which toggles these two classes on .hero__bg. */
.hero__img--fallback{
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__bg--no-video .hero__video{ opacity: 0; }
.hero__bg--no-video .hero__img--fallback,
.hero__bg--video-ended .hero__img--fallback{
  opacity: 0.6;
}
.hero__bg--video-ended .hero__video{ opacity: 0; }

@media (prefers-reduced-motion: reduce){
  .hero__video{ display: none; }
  .hero__img--fallback{ opacity: 0.6; }
}

/* the "transparent header image" — a red scrim so the image reads
   as part of the page rather than a solid photo, and nav/text stay legible */
.hero__scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(13,23,48,.72) 0%, rgba(13,23,48,.32) 32%, rgba(13,23,48,.15) 55%, rgba(247,244,236,0) 92%),
    linear-gradient(90deg, rgba(13,23,48,.55) 0%, rgba(13,23,48,0) 45%);
  mix-blend-mode: multiply;
}

/* ---------- nav ---------- */
.nav{
  position: relative;
  z-index: 5;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 56px) 0;
  color: var(--white);
}
.nav__brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.nav__mark{
  width: 110px; 
  height: 110px; 
}
.nav__title{ display:flex; flex-direction:column; line-height:1.15; }
.nav__title strong{ font-family: var(--font-display); font-size: 1.4rem; font-weight:600; letter-spacing:.2px; margin-top: -30px;}
.nav__title em{ font-style:normal; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--sand-light); }

.nav__links{
  display:flex;
  align-items:center;
  gap: clamp(14px, 2vw, 28px);
  font-size:.94rem;
  font-weight:500;
}
.nav__links a{ opacity:.92; transition: opacity .2s ease; }
.nav__links a.is-active{ opacity:1; text-decoration: underline; text-underline-offset:4px; }
.nav__links a:hover{ opacity:1; text-decoration: underline; text-underline-offset:4px; }
.nav__cta{
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  font-weight:600;
}
.nav__cta:hover{ background: var(--white); color: var(--red); text-decoration:none; }

.nav__toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  cursor:pointer;
  padding: 6px;
}
.nav__toggle span{ width:24px; height:2px; background: var(--white); border-radius:2px; }

/* ============================================================
   CONTENT CARD — white, layered above the hero image, pulled
   up high so it covers most of the photo; split into 3 columns
   ============================================================ */
.content-card{
  position: relative;
  z-index: 3;
  max-width: 1220px;
  margin: 0 auto;
  margin-top: 130px; /* sits just under the nav, covering most of the bg image */
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-card);
  padding: 48px clamp(20px, 4vw, 56px) 52px;

  /* scroll-triggered reveal: starts lower and fades in, then rises into
     its resting position as it scrolls into view (see script.js) */
  opacity: 0;
  transform: translateY(120px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
  font-size: 1.0rem;
  color: var(--ink-soft);
}

.contentcardtxt{
  font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #525368;
}
.content-card.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .content-card{ opacity:1; transform:none; transition:none; }
}

/* ---------- three-column grid: image | text | facebook feed ---------- */
.content-card__grid{
  display: grid;
  grid-template-columns: 260px minmax(0,1fr) 300px;
  gap: 44px;
  align-items: start;
}
.content-card__col{ min-width: 0; }

/* left column — image */
.content-card__image{
  position: relative;
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  text-align: center; /* centers the capped-width image within wider columns */
}
.content-card__image img{
  /* height: auto lets the browser render the photo at its own true
     495:1098 ratio, so it can never be stretched or cropped. Size is
     controlled purely via max-width below, per breakpoint.
     aspect-ratio is a second, redundant safeguard pinning the same
     ratio directly on the element itself. */
  width: 100%;
  height: auto;
  aspect-ratio: 495 / 1098;
  max-width: 260px;
  display: inline-block;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 44px -22px rgba(22,35,63,.4);
}
.content-card__image-tag{
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(13,23,48,.78);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.content-card .lede{
  font-size: 1.0rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--sand);
  padding-left: 18px;
  margin: 0 0 22px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size:.98rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--purple);
  margin: 0 0 6px;
}

.expect-list{ display:grid; gap:14px; margin-bottom: 28px; }
.expect-list li{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--radius-md);
}
.expect-list__icon{
  font-family: var(--font-mono);
  font-size:.8rem;
  font-weight:600;
  color: var(--white);
  background: var(--purple);
  width: 30px; height:30px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}

.social-row{ display:flex; gap:12px; margin-bottom: 30px; }
.social-row__icon{
  width:40px; height:40px;
  border-radius:50%;
  background: var(--red);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, transform .2s ease;
}
.social-row__icon:hover{ background: var(--purple); transform: translateY(-3px); }

.cta-row{ display:flex; flex-wrap:wrap; gap:14px; }
.btn{
  display:inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight:600;
  font-size:.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--primary{ background: var(--red); color: var(--white); }
.btn--primary:hover{ background: var(--purple); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(22,35,63,.4); }
.btn--ghost{ border: 1.5px solid var(--red); color: var(--red); }
.btn--ghost:hover{ background: var(--red); color: var(--white); transform: translateY(-2px); }

/* ---------- right column — Facebook feed ---------- */
.content-card__fb{
  position: relative;
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
}
.fb-feed{
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fb-feed__header{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:.95rem;
  color: var(--red);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.fb-post{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-bottom:18px;
  border-bottom: 1px solid var(--hairline);
  font-size:.86rem;
}
.fb-post:last-of-type{ border-bottom:0; padding-bottom:0; }
.fb-post__meta{ display:flex; gap:10px; align-items:center; }
.fb-post__avatar{
  width:32px; height:32px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--red), var(--purple));
  flex-shrink:0;
}
.fb-post__meta strong{ display:block; font-size:.84rem; color: var(--red); }
.fb-post__meta time{ font-size:.72rem; color: var(--ink-soft); }
.fb-post p{ margin:0; color: var(--ink); line-height:1.55; }
.fb-post__thumb{
  width:100%; height:120px;
  border-radius:10px;
  background-size:cover;
  background-position:center;
}
.fb-post__stats{ display:flex; gap:14px; font-size:.74rem; color: var(--ink-soft); }
.fb-feed__cta{
  text-align:center;
  padding: 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight:600;
  font-size:.88rem;
  transition: background .2s ease, transform .2s ease;
}
.fb-feed__cta:hover{ background: var(--purple); transform: translateY(-2px); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats{
  background: var(--red-deep);
  color: var(--white);
  padding: 46px 20px;
}
.stats__grid{
  max-width: 1000px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(4,1fr);
  text-align:center;
}
.stat{
  padding: 14px 12px;
  border-right: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  transition: transform .25s ease, background .25s ease;
}
.stat:last-child{ border-right:0; }
.stat:hover{
  transform: translateY(-5px);
  background: rgba(255,255,255,.06);
}
.stat__num{
  display:block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight:600;
  color: var(--sand-light);
  transition: color .25s ease;
}
.stat:hover .stat__num{ color: var(--sand); }
.stat__label{
  display:block;
  margin-top:6px;
  font-size:.82rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: rgba(255,255,255,.75);
}

/* ============================================================
   WE SERVE
   ============================================================ */
.serve{
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 24px 96px;
  text-align:center;
  margin-top:-80px;
}
.serve__eyebrow{
  font-family: var(--font-mono);
  font-size:.8rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--purple);
  margin: 0 0 8px;
}
.serve__heading{
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--red);
  margin-bottom: 48px;
}

/* ---------- Accordion image gallery ---------- */
.accordion-gallery{
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  max-height: 520px;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 26px 55px -25px rgba(22,35,63,.4);

  /* scroll-triggered entrance — see script.js */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.accordion-gallery.is-visible{
  opacity: .8;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .accordion-gallery{ opacity:1; transform:none; transition:none; }
}
.accordion-item{
  position: relative;
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.8s cubic-bezier(.2,.8,.2,1);
}
.accordion-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,23,48,0) 45%, rgba(13,23,48,.8) 100%);
}
.accordion-item:hover,
.accordion-item.is-active{
  flex: 9;
}
@media (prefers-reduced-motion: reduce){
  .accordion-item{ transition: none; }
}

.accordion-item__caption{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  font-weight:500;
}
.accordion-item__title{
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  letter-spacing: .01em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: left;
  text-shadow: 3px 3px 6px black;
}
.accordion-item:hover .accordion-item__title,
.accordion-item.is-active .accordion-item__title{
  writing-mode: horizontal-tb;
  transform: none;
  white-space: normal;
}

/* description paragraph — hidden while collapsed (there's no room for
   it next to vertical text), fades/slides in once the panel expands
   via hover or a click (see newscript.js, which toggles .is-active) */
.accordion-item__desc{
  margin: 8px 0 0;
  max-width: 360px;
  font-size: .85rem;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .35s ease, max-height .35s ease, margin-top .35s ease;
  text-align: left;
}
.accordion-item:hover .accordion-item__desc,
.accordion-item.is-active .accordion-item__desc{
  opacity: 1;
  max-height: 140px;
}
@media (prefers-reduced-motion: reduce){
  .accordion-item__desc{ transition: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background: var(--red-deep);
  color: var(--white);
  padding: 40px 24px 30px;
}
.site-footer__grid{
  max-width: 1160px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: .9fr .9fr 1.2fr .9fr;
  gap: 32px;
}
.site-footer h3{
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--white);
  margin: 0 0 14px;
}
.site-footer a{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.site-footer a:hover{text-decoration:underline;}
.site-footer p{ margin:0; line-height:1.6; font-size:.92rem; }
.site-footer .nav__mark{ margin-bottom:10px; display:inline-block; }

.footer-link__icon{
  flex-shrink:0;
  color: var(--white);
}
.footer-contact-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:14px;
}
.footer-contact-item .footer-link__icon--lg{ margin-top:2px; }
.footer-contact-item a{ margin-bottom:0; display:inline; }

.social-row--footer .social-row__icon{
  background: transparent;
  color: var(--white);
}
.social-row--footer .social-row__icon:hover{ opacity:1; }
.site-footer__legal{
  max-width:1350px;
  margin: 40px auto 0;
  padding-top: 10px;
  border-top: 2px solid var(--white);
  color: var(--white);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .content-card__grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "image fb"
      "text  text";
  }
  .content-card__image{ grid-area: image; position: static; }
  .content-card__image img{ max-width: 220px; }
  .content-card__fb{ grid-area: fb; position: static; }
  .content-card__text{ grid-area: text; margin-top: 8px; }
}

@media (max-width: 860px){
  .site-footer__grid{ grid-template-columns: 1fr 1fr; }
  .content-card__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text"
      "fb";
  }
  .content-card__image img{ max-width: 280px; }
}

@media (max-width: 720px){
  .topbar__grid{ grid-template-columns: 1fr; text-align: center; gap: 4px; padding: 8px 20px; }
  .topbar__left, .topbar__right{ text-align: center; }
  .topbar__center{ white-space: normal; }

  .nav__links{
    position:absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    background: var(--red-deep);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    display:none;
  }
  .nav__links.is-open{ display:flex; }
  .nav__links a{ width:100%; padding: 12px 10px; }
  .nav__cta{ margin-top:6px; text-align:center; }
  .nav__toggle{ display:flex; }

  .content-card{ margin-top: 90px; padding: 36px 20px 32px; }
  .content-card__image img{ max-width: 200px; }

  .stats__grid{ grid-template-columns: repeat(2,1fr); gap: 28px 0; }
  .stat{ border-right:0; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom:16px; }

  .serve{ padding: 60px 20px 72px; }
  .accordion-gallery{
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  .accordion-item{ flex: none; height: 64px; transition: height .5s ease; }
  .accordion-item:hover,
  .accordion-item.is-active{ flex: none; height: 300px; }
  .accordion-item__title{
    writing-mode: horizontal-tb;
    transform: none;
    white-space: normal;
  }
  .accordion-item__caption{ right: 18px; }
  .site-footer__grid{ grid-template-columns: 1fr; }
}