/*
  Ensign Creative Studio — shared stylesheet
  Ensign brand: Ink / Harbor / Signal / Pennant / Chalk, Inter Black + Instrument Sans. Pill-shaped
  buttons, bordered form fields, and section layouts observed directly from
  the rendered site (not reproduced from the original written brief).
*/

:root{
  --cream: #EFF1ED;
  --navy: #12161A;
  --dark: #181D22;
  --dark-2: #0E1215;

  --font-display: "Inter", "Arial Black", sans-serif;
  --font-nav: "Inter", "Arial Black", sans-serif;
  --font-body: "Instrument Sans", -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: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  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 .5s cubic-bezier(.2,.6,.2,1), transform .5s 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: #FF4B1F; color: #12161A; }
.btn-primary:hover{ background: #EFF1ED; color: #12161A; }

.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: 900;
  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(239,241,237,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(239,241,237,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(239,241,237,0.5);
}
.dropdown-divider{ height: 1px; background: rgba(239,241,237,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(239,241,237,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(239,241,237,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(239,241,237,0.08); border-color: rgba(239,241,237,0.4); color: var(--cream); }
.audit-section.on-cream .audit-note{ color: rgba(239,241,237,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(18,22,26,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: 1080px; margin: 0 auto;
  font-size: clamp(1.4rem, 2.7vw, 2.45rem); font-weight: 500; line-height: 1.38; letter-spacing: -0.012em;
  color: var(--dark-2); text-wrap: balance;
}
.who-section .who-copy strong{ font-weight: 700; color: var(--navy); }
.who-section .who-copy a{ text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; }
.who-section h2{ margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.who-section .btn{ margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- 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(239,241,237,0.88); }

.cta-band{ text-align: center; }
.cta-band .eyebrow{ color: rgba(239,241,237,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: #EFF1ED; color: #12161A; }

/* ---------- 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(239,241,237,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: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 1.5rem;
  margin-top: 3rem; margin-bottom: 2rem;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 0 var(--gutter);
}
/* Flex (not grid) so a partial last row centers itself automatically as new
   client logos are added, instead of needing hand-tuned :nth-child math. */
.logo-strip > a{ flex: 0 0 calc((100% - 6rem) / 5); max-width: calc((100% - 6rem) / 5); }
/* 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; }
@media (max-width: 900px){
  .logo-strip > a{ flex-basis: calc((100% - 3rem) / 3); max-width: calc((100% - 3rem) / 3); }
}
@media (max-width: 560px){
  .logo-strip > a{ flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
}

/* ---------- 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: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239,241,237,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(239,241,237,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(239,241,237,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(239,241,237,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(239,241,237,0.08);
  border: 1px solid rgba(239,241,237,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(239,241,237,0.7); }
.contact-card .value{ font-family: var(--font-nav); font-weight: 900; 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(18,22,26,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(18,22,26,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(18,22,26,0.18); line-height: 1; font-weight: 900; }
.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(18,22,26,0.3); margin-bottom: 0.5rem; font-weight: 900; }
.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(18,22,26,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(18,22,26,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: 900;
  font-size: 0.95rem;
  color: var(--navy);
  border: 1px solid rgba(18,22,26,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(18,22,26,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(18,22,26,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(18,22,26,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: 900;
  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(18,22,26,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: #4C5A60; }
.sm-leaf rect{ fill: #7B898E; }
.sm-hidden rect{ fill: #7B898E; stroke: #12161A; 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: #98A3A6; }
.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: #98A3A6; }
.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(18,22,26,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(18,22,26,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;
}

/* ---------- Custom integrations: live configurator demo + website build clients ---------- */
.integrations-section .lede{ max-width: 760px; margin: 0 auto; }
.integration-demo{ max-width: 1180px; margin: 2.5rem auto 0; background: #fff; border: 1px solid #D5DAD3; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(18,22,26,.35); }
.integration-demo-label{ padding: .85rem 1.25rem; font-size: .9rem; color: var(--dark); border-bottom: 1px solid #D5DAD3; background: var(--cream); }
.integration-demo-label span{ display: inline-block; margin-right: .6rem; padding: .2rem .6rem; border-radius: 999px; background: var(--navy); color: var(--cream); font-family: var(--font-nav); font-size: .75rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.integration-embed{ min-height: 600px; }
.integration-embed iframe{ display: block; }
.first-client-section{ padding-top: 0; }
.client-build-card{ display: grid; grid-template-columns: 1.15fr 1fr; max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid #D5DAD3; border-radius: 18px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.client-build-card:hover{ transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(18,22,26,.45); }
.client-build-media{ position: relative; min-height: 280px; background: #111; }
.client-build-media > img:first-child{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.client-build-media::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.7)); }
.client-build-logo{ position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: min(62%, 300px); z-index: 1; filter: drop-shadow(0 4px 12px rgba(0,0,0,.6)); }
.client-build-body{ padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; text-align: left; }
.client-build-meta{ font-family: var(--font-nav); font-weight: 900; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: .6rem; }
.client-build-body h3{ margin-bottom: .6em; }
.client-build-link{ margin-top: .5rem; font-weight: 700; color: var(--navy); }
@media (max-width: 760px){
  .client-build-card{ grid-template-columns: 1fr; }
  .client-build-media{ min-height: 220px; }
  .integration-demo{ border-radius: 14px; }
}

/* ---------- Home: Our Services accordion ---------- */
.services-home-section .section-head{ text-align: center; margin-bottom: 2rem; }
.services-home-section h2.underline-accent{ color: var(--cream); }
.services-home-section h2.underline-accent .accent-word::after{ background: var(--cream); }
.services-accordion{ max-width: 1040px; margin: 0 auto; text-align: left; }
.service-drop{ border: 1px solid rgba(239,241,237,.22); border-radius: 14px; background: rgba(239,241,237,.04); margin-bottom: .75rem; transition: background .2s ease, border-color .2s ease; }
.service-drop[open]{ background: var(--cream); border-color: var(--cream); color: var(--dark); }
.service-drop summary{ list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--cream); font-weight: 900; }
.service-drop[open] summary{ color: var(--navy); }
.service-drop summary::-webkit-details-marker{ display: none; }
.service-drop summary:focus-visible{ outline: 2px solid var(--cream); outline-offset: 2px; border-radius: 14px; }
.service-drop-icon{ position: relative; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--cream); }
.service-drop[open] .service-drop-icon{ background: var(--navy); }
.service-drop-icon::before, .service-drop-icon::after{ content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s ease; }
.service-drop[open] .service-drop-icon::before, .service-drop[open] .service-drop-icon::after{ background: var(--cream); }
.service-drop-icon::after{ transform: translate(-50%, -50%) rotate(90deg); }
.service-drop[open] .service-drop-icon::after{ transform: translate(-50%, -50%) rotate(0deg); }
.service-drop-body{ display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; padding: 0 1.4rem 1.4rem; }
.services-home-section .service-drop-text p{ margin-bottom: .8em; color: var(--dark); max-width: none; }
.services-home-section .service-drop-lede{ font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.15; color: var(--navy); font-weight: 900; }
.service-drop-link{ display: inline-block; margin-top: .3rem; font-weight: 700; color: var(--navy); }
.service-drop-link:hover{ text-decoration: underline; }
.service-drop-media{ margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark-2); }
.service-drop-media img{ width: 100%; height: 100%; object-fit: cover; }
.service-drop-media figcaption{ position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(18,22,26,.9); color: var(--cream); font-family: var(--font-nav); font-weight: 900; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.services-home-section .view-all{ text-align: center; margin-top: 2rem; }
@media (max-width: 760px){
  .service-drop-body{ grid-template-columns: 1fr; }
  .service-drop-media{ order: -1; }
}

/* ---------- Case study: Vinyl Drip website build (vinyldrip.html) ---------- */
.btn-outline-navy{ background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: calc(1.15em - 2px) calc(2.3em - 2px); }
.btn-outline-navy:hover{ background: var(--navy); color: var(--cream); }
.cs-hero{ padding-top: clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.cs-hero .eyebrow, .cs-head .eyebrow, .cs-copy .eyebrow{ color: var(--navy); }
.cs-hero h1{ color: var(--dark-2); }
.cs-lede{ font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 760px; margin: 0 auto 1.75rem; }
.cs-hero-btns{ display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cs-browser{ margin: 0; border-radius: 14px; overflow: hidden; background: #0A0A0B; box-shadow: 0 24px 60px rgba(18,22,26,0.18), 0 4px 14px rgba(0,0,0,0.08); }
.cs-browser-bar{ display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1E1F22; }
.cs-browser-bar span{ width: 11px; height: 11px; border-radius: 50%; background: #FF5F56; }
.cs-browser-bar span:nth-child(2){ background: #FFBD2E; } .cs-browser-bar span:nth-child(3){ background: #27C93F; }
.cs-browser-bar em{ flex: 1; text-align: center; margin-right: 47px; font: 900 0.75rem/1 var(--font-nav); font-style: normal; color: #9CA3AF; }
.cs-browser img{ width: 100%; height: auto; }
.cs-facts{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: left; border-top: 2px solid var(--navy); padding-top: 1.5rem; }
.cs-facts dt{ font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.35rem; }
.cs-facts dd{ margin: 0; font-weight: 600; color: var(--dark-2); }
.cs-section h2{ color: var(--dark-2); }
.cs-section-alt{ background: #E3E7E0; }
.cs-split{ display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cs-copy p{ font-size: 1.05rem; }
.cs-phones{ display: flex; gap: clamp(0.75rem, 2vw, 1.5rem); justify-content: center; }
.cs-phones img{ width: min(46%, 260px); height: auto; border-radius: 28px; border: 8px solid #141416; box-shadow: 0 20px 50px rgba(18,22,26,0.2); }
.cs-phones img:nth-child(2){ margin-top: 3rem; }
.cs-phones-single img{ width: min(70%, 280px); }
.cs-goals{ text-align: center; }
.cs-goals .eyebrow{ color: rgba(239,241,237,0.8); }
.cs-goal-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; text-align: left; }
.cs-goal{ padding: 1.6rem; border: 1px solid rgba(239,241,237,0.22); border-radius: 14px; }
.cs-goal h3{ font-size: 1.15rem; color: var(--cream); margin-bottom: 0.7rem; }
.cs-goal p{ margin: 0; font-size: 0.95rem; }
.cs-head{ text-align: center; max-width: 860px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.cs-feature{ display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.cs-feature-flip > figure, .cs-feature-flip > .cs-phones{ order: 2; }
.cs-feature-copy h3{ color: var(--navy); }
.cs-feature-copy h3:not(:first-child){ margin-top: 1.75rem; }
.cs-list{ margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.cs-list li{ position: relative; padding-left: 1.4rem; }
.cs-list li::before{ content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.cs-duo{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); margin: calc(-1 * clamp(1rem, 3vw, 2.5rem)) 0 clamp(3rem, 7vw, 5.5rem); }
.cs-duo figure{ margin: 0; }
.cs-duo img{ width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 40px rgba(18,22,26,0.14); }
.cs-duo figcaption{ margin-top: 0.75rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); text-align: center; }
.cs-chips{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.cs-chips li{ padding: 0.65rem 1.1rem; border-radius: 999px; background: var(--navy); color: var(--cream); font-size: 0.9rem; font-weight: 600; }
.cs-result .cs-head{ margin-bottom: 0; }
@media (max-width: 960px){
  .cs-facts{ grid-template-columns: 1fr 1fr; }
  .cs-goal-grid{ grid-template-columns: 1fr 1fr; }
  .cs-split, .cs-feature{ grid-template-columns: 1fr; }
  .cs-feature-flip > figure, .cs-feature-flip > .cs-phones{ order: 0; }
}
@media (max-width: 560px){
  .cs-goal-grid, .cs-duo{ grid-template-columns: 1fr; }
  .cs-browser-bar em{ display: none; }
  .cs-phones img:nth-child(2){ margin-top: 1.5rem; }
}
.cs-process{ margin: calc(-1 * clamp(1rem, 3vw, 2.5rem)) 0 clamp(3rem, 7vw, 5.5rem); text-align: center; }
.cs-process h3{ color: var(--navy); }
.cs-steps{ list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; }
.cs-steps li{ counter-increment: step; position: relative; padding: 1.6rem 1.5rem 1.4rem; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(18,22,26,0.08); }
.cs-steps li::before{ content: ""; display: block; width: 36px; height: 3px; margin-bottom: 1rem; background: var(--navy); }
.cs-steps b{ display: block; margin-bottom: 0.4rem; color: var(--dark-2); }
.cs-steps p{ margin: 0; font-size: 0.95rem; }
@media (max-width: 860px){ .cs-steps{ grid-template-columns: 1fr; } }
.cs-packages{ text-align: center; margin: 0 0 clamp(3rem, 7vw, 5.5rem); }
.cs-packages h3{ color: var(--navy); }
.cs-packages > p{ max-width: 720px; margin: 0 auto 1.75rem; }
.cs-trio{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 2vw, 1.5rem); }
.cs-trio figure{ margin: 0; }
.cs-trio img{ width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 40px rgba(18,22,26,0.14); }
.cs-trio figcaption{ margin-top: 0.75rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
@media (max-width: 760px){ .cs-trio{ grid-template-columns: 1fr; } }
.cs-try{ margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* =====================================================================
   GLASS LAYER v1: frosted-studio aesthetic
   Everything below overrides the flat styles above. All blur, fill and
   fallback behaviour is driven by the tokens in this first block so the
   reduced-transparency / no-support fallbacks only have to change tokens.
   ===================================================================== */
:root{
  --sky: #FF4B1F;
  --blue: #0C3B47;
  --deep: #0A0D10;

  --glass-filter: none;
  --glass-blur: blur(14px) saturate(150%);
  --glass-light: rgba(255,255,255,.55);
  --glass-light-strong: rgba(255,255,255,.80);
  --glass-dark: rgba(18,22,26,.42);
  --glass-nav: rgba(18,22,26,.78);
  --glass-stroke-light: rgba(255,255,255,.72);
  --glass-stroke-dark: rgba(255,255,255,.20);
  --glass-radius: 22px;
  --glass-shadow: 0 18px 44px -20px rgba(18,22,26,.38), 0 2px 8px rgba(18,22,26,.06);
  --glass-shadow-dark: 0 24px 60px -24px rgba(0,0,0,.55);
  --hl-light: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.2);
  --hl-dark: inset 0 1px 0 rgba(255,255,255,.30), inset 0 -1px 0 rgba(255,255,255,.04);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.07'/></svg>");
}

/* ---------- Stage: the luminous canvas the glass sits on ---------- */
html{ background: var(--cream); }
body{ background: transparent; }
body::before{
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46vmax 46vmax at 6% 4%, rgba(22,100,118,.30), transparent 62%),
    radial-gradient(40vmax 40vmax at 96% 18%, rgba(12,59,71,.30), transparent 64%),
    radial-gradient(44vmax 44vmax at 88% 100%, rgba(255,255,255,.8), transparent 62%),
    radial-gradient(38vmax 38vmax at 4% 92%, rgba(18,22,26,.22), transparent 64%),
    var(--cream);
}

/* Cream content sections become transparent so the stage shows through */
.who-section, .trusted-section, .projects-section, .portfolio-section,
.contact-section, .client-info, .blog-section, .social-proof-section,
.sports-logos, .sitemap-section, .cta-band.cta-band-light,
.audit-section.on-cream, .first-client-section, .cs-section{ background: transparent; }
.cs-section-alt{ background: rgba(255,255,255,.34); }
div[style*="height: var(--nav-height)"]{ background: transparent !important; }

/* Dark stages: navy and charcoal with silver/blue light behind the glass */
.audit-section:not(.on-cream), .section-navy, .blog-section.blog-section-dark{
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(56vmax 34vmax at 6% 0%, rgba(22,100,118,.42), transparent 62%),
    radial-gradient(46vmax 32vmax at 100% 100%, rgba(239,241,237,.26), transparent 64%),
    radial-gradient(30vmax 22vmax at 62% 42%, rgba(12,59,71,.40), transparent 66%),
    linear-gradient(165deg, #0C3B47 0%, #12161A 48%, var(--deep) 100%);
}
.social-section{
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(34vmax 24vmax at 88% 18%, rgba(214,226,240,.30), transparent 64%),
    radial-gradient(30vmax 22vmax at 12% 96%, rgba(22,100,118,.26), transparent 66%),
    linear-gradient(165deg, #25282C 0%, #0E1215 52%, #0A0D10 100%);
}

/* ---------- Header: navy glass ---------- */
.site-header{ background: transparent; }
.site-header::before{
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--glass-nav);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  border-bottom: 1px solid var(--glass-stroke-dark);
  box-shadow: var(--hl-dark), 0 14px 34px -22px rgba(0,0,0,.55);
}
.dropdown-menu{
  background: rgba(18,22,26,.80);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-dark);
  border-radius: 18px;
  box-shadow: var(--hl-dark), var(--glass-shadow-dark);
}
.dropdown-menu a{ border-radius: 10px; }
@media (max-width: 900px){
  .main-nav{
    background: rgba(6,31,51,.92);
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
  }
  .dropdown-menu{ background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: none; box-shadow: none; }
}

/* ---------- Hero: one frosted slab with a specular rim (signature) ---------- */
.hero-content{
  position: relative;
  width: min(980px, calc(100% - 2 * var(--gutter)));
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 3.25rem);
  background:
    var(--grain),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 55%),
    rgba(18,22,26,.42);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-dark);
  border-radius: 30px;
  box-shadow: var(--hl-dark), var(--glass-shadow-dark);
}
.hero-content::before{
  content: "";
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 16%, rgba(255,226,190,.75) 32%, rgba(255,255,255,0) 50%, rgba(255,75,31,.85) 72%, rgba(255,255,255,.75) 88%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .6; pointer-events: none;
}
.hero-media::after{ background: rgba(6,31,51,.30); }

/* ---------- CTA band: the hero slab, repeated ---------- */
.cta-band > .container{
  max-width: 1000px;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  background:
    var(--grain),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 55%),
    rgba(255,255,255,.07);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-dark);
  border-radius: 30px;
  box-shadow: var(--hl-dark), var(--glass-shadow-dark);
}
.cta-band.cta-band-light > .container{
  background: var(--grain), var(--glass-light);
  border-color: var(--glass-stroke-light);
  box-shadow: var(--hl-light), var(--glass-shadow);
}

/* ---------- Buttons: glass pills ---------- */
.btn{ transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease; }
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: scale(.98); }
.btn-primary{
  background: #FF4B1F; color: #12161A;
  box-shadow: 0 8px 22px -10px rgba(255,75,31,.55);
}
.btn-primary:hover{ background: #EFF1ED; color: #12161A; }
.btn-outline{
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border-color: rgba(255,255,255,.55);
  box-shadow: var(--hl-dark);
}
.btn-outline:hover{ background: rgba(239,241,237,.92); color: var(--dark); }
.btn-navy{
  background: linear-gradient(180deg, #0C3B47 0%, #12161A 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -10px rgba(18,22,26,.7);
}
.btn-navy:hover{ background: linear-gradient(180deg, #2E2E2E 0%, #0E1215 100%); }
.btn-dark{
  background: linear-gradient(180deg, #34383C 0%, #0E1215 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 24px -10px rgba(0,0,0,.6);
}
.btn-dark:hover{ background: linear-gradient(180deg, #0C3B47 0%, #12161A 100%); }
.btn-outline-navy{
  background: var(--glass-light);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border-color: rgba(18,22,26,.5); box-shadow: var(--hl-light);
}
.btn-outline-navy:hover{ background: var(--navy); }

/* ---------- Light glass cards ---------- */
.fit-card, .pillar-note, .cs-steps li, .client-build-card, .integration-demo,
.footer-audit, .audit-form{
  background: var(--grain), var(--glass-light);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-light);
  border-radius: var(--glass-radius);
  box-shadow: var(--hl-light), var(--glass-shadow);
}
.audit-form, .footer-audit{ background: var(--grain), var(--glass-light-strong); }
.integration-demo{ background: var(--grain), rgba(255,255,255,.62); }
.integration-demo-label{ background: rgba(255,255,255,.45); border-bottom-color: rgba(18,22,26,.12); }
.client-build-card{ border-radius: 26px; }
.client-build-card:hover, .cs-steps li:hover{ transform: translateY(-3px); box-shadow: var(--hl-light), 0 26px 56px -24px rgba(18,22,26,.5); }
.cs-steps li, .client-build-card{ transition: transform .25s ease, box-shadow .25s ease; }
.service-item{
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.1rem, 2vw, 1.5rem);
  background: var(--grain), var(--glass-light);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-light);
  border-radius: var(--glass-radius);
  box-shadow: var(--hl-light), var(--glass-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-item:hover{ transform: translateY(-3px); box-shadow: var(--hl-light), 0 26px 50px -22px rgba(18,22,26,.5); }
.fit-card.not{ background: var(--grain), rgba(255,255,255,.40); }
.footer-audit{ border-radius: 18px; }

/* Dark glass cards (on the navy / charcoal stages) */
.contact-card, .cs-goal, .service-drop, .portfolio-sidebar{
  background: var(--grain), rgba(255,255,255,.08);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-dark);
  border-radius: var(--glass-radius);
  box-shadow: var(--hl-dark), var(--glass-shadow-dark);
}
.portfolio-sidebar{ background: var(--grain), rgba(18,22,26,.80); }
.service-drop{ border-radius: 20px; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-drop[open]{
  background: var(--grain), var(--glass-light-strong);
  border-color: var(--glass-stroke-light);
  box-shadow: var(--hl-light), var(--glass-shadow-dark);
}
.service-drop-media{ border-radius: 16px; }
.service-drop-media figcaption{ background: rgba(18,22,26,.62); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); border: 1px solid var(--glass-stroke-dark); }
.audit-section.on-cream .audit-form{ background: var(--grain), rgba(18,22,26,.78); border-color: var(--glass-stroke-dark); box-shadow: var(--hl-dark), var(--glass-shadow-dark); }
.portfolio-sidebar-list a{ border-radius: 12px; }
.portfolio-sidebar-list a:hover{ background: rgba(255,255,255,.12); }

/* Before/after captions and skinny chips */
.ba-caption{
  background: rgba(18,22,26,.50);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-dark);
  box-shadow: var(--hl-dark), var(--glass-shadow-dark);
}
.cs-chips li{
  background: rgba(18,22,26,.80);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-dark); box-shadow: var(--hl-dark);
}
.social-proof-label{
  background: var(--glass-light);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border-color: var(--glass-stroke-light); box-shadow: var(--hl-light);
}
.social-proof-label:hover{ background: rgba(18,22,26,.85); }
.social-proof-image-link, .cs-browser, .cs-duo img, .cs-trio img{ border: 1px solid rgba(255,255,255,.6); }

/* ---------- Forms ---------- */
.contact-form{
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--grain), var(--glass-light);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-light);
  border-radius: 28px;
  box-shadow: var(--hl-light), var(--glass-shadow);
}
.form-field input, .form-field textarea{
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(18,22,26,.24);
  border-radius: 12px;
  padding: .7em .9em;
  box-shadow: inset 0 1px 2px rgba(18,22,26,.06);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field input:focus, .form-field textarea:focus, .footer-audit-form input:focus{
  border-color: var(--navy);
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 3px rgba(255,75,31,.5);
}
.footer-audit-form input{ border-radius: 10px; background: rgba(255,255,255,.7); }
.audit-section.on-cream .audit-form input,
.audit-section.on-cream .audit-form textarea{ background: rgba(255,255,255,.10); }
.audit-section.on-cream .audit-form input:focus,
.audit-section.on-cream .audit-form textarea:focus{ background: rgba(255,255,255,.16); border-color: var(--cream); box-shadow: 0 0 0 3px rgba(255,75,31,.55); }
:focus-visible{ outline: 2px solid var(--sky); outline-offset: 3px; }
.btn:focus-visible, .carousel-arrow:focus-visible{ outline-color: var(--cream); box-shadow: 0 0 0 4px rgba(255,75,31,.7); }

/* ---------- Logo strip: frosted tiles ---------- */
.logo-strip{ gap: 1.25rem; }
.logo-strip > a{
  display: flex; align-items: center; justify-content: center;
  padding: 1.1rem 1.25rem;
  background: var(--grain), var(--glass-light);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-light);
  border-radius: var(--glass-radius);
  box-shadow: var(--hl-light), var(--glass-shadow);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.logo-strip > a:hover{ transform: translateY(-4px); background: var(--grain), var(--glass-light-strong); box-shadow: var(--hl-light), 0 26px 50px -22px rgba(18,22,26,.5); }
.logo-strip img{ height: 104px; }

/* ---------- Photos: no blur, just a glass rim and lift ---------- */
.carousel img{ border-radius: 18px; }
.carousel-arrow{
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-light);
  box-shadow: var(--hl-light), 0 8px 20px -8px rgba(18,22,26,.4);
  transition: background .2s ease, transform .2s ease;
}
.carousel-arrow:hover{ background: rgba(255,255,255,.9); }
.work-item{ border-radius: var(--glass-radius); box-shadow: 0 16px 36px -20px rgba(18,22,26,.55); transition: transform .3s ease, box-shadow .3s ease; }
.work-item::after{
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), inset 0 1px 0 rgba(255,255,255,.75);
}
.work-item:hover{ transform: translateY(-5px); box-shadow: 0 26px 50px -22px rgba(18,22,26,.65); }
.work-item[data-video] .play-badge > span{
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-light); box-shadow: var(--hl-light);
}
.client-gallery{ gap: .5rem; padding-left: .5rem; padding-right: .5rem; }
.client-gallery img{ border-radius: 16px; }
.client-info-media img{ border-radius: 24px; border: 1px solid rgba(255,255,255,.65); box-shadow: var(--glass-shadow); }
.social-images img{ border-radius: 18px; border: 1px solid rgba(255,255,255,.25); }

/* ---------- Footer ---------- */
.footer-wave path{ fill: #12161A; }
.site-footer{
  background:
    radial-gradient(40vmax 18vmax at 88% 100%, rgba(22,100,118,.30), transparent 70%),
    radial-gradient(30vmax 14vmax at 6% 100%, rgba(239,241,237,.14), transparent 70%),
    linear-gradient(180deg, #12161A 0%, var(--deep) 100%);
}

/* ---------- Overlays ---------- */
.lightbox{
  background: rgba(6,24,40,.80);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
}
.lightbox-close, .sitemap-lightbox-close{
  background: rgba(255,255,255,.18); color: var(--cream);
  border: 1px solid var(--glass-stroke-dark); border-radius: 50%;
  width: 2.6rem; height: 2.6rem;
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
}
.sitemap-lightbox{
  background: rgba(18,22,26,.82);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
}

/* ---------- Fallbacks: no support, reduced transparency, high contrast ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  :root{
    --glass-light: rgba(255,255,255,.94);
    --glass-light-strong: rgba(255,255,255,.97);
    --glass-nav: rgba(18,22,26,.98);
  }
  .hero-content{ background: rgba(18,22,26,.82); }
  .dropdown-menu, .portfolio-sidebar, .audit-section.on-cream .audit-form{ background: rgba(18,22,26,.97); }
  .contact-card, .cs-goal, .service-drop{ background: rgba(255,255,255,.12); }
  .lightbox{ background: rgba(6,24,40,.96); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more){
  :root{
    --glass-filter: none;
    --glass-blur: none;
    --glass-light: rgba(255,255,255,.96);
    --glass-light-strong: rgba(255,255,255,.98);
    --glass-nav: #12161A;
    --glass-dark: rgba(18,22,26,.97);
  }
  .hero-content{ background: rgba(18,22,26,.92); }
  .dropdown-menu, .portfolio-sidebar, .audit-section.on-cream .audit-form{ background: #12161A; }
  .contact-card, .cs-goal, .service-drop{ background: rgba(255,255,255,.14); }
  .btn-primary{ background: #FF4B1F; }
  .lightbox, .sitemap-lightbox{ background: rgba(6,24,40,.97); }
  .hero-content::before{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .work-item, .logo-strip > a, .btn, .client-build-card, .cs-steps li{ transition: none; }
}

/* =====================================================================
   INTRO: the E mark pops in, pushes left, "NSIGN." slides out.
   2.6s total, plays once per browser session (see the snippet at the top
   of every page's <body>). Timeline: pop 0.1-0.65s, push + slide
   0.75-1.55s, hold, exit 2.0-2.6s.
   ===================================================================== */
.intro{
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  background:
    radial-gradient(56vmax 34vmax at 6% 0%, rgba(22,100,118,.42), transparent 62%),
    radial-gradient(46vmax 32vmax at 100% 100%, rgba(239,241,237,.26), transparent 64%),
    radial-gradient(30vmax 22vmax at 50% 50%, rgba(12,59,71,.45), transparent 66%),
    linear-gradient(165deg, #0C3B47 0%, #12161A 48%, var(--deep) 100%);
  animation: intro-exit .6s cubic-bezier(.4,0,.2,1) 2s both;
}
.intro-logo{
  --fs: min(19vw, 150px);
  font-size: var(--fs);
  position: relative;
  width: 4.4em; height: .9em;
  color: #EFF1ED;
  animation: intro-logo-out .6s cubic-bezier(.4,0,.2,1) 2s both;
}
.intro-mark-move{
  position: absolute; left: 0; top: 0; z-index: 2;
  width: .9em; height: .9em;
  transform: translateX(1.75em);
  animation: intro-push .8s cubic-bezier(.65,0,.35,1) .75s forwards;
}
.intro-mark{
  display: block; width: 100%; height: 100%; fill: currentColor;
  opacity: 0; transform: scale(.2);
  animation: intro-pop .55s cubic-bezier(.34,1.56,.64,1) .1s forwards;
}
.intro-word-window{
  position: absolute; left: 1.02em; top: 0; z-index: 1;
  width: 3.4em; height: 100%;
  overflow: hidden;
}
.intro-word{
  display: block; width: max-content; height: 100%;
  font-family: var(--font-display); font-weight: 900; font-size: 1em; line-height: .9em;
  letter-spacing: -.045em; white-space: nowrap;
  transform: translateX(-102%);
  animation: intro-slide .8s cubic-bezier(.65,0,.35,1) .8s forwards;
}
.intro-word i{ font-style: normal; color: #FF4B1F; }
@keyframes intro-pop{
  0%{ opacity: 0; transform: scale(.2); }
  35%{ opacity: 1; }
  100%{ opacity: 1; transform: scale(1); }
}
@keyframes intro-push{ to{ transform: translateX(0); } }
@keyframes intro-slide{ to{ transform: translateX(0); } }
@keyframes intro-logo-out{ to{ opacity: 0; transform: scale(1.06); } }
@keyframes intro-exit{ to{ opacity: 0; visibility: hidden; } }
.no-intro .intro{ display: none; }
@media (prefers-reduced-motion: reduce){
  .intro{ display: none; }
}

/* =====================================================================
   CURSOR: Signal fill with an Ink outline (dot, hand, text bar)
   ===================================================================== */
:root{
  --cursor-arrow: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><circle cx='9' cy='9' r='6.5' fill='%23FF4B1F' stroke='%2312161A' stroke-width='1.5'/></svg>") 9 9, auto;
  --cursor-hand: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 32 32'><path d='M13 3.2c-1.3 0-2.3 1-2.3 2.3V17l-2.3-2.2c-.9-.9-2.3-.9-3.1 0-.8.8-.8 2 0 2.8l5 6c1.3 1.5 3.2 2.4 5.2 2.4h3.6c3.5 0 6.3-2.8 6.3-6.3v-5.2c0-1.2-1-2.2-2.2-2.2-.5 0-1 .2-1.4.5-.3-1-1.2-1.7-2.2-1.7-.7 0-1.3.3-1.7.8-.4-.8-1.2-1.3-2.1-1.3-.3 0-.6.1-.9.2V5.5c0-1.3-1-2.3-2.2-2.3z' fill='%23FF4B1F' stroke='%2312161A' stroke-width='1.8' stroke-linejoin='round'/></svg>") 9 2, pointer;
  --cursor-text: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 32 32'><path d='M11 4h10v2.6h-3.3v18.8H21V28H11v-2.6h3.3V6.6H11Z' fill='%23FF4B1F' stroke='%2312161A' stroke-width='1.6' stroke-linejoin='round'/></svg>") 11 11, text;
}
html, body{ cursor: var(--cursor-arrow); }
a, button, summary, select, label[for], [role="button"],
input[type="checkbox"], input[type="radio"], input[type="submit"],
.btn, .nav-toggle, .carousel-arrow, .work-item, .client-gallery img,
.social-proof-label, .sitemap-zoom-btn, .lightbox-close, .sitemap-lightbox-close,
.checkbox-pill{ cursor: var(--cursor-hand); }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea{ cursor: var(--cursor-text); }

/* =====================================================================
   MOTION LAYER
   Everything here sits behind prefers-reduced-motion: no-preference, or is
   gated by html.motion-ready (set by script.js only when motion is OK), so
   a no-JS or reduced-motion visitor just sees the finished static page.
   Only transform/opacity are animated; nothing animates blur.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference){

  /* Living stage: the fixed glow layer drifts slowly (compositor only) */

  /* Hero photo: slow settle-in zoom, plus scroll parallax driven from script.js */

  /* Headlines: each word rises out of a mask (script.js splits the words) */
  .split-heading.reveal{ opacity: 1; transform: none; transition: none; }
  .split-heading .w{ display: inline-block; vertical-align: top; clip-path: inset(0 -.3em -.18em -.3em); }
  .split-heading .wi{
    display: inline-block; transform: translateY(108%);
    transition: transform .6s cubic-bezier(.2,.75,.2,1) calc(var(--base, 0s) + var(--i, 0) * 45ms);
  }
  .split-heading.is-visible .wi{ transform: none; }

  /* Paragraphs write themselves out word by word (script.js numbers the words) */
  .write-words.reveal{ opacity: 1; transform: none; transition: none; }
  .write-words .ww{
    display: inline-block; opacity: 0; transform: translate3d(0, .25em, 0);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2,.75,.2,1);
    transition-delay: calc(var(--w, 0) * 20ms);
  }
  .write-words.is-visible .ww{ opacity: 1; transform: none; }
  .write-words a .ww{ text-decoration: underline; }

  /* Underline under the accent word draws in after its heading lands */
  .motion-ready h2.underline-accent .accent-word::after{
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s cubic-bezier(.2,.75,.2,1) .3s;
  }
  .motion-ready h2.underline-accent.is-visible .accent-word::after{ transform: scaleX(1); }

  /* Cards, tiles and photos cascade in with a light spring */
  .reveal{ transition-delay: var(--d, 0s); }
  .cascade:not(.is-visible){ opacity: 0; }
  .cascade.is-visible{ animation: cascade-in .5s cubic-bezier(.2,.8,.3,1) var(--d, 0ms) backwards; }
  @keyframes cascade-in{
    from{ opacity: 0; transform: translateY(22px) scale(.96); }
  }

  /* Buttons: a soft light sweep on hover */
  .btn{ position: relative; overflow: hidden; isolation: isolate; }
  .btn::after{
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(110deg, transparent 34%, rgba(255,255,255,.38) 50%, transparent 66%);
    transform: translateX(-125%);
  }
  .btn:hover::after{ transform: translateX(125%); transition: transform .75s cubic-bezier(.2,.7,.2,1); }

  /* Header: compacts after the first scroll, with a reading-progress hairline */
  .site-header::after{
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, var(--sky), var(--cream));
    transform-origin: left; transform: scaleX(var(--progress, 0));
  }
  @media (min-width: 901px){
    .site-header .container{ transition: min-height .35s ease, padding .35s ease; }
    .header-logo .ens-logo{ transition: font-size .35s ease; }
    .site-header.is-scrolled .container{ min-height: 66px; padding-top: .5rem; padding-bottom: .5rem; }
    .site-header.is-scrolled .header-logo .ens-logo{ font-size: 1.45rem; }
  }

}

/* Pointer-following sheen on glass surfaces (script.js adds .has-sheen on hover-capable devices) */
.has-sheen{ position: relative; --sheen-c: rgba(255,255,255,.30); }
.logo-strip > a.has-sheen, .service-item.has-sheen, .fit-card.has-sheen, .cs-steps li.has-sheen, .client-build-card.has-sheen{ --sheen-c: rgba(12,59,71,.13); }
.has-sheen::after{
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--sheen-c), transparent 65%);
  transition: opacity .35s ease;
}
.has-sheen:hover::after{ opacity: 1; }

/* =====================================================================
   STAY IN THE LOOP: all four socials as glass pills, three photos
   ===================================================================== */
@media (min-width: 861px){ .social-layout{ grid-template-columns: 0.85fr 1.15fr; } }
.social-images img{ min-width: 0; height: clamp(260px, 30vw, 380px); }
.social-links{ display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.social-link{
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.3rem .85rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-dark);
  box-shadow: var(--hl-dark);
  color: var(--cream);
  font: 600 .85rem/1 var(--font-body); letter-spacing: .02em; text-transform: uppercase;
  transition: background .25s ease, color .25s ease, transform .2s ease, border-color .25s ease;
}
.social-link svg{ width: 18px; height: 18px; fill: currentColor; flex: none; }
.social-link:hover{ background: rgba(239,241,237,.92); color: var(--dark); border-color: transparent; transform: translateY(-2px); }
@media (max-width: 860px){
  .social-links{ justify-content: center; }
  .social-images{ flex-wrap: nowrap; }
  .social-images img{ flex: 1 1 0; height: clamp(170px, 46vw, 260px); }
}

/* Footer socials: the same four glass pills, a size down, in a 2x2 grid */
.footer-social-links{ display: grid; grid-template-columns: repeat(2, max-content); gap: .5rem; }
.footer-social-links .social-link{
  display: inline-flex; margin: 0; text-decoration: none;
  padding: .6rem 1rem .6rem .85rem; font-size: .74rem;
}
.footer-social-links .social-link svg{ width: 15px; height: 15px; }
@media (max-width: 700px){ .footer-social-links{ justify-content: center; } }

/* =====================================================================
   HOME: every service, always open, as a grid of glass cards
   ===================================================================== */
.service-cards{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  max-width: 1200px; margin: 0 auto; text-align: left;
}
.service-card{
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--grain), var(--glass-light-strong);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-stroke-light);
  border-radius: var(--glass-radius);
  box-shadow: var(--hl-light), var(--glass-shadow-dark);
  color: var(--dark);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--hl-light), 0 30px 60px -24px rgba(0,0,0,.6); }
.service-card.has-sheen{ --sheen-c: rgba(12,59,71,.13); }
.service-card-media{ position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--dark-2); overflow: hidden; }
.service-card-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-media img{ transform: scale(1.04); }
.service-card-body{ display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.5rem; }
.service-card-group{ margin: 0 0 .35rem; font: 900 .68rem/1 var(--font-nav); letter-spacing: .09em; text-transform: uppercase; color: rgba(18,22,26,.62); }
.service-card-title{ margin: 0 0 .7rem; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--navy); }
.service-card-lede{ margin: 0 0 .6rem; font-weight: 700; line-height: 1.35; color: var(--dark-2); }
.service-card-body p:not(.service-card-group):not(.service-card-lede){ margin: 0 0 1rem; font-size: .95rem; line-height: 1.6; }
.service-card-body .service-drop-link{ margin-top: auto; padding-top: .25rem; }
@media (max-width: 980px){ .service-cards{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .service-cards{ grid-template-columns: 1fr; } }

/* The navy section sets its own paragraph color; cards are light glass, so pin their text dark */
.service-cards .service-card-group{ color: rgba(18,22,26,.7); }
.service-cards .service-card-lede{ color: var(--dark-2); }
.service-cards .service-card-body p:not(.service-card-group):not(.service-card-lede){ color: var(--dark); }
.service-cards .service-card-title{ color: var(--navy); }


/* ---------- Performance: real blur only where a photo or moving content sits behind ---------- */
.site-header::before, .dropdown-menu, .hero-content, .lightbox, .sitemap-lightbox, .ba-caption{
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
@media (max-width: 900px){ .main-nav{ -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); } }

/* =====================================================================
   BUILT FOR ANY INDUSTRY: four site cards (website-design-development.html)
   ===================================================================== */
.industry-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 1180px; margin: 0 auto; text-align: left;
}
.industry-card{
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(.85rem, 1.8vw, 1.15rem);
  background: var(--grain), var(--glass-light);
  border: 1px solid var(--glass-stroke-light);
  border-radius: 26px;
  box-shadow: var(--hl-light), var(--glass-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.industry-card:hover{ transform: translateY(-4px); box-shadow: var(--hl-light), 0 28px 56px -24px rgba(18,22,26,.5); }
.industry-card.has-sheen{ --sheen-c: rgba(12,59,71,.13); }
.industry-shot-link{ display: block; }
.industry-shot-link .cs-browser{ transition: transform .4s ease; }
.industry-card:hover .cs-browser{ transform: scale(1.012); }
.industry-body{ display: flex; flex-direction: column; flex: 1; padding: 0 .5rem .5rem; }
.industry-meta{
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 .6rem;
  font: 900 .72rem/1 var(--font-nav); letter-spacing: .08em; text-transform: uppercase; color: rgba(18,22,26,.72);
}
.industry-status{
  padding: .38rem .75rem; border-radius: 999px; font: inherit;
  border: 1px solid rgba(18,22,26,.35); color: var(--navy);
}
.industry-status.is-live{ background: var(--navy); border-color: var(--navy); color: var(--cream); }
.industry-body h3{ margin: 0 0 .5rem; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--navy); }
.industry-body p:not(.industry-meta){ margin: 0 0 1.2rem; line-height: 1.6; color: var(--dark); }
.industry-actions{ display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }
.industry-actions .btn{ padding-top: 1em; padding-bottom: 1em; }
@media (max-width: 860px){ .industry-grid{ grid-template-columns: 1fr; } }

.service-item .service-drop-link{ display: inline-block; margin-top: .9rem; }
.pillars > .section-head{ max-width: 760px; margin-left: auto; margin-right: auto; }

/* =====================================================================
   HERO VIDEO (desktop): full-screen, no player controls, header hidden until you scroll.
   Phones, narrow windows and reduced-motion visitors keep the photo hero.
   ===================================================================== */
.hero-video{ display: none; position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.hero-player{ position: absolute; inset: 0; overflow: hidden; }
/* sized to cover the screen, a little oversized so the player's own title bar and watermark sit off-screen */
.hero-player iframe{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(max(100vh, 56.25vw) * 1.18 * 16 / 9); height: calc(max(100vh, 56.25vw) * 1.18);
  border: 0; pointer-events: none;
}
@supports (height: 100svh){
  .hero-player iframe{ width: calc(max(100svh, 56.25vw) * 1.18 * 16 / 9); height: calc(max(100svh, 56.25vw) * 1.18); }
}
.hero-sound{
  position: absolute; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 2;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.15rem .75rem .95rem; border-radius: 999px; cursor: pointer;
  background: rgba(18,22,26,.72); border: 1px solid var(--glass-stroke-dark); box-shadow: var(--hl-dark);
  color: var(--cream); font: 600 .78rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s ease, transform .2s ease;
}
.hero-sound:hover{ background: rgba(18,22,26,.92); transform: translateY(-2px); }
.hero-sound svg{ width: 18px; height: 18px; fill: currentColor; }
.hero-sound .icon-on{ display: none; }
.hero-sound[aria-pressed="true"] .icon-on{ display: block; }
.hero-sound[aria-pressed="true"] .icon-off{ display: none; }

/* Held still for the first seconds of the desktop hero video (script.js adds/removes the class) */
html.lc-scroll-lock{ overflow: hidden; scrollbar-gutter: stable; }

/* =====================================================================
   FREE BRAND AUDIT POP-UP (home, desktop): opens 5s after the video hold
   ===================================================================== */
.audit-pop{
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; background: rgba(6,24,40,.74);
  opacity: 0; transition: opacity .35s ease;
}
.audit-pop[hidden]{ display: none; }
.audit-pop.is-open{ opacity: 1; }
.audit-pop-card{
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 3rem); overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
  padding: clamp(1.75rem, 3.2vw, 2.9rem);
  border-radius: 30px; border: 1px solid var(--glass-stroke-dark); box-shadow: var(--hl-dark), 0 40px 90px -30px rgba(0,0,0,.7);
  color: var(--cream);
  background:
    var(--grain),
    radial-gradient(56vmax 34vmax at 6% 0%, rgba(22,100,118,.42), transparent 62%),
    radial-gradient(46vmax 32vmax at 100% 100%, rgba(239,241,237,.26), transparent 64%),
    linear-gradient(165deg, #0C3B47 0%, #12161A 48%, var(--deep) 100%);
  transform: translateY(18px) scale(.97); transition: transform .45s cubic-bezier(.2,.75,.2,1);
}
.audit-pop.is-open .audit-pop-card{ transform: none; }
.audit-pop-close{
  position: absolute; top: .9rem; right: .9rem; z-index: 2; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0;
  background: rgba(255,255,255,.14); border: 1px solid var(--glass-stroke-dark); color: var(--cream);
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s ease;
}
.audit-pop-close:hover{ background: rgba(255,255,255,.3); }
.audit-pop .audit-copy h2{ font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.audit-pop .audit-copy p{ font-size: .95rem; }
.audit-pop .audit-checklist li{ font-size: .92rem; }
html.lc-popup-open{ overflow: hidden; scrollbar-gutter: stable; }
@media (max-width: 800px){ .audit-pop-card{ grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce){ .audit-pop, .audit-pop-card{ transition: none; } }

/* Three vertical videos side by side: give the video column more of the row on desktop */
@media (min-width: 901px){ .client-info-layout.client-info-layout-trio{ grid-template-columns: 0.8fr 1.2fr; } }


/* =====================================================================
   ENSIGN BRAND: wordmark lockup, nav labels
   ===================================================================== */
.ens-logo{ display: inline-flex; align-items: center; gap: .5em; color: #EFF1ED; line-height: 1; font-size: 1.7rem; white-space: nowrap; }
.ens-mark{ display: block; width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.ens-word{ font-family: var(--font-display); font-weight: 900; letter-spacing: -.045em; font-size: 1em; }
.ens-word i{ font-style: normal; color: #FF4B1F; }
.footer-logo-col .ens-logo{ font-size: 1.55rem; }
.main-nav a, .main-nav .nav-dropdown-toggle{ text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; font-weight: 900; }

/* =====================================================================
   WHOLE-CARD LINKS: clicking anywhere on a service card opens its page
   ===================================================================== */
.service-item:has(h4 a), .service-card{ position: relative; cursor: pointer; }
.service-item h4 a::after, .service-card .service-drop-link::after{ content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service-item:has(h4 a):focus-within, .service-card:focus-within{ outline: 2px solid #FF4B1F; outline-offset: 3px; }

/* Single feature photo in a client page's media column (replaces the video) */
.client-info-media img.portrait{ aspect-ratio: auto; max-width: 420px; margin: 0 auto; }
.client-info-media img.wide{ aspect-ratio: 3 / 2; }

/* header: wordmark text only, no E icon */
.header-logo .ens-mark{ display: none; }

/* =====================================================================
   RING SUMMIT LOGO (2026-12-03): mark shown in header again, ™ circle,
   intro now pops the mark then slides out the full ENSIGN word
   ===================================================================== */
.ens-mark{ width: 1.3em; height: 1.3em; fill: none; }
.header-logo .ens-mark{ display: block; }
.ens-logo{ gap: .45em; }
.ens-tm, .intro-tm{ display: inline-block; width: .3em; height: .3em; margin-left: .07em; vertical-align: baseline; }
.intro-logo{ --fs: min(14vw, 118px); width: 5.7em; height: .9em; }
.intro-mark-move{ width: .9em; height: .9em; transform: translateX(2.4em); }
.intro-mark{ fill: none; }
.intro-word-window{ left: 1.12em; width: 4.6em; }

/* =====================================================================
   CHALK THEME (2026-12-03): the site takes the Ring Summit's colors.
   Grainy Chalk ground, Ink type and hairlines, Harbor / Pennant / Signal
   as the three flags. Dark containers flip --cream to Ink so the text
   rules written for dark backgrounds read dark on light.
   ===================================================================== */
:root{
  --ink: #12161A; --harbor: #0C3B47; --signal: #FF4B1F; --pennant: #FFC53D; --chalk: #EFF1ED;
  --chalk-2: #E5E8E3;
  --hair: rgba(18,22,26,.14);
  --grain-ink: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .07 0 0 0 0 .09 0 0 0 0 .1 0 0 0 1.6 -.55'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.16'/></svg>");
  --grain: var(--grain-ink);
  --card: rgba(255,255,255,.58);
  --card-strong: rgba(255,255,255,.82);
  --shadow-soft: 0 18px 40px -26px rgba(18,22,26,.35), 0 1px 2px rgba(18,22,26,.05);
}

/* Ground */
html{ background: var(--chalk); }
body{ color: var(--ink); }
body::before{ background: var(--grain-ink), var(--chalk); }

/* Containers that were dark: now light, text flipped to Ink */
.site-header, .main-nav, .dropdown-menu, .hero, .page-hero, .client-placeholder,
.audit-section, .section-navy, .blog-section.blog-section-dark, .social-section,
.services-home-section, .site-footer, .intro, .audit-pop-card, .portfolio-sidebar,
.contact-card, .cs-goal, .service-drop{
  --cream: #12161A;
  color: var(--ink);
}
.audit-section:not(.on-cream), .section-navy, .blog-section.blog-section-dark, .social-section{
  background: var(--grain-ink), var(--chalk-2);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.page-hero, .client-placeholder{ background: transparent; }
.audit-section.on-cream .audit-form, .audit-section.on-cream .audit-form .form-field label{ color: var(--ink); }

/* Header: Chalk bar with an Ink hairline */
.site-header::before{
  background: var(--grain-ink), rgba(239,241,237,.94);
  border-bottom: 1px solid var(--hair);
  box-shadow: 0 10px 30px -24px rgba(18,22,26,.45);
}
.dropdown-menu{ background: var(--grain-ink), rgba(244,246,242,.98); border: 1px solid var(--hair); box-shadow: var(--shadow-soft); }
.dropdown-menu a:hover{ background: rgba(18,22,26,.06); }
.dropdown-group-label{ color: rgba(18,22,26,.55) !important; }
@media (max-width: 900px){ .main-nav{ background: var(--grain-ink), rgba(239,241,237,.98); } }
.ens-logo{ color: var(--ink); }
/* Logo: first flag is Harbor on light grounds */
.ens-mark path:nth-of-type(2), .intro-mark path:nth-of-type(2){ fill: var(--harbor); }

/* Hero: a Chalk slab over the photo */
.hero{ background: var(--chalk-2); }
.hero-media::after{ background: rgba(239,241,237,.10); }
.hero-content{
  background: var(--grain-ink), rgba(239,241,237,.90);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 30px 70px -30px rgba(18,22,26,.55);
}
.hero-content::before{ opacity: .35; }
.hero-content h1{ color: var(--ink); text-shadow: none; }

/* Buttons */
.btn-primary{ background: var(--signal); color: var(--ink); box-shadow: 0 8px 22px -12px rgba(255,75,31,.6); }
.btn-primary:hover{ background: var(--ink); color: var(--chalk); }
.btn-outline{ background: transparent; border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn-outline:hover{ background: var(--ink); color: var(--chalk); }
.btn-navy, .btn-dark{ background: var(--ink); color: var(--chalk); box-shadow: 0 10px 24px -12px rgba(18,22,26,.6); }
.btn-navy:hover, .btn-dark:hover{ background: var(--harbor); color: var(--chalk); }
.btn-outline-navy{ background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-navy:hover{ background: var(--ink); color: var(--chalk); }
.cta-band.cta-band-light .btn-primary{ background: var(--signal); color: var(--ink); }
.cta-band.cta-band-light .btn-primary:hover{ background: var(--ink); color: var(--chalk); }
.btn:focus-visible, .carousel-arrow:focus-visible{ outline-color: var(--ink); }
:focus-visible{ outline-color: var(--signal); }

/* Cards: white on Chalk, Ink hairline */
.cta-band > .container, .cta-band.cta-band-light > .container,
.fit-card, .pillar-note, .cs-steps li, .client-build-card, .integration-demo, .footer-audit, .audit-form,
.service-item, .contact-form, .logo-strip > a, .contact-card, .cs-goal, .service-drop, .portfolio-sidebar,
.service-card{
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-soft);
}
.audit-form, .footer-audit, .service-drop[open], .portfolio-sidebar{ background: var(--card-strong); }
.audit-section.on-cream .audit-form{ background: var(--card-strong); border-color: var(--hair); box-shadow: var(--shadow-soft); }
.audit-section.on-cream .audit-form input, .audit-section.on-cream .audit-form textarea{ background: #fff; border-color: rgba(18,22,26,.24); color: var(--ink); }
.contact-card .eyebrow{ color: rgba(18,22,26,.6); }
.service-drop{ border-color: var(--hair); }
.service-drop summary{ color: var(--ink); }
.service-drop-icon{ background: var(--ink); }
.service-drop-icon::before, .service-drop-icon::after{ background: var(--chalk); }
.service-drop[open] .service-drop-icon{ background: var(--signal); }
.service-drop[open] .service-drop-icon::before, .service-drop[open] .service-drop-icon::after{ background: var(--ink); }
.portfolio-sidebar-list a:hover{ background: rgba(18,22,26,.06); }
.cs-chips li, .integration-demo-label span, .industry-status.is-live{ background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.social-proof-label:hover{ background: var(--ink); color: var(--chalk); }
.social-proof-image-link, .cs-browser, .cs-duo img, .cs-trio img, .client-info-media img{ border-color: var(--hair); }
.work-item::after{ box-shadow: inset 0 0 0 1px rgba(18,22,26,.10); }
h2.underline-accent .accent-word::after, .services-home-section h2.underline-accent .accent-word::after{ background: var(--signal); }
.pillar-head h3, .service-card-title, .service-cards .service-card-title{ color: var(--ink); }
.cs-list li::before, .cs-steps li::before{ background: var(--signal); }

/* Social pills (footer and Stay in the loop) */
.social-link{ background: transparent; border: 1px solid rgba(18,22,26,.35); color: var(--ink); box-shadow: none; }
.social-link:hover{ background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.social-images img{ border-color: var(--hair); }

/* Footer: a deeper Chalk band */
.footer-wave path{ fill: var(--chalk-2); }
.site-footer{ background: var(--grain-ink), var(--chalk-2); }

/* Intro: the logo on Chalk */
.intro{ background: var(--grain-ink), var(--chalk); }
.intro-logo{ color: var(--ink); }

/* Pop-up */
.audit-pop{ background: rgba(18,22,26,.45); }
.audit-pop-card{ background: var(--grain-ink), var(--chalk); border: 1px solid var(--hair); box-shadow: 0 40px 90px -30px rgba(18,22,26,.55); }
.audit-pop-close{ background: rgba(18,22,26,.06); border-color: var(--hair); color: var(--ink); }
.audit-pop-close:hover{ background: rgba(18,22,26,.14); }

/* Overlays keep a dark scrim for photos and video */
.lightbox, .sitemap-lightbox{ --cream: #EFF1ED; }
/* Chalk theme: text that was hard-coded in light tints */
.audit-copy p, .section-navy p, .blog-section-dark .blog-copy p, .social-copy p{ color: rgba(18,22,26,.82); }
.cta-band .eyebrow, .cs-goals .eyebrow, .contact-card .eyebrow{ color: rgba(18,22,26,.66); }
.audit-section.on-cream .audit-note{ color: rgba(18,22,26,.66); }
.dropdown-divider{ background: var(--hair); }
.portfolio-sidebar-title, .portfolio-sidebar .portfolio-sidebar-label, .portfolio-sidebar h4{ color: rgba(18,22,26,.55); }
.audit-section .ba-checklist li, .audit-pop .ba-checklist li{ color: var(--ink); }
