/* =========================================================================
   Media Loom — site styles
   One stylesheet for the whole site. Sections:
     1. Fonts            5. Header & menu       9. Footer
     2. Colors & sizes   6. Buttons & links    10. Quote pop-up
     3. Base             7. Videos             11. Home page sections
     4. Layout helpers   8. Headings
   Screen-size breakpoints used: 975px (tablet) and 575px (phone).
   ========================================================================= */

/* ---------- 1. Fonts (stored on our own server in /assets/fonts) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/comfortaa-latin.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/comfortaa-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Colors & sizes (change a value here and it changes everywhere) ---------- */
:root {
  --navy: #002138;        /* main dark background */
  --navy-deep: #00101c;
  --indigo: #232250;      /* "why us" background, dark text on light sections */
  --card: #52518c;        /* service cards */
  --purple: #816fe9;      /* highlight words, links, active menu */
  --teal: #00c4cc;        /* main buttons, numbers, icons */
  --mint: #24e1c6;        /* check marks */
  --light: #f0f3ff;       /* light text / light sections */
  --white: #ffffff;

  --font-heading: "Montserrat", Arial, sans-serif;
  --font-body: "Quicksand", Arial, sans-serif;
  --font-accent: "Comfortaa", Arial, sans-serif;   /* menu, small capitals, card titles */

  --text-body: 1.2rem;      /* 19.2px */
  --text-h1: 4.5rem;        /* 72px */
  --text-h2: 3.6rem;        /* 57.6px */
  --text-eyebrow: 1.1rem;   /* 17.6px */
  --text-card-title: 1.3rem;
  --text-button: 0.9rem;

  --container: min(1152px, 80%);
  --section-space: 4.5rem;  /* 72px top/bottom padding of most sections */
  --radius-card: 32px;
  --radius-button: 4.8px;
  --header-height: 107px;
}

@media (max-width: 975px) {
  :root {
    --text-h1: 3.5rem;
    --text-h2: 2.6rem;
    --container: calc(100% - 64px);
  }
}
@media (max-width: 575px) {
  :root {
    --text-body: 0.9rem;
    --text-h1: 2.3rem;
    --text-h2: 1.8rem;
    --text-eyebrow: 0.8rem;
    --text-card-title: 1.1rem;
    --text-button: 0.7rem;
    --container: calc(100% - 64px);
    --section-space: 3.5rem;
    --header-height: 100px;
  }
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy);
  color: var(--light);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 1px;
}
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s ease-in-out, background-color .3s ease-in-out; }
a:hover { color: var(--teal); }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.icon { width: 1em; height: 1em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--light); color: var(--navy); padding: .5rem 1rem; border-radius: var(--radius-button);
}
.skip-link:focus { top: 1rem; }

/* ---------- 4. Layout helpers ---------- */
.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { max-width: 910px; margin-inline: auto; }

