/* Media Made Simple — replica styles (v2: light-first to match the live site)
   Tokens pulled from live site: Archivo (heading) + Space Grotesk (body)
   on #2468FF blue, #111821 dark text on light background. */

:root {
  --color-bg: #ffffff;
  --color-surface: #f4f5f7;
  --color-surface-2: #eef0f3;
  --color-dark: #111821;
  --color-dark-2: #0b1118;
  --color-blue: #2468FF;
  --color-blue-2: #1a55d8;
  --color-text: #111821;
  --color-text-muted: #4a5562;
  --color-text-on-dark: #e7ecf3;
  --color-text-on-dark-muted: #99a6b6;
  --color-border: #e5e9ef;
  --color-border-dark: #1f2a37;

  --font-heading: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 33, 0.05);
  --shadow-md: 0 8px 28px rgba(17, 24, 33, 0.08);

  --container: 1240px;
  --container-narrow: 880px;

  /* Subtle dot pattern */
  --dot-bg:
    radial-gradient(circle, rgba(17,24,33,0.10) 1px, transparent 1.2px);
  --dot-size: 22px 22px;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem;
  background: var(--color-blue); color: #fff;
  padding: 8px 14px; border-radius: var(--radius-sm); z-index: 1000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: inherit;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
strong { font-weight: 600; }

