/* ===== Baxter Wright — experiential marketing & events =====
   White / black / #0099FF. Heavy Futura type, blue marker strokes. */

:root {
  --blue: #0099FF;
  --black: #0a0a0a;
  --white: #ffffff;
  --futura: "Futura", "Futura PT", "Jost", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--futura);
  font-weight: 500;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

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

/* ===== Glass (liquid-glass UI) ===== */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(10, 10, 10, 0.08);
}

/* ===== Nav — invisible at top, pops into a liquid-glass bubble on scroll ===== */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-radius: 100px;
  z-index: 100;
  transition: width 0.6s cubic-bezier(0.32, 0.72, 0, 1), top 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(10, 10, 10, 0.08);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav.scrolled { top: 12px; width: min(900px, calc(100% - 32px)); }
.nav.scrolled::before { opacity: 1; transform: scale(1); }
.nav-logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--black);
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-links a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 100px;
  transition: transform 0.15s ease;
}
.nav-cta:hover { transform: scale(1.05); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--futura);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 153, 255, 0.35);
}
.btn-ghost {
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ===== Hero ===== */
.hero {
  padding: 150px 24px 0;
  text-align: center;
}
.hero-inner { max-width: 980px; margin: 0 auto; }
.hero-kicker {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--blue);
  margin-bottom: 22px;
}
.hero-title {
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-sub {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 1.18rem;
  line-height: 1.55;
  color: #444;
}
.newsletter-form {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-form label {
  justify-self: center;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--black);
  border-radius: 100px;
  padding: 4px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.newsletter-row input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-radius: 100px;
  padding: 0 22px;
  font-family: var(--futura);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  background: transparent;
}
.newsletter-row:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.14);
}
.newsletter-row input:focus { outline: none; }
.newsletter-row button {
  border: 0;
  cursor: pointer;
  min-height: 48px;
  padding: 0 24px;
  white-space: nowrap;
}
.newsletter-status {
  min-height: 1.2em;
  color: #555;
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* marker highlight — blue stroke behind/below text */
.marker { position: relative; display: inline-block; white-space: nowrap; }
.marker-stroke {
  position: absolute;
  left: -2%; bottom: -0.12em;
  width: 104%; height: 0.42em;
  z-index: -1;
  overflow: visible;
}
.marker-stroke {
  opacity: 0;
  transform: translateY(-0.35em);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}
.marker-stroke path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 26;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 0.65s ease;
}
/* scroll down: marker draws on. scroll up: it retracts and lifts off the page */
.marker.drawn .marker-stroke { opacity: 1; transform: translateY(0); }
.marker.drawn .marker-stroke path { stroke-dashoffset: 0; }

/* tighter strokes on section/contact titles */
.section-title .marker-stroke,
.contact-title .marker-stroke { bottom: 0.04em; height: 0.36em; }

/* ===== Hero film strip ===== */
.film-strip {
  margin-top: 70px;
  overflow: hidden;
  transform: rotate(-1.5deg) scale(1.03);
}
.film-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 45s linear infinite;
}
.film-track img {
  height: 240px;
  width: auto;
  border-radius: 14px;
  object-fit: cover;
}
@keyframes slide { to { transform: translateX(-50%); } }
.film-strip:hover .film-track { animation-play-state: paused; }

/* ===== Newsletter ===== */
.newsletter-section {
  padding: 83px 24px 22px;
  text-align: center;
}

/* ===== Sections ===== */
section { padding: 110px 24px; }
.section-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: 64px;
}
.section-title.light { color: var(--white); }

/* ===== Services ===== */
.services { padding-top: 85px; }
.service-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.service-card {
  border: 2px solid var(--black);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card.open {
  border-color: var(--blue);
  box-shadow: 0 16px 42px rgba(0, 153, 255, 0.14);
}
.service-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--futura);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.service-toggle:focus-visible {
  outline: 4px solid rgba(0, 153, 255, 0.28);
  outline-offset: -6px;
}
.service-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--black);
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.service-card.open .service-icon {
  color: var(--blue);
  border-color: var(--blue);
  transform: rotate(45deg);
}
.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 18px;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}
.service-card.open .service-details {
  max-height: 220px;
  opacity: 1;
  padding: 0 18px 18px;
}
.service-copy {
  max-width: 640px;
}
.service-copy p {
  color: #555;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}
.service-note { color: #888 !important; font-size: 0.88rem !important; margin-top: 10px; }

/* ===== Success stories ===== */
.success-stories {
  background: #fafafa;
  overflow: hidden;
}
.success-header {
  max-width: 1180px;
  margin: 0 auto 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.success-header .section-title {
  margin-bottom: 0;
  text-align: left;
}
.story-controls {
  display: flex;
  gap: 10px;
}
.story-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-family: var(--futura);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.story-nav:hover,
.story-nav:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  outline: none;
}
.story-slider {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
}
.story-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.story-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.08);
}
.story-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 16px;
  background: var(--black);
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-media img.story-img-top {
  object-position: center top;
}
.story-media-link {
  color: inherit;
  text-decoration: none;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.case-num {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--blue);
  margin-bottom: 8px;
}
.story-info h3 {
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 16px;
}
.story-sub {
  margin: -4px 0 18px;
  color: #444;
  font-size: 1rem;
  font-weight: 800;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.tags li {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 13px;
  border: 1.5px solid var(--black);
  border-radius: 100px;
}
.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat {
  border-radius: 16px;
  padding: 16px 20px;
  min-width: 130px;
  flex: 1;
}
.stat strong {
  display: block;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--blue);
}
.stat span { font-size: 0.82rem; color: #555; line-height: 1.3; display: block; margin-top: 2px; }
.story-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.story-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cfcfcf;
  cursor: pointer;
}
.story-dots button[aria-current="true"] {
  width: 32px;
  background: var(--blue);
}

/* ===== Partners (torn blue) ===== */
.partners { padding: 0; background: var(--white); }
.tear { display: block; width: 100%; height: 40px; }
.partners-inner {
  background: var(--blue);
  padding: 60px 0 70px;
}
.logo-marquee { overflow: hidden; }
.logo-track {
  display: flex;
  align-items: center;
  gap: 84px;
  width: max-content;
  padding: 10px 0;
  animation: slide 30s linear infinite;
}
.logo-track img {
  height: 56px;
  width: auto;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12));
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 0 24px;
}
.testimonial-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}
.testimonial-card span {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ===== Contact ===== */
.contact { text-align: center; padding: 130px 24px; }
.contact-title {
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 6.5rem);
  text-transform: uppercase;
}
.contact-sub {
  margin: 22px auto 36px;
  font-size: 1.15rem;
  color: #444;
  max-width: 520px;
}
.contact-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 32px;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #777;
}
.footer a { color: #777; }
.footer a:hover { color: var(--blue); }
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== Mobile ===== */
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .newsletter-section { padding: 58px 18px 22px; }
  .services { padding-top: 80px; }
  .service-toggle { padding: 15px 16px; }
  .service-details { padding: 0 16px; }
  .service-card.open .service-details {
    max-height: 260px;
    padding: 0 16px 16px;
  }
  .success-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 26px;
  }
  .success-header .section-title { text-align: center; }
  .story-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }
  .story-info h3 { font-size: clamp(1.85rem, 12vw, 3rem); }
  .stats { display: grid; grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .film-track img { height: 160px; }
  section { padding: 80px 18px; }
  body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .newsletter-row { gap: 4px; }
  .newsletter-row input { padding: 0 16px; }
  .newsletter-row .btn {
    width: auto;
    padding: 0 18px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .footer-links { justify-content: flex-start; }
}