/* ---------- 5. Header & menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7.8% 0 6.3%;
  transition: background-color .3s ease-in-out;
}
.site-header.is-scrolled, body.menu-open .site-header { background: var(--navy); }
.site-logo img { width: 160px; height: auto; }

.site-menu { display: flex; gap: 2rem; }
.site-menu a {
  position: relative;
  padding: 1rem 0;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  letter-spacing: 1.12px;
  line-height: 1;
}
.site-menu a::after {               /* purple bar under the current page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; background: var(--purple);
  transform: scaleX(0); transition: transform .3s ease-in-out;
}
.site-menu a[aria-current="page"]::after, .site-menu a:hover::after { transform: scaleX(1); }
.site-menu a:hover { color: var(--light); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0; margin-right: -7px;
  background: none; border: 0; color: var(--light); cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 30px; height: 2px; margin-inline: auto;
  background: currentColor; transition: transform .3s ease-in-out, background-color .3s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -11px; }
.menu-toggle-bars::after { top: 11px; }
body.menu-open .menu-toggle-bars { background: transparent; }
body.menu-open .menu-toggle-bars::before { transform: translateY(11px) rotate(45deg); }
body.menu-open .menu-toggle-bars::after { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 975px) {
  .site-header { padding: 0 32px 0 48px; }
  .menu-toggle { display: block; }
  .site-menu {
    position: fixed; inset: var(--header-height) 0 0 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    background: var(--navy);
    opacity: 0; visibility: hidden; transition: opacity .3s ease-in-out, visibility .3s;
  }
  body.menu-open .site-menu { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .site-menu a { font-size: 1.4rem; }
}
@media (max-width: 575px) {
  .site-header { padding: 0 32px 0 48px; }
}

/* ---------- 6. Buttons & links ---------- */
.button {
  display: inline-block;
  padding: 8px 16px;
  border: 0; border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.button-teal   { background: var(--teal);   color: var(--light); }
.button-light  { background: var(--light);  color: var(--navy); font-weight: 400; }
.button-purple { background: var(--purple); color: var(--light); border-radius: 5px; }
.button-teal:hover   { background: var(--purple); color: var(--light); }
.button-light:hover  { background: var(--teal);   color: var(--light); }
.button-purple:hover { background: var(--teal);   color: var(--light); }
.button-square { border-radius: 2px; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }

.text-link { color: var(--purple); text-decoration: underline; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 1rem; line-height: 1.5;
  letter-spacing: normal; text-transform: uppercase; color: var(--purple);
}
.arrow-link .icon { width: 16px; height: 26px; transition: transform .3s ease-in-out; }
.arrow-link:hover { color: var(--purple); }
.arrow-link:hover .icon { transform: translateX(4px); }

/* ---------- 7. Videos ---------- */
.loop-video { width: 100%; height: 100%; object-fit: cover; background: var(--navy-deep); }
.section-bg-video { position: absolute; inset: 0; }

/* ---------- 8. Headings ---------- */
h1, .heading {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: normal;
}
h1 { font-size: var(--text-h1); line-height: 1.1; }
.heading { font-size: var(--text-h2); line-height: 1.2; }
h1 strong, .heading strong { color: var(--purple); }

/* Small spaced-out capitals above or below a heading */
.eyebrow {
  font-family: var(--font-accent);
  font-size: var(--text-eyebrow);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.eyebrow-light  { color: var(--light); }
.eyebrow-purple { color: var(--purple); }
.heading + .eyebrow { margin-top: 1.4rem; }
.eyebrow + .lead, .eyebrow + p { margin-top: 1.5rem; }

/* ---------- 9. Footer ---------- */
.site-footer {
  background: var(--navy);
  padding: 48px 5% 40px;
}
.footer-top { display: flex; justify-content: space-between; gap: 2rem; }
.footer-label {
  margin-top: 2.2rem;
  font-family: var(--font-heading); font-size: 1rem; line-height: 1.5;
  letter-spacing: normal; text-transform: uppercase; color: var(--purple);
}
.footer-label a:hover { color: var(--teal); }
.footer-nav .footer-label { margin-top: 0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 16px; height: 16px; }
.footer-nav { min-width: 143px; margin-right: 80px; }
.footer-social { margin-top: 1.9rem; text-align: center; }
.footer-social ul { display: flex; justify-content: center; gap: 31px; margin-top: .7rem; }
.footer-social .icon { width: 32px; height: 32px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  margin-top: 3.4rem;
  font-size: .875rem;
}
.footer-legal > * + *::before {
  content: "|"; display: inline-block; margin: 0 34px; color: var(--light);
}

@media (max-width: 575px) {
  .site-footer { padding: 48px 20px 40px; font-size: .9rem; }
  .footer-top { flex-direction: column; gap: 0; }
  .footer-nav { margin-right: 0; }
  .footer-nav .footer-label { margin-top: 2.2rem; }
  .footer-label { font-size: .85rem; }
  .footer-legal { margin-top: 2.5rem; row-gap: 4px; }
  .footer-legal span { flex-basis: 100%; text-align: center; }
  .footer-legal > * + *::before { margin: 0 12px; }
  .footer-legal span + a::before { content: none; }
}

/* ---------- 10. "Get a quote" pop-up ---------- */
.quote-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0; border-radius: var(--radius-card);
  background: var(--purple);
  color: var(--light);
  overflow: auto;
}
.quote-inner { position: relative; padding: 32px; }
.quote-dialog::backdrop { background: rgba(0, 16, 28, .8); }
.quote-close {
  position: absolute; top: 10px; right: 14px;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 0; color: var(--light);
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.quote-close:hover { color: var(--navy); }
.quote-dialog h2 {
  font-family: var(--font-heading); font-weight: 400; letter-spacing: normal;
  font-size: var(--text-h2); line-height: 1.2; text-align: center;
}
.quote-dialog h2 strong { color: var(--navy); }
.quote-intro { margin-top: 1rem; text-align: center; }
.quote-form { display: grid; gap: 16px; margin-top: 1.8rem; }
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-form input[type="text"], .quote-form input[type="tel"],
.quote-form input[type="email"], .quote-form textarea {
  width: 100%;
  padding: 8px 16px;
  border: 0; border-radius: 8px;
  background: var(--light); color: var(--navy);
  font: inherit; letter-spacing: normal;
}
.quote-form textarea { min-height: 147px; resize: vertical; }
.quote-form ::placeholder { color: var(--navy); opacity: .85; }
.quote-check { display: flex; align-items: baseline; gap: 8px; }
.quote-check a { text-decoration: underline; }
.quote-actions { text-align: center; }
.quote-actions .button { min-width: 144px; }

@media (max-width: 575px) {
  .quote-inner { padding: 28px 20px; }
  .quote-row { grid-template-columns: 1fr; }
}

/* ======================= 11. Home page sections ======================= */

/* Hero */
.hero {
  position: relative;
  min-height: max(97vh, 600px);
  display: flex; align-items: center;
  padding: var(--header-height) 0 3rem;
  overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 33, 56, .56); }
.hero-content { position: relative; }
.hero-content p { margin-top: 1.5rem; font-weight: 400; }
.hero .button-row { margin-top: 2.25rem; }
@media (max-width: 575px) {
  .hero { min-height: 873px; align-items: flex-end; padding-bottom: 9rem; }
  .hero-content { width: calc(100% - 78px); }
}

/* Client logos + "Scaling your vision" */
.section-brands {
  padding: var(--section-space) 0 51px;
  background: linear-gradient(0deg, rgba(0, 1, 1, .835) 1%, rgba(57, 126, 185, .19) 60%);
}
.brand-logos {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin: 66px auto 0; max-width: 1118px;
  color: var(--light);
}
.brand-logos .icon { width: auto; }
.brand-walmart .icon { height: 56px; }
.brand-mattel img { width: 80px; }
.brand-loreal .icon { height: 35px; }
.brand-snapchat .icon { height: 90px; }
.brand-google .icon { height: 63px; }
.brand-vh1 img { width: 88px; }

.scaling {
  display: grid; grid-template-columns: 45% 1fr; align-items: center; gap: 5.5%;
  margin-top: 110px;
}
.scaling-media { aspect-ratio: 647 / 466; border-radius: 0 16px 16px 0; overflow: hidden; }
.scaling-text { max-width: 594px; padding-right: 2rem; }
.scaling-text p { margin-top: 2rem; }

@media (max-width: 975px) {
  .brand-logos { flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; }
}
@media (max-width: 575px) {
  .brand-logos {
    display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 1.5rem 1rem;
    margin-top: 2rem;
  }
  .brand-walmart .icon { height: 42px; }
  .brand-loreal .icon { height: 28px; }
  .brand-snapchat .icon { height: 70px; }
  .brand-google .icon { height: 48px; }
  .brand-vh1 img { width: 64px; }
  .scaling { grid-template-columns: 1fr; gap: 0; margin-top: 3.5rem; }
  .scaling-media { aspect-ratio: 16 / 13; border-radius: 0; }
  .scaling-text { padding: 2.2rem 32px 1.5rem; }
  .scaling-text p { margin-top: 1.6rem; }
}

/* Short intro band */
.section-intro { background: var(--light); color: var(--indigo); padding: var(--section-space) 0 70px; }
.section-intro .button { margin-top: 24px; }

/* Work banner + grid of project clips */
.section-work-banner {
  position: relative;
  min-height: 800px;
  display: flex; align-items: flex-end;
  padding-bottom: 95px;
  overflow: hidden;
}
.work-overlay { position: absolute; inset: 0; background: rgba(0, 21, 35, .733); }
.work-banner-content { position: relative; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.work-grid .loop-video { aspect-ratio: 16 / 9; height: auto; }
@media (max-width: 575px) {
  .section-work-banner { min-height: 800px; padding-bottom: 48px; }
  .work-grid { grid-template-columns: 1fr; }
}

/* Quote call-to-action */
.section-quote-cta {
  padding: var(--section-space) 0;
  background: linear-gradient(181deg, rgba(129, 111, 233, .333) 20%, rgb(0, 16, 28) 60%);
}
.quote-cta {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 40px;
  width: min(1088px, 80%);
}
.quote-cta-button { padding-left: 2.2%; padding-right: 32px; }
.quote-cta-text { border-left: 1px solid rgba(129, 111, 233, .7); padding-left: 40px; max-width: 774px; }
.quote-cta-text .eyebrow + p { margin-top: 1.4rem; }
@media (max-width: 975px) {
  .quote-cta { grid-template-columns: 1fr; width: var(--container); }
  .quote-cta-text { order: 1; padding-left: 16px; }
  .quote-cta-button { order: 2; padding: 0; margin-top: 2rem; text-align: center; }
}

/* Services */
.section-support {
  padding: var(--section-space) 0 125px;
  background: linear-gradient(rgba(240, 243, 255, .855) 0%, var(--light) 40%);
  color: var(--navy);
}
.service-cards {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 17px 176px;
  max-width: 944px; margin: 2.3rem auto 0;
}
.service-card {
  width: 384px;
  padding: 16px 47px 32px;
  border-radius: var(--radius-card);
  background: var(--card);
  color: var(--light);
}
.service-icon { width: 51px; height: 51px; margin: 0 auto; color: var(--teal); }
.service-icon-wide { width: 72px; height: 58px; }
.service-card h3 {
  margin-top: 1.7rem;
  font-family: var(--font-accent); font-size: var(--text-card-title); font-weight: 400;
  line-height: 1.2; letter-spacing: 2.88px;
}
.service-card p { margin-top: 1rem; font-size: 18px; line-height: 1.15; }
.section-support .arrow-link { margin-top: 140px; }
@media (max-width: 1180px) {
  .service-cards { gap: 17px 32px; }
}
@media (max-width: 575px) {
  .section-support { padding-bottom: 3.5rem; }
  .service-cards { gap: 16px; }
  .service-card { width: 100%; max-width: 296px; padding: 32px 24px; }
  .service-card p { font-size: 1.05rem; }
  .section-support .arrow-link { margin-top: 3.5rem; }
}

/* Process timeline */
.section-process { padding: var(--section-space) 0 104px; }
.section-process .lead { max-width: 1120px; }
.timeline { margin-top: 73px; }
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 272px 1fr; gap: 0 48px;
  padding-bottom: 56px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {                          /* the dot */
  content: ""; position: absolute; left: 262px; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--purple);
}
.timeline li:not(:last-child)::after {          /* the line down to the next dot */
  content: ""; position: absolute; left: 271px; top: 12px; bottom: -12px;
  width: 2px; background: var(--purple);
}
.timeline h3 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 400;
  line-height: 1.5; letter-spacing: normal; color: var(--teal);
}
@media (max-width: 975px) {
  .timeline li { grid-template-columns: 1fr; padding-left: 60px; }
  .timeline li::before { left: 10px; top: 4px; }
  .timeline li:not(:last-child)::after { left: 19px; top: 14px; bottom: -14px; }
  .timeline p { margin-top: 1.4rem; }
}
@media (max-width: 575px) {
  .timeline { margin-top: 2.5rem; }
  .timeline li { padding-left: 40px; }
  .timeline li::before { left: -10px; }
  .timeline li:not(:last-child)::after { left: -1px; }
}