.blue { color: var(--color-blue); }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: var(--container-narrow); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--dark { background: var(--color-dark); color: var(--color-text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--surface { background: var(--color-surface); }
.section--dots {
  background-color: var(--color-surface);
  background-image: var(--dot-bg);
  background-size: var(--dot-size);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 16px 30px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }
.btn--primary:hover { background: var(--color-blue-2); border-color: var(--color-blue-2); }
.btn--outline { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn--outline:hover { background: var(--color-dark); color: #fff; }
.section--dark .btn--outline { color: #fff; border-color: #fff; }
.section--dark .btn--outline:hover { background: #fff; color: var(--color-dark); }

/* Header — WHITE */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.site-header__logo img { width: 160px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 2rem;
}
.nav__list a {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem;
  color: var(--color-dark);
  transition: color 0.15s ease;
}
.nav__list a:hover { color: var(--color-blue); }
.nav__cta { padding: 12px 22px; font-size: 0.95rem; }

.nav__toggle {
  display: none; background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px; color: var(--color-dark);
  font-family: var(--font-heading); font-weight: 600; cursor: pointer;
}

@media (max-width: 880px) {
  .nav__list, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
  .nav.is-open .nav__list {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    gap: 1rem;
  }
  .nav.is-open .nav__cta { display: inline-flex; margin-top: 0.5rem; }
  .site-header__inner { position: relative; }
}

/* HERO — LIGHT with dot pattern */
.hero {
  background-color: var(--color-bg);
  background-image: var(--dot-bg);
  background-size: var(--dot-size);
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
  text-align: center;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}
.hero__title .pill {
  display: inline-block;
  background: var(--color-dark);
  color: #fff;
  padding: 0.05em 0.35em 0.1em;
  border-radius: 8px;
}
.hero__title .period { color: var(--color-blue); }
.hero__lede {
  max-width: 720px;
  margin: 1.8rem auto 2.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.hero__ctas {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem;
}

/* LOGO STRIP — WHITE marquee */
.logo-strip {
  background: var(--color-bg);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  gap: 4rem;
  align-items: center;
}
.marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0 1rem;
}
.marquee__item img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.marquee__item img:hover { opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* PULL QUOTE */
.pullquote {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background: var(--color-bg);
  max-width: 920px;
  margin: 0 auto;
}
.pullquote__mark {
  display: inline-block; margin-bottom: 1.25rem;
  font-size: 2rem; color: var(--color-dark);
}
.pullquote q {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  quotes: "“" "”";
}
.pullquote__author {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.05rem;
}
.pullquote__role {
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Two-column intro */
.two-col {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}

.big-h {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--color-dark);
}
.big-h .period { color: var(--color-blue); }
.big-h .ellipsis { color: var(--color-blue); letter-spacing: -0.05em; }

/* Brand-card pair (Brand First / Performance Marketing) */
.brand-cards {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 860px) {
  .brand-cards { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.brand-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.brand-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1.5rem;
}
.brand-card p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

/* Services grid (What We Do) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.service-card:hover {
  border-color: var(--color-blue);
  background: rgba(36, 104, 255, 0.10);
  transform: translateY(-2px);
}
.service-card .sub {
  display: block; margin-top: 0.5rem;
  font-weight: 400; font-size: 0.95rem;
  color: var(--color-text-on-dark-muted);
}

/* Testimonials grid */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars {
  color: var(--color-blue);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.testimonial__name {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}
.testimonial p {
  margin: 0; color: var(--color-text);
  font-size: 0.98rem; line-height: 1.55;
}

/* Process steps */
.process {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
}
.step__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700; color: var(--color-blue);
  font-size: 0.95rem; margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}
.step h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: #fff; }
.step p { color: var(--color-text-on-dark-muted); margin: 0; font-size: 0.98rem; }

/* Deliverables */
.deliverables { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 880px) { .deliverables { grid-template-columns: repeat(3, 1fr); } }
.deliverable {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
}
.deliverable h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--color-dark); }
.deliverable p { color: var(--color-text-muted); }

/* Right Fit split */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.split__card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.split__card h3 { margin-bottom: 1.25rem; }
.split__card ul { margin: 0; padding: 0; list-style: none; }
.split__card li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  font-size: 1rem; line-height: 1.5;
  color: var(--color-text);
}
.split__card li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--color-blue);
  font-size: 1.15rem;
}
.split__card--neg li::before { content: "✕"; color: #d24242; }

/* Founder block */
.founder { text-align: center; max-width: 880px; margin: 0 auto; }
.founder h2 { color: #fff; margin-bottom: 1rem; }
.founder p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 2rem;
}

/* Final CTA */
.final-cta { text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p {
  color: var(--color-text-on-dark-muted);
  max-width: 640px; margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: var(--color-dark-2);
  color: var(--color-text-on-dark-muted);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--color-border-dark);
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2.5rem;
}
@media (max-width: 700px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand img {
  width: 180px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.site-footer__brand p { font-size: 0.92rem; max-width: 300px; }
.site-footer h4 {
  font-size: 0.95rem; color: #fff;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: var(--color-text-on-dark-muted); font-size: 0.95rem; }
.site-footer a:hover { color: var(--color-blue); }
.site-footer__legal {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem;
}

/* Contact form */
.contact-wrap {
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.4rem; }
.field label {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.95rem;
  color: var(--color-dark);
}
.field input, .field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit; font-size: 1rem;
  color: var(--color-text); background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(36, 104, 255, 0.18);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; gap: 1rem; margin-top: 0.5rem; }

/* Legal pages */
.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal__inner {
  max-width: 820px; margin: 0 auto;
  font-size: 1rem; line-height: 1.7;
}
.legal__inner h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal__inner .legal__eyebrow {
  display: inline-block;
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.legal__inner h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.legal__inner h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal__inner ul, .legal__inner ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.legal__inner li { margin-bottom: 0.4rem; }
.legal__inner a { color: var(--color-blue); }
.legal__inner a:hover { text-decoration: underline; }

/* 404 */
.notfound {
  text-align: center;
  padding: clamp(5rem, 12vw, 10rem) 1.25rem;
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  min-height: calc(100vh - 80px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.notfound h1 { color: #fff; font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 0.5rem; }
.notfound p { color: var(--color-text-on-dark-muted); margin-bottom: 2rem; }

/* Utility */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--color-blue); }
.center { text-align: center; }
.mt-lg { margin-top: 3rem; }
.section__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { margin: 0 auto; max-width: 24ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
