/*
  Leculture Media Marketing — shared stylesheet
  Matches the live leculture.co (Squarespace) site: fonts, colors, pill-shaped
  buttons, bordered form fields, and section layouts observed directly from
  the rendered site (not reproduced from the original written brief).
*/

:root{
  --cream: #FAF5EE;
  --navy: #093658;
  --dark: #2B2B2B;
  --dark-2: #1C1C1C;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-nav: "Space Grotesk", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-height: 84px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; overflow-y: scroll; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

h1{ font-size: clamp(2.4rem, 6vw, 5.5rem); }
h2{ font-size: clamp(1.9rem, 4vw, 3.7rem); }
h3{ font-size: clamp(1.3rem, 2.4vw, 1.9rem); }

p{ margin: 0 0 1em; }

.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* Recurring accent flourish: a short underline beneath the first word of a
   dark heading on a cream background (Trusted By, Recent Projects) */
h2.underline-accent{ color: var(--dark-2); position: relative; display: inline-block; }
h2.underline-accent .accent-word{ position: relative; }
h2.underline-accent .accent-word::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: -0.08em;
  height: 3px; background: var(--navy);
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section{ padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons (pill-shaped, matching the live site) ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.15em 2.3em;
  line-height: 1;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.btn:active{ transform: scale(0.98); }

.btn-primary{ background: var(--cream); color: var(--dark); }
.btn-primary:hover{ background: var(--dark-2); color: var(--cream); }

.btn-outline{ background: transparent; color: var(--cream); border: 2px solid var(--cream); padding: calc(1.15em - 2px) calc(2.3em - 2px); }
.btn-outline:hover{ background: var(--cream); color: var(--dark); }

.btn-navy{ background: var(--navy); color: var(--cream); }
.btn-navy:hover{ background: var(--dark-2); color: var(--cream); }

.btn-dark{ background: var(--dark-2); color: var(--cream); }
.btn-dark:hover{ background: var(--navy); color: var(--cream); }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
}
.site-header .container{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-height);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.header-logo{ justify-self: center; }
.header-logo img{ height: 44px; width: auto; display: block; }

.main-nav{ display: flex; align-items: center; gap: 2rem; justify-self: start; }
.main-nav a{
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
}
.main-nav a:hover{ opacity: 0.75; }

/* Services hover dropdown */
.nav-item{ position: relative; }
.nav-item > a{ display: inline-block; }
.nav-item .dropdown-caret{ display: inline-block; margin-left: 0.3rem; font-size: 0.7em; vertical-align: 0.1em; opacity: 0.75; }
.dropdown-menu{
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: var(--navy);
  border: 1px solid rgba(250,245,238,0.15);
  border-radius: 10px;
  padding: 0.6rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
}
/* Invisible bridge closing the gap between the trigger link and the menu
   below it — without it, moving the mouse straight down through that gap
   exits .nav-item's hover box and the menu closes before you reach it. */
.dropdown-menu::before{
  content: "";
  position: absolute;
  top: -1.1rem;
  left: 0;
  right: 0;
  height: 1.1rem;
  pointer-events: auto;
}
@media (min-width: 901px){
  .nav-item:hover .dropdown-menu,
  .nav-item:focus-within .dropdown-menu{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}
.dropdown-menu a{
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown-menu a:hover{ background: rgba(250,245,238,0.08); opacity: 1; }
.dropdown-group-label{
  padding: 0.5rem 0.9rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,245,238,0.5);
}
.dropdown-divider{ height: 1px; background: rgba(250,245,238,0.12); margin: 0.4rem 0.4rem; }
@media (max-width: 900px){
  .nav-item{ display: flex; flex-direction: column; align-items: center; }
  .dropdown-menu{
    position: static;
    transform: none;
    opacity: 1;
    max-height: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    align-items: center;
    padding: 0 0 0;
    gap: 0.15rem;
    transition: max-height .25s ease;
  }
  .nav-item.has-dropdown.is-open .dropdown-menu{
    max-height: 800px;
    padding: 0.5rem 0 0;
    pointer-events: auto;
  }
  .dropdown-menu a{ font-size: 0.95rem; padding: 0.35rem 0.9rem; white-space: normal; text-align: center; max-width: 90%; }
  .dropdown-menu::before{ pointer-events: none; }
  .dropdown-group-label{ text-align: center; color: rgba(250,245,238,0.55); }
  .dropdown-divider{ display: none; }
  .nav-item.has-dropdown .dropdown-caret{ transition: transform .2s ease; }
  .nav-item.has-dropdown.is-open .dropdown-caret{ transform: rotate(180deg); }
}

.header-social{ display: flex; align-items: center; gap: 1.1rem; justify-self: end; }
.header-social a{ color: var(--cream); display: flex; }
.header-social svg{ width: 18px; height: 18px; fill: currentColor; }
.header-social a:hover{ opacity: 0.75; }

.nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 22px; position: relative;
  padding: 0;
  justify-self: start;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--cream); transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span{ top: 50%; transform: translateY(-50%); }
.nav-toggle span::before{ top: -8px; }
.nav-toggle span::after{ top: 8px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after{ top: 0; transform: rotate(-45deg); }

@media (max-width: 900px){
  .site-header .container{ grid-template-columns: auto 1fr auto; }
  .main-nav{
    position: fixed;
    top: var(--nav-height); left: 0; right: 0; bottom: 0;
    width: 100%;
    justify-self: stretch;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0 3rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .main-nav.is-open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a{ font-size: 1.3rem; text-align: center; }
  .nav-toggle{ display: block; }
  .header-social svg{ width: 16px; height: 16px; }
  .header-social{ gap: 0.8rem; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: var(--dark);
  overflow: hidden;
  padding-top: var(--nav-height);
  text-align: center;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media::after{ content: ""; position: absolute; inset: 0; background: rgba(20,20,20,0.28); }
.hero-content{ position: relative; z-index: 1; max-width: 980px; min-width: 0; padding: 3rem var(--gutter); }
.hero-content h1{ color: var(--cream); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2.2rem; }
@media (min-width: 600px){
  .hero-cta{ flex-wrap: nowrap; }
}
/* Hero buttons only: the live site sizes/rounds these differently (6.4px radius,
   16px text) than every other pill CTA on the site. Below ~1024px it uses a
   fixed 223.5x51.5px box (tablet/mobile layout); above that the box scales
   fluidly with viewport width — measured directly off the live site at
   1200/1600/1920px and fit to width = 0.23vw - 12px, height = 0.0395vw + 11px. */
.hero-cta .btn{
  border-radius: 6.4px;
  height: 3.22rem;
  min-width: 14rem;
  padding: 0 2rem;
  font-size: 1rem;
  letter-spacing: normal;
}
@media (min-width: 1024px){
  .hero-cta{ gap: 0.7rem; }
  .hero-cta .btn{
    width: clamp(14rem, calc(23vw - 12px), 30rem);
    height: clamp(3.2rem, calc(3.95vw + 11px), 6.1rem);
    min-width: 0;
  }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{ background: var(--dark); color: var(--cream); padding: calc(var(--nav-height) + 2.5rem) 0 0; text-align: center; }

/* ---------- Free Brand Audit ---------- */
.audit-section{ background: var(--navy); color: var(--cream); }
.audit-section.on-cream{ background: var(--cream); color: var(--dark); }
.audit-layout{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.audit-copy{ text-align: center; }
.audit-copy h2{ color: var(--cream); }
.audit-copy p{ color: rgba(250,245,238,0.92); }
.audit-section.on-cream .audit-copy h2{ color: var(--navy); }
.audit-section.on-cream .audit-copy p{ color: var(--dark); }
.audit-section.on-cream .audit-form{ background: var(--navy); color: var(--cream); }
.audit-section.on-cream .audit-form .form-field label{ color: var(--cream); }
.audit-section.on-cream .audit-form input,
.audit-section.on-cream .audit-form textarea{ background: rgba(250,245,238,0.08); border-color: rgba(250,245,238,0.4); color: var(--cream); }
.audit-section.on-cream .audit-note{ color: rgba(250,245,238,0.75); }
.audit-copy u, .audit-copy .u{ text-decoration: underline; }
.audit-checklist{ list-style: none; margin: 1.5rem 0 0; padding: 0; }
.audit-checklist li{ margin-bottom: 0.7rem; font-weight: 500; text-align: center; }
.audit-form{ background: var(--cream); border-radius: 14px; padding: clamp(1.6rem, 4vw, 2.4rem); color: var(--dark); }
.audit-form button{ width: 100%; margin-top: 0.5rem; }
.audit-note{ font-size: 0.82rem; color: var(--navy); margin-top: 1.5rem; text-align: center; }
@media (max-width: 860px){ .audit-layout{ grid-template-columns: 1fr; } }

/* ---------- Form fields (bordered box style, matching the live site) ---------- */
.form-field{ margin-bottom: 1.1rem; }
.form-field label{
  display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.4rem; font-family: var(--font-body);
}
.form-field label .req{ font-weight: 400; opacity: 0.65; text-transform: none; font-size: 0.75rem; }
.form-field input, .form-field textarea{
  width: 100%;
  background: var(--cream);
  border: 1px solid rgba(9,54,88,0.4);
  border-radius: 4px;
  padding: 0.6em 0.8em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus{ outline: none; border-color: var(--navy); }
.form-field textarea::placeholder{ color: rgba(43,43,43,0.5); }

.checkbox-grid{ display: flex; flex-direction: column; gap: 0.5rem; }
.checkbox-pill{ display: flex; align-items: center; gap: 0.6em; font-size: 0.78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; }
.checkbox-pill input{ width: 15px; height: 15px; accent-color: var(--navy); }

.form-status{ margin-top: 1rem; font-size: 0.9rem; display: none; }
.form-status.is-success{ display: block; color: #1c5c34; }
.form-status.is-error{ display: block; color: #8a2c2c; }

/* ---------- Who We Are ---------- */
.who-section{ background: var(--cream); text-align: center; }
.who-section h2{ color: var(--navy); }
.who-section .who-copy{ max-width: 780px; margin: 0 auto; font-size: 1.05rem; color: var(--dark); }
.who-section .who-copy a{ text-decoration: underline; }
.who-section .btn{ margin-top: 2rem; }

/* ---------- Carousel (auto-drifting, seamlessly looping photo marquee) ---------- */
.carousel-wrap{ position: relative; margin-top: 3rem; overflow: hidden; }
.carousel-wrap.full-bleed{ width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.carousel-wrap + .carousel-wrap{ margin-top: 1rem; }
.carousel{
  display: flex; gap: 0.5rem; width: max-content; will-change: transform;
}
.carousel img{ height: 340px; width: auto; max-width: none; flex: 0 0 auto; object-fit: cover; border-radius: 10px; }
.carousel a{ display: flex; flex: 0 0 auto; }
.carousel-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--cream); color: var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15); z-index: 5;
}
.carousel-arrow.prev{ left: clamp(1rem, 4vw, 3.5rem); }
.carousel-arrow.next{ right: clamp(1rem, 4vw, 3.5rem); }

/* Thin single-row logo marquee variant (Trusted By strips) */
.logo-marquee{ margin-top: 2rem; padding: 0.5rem 0; }
.logo-marquee .carousel{ align-items: center; gap: 3rem; }
.logo-marquee .carousel img{
  height: 56px;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
}

/* ---------- Services teaser / Ready to grow ---------- */
.section-navy{ background: var(--navy); color: var(--cream); text-align: center; }
.section-navy h2{ color: var(--cream); }
.section-navy p{ color: rgba(250,245,238,0.88); }

.cta-band{ text-align: center; }
.cta-band .eyebrow{ color: rgba(250,245,238,0.85); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.cta-band p.lede{ max-width: 600px; margin: 0 auto 2.25rem; }
.cta-band .fine-print{ margin-top: 1rem; font-size: 0.85rem; opacity: 0.85; }

/* Inverted variant: background matches the page (cream) instead of navy,
   text/button flip accordingly so it still has contrast. Used on the
   portfolio page and its client pages. */
.cta-band.cta-band-light{ background: var(--cream); color: var(--dark); }
.cta-band.cta-band-light h2{ color: var(--navy); }
.cta-band.cta-band-light p{ color: var(--dark); }
.cta-band.cta-band-light .eyebrow{ color: var(--navy); opacity: 0.8; }
.cta-band.cta-band-light .btn-primary{ background: var(--navy); color: var(--cream); }
.cta-band.cta-band-light .btn-primary:hover{ background: var(--dark-2); color: var(--cream); }

/* ---------- Trip blog sections (e.g. Tampa Winter '26) ---------- */
.blog-section{ background: var(--cream); padding: clamp(3rem, 6vw, 5rem) 0; }
.blog-section.blog-section-dark{ background: var(--navy); }
.blog-layout{ display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; text-align: left; }
.blog-layout.blog-layout-reverse{ grid-template-columns: 1fr 1.1fr; }
.blog-layout.blog-layout-reverse .blog-copy{ order: 2; }
.blog-layout.blog-layout-reverse .blog-media{ order: 1; }
.blog-copy h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); border-bottom: 3px solid var(--navy); display: inline-block; padding-bottom: 0.3rem; margin-bottom: 1.25rem; }
.blog-copy p{ margin-bottom: 1rem; line-height: 1.75; color: var(--dark); }
.blog-copy p:last-child{ margin-bottom: 0; }
.blog-copy a{ color: var(--navy); text-decoration: underline; }
.blog-section-dark .blog-copy h2{ color: var(--cream); border-bottom-color: var(--cream); }
.blog-section-dark .blog-copy p{ color: rgba(250,245,238,0.88); }
.blog-section-dark .blog-copy a{ color: var(--cream); }
.blog-media img{ width: 100%; border-radius: 10px; }
@media (max-width: 860px){
  .blog-layout, .blog-layout.blog-layout-reverse{ grid-template-columns: 1fr; }
  .blog-layout.blog-layout-reverse .blog-copy{ order: 1; }
  .blog-layout.blog-layout-reverse .blog-media{ order: 2; }
}

/* ---------- Trusted by ---------- */
.trusted-section{ background: var(--cream); text-align: center; }
/* Breaks out of the shared .container's max-width/padding so the logos span
   the full viewport width edge to edge, instead of sitting in a narrow
   centered column. */
.logo-strip{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem 1.5rem;
  align-items: center;
  margin-top: 3rem; margin-bottom: 2rem;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 0 var(--gutter);
}
/* Fixed box + contain so every logo occupies the same visual footprint —
   without this, wide logos (Surface Armor, EDS, EDR) shrink to a sliver
   next to square ones instead of reading as the same size. */
.logo-strip img{ width: 100%; height: 130px; object-fit: contain; }
/* 16 logos in a 5-column grid leaves the last one alone on its own row,
   left-aligned by default grid auto-placement — center it under the middle column. */
.logo-strip > a:last-child{ grid-column: 3; }
@media (max-width: 900px){
  .logo-strip{ grid-template-columns: repeat(3, 1fr); }
  .logo-strip > a:last-child{ grid-column: 2; }
}
@media (max-width: 560px){ .logo-strip{ grid-template-columns: repeat(2, 1fr); } }

/* ---------- Card grid (Recent Projects + Portfolio page) ---------- */
.projects-section, .portfolio-section{ background: var(--cream); }
.projects-section .section-head, .portfolio-section .section-head{ text-align: center; margin-bottom: 2.5rem; }

/* Portfolio page: sidebar client index, styled after the header's services
   dropdown (navy pill list) but sitting on the page instead of a hover menu. */
.portfolio-layout{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}
.portfolio-sidebar{
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  background: var(--navy);
  border-radius: 14px;
  padding: 1rem 0.6rem;
  max-height: calc(100vh - var(--nav-height) - 3rem);
  overflow-y: auto;
}
.portfolio-sidebar-title{
  margin: 0;
  padding: 0.4rem 0.9rem 0.7rem;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,245,238,0.5);
}
.portfolio-sidebar-list{ display: flex; flex-direction: column; }
.portfolio-sidebar-list a{
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portfolio-sidebar-list a:hover{ background: rgba(250,245,238,0.08); }

@media (max-width: 900px){
  .portfolio-layout{ grid-template-columns: 1fr; }
  .portfolio-sidebar{
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 0.5rem;
  }
  .portfolio-sidebar-list{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem;
  }
  .portfolio-sidebar-list a{ white-space: nowrap; }
}

.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
/* Recent Projects: 5 cards, wider than the shared container cap so each
   card ends up bigger than the old 3-card version, not smaller. */
.projects-section .container{ max-width: 1600px; }
.card-grid.card-grid-narrow{ grid-template-columns: repeat(5, 1fr); max-width: 100%; margin: 0 auto; }
.work-item{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  cursor: pointer;
}
.work-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-item:hover img{ transform: scale(1.05); }

@media (max-width: 900px){ .card-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .card-grid{ grid-template-columns: 1fr; } }

.view-all{ text-align: center; margin-top: 2.5rem; }

/* play badge for video tiles */
.work-item[data-video] .play-badge{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.work-item[data-video] .play-badge > span{
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(250,245,238,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.work-item[data-video]:hover .play-badge > span{ transform: scale(1.08); }
.work-item[data-video] .play-badge > span::after{
  content: ""; width: 0; height: 0;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  border-left: 18px solid var(--navy); margin-left: 4px;
}

/* ---------- Stay in the loop (2-col, dark) ---------- */
.social-section{ background: var(--dark-2); color: var(--cream); }
.social-layout{ display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.social-copy h2{ color: var(--cream); }
.social-copy p{ color: rgba(250,245,238,0.85); }
.social-images{ display: flex; gap: 0.5rem; }
.social-images img{ flex: 1; height: 320px; object-fit: cover; border-radius: 10px; }
@media (max-width: 860px){
  .social-layout{ grid-template-columns: 1fr; }
  .social-copy{ text-align: center; }
  .social-images{ flex-wrap: wrap; }
  .social-images img{ height: 220px; flex: 1 1 45%; }
}

/* ---------- Contact form (homepage) ---------- */
.contact-section{ background: var(--cream); }
.contact-section h2{ color: var(--navy); text-align: center; }
.contact-form{ max-width: 920px; margin: 2.5rem auto 0; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
@media (max-width: 600px){ .form-row{ grid-template-columns: 1fr; } }

/* ---------- Contact info blocks (contact.html) ---------- */
.contact-hero-layout{ display: grid; grid-template-columns: 1.3fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; text-align: left; }
.contact-hero-layout .cta-copy{ text-align: left; }
.contact-hero-layout .cta-copy p.lede{ margin: 0 0 2.25rem; }
.contact-card{
  background: rgba(250,245,238,0.08);
  border: 1px solid rgba(250,245,238,0.25);
  border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 2.2rem);
}
.contact-card .item{ margin-bottom: 1.6rem; }
.contact-card .item:last-child{ margin-bottom: 0; }
.contact-card .eyebrow{ display: block; color: rgba(250,245,238,0.7); }
.contact-card .value{ font-family: var(--font-nav); font-weight: 600; font-size: 1.3rem; }
@media (max-width: 860px){
  .contact-hero-layout{ grid-template-columns: 1fr; text-align: center; }
  .contact-hero-layout .cta-copy{ text-align: center; }
}

/* ---------- Footer (wavy top edge, 3-column) ---------- */
.footer-wave{ display: block; width: 100%; height: auto; margin-bottom: -1px; }
.footer-wave path{ fill: var(--navy); }
.site-footer{ background: var(--navy); color: var(--cream); padding: 2.5rem 0; }
.site-footer .container{ max-width: 1500px; }
.footer-grid{ display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.footer-contact{ display: flex; align-items: center; text-align: left; font-size: 0.95rem; }
.footer-contact-info a, .footer-contact-info span{ display: block; }
.footer-logo-col img{ height: 40px; width: auto; }
.footer-social-links{ font-size: 0.95rem; }
.footer-social-links a{ display: block; text-decoration: underline; margin-bottom: 0.3rem; }
@media (max-width: 700px){
  .footer-grid{ flex-direction: column; text-align: center; }
  .footer-contact{ flex-direction: column; }
  .footer-contact, .footer-social-links{ text-align: center; }
}

/* Small "free brand audit" signup tucked into the footer, every page */
.footer-audit{
  background: var(--cream);
  color: var(--dark);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  width: 260px;
  flex-shrink: 0;
}
.footer-audit p{ margin: 0 0 0.7rem; font-size: 0.8rem; font-weight: 600; color: var(--dark-2); }
.footer-audit-form{ display: flex; flex-direction: column; gap: 0.5rem; }
.footer-audit-form input{
  width: 100%;
  border: 1px solid rgba(9,54,88,0.25);
  border-radius: 4px;
  padding: 0.5em 0.7em;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--dark);
  background: #fff;
}
.footer-audit-form input:focus{ outline: none; border-color: var(--navy); }
.footer-audit-form button{ width: 100%; padding: 0.7em 1em; font-size: 0.78rem; }
.footer-audit-form .form-status{ font-size: 0.75rem; margin-top: 0.3rem; }

/* ---------- Lightbox (used for video tiles only) ---------- */
.lightbox{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,20,20,0.96);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open{ display: flex; }
.lightbox-close{
  position: absolute; top: 1.8rem; right: 2rem;
  background: transparent; border: none; color: var(--cream); cursor: pointer;
  font-size: 2rem; line-height: 1;
}

/* ---------- misc ---------- */
.visually-hidden{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.section-head{ max-width: 720px; margin: 0 auto 2.5rem; }

/* ---------- Services: pillar breakdown ---------- */
.pillars{ display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 4.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pillar{ border-top: 1px solid rgba(9,54,88,0.15); padding-top: clamp(2rem, 4vw, 2.75rem); }
.pillar-head{ text-align: center; margin: 0 auto clamp(1.75rem, 4vw, 2.5rem); }
.pillar-num{ font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); color: rgba(9,54,88,0.18); line-height: 1; }
.pillar-head h3{ color: var(--navy); margin-bottom: 0.4rem; }
.pillar-tagline{ font-weight: 600; color: var(--dark); margin: 0; }
.pillar-intro{ color: var(--dark); opacity: 0.85; max-width: 640px; margin: 0.75rem auto 0; }
.service-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2rem; text-align: center; }
.service-num{ display: block; font-family: var(--font-display); font-size: 1.4rem; color: rgba(9,54,88,0.3); margin-bottom: 0.5rem; }
.service-item h4{ font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--dark-2); margin-bottom: 0.4rem; }
.service-item h4 a:hover{ text-decoration: underline; }
.service-item p{ font-size: 0.95rem; line-height: 1.65; color: var(--dark); opacity: 0.85; margin: 0; }
.service-item p strong{ display: block; color: var(--navy); opacity: 1; margin-bottom: 0.35rem; }
.pillar-note{ margin-top: clamp(2rem, 4vw, 2.75rem); padding: 1.25rem 1.5rem; background: rgba(9,54,88,0.05); border-radius: 10px; font-size: 0.95rem; text-align: center; }
.pillar-note p{ margin: 0; }
.pillar-note a{ color: var(--navy); font-weight: 600; }

/* Converging arrows: 4 pillar cards funnel into one arrow pointing into the
   next section's heading (e.g. What's Included -> Is This For You). */
.pillars-connector{ max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.pillars-connector svg{ display: block; width: 100%; height: 115px; }
.pillars-connector-line{ fill: none; stroke: var(--dark-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px){
  .pillars-connector svg{ height: 72px; }
}

/* ---------- Service detail pages ---------- */
.service-breadcrumb{ padding: clamp(1.5rem, 3vw, 2rem) 0 0; text-align: center; }
.service-breadcrumb a{ font-size: 0.85rem; font-weight: 600; color: var(--navy); opacity: 0.75; }
.service-breadcrumb a:hover{ opacity: 1; text-decoration: underline; }
.service-lede{ font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; color: var(--navy); max-width: 640px; margin: 0.75rem auto 1rem; }
.service-prose{ max-width: 760px; margin: 0 auto; text-align: center; }
.service-prose p{ margin-bottom: 1.1rem; line-height: 1.75; color: var(--dark); }
.service-prose p:last-child{ margin-bottom: 0; }
.fit-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin: 0 auto; max-width: 980px; }
.fit-card{ background: var(--cream); border: 1px solid rgba(9,54,88,0.15); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2rem); }
.fit-card h3{ font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; text-align: center; }
.fit-card.not h3{ color: var(--dark-2); }
.fit-list{ list-style: none; margin: 0; padding: 0; }
.fit-list li{ position: relative; padding-left: 1.9rem; margin-bottom: 0.85rem; text-align: left; font-size: 0.95rem; line-height: 1.6; color: var(--dark); }
.fit-list li:last-child{ margin-bottom: 0; }
.fit-list li::before{ content: "\2713"; position: absolute; left: 0; top: 0; color: var(--navy); font-weight: 700; }
.fit-card.not .fit-list li::before{ content: "\2715"; color: rgba(43,43,43,0.4); }
@media (max-width: 700px){
  .fit-grid{ grid-template-columns: 1fr; }
}

/* ---------- Client case-study pages ---------- */
.client-gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding-top: var(--nav-height);
}
.client-gallery img{
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1;
  cursor: pointer;
}
@media (max-width: 900px){ .client-gallery{ grid-template-columns: repeat(2, 1fr); } }

/* Large side-by-side social feed screenshots (social-media-management.html) */
.social-proof-section{ background: var(--cream); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.social-proof-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.social-proof-grid.full-bleed{ width: 100vw; position: relative; left: 50%; margin-left: -50vw; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.social-proof-item{ display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.social-proof-label{
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  border: 1px solid rgba(9,54,88,0.25);
  border-radius: 20px;
  padding: 0.5rem 1.25rem;
  transition: background-color .2s ease, color .2s ease;
}
.social-proof-label:hover{ background: var(--navy); color: var(--cream); }
.social-proof-image-link{ display: block; width: 100%; border-radius: 14px; box-shadow: 0 12px 32px rgba(9,54,88,0.15); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.social-proof-image-link:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px rgba(9,54,88,0.22); }
.social-proof-item img{ width: 100%; height: auto; display: block; }
@media (max-width: 860px){ .social-proof-grid{ grid-template-columns: 1fr; } }

/* Sponsor/team logos on the Sports page are a small row of link-buttons
   above the photo grid, not tiles within it — matches the live site's
   ~150px logo size (a separate, smaller layout from the photo tiles). */
.sports-logos{ display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(3.5rem, 7vw, 5rem) var(--gutter) clamp(3rem, 6vw, 4.5rem); background: var(--cream); }
.sports-logos img{ width: 130px; height: 130px; object-fit: contain; }
@media (max-width: 600px){ .sports-logos img{ width: 90px; height: 90px; } }
.sports-logos + .client-gallery{ padding-top: 0; }

.client-info{ background: var(--cream); text-align: center; }
.client-info h1{ color: var(--navy); font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.client-info p{ max-width: 760px; margin: 0 auto 1.5rem; font-size: 1.05rem; }
.client-info .btn{ margin-top: 0.5rem; }

/* Description sits next to the accompanying photo/video, matching the live
   site — stacks to a single centered column on narrow screens. */
.client-info-layout{ display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; text-align: center; }
.client-info-media img{ width: 100%; border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; }
.client-info-media .ratio-9-16{ position: relative; width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; }
.client-info-media .ratio-9-16 iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.client-info-media .ratio-16-9{ position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; }
.client-info-media .ratio-16-9 iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Two videos for one client sit side by side instead of stacked. */
.client-info-media-row{ display: flex; gap: 0.75rem; }
.client-info-media-row .ratio-9-16{ flex: 1; max-width: none; margin: 0; }
@media (max-width: 560px){ .client-info-media-row{ flex-direction: column; } }
.client-info-extra-video{ max-width: 320px; margin: 2rem auto 0; }

/* Standalone video with no accompanying text (e.g. the Real Estate page). */
.standalone-video{ max-width: 640px; margin: 0 auto; }
@media (max-width: 900px){
  .client-info-layout{ grid-template-columns: 1fr; text-align: center; }
  .client-info-layout .client-info-copy p{ margin-left: auto; margin-right: auto; }
}

.client-placeholder{ background: var(--dark); color: var(--cream); text-align: center; padding-top: calc(var(--nav-height) + 4rem); }
.client-placeholder h2{ color: var(--cream); }

/* Lightbox image mode, reused on client pages */
.lightbox-img{ max-width: 100%; max-height: 84vh; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); display: none; }

/* Before/after comparison slider: one composite rectangle made of the 3
   before photos side by side, overlaid by the 3 after photos side by side,
   revealed by a single handle dragged across the whole width. */
.before-after-section{ padding: 2.5rem 0 0.5rem; }
.ba-composite{
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  aspect-ratio: 2 / 1;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  background: var(--navy);
}
.ba-after, .ba-before, .ba-after-mask{ position: absolute; inset: 0; }
.ba-before{
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.ba-after-mask{
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
  pointer-events: none;
}
.ba-columns{ display: flex; width: 100%; height: 100%; }
.ba-col{
  flex: 1 1 33.3333%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}
.ba-col img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-handle{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  pointer-events: none;
  z-index: 3;
}
.ba-handle::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.45);
}
.ba-handle::after{
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 44px;
  text-align: center;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.ba-caption{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  width: 30%;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
  border-radius: 22px;
  background: rgba(9,54,88,0.72);
  pointer-events: none;
  text-align: center;
}
.ba-caption-before{ left: 16.6667%; }
.ba-caption-after{ left: 83.3333%; }
.ba-label{
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ba-checklist{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.4vw, 1.1rem);
  width: 100%;
}
.ba-checklist li{
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: #fff;
  font-size: clamp(0.9rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
}
.ba-checklist li::before{
  content: '\2715';
  color: #ff9b9b;
  font-weight: 700;
  font-size: 0.85em;
}
.ba-checklist.is-positive li::before{ content: '\2713'; color: #8bf5b4; }

/* Sitemap example diagram (website-design-development.html) */
.sitemap-section{ background: var(--cream); }
.sitemap-scroll{ width: 100vw; position: relative; left: 50%; margin-left: -50vw; margin-top: 3rem; overflow-x: auto; padding: 0 clamp(1rem, 3vw, 2.5rem); }
.sitemap-diagram{ display: block; width: 100%; min-width: 1300px; height: auto; }
.sm-line line{ stroke: rgba(9,54,88,0.3); stroke-width: 1.5; }
.sm-external-line path{ fill: none; stroke: var(--navy); stroke-width: 1.25; opacity: 0.3; }
.sitemap-diagram a{ cursor: pointer; }
.sitemap-diagram a:hover rect{ filter: brightness(1.2); }
.sm-node rect{ fill: var(--navy); stroke: none; }
.sm-node text{
  fill: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-anchor: middle;
  dominant-baseline: middle;
}
.sm-category rect{ fill: #45667E; }
.sm-leaf rect{ fill: #758C9C; }
.sm-hidden rect{ fill: #758C9C; stroke: #093658; stroke-width: 1.5; }
.sm-current rect{ fill: var(--navy); stroke: var(--dark-2); stroke-width: 2; }
.sm-current text{ font-weight: 700; }
.sm-external rect{ fill: #95A5AF; }
.sm-external text{ fill: var(--cream); }
.sm-terminal text{ font-size: 12px; }
.sm-terminal rect{ fill: var(--navy); }
.sm-terminal-alt rect{ fill: var(--dark-2); }
.sm-client-node rect{ fill: #9AA9B2; }
.sm-client-node text{ font-size: 7.5px; font-weight: 500; }
.sitemap-zoom-btn{ display: none; }
@media (max-width: 900px){
  /* Below the desktop breakpoint the diagram shrinks to fit the screen width
     (no horizontal scrolling to read it) instead of staying pinned at its
     full 1300px drawing size; a "View larger" button opens that full-size
     version in a dedicated lightbox for anyone who wants a closer look. */
  .sitemap-scroll{ overflow-x: visible; padding: 0 var(--gutter); }
  .sitemap-diagram{ min-width: 0; }
  .sitemap-zoom-btn{
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    margin: 1.25rem auto 0;
    padding: 0.6em 1.3em;
    border: 1px solid rgba(9,54,88,0.3);
    border-radius: 999px;
    background: var(--cream);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
  }
}
.sitemap-lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(9,54,88,0.92);
  padding: 3rem 1rem 1.5rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.sitemap-lightbox.is-open{ display: block; }
.sitemap-lightbox-inner{ min-width: 1300px; width: 1300px; margin: 0 auto; }
.sitemap-lightbox-inner svg{ display: block; width: 100%; height: auto; }
.sitemap-lightbox-close{
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 301;
  width: 2.6rem;
  height: 2.6rem;
  border: none;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