/* Why us */
.section-team { background: var(--indigo); padding: 71px 0 43px; }
.team-intro {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px;
  width: min(1130px, 100%); margin-inline: auto;
}
.team-photo img { width: 100%; height: auto; aspect-ratio: 525 / 374; object-fit: cover; border-radius: 24px; }
.team-text p:last-child { margin-top: 1.2rem; }
.team-text .eyebrow { margin-top: .9rem; }
.checklist {
  display: grid; grid-template-columns: 1fr 1fr; gap: 41px 41px;
  margin-top: 44px;
}
.checklist li {
  position: relative;
  padding-left: 67px;
  font-weight: 300;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -17px;
  font-family: var(--font-heading); font-size: 3.6rem; line-height: 1.2; color: var(--mint);
}
@media (max-width: 975px) {
  .team-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .checklist { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .team-intro { gap: 2rem; }
  .team-photo img { aspect-ratio: 287 / 168; border-radius: 20px; }
  .checklist { margin-top: 3.2rem; gap: 2rem; }
  .checklist li { padding-left: 41px; }
  .checklist li::before { font-size: 1.9rem; top: -6px; }
}

/* Numbers + client promise */
.section-numbers {
  padding-top: var(--section-space);
  background: radial-gradient(circle, rgba(255, 255, 255, .094) 8%, rgba(0, 33, 56, .596) 60%);
}
.numbers-intro { display: grid; grid-template-columns: 550px 1fr; align-items: center; }
.numbers-intro > p { max-width: 514px; }
.numbers-intro .eyebrow { margin-top: 2.6rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; }
.stat {
  padding: 31px 32px 40px;
  border-radius: var(--radius-card);
  background: rgba(35, 34, 80, .75);
  text-align: center;
}
.stat-highlight { background: rgba(82, 81, 140, .86); }
.stat-number {
  font-family: var(--font-heading); font-size: var(--text-h2); font-weight: 700;
  line-height: 1.2; letter-spacing: normal; color: var(--teal);
}
.stat h3 {
  margin-top: 1.7rem;
  font-family: var(--font-accent); font-size: var(--text-card-title); font-weight: 400;
  line-height: 1.2; letter-spacing: 2.88px;
}
.stat h3 + p { margin-top: 1.1rem; }
.promise {
  padding: 72px 0 71px;
  background: linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(35, 34, 80, .54) 80%);
}
.promise-quote { position: relative; max-width: 1037px; margin: 0 auto; padding: 50px 0 60px; }
.promise-quote p { line-height: 1.15; }
.promise-quote::before, .promise-quote::after {
  position: absolute; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--teal);
}
.promise-quote::before { content: "“"; left: 0; top: -12px; }
.promise-quote::after { content: "”"; right: 0; bottom: -30px; }
.promise .button { margin-top: 32px; }
@media (max-width: 975px) {
  .numbers-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats { grid-template-columns: 1fr; }
  .numbers-intro .eyebrow { margin-top: 2.2rem; }
}
@media (max-width: 575px) {
  .stat { padding: 31px 32px 36px; }
  .promise-quote { padding: 54px 24px 70px; }
  .promise-quote::before { left: 24px; top: 4px; font-size: 4rem; }
  .promise-quote::after { right: 24px; bottom: -6px; font-size: 4rem; }
  .promise-quote p { font-size: .85rem; }
}

