:root {
  --pink: #e6246b;
  --pink-dark: #c41657;
  --yellow: #f3be55;
  --ink: #22191d;
  --paper: #ffffff;
  --mist: #f8f2f4;
  --muted: #5e5357;
  --line: #eadfe3;
  --radius: 1.25rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; background: var(--paper); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .5rem 1rem; border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: .25rem; }

.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }

.eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
}
.eyebrow-yellow { color: var(--yellow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--pink); color: var(--paper); }
.btn-pink:hover { background: var(--pink-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 2.5rem; padding: .5rem 1.125rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 5rem;
}
.brand img { width: 3.5rem; height: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 999px; background: var(--mist); cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 1.125rem; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; inset: 100% 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none; margin: 0; padding: 1rem 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.site-nav a:not(.btn) {
  display: block; padding: .75rem 0;
  font-weight: 500; font-size: 1.125rem; text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--pink); }
.site-nav .btn { margin-top: .5rem; width: 100%; }

@media (min-width: 48rem) {
  .brand img { width: 4rem; }
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 2rem; padding: 0; }
  .site-nav a:not(.btn) { padding: .25rem 0; font-size: 1rem; }
  .site-nav .btn { margin: 0; width: auto; }
}

/* Hero */
.hero { padding: 1.5rem 0 4rem; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; max-width: 56rem; }
.hero-copy .lead { margin-inline: auto; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 800; }
.hero .hl { color: var(--pink); }
.hero .plus { color: var(--yellow); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }

.hero-media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--mist);
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

@media (min-width: 40rem) {
  .hero-media { aspect-ratio: 1200 / 535; border-radius: 2rem; }
  .hero-media img { object-fit: contain; }
}

@media (min-width: 64rem) {
  .hero { padding: 2rem 0 6rem; }
  .hero-inner { gap: 3.5rem; }
}

/* Specialties marquee */
.specialties { background: var(--pink); color: var(--paper); overflow: hidden; }
.marquee { display: flex; padding: 1.25rem 0; }
.marquee-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-shrink: 0; gap: 2.5rem;
  animation: marquee 40s linear infinite;
}
.marquee-track li {
  display: flex; align-items: center; gap: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.75rem);
}
.marquee-track li::after {
  content: ""; width: .75rem; height: .75rem; border-radius: 50% 50% 50% 0;
  background: var(--yellow); flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(calc(-50% - 1.25rem)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: .75rem; padding-inline: 1.25rem; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; margin-bottom: 2.5rem; }
.section-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; }

@media (min-width: 64rem) { .section { padding: 6.5rem 0; } }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.service {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service:hover { border-color: var(--pink); box-shadow: 0 18px 40px -24px rgb(230 36 107 / .45); transform: translateY(-2px); }
.service h3 {
  align-self: flex-start;
  font-size: 1.375rem; font-weight: 700;
  background: var(--yellow);
  padding: .5rem 1rem;
  border-radius: 1rem 1rem 1rem .25rem;
}
.service-intro { color: var(--ink); font-weight: 500; }
.service ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .625rem; color: var(--muted); }
.service li { position: relative; padding-left: 1.5rem; }
.service li::before {
  content: "+"; position: absolute; left: 0; top: 0;
  color: var(--pink); font-weight: 700;
}
@media (min-width: 48rem) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } .service { padding: 2.25rem; } }

/* Clients */
.clients-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.clients-grid li {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 6px 18px -10px rgb(34 25 29 / .3);
  transition: transform .25s;
}
.clients-grid li:hover { transform: scale(1.06) rotate(-3deg); }
.clients-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.22);
}
@media (min-width: 36rem) { .clients-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
@media (min-width: 56rem) { .clients-grid { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; } }

/* About */
.about-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.about-photo { margin: 0; max-width: 22rem; position: relative; isolation: isolate; }
.about-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50% 50% 50% 1.5rem;
}
.about-photo::after {
  content: ""; position: absolute; right: -0.75rem; top: 1rem;
  width: 4.5rem; height: 4.5rem;
  background: var(--yellow);
  border-radius: 50% 50% 50% .25rem;
  z-index: -1;
}
.about-copy { display: flex; flex-direction: column; gap: 1.125rem; max-width: 42rem; }
.about-copy p:not(.eyebrow):not(.about-lead) { color: var(--muted); }
.about-lead { font-size: 1.25rem; font-weight: 500; line-height: 1.5; }
@media (min-width: 56rem) {
  .about-inner { flex-direction: row; align-items: flex-start; gap: 5rem; }
  .about-photo { flex: 0 0 22rem; position: sticky; top: 7rem; }
}

/* Contact */
.contact-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-copy { display: flex; flex-direction: column; gap: 1rem; }
.contact-copy p:not(.eyebrow) { color: color-mix(in srgb, var(--paper) 75%, transparent); font-size: 1.125rem; max-width: 28rem; }
.contact-form {
  display: flex; flex-direction: column; gap: 1.125rem;
  background: var(--paper); color: var(--ink);
  padding: 1.5rem;
  border-radius: 1.5rem 1.5rem 1.5rem .375rem;
}
.field-row { display: flex; flex-direction: column; gap: 1.125rem; }
.field { display: flex; flex-direction: column; gap: .375rem; flex: 1; }
.field label { font-weight: 500; font-size: .9375rem; }
.req { color: var(--muted); font-weight: 400; font-size: .8125rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: var(--mist);
  border: 1.5px solid transparent;
  border-radius: .75rem;
  padding: .75rem 1rem;
  min-height: 3rem;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); background: var(--paper); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-weight: 500; min-height: 1.5rem; text-align: center; }
.form-status.is-success { color: #1d7a46; }
.form-status.is-error { color: var(--pink-dark); }

@media (min-width: 36rem) { .field-row { flex-direction: row; } .contact-form { padding: 2rem; } }
@media (min-width: 56rem) {
  .contact-inner { flex-direction: row; align-items: flex-start; gap: 5rem; }
  .contact-copy { flex: 1; position: sticky; top: 7rem; }
  .contact-form { flex: 1.25; padding: 2.5rem; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .875rem; }
.footer-inner img { width: 2.75rem; }