/* FAQ */
.section-faq { background: var(--light); color: var(--navy); padding: var(--section-space) 0 0; }
.faq-list { width: min(1008px, 70%); margin: 51px auto 0; }
.faq + .faq { margin-top: 32px; }
.faq summary {
  position: relative;
  display: block;
  padding: 32px 50px 32px 32px;
  border-radius: 16px;
  background: var(--white);
  font-family: var(--font-accent); font-size: 1.1rem; font-weight: 400;
  line-height: 1.5; letter-spacing: normal;
  cursor: pointer; list-style: none;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq[open] summary { background: var(--purple); color: var(--light); }
.faq-chevron {
  position: absolute; right: 32px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  color: var(--purple); transition: transform .3s ease-in-out, color .3s;
}
.faq summary:hover .faq-chevron, .faq[open] .faq-chevron { color: var(--teal); }
.faq[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 32px 32px 48px; text-align: left; }
.faq-answer p + p { margin-top: 0; }
.faq-answer strong { font-weight: 700; }
@media (max-width: 975px) {
  .faq-list { width: var(--container); }
}
@media (max-width: 575px) {
  .faq-list { width: calc(100% - 40px); margin-top: 2rem; }
  .faq summary { font-size: 1rem; padding: 32px 48px 32px 32px; }
  .faq-chevron { right: 20px; }
  .faq-answer { padding: 24px 16px 32px; }
}

/* Final call-to-action */
.section-final-cta { background: var(--light); padding: 101px 0 72px; }
.final-cta {
  width: var(--container); margin-inline: auto;
  padding: 58px 57px;
  border-radius: var(--radius-card);
  background: var(--navy);
}
.final-cta > p { margin-top: 1.8rem; font-weight: 400; }
.final-cta .center { margin-top: 32px; }
@media (max-width: 575px) {
  .section-final-cta { padding: 1rem 0 1rem; }
  .final-cta { width: calc(100% - 32px); padding: 32px; }
  .final-cta > p { margin-top: 1rem; }
  .final-cta .center { margin-top: 16px; }
}

/* ======================= 12. Inner pages (shared building blocks) ======================= */

/* Section backgrounds */
.section { padding: var(--section-space) 0; }
.bg-light  { background: var(--light); color: var(--navy); }
.bg-indigo { background: var(--indigo); }
.bg-navy   { background: var(--navy); }

/* Centered heading block: heading + eyebrow + intro text */
.section-head { text-align: center; }
.section-head .lead { margin-top: 1.5rem; }
.section-head .heading { max-width: 820px; margin-inline: auto; }
.heading + .lead { margin-top: 1.5rem; }

/* Small purple line of text closing a section */
.tagline { margin-top: 50px; text-align: center; color: var(--purple); }
.tagline-wide { max-width: 1090px; margin-inline: auto; }

/* Page top (dark band with the page title) */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 72px) 0 72px;
  overflow: hidden;
}
.page-hero-content { position: relative; }
.page-hero h1 + p, .page-hero h1 + .page-hero-text { margin-top: 1.5rem; }
.page-hero .button-row { margin-top: 1.9rem; }
.page-hero-video { min-height: 476px; display: flex; align-items: flex-end; padding-bottom: 72px; }
.page-hero-video .hero-overlay { background: rgba(0, 33, 56, .6); }
.page-hero-gradient { background: linear-gradient(149deg, rgb(116, 82, 119) 0%, rgb(59, 39, 120) 100%); padding-bottom: 88px; }
.page-hero-text p + p { margin-top: 1.2rem; }
.page-hero-text a { color: var(--purple); }
@media (max-width: 575px) {
  .page-hero { padding: calc(var(--header-height) + 40px) 0 64px; }
}

/* Light band with a short call-to-action */
.cta-band { padding: 75px 0 70px; text-align: center; }
.cta-band .eyebrow { color: var(--indigo); }
.cta-band .eyebrow + p { margin-top: .8rem; }
.cta-band p { max-width: 1110px; margin-inline: auto; }
.cta-band .button { margin-top: 24px; }

/* Two columns: a heading block on one side, text on the other */
.split {
  display: grid; grid-template-columns: 451px 1fr; align-items: center; gap: 16px 64px;
}
.split-reverse { grid-template-columns: 1fr 451px; }
.split-aside { text-align: center; }
.split-icon { display: block; width: 80px; height: 80px; margin: 0 auto 1.2rem; color: var(--purple); }
.split-icon-lg { width: 100px; height: 100px; }
.split-icon-after { margin: 1.2rem auto 0; }
.split-aside .eyebrow { margin-top: .6rem; }
.split-text p + p { margin-top: 1.5rem; }
.split-text.justify p { text-align: justify; }
@media (max-width: 975px) {
  .split, .split-reverse { grid-template-columns: 1fr; gap: 2rem; }
}

/* Card grid (services page: 2 per row, last one centered) */
.service-cards-tight { gap: 16px; max-width: 784px; }
@media (max-width: 575px) { .service-cards-tight .service-card { max-width: none; } }
.service-card.no-icon { padding-top: 48px; }
.service-card.no-icon h3 { margin-top: 0; }
.service-card.no-icon p { font-size: var(--text-body); line-height: 1.15; }

/* Industries: tabs on computers, open/close list on phones */
.industries { display: grid; grid-template-columns: 448px 1fr; gap: 16px 32px; margin-top: 2.2rem; align-items: start; }
.industry-tab {
  grid-column: 1;
  padding: 16px;
  border: 0; border-radius: 16px;
  background: var(--light); color: #000;
  font-family: var(--font-accent); font-size: 1.1rem; font-weight: 700; line-height: 1.5;
  cursor: pointer; transition: background-color .3s, color .3s;
}
.industry-tab:hover { background: var(--white); }
.industry-tab[aria-expanded="true"] { background: var(--card); color: var(--teal); }
.industry-panel {
  grid-column: 2; grid-row: 1 / span 8;
  padding: 24px 24px 32px;
  border-radius: 16px;
  background: var(--card);
}
.industry-panel[hidden] { display: none; }
.industry-panel h3 { font-family: var(--font-body); font-size: var(--text-body); font-weight: 700; text-align: center; letter-spacing: 1px; }
.industry-panel p, .industry-panel ul { margin-top: 1.2rem; }
.industry-panel li { position: relative; padding-left: 16px; }
.industry-panel li::before { content: "›"; position: absolute; left: 2px; color: var(--teal); }
.industry-panel li + li { margin-top: .4rem; }
.industry-panel li strong { color: var(--teal); }
@media (max-width: 975px) {
  .industries { grid-template-columns: 1fr; gap: 12px; }
  .industry-tab, .industry-panel { grid-column: 1; grid-row: auto; }
}

/* Value cards (about page): 4 across, edge to edge */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; }
.value { padding: 32px 32px 40px; border-radius: var(--radius-card); background: var(--card); text-align: center; }
.value:nth-child(odd) { background: var(--purple); }
.value h3 { font-family: var(--font-accent); font-size: var(--text-card-title); font-weight: 400; letter-spacing: 2.88px; color: var(--teal); }
.value p { margin-top: 1.2rem; }
@media (max-width: 975px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .values { grid-template-columns: 1fr; } }

/* Square video tiles (Google case study) */
.work-grid-square .loop-video { aspect-ratio: 1 / 1; }
@media (max-width: 575px) { .work-grid.work-grid-row { grid-template-columns: repeat(3, 1fr); } }

/* Small business: check-mark list (2 x 2) */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 109px; }
.check-grid > div { position: relative; padding-left: 64px; }
.check-grid > div::before {
  content: "✓"; position: absolute; left: 0; top: -14px;
  font-family: var(--font-heading); font-size: 3.6rem; line-height: 1.2; color: var(--mint);
}
.check-grid h3 { font-family: var(--font-body); font-size: var(--text-body); font-weight: 700; letter-spacing: 1px; color: var(--teal); }
.check-grid p { margin-top: 1.5rem; }
@media (max-width: 975px) { .check-grid { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
  .check-grid > div { padding-left: 41px; }
  .check-grid > div::before { font-size: 1.9rem; top: -6px; }
}

/* Small business: process cards (2 x 2) */
.process-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 464px)); justify-content: center; gap: 16px; margin-top: 2.5rem; }
.process-card { padding: 48px 32px; border-radius: var(--radius-card); background: var(--card); text-align: center; }
.process-card.alt { background: var(--purple); }
.process-card h3 { font-family: var(--font-body); font-size: var(--text-body); font-weight: 700; letter-spacing: 1px; color: var(--teal); }
.process-card p { margin-top: 2rem; }
@media (max-width: 575px) { .process-cards { grid-template-columns: 1fr; } }

/* Small business: three short points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 64px; max-width: 1120px; margin: 3rem auto 0; color: var(--purple); }
.points li::before { content: "● "; }
@media (max-width: 975px) { .points { grid-template-columns: 1fr; } }

/* Small business: "What we can create" list + tall video */
.create { display: grid; grid-template-columns: 1fr 552px; gap: 64px; width: min(1120px, 85%); margin-inline: auto; align-items: stretch; }
.create-video { border-radius: 24px; overflow: hidden; min-height: 600px; }
.create-video .loop-video { height: 100%; }
.create-list { margin-top: 2.2rem; max-width: 456px; }
.create-item summary {
  position: relative; display: block;
  padding: 32px 51px 8px 16px;
  border-bottom: 2px solid var(--purple);
  font-family: var(--font-accent); font-size: var(--text-body); font-weight: 400; line-height: 1.5; letter-spacing: normal;
  cursor: pointer; list-style: none;
}
.create-item summary::-webkit-details-marker { display: none; }
.create-item .faq-chevron { right: 12px; top: auto; bottom: 14px; margin-top: 0; }
.create-item[open] .faq-chevron { transform: rotate(180deg); }
.create-item p { padding: 16px 16px 8px; }
@media (max-width: 975px) {
  .create { grid-template-columns: 1fr; width: var(--container); }
  .create-video { min-height: 0; aspect-ratio: 1 / 1; }
}

/* Small business: "Let's talk" split */
.talk { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.talk .heading { text-align: right; }
.talk .button { margin-top: 32px; }
@media (max-width: 575px) { .talk { grid-template-columns: 1fr; } .talk .heading { text-align: left; } }

/* Full-width 16:9 video embed (Vimeo / YouTube) */
.embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Case studies */
.cs-overview { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 0 64px; margin-top: 3.2rem; text-align: left; }
.cs-overview h3 { margin-top: 1.6rem; }
.cs-overview > div > h3:first-child { margin-top: 0; }
.cs-overview p { margin-top: .6rem; }
.cs-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
.cs-images img { width: 100%; height: 231px; object-fit: cover; border-radius: 24px; }
.cs-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.cs-row-logo { grid-template-columns: 1fr 1.6fr; gap: 64px; width: min(1152px, 80%); margin-inline: auto; padding: 72px 0; }
.cs-logo { width: 220px; height: auto; margin: 0 auto; color: var(--light); }
.cs-text { padding: 56px 8%; }
.cs-text h2 + p, .cs-text h2 + ul { margin-top: 1rem; }
.cs-text p + p, .cs-text p + ul, .cs-text ul + p, .cs-text ul + h2, .cs-text p + h2 { margin-top: 1.4rem; }
.cs-text ul li { padding-left: 1.2em; text-indent: -.7em; }
.cs-text ul li::before { content: "• "; }
.cs-media { align-self: stretch; min-height: 420px; position: relative; }
.cs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-media .embed { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.cs-feedback { padding: 56px 0; text-align: center; }
.cs-feedback .eyebrow { color: var(--teal); }
.cs-feedback blockquote { margin-top: 1rem; }
@media (max-width: 975px) {
  .cs-overview { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cs-overview > div:first-child { grid-column: 1 / -1; }
  .cs-row, .cs-row-logo { grid-template-columns: 1fr; }
  .cs-row .cs-media { order: 2; min-height: 0; aspect-ratio: 16 / 9; }
  .cs-row .cs-media .embed { position: absolute; inset: 0; transform: none; }
  .cs-text { padding: 48px 32px; }
}
@media (max-width: 575px) {
  .cs-overview { grid-template-columns: 1fr; }
  .cs-images { gap: 8px; padding: 8px; }
  .cs-images img { height: 120px; border-radius: 16px; }
}

/* Work page: industries list, Vimeo gallery, case study cards */
.industry-list { margin: 1.5rem auto 0; text-align: center; }
.industry-list li { display: inline; }
.industry-list li + li::before { content: " | "; }
.vimeo-gallery { width: min(800px, 100%); margin: 0 auto; }
.vimeo-gallery .main-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.vimeo-gallery .main-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vimeo-gallery .thumb-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vimeo-gallery .thumb-item {
  width: 20vw; max-width: 120px; aspect-ratio: 16 / 9; padding: 0;
  border: 2px solid transparent; border-radius: 6px; overflow: hidden;
  background: #000; cursor: pointer; transition: border-color .2s;
}
.vimeo-gallery .thumb-item[aria-pressed="true"] { border-color: #e63946; }
.vimeo-gallery .thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.case-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 2.6rem; }
.case-card {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: 448px; max-width: 100%; min-height: 306px; padding: 40px 32px 32px;
  border-radius: var(--radius-card); background: var(--purple); color: var(--light); text-align: center;
  transition: transform .3s ease-in-out;
}
.case-card:hover { color: var(--light); transform: translateY(-4px); }
.case-card .icon { width: 190px; height: auto; }
.case-card p { margin-top: 1.2rem; }
.case-card .case-card-link { margin-top: 1.2rem; font-weight: 700; color: var(--navy); }

/* Legal pages */
.legal { max-width: 1152px; }
.legal h2 { font-family: var(--font-body); font-size: var(--text-body); font-weight: 700; letter-spacing: 1px; }
.legal h2 + p, .legal h2 + ul { margin-top: 1.2rem; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 1rem; }
.legal section + section { margin-top: 3rem; }
.legal ul li { padding-left: 1.2em; text-indent: -.7em; }
.legal ul li::before { content: "• "; }
.legal a { color: var(--purple); }
.industries-note { margin-top: 72px; text-align: center; }
.page-faq { padding-bottom: 73px; }
.cta-band .eyebrow-navy { color: var(--navy); }
.values-icon { margin-bottom: .8rem; }
.tagline-plain { color: var(--purple); }
.explore-link { margin-top: 24px; }
.gallery-section { padding: 32px 0 100px; }

/* Small business page spacing */
.page-hero-gradient .hero-intro { font-weight: 400; }
.sb-intro { padding-bottom: 72px; }
.sb-checks .check-grid { width: min(1213px, 100%); margin-inline: auto; }
.sb-explore { margin-top: 64px; }
.sb-trusted .brand-logos { margin-top: 56px; }
.sb-trusted-text { margin-top: 90px; }
.sb-work-button { margin-top: 60px; }
.sb-create { padding: 56px 0 50px; }
.create > div:first-child { padding-top: 47px; }
.sb-not-sure { margin-top: 100px; }
.sb-not-sure .eyebrow + p { margin-top: 1.6rem; }
@media (max-width: 575px) {
  .sb-trusted-text { margin-top: 48px; }
  .sb-not-sure { margin-top: 56px; }
}

/* Legal page top */
.legal-hero h1 { text-align: center; }
.legal-hero .page-hero-text { margin-top: 2rem; }
.legal-hero .page-hero-text h2 { margin-top: 1.4rem; font-family: var(--font-body); font-size: var(--text-body); font-weight: 700; letter-spacing: 1px; }
.legal-hero .page-hero-text h2 + p { margin-top: .8rem; }

/* ======================= 13. Forms & contact page ======================= */

/* Hidden spam trap field (real visitors never see it) */
.form-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Message shown after sending */
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 8px; background: var(--navy); color: var(--light); }
.form-status.is-error { background: #7a1f3d; }
.button:disabled { opacity: .6; cursor: wait; }

/* Contact page top: text on the left, numbers on the right */
.contact-hero { display: grid; grid-template-columns: 560px 1fr; gap: 32px; }
.contact-hero-text { margin-top: 1.5rem; text-align: justify; }
.contact-hero .button-row { margin-top: 1.9rem; }
.contact-stats { text-align: right; }
.contact-stats li + li { margin-top: 15px; }
.contact-stats strong {
  display: block;
  font-family: var(--font-heading); font-size: var(--text-h2); font-weight: 700;
  line-height: 1.2; letter-spacing: normal; color: var(--teal);
}

/* Form section over the telephone photo */
.contact-main {
  padding: 72px 0;
  background: var(--navy) url("../img/contact-phone.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
.contact-grid { display: grid; grid-template-columns: 560px 1fr; gap: 64px; align-items: center; }
.contact-card { padding: 32px; border-radius: var(--radius-card); background: var(--purple); }
.contact-card h2 {
  font-family: var(--font-heading); font-weight: 400; letter-spacing: normal;
  font-size: var(--text-h2); line-height: 1.2; text-align: center;
}
.contact-card h2 strong { color: var(--navy); }
.contact-side { justify-self: center; }
.contact-details {
  width: 384px; max-width: 100%;
  padding: 32px; border-radius: 16px; background: rgba(0, 33, 56, .4);
  backdrop-filter: blur(2px);
}
.contact-details p + p { margin-top: 1.5rem; }
.contact-details a:hover { color: var(--teal); }
.contact-side .footer-social { margin-top: 2rem; }

/* Newsletter band */
.newsletter-grid { display: grid; grid-template-columns: 560px 1fr; gap: 48px; align-items: start; }
.newsletter-title { font-family: var(--font-body); font-size: var(--text-body); font-weight: 700; letter-spacing: 1px; }
.newsletter-grid > div p { margin-top: 1.5rem; }
.newsletter-form { display: grid; gap: 16px; }
.newsletter-row { display: grid; grid-template-columns: 1fr 211px; gap: 16px; }
.newsletter-form input[type="email"] {
  width: 100%; padding: 6px 16px;
  border: 1px solid var(--light); border-radius: 4px;
  background: transparent; color: var(--light); font: inherit; letter-spacing: normal;
}
.newsletter-form input[type="email"]::placeholder { color: var(--light); opacity: .8; }
.text-link-light { text-decoration: underline; }

/* Thank-you page (when JavaScript is off) */
.form-result { min-height: 60vh; }

@media (max-width: 975px) {
  .contact-hero, .contact-grid, .newsletter-grid { grid-template-columns: 1fr; }
  .contact-main { background-attachment: scroll; }
  .contact-side { justify-self: stretch; }
  .contact-details { width: auto; }
}
@media (max-width: 575px) {
  .contact-card { padding: 28px 20px; }
  .newsletter-row { grid-template-columns: 1fr; }
}
