:root {
  --yellow: #ffc700;
  --yellow-hot: #ffd84f;
  --ink: #0f0e0c;
  --white: #fffdf6;
  --cream: #f8f3e7;
  --border: #e8dfcc;
  --coral: #ff5c35;
  --blue: #168cff;
  --green: #77d91f;
  --purple: #8057ff;
  --shadow: 8px 8px 0 var(--ink);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.75rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.12vw, 0.875rem);
  --text-base: clamp(1rem, 0.96rem + 0.15vw, 1rem);
  --text-md: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.25rem, 1.12rem + 0.45vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 0.8vw, 1.75rem);
  --text-2xl: clamp(2rem, 1.55rem + 1.4vw, 2.5rem);
  --text-3xl: clamp(2.75rem, 2rem + 2.2vw, 3.5rem);
  --text-display: clamp(3.25rem, 2.2rem + 4vw, 4.75rem);
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --container-lg: 1200px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-pill: 999px;
  --radius: var(--radius-lg);
  --shadow-sm: 0 4px 12px rgba(16, 23, 32, 0.08);
  --shadow-md: 0 12px 32px rgba(16, 23, 32, 0.12);
  --duration-fast: 150ms;
  --duration-base: 220ms;
  --duration-slow: 360ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-playful: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: var(--text-base);
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.shell { width: min(var(--container-lg), calc(100% - 32px)); margin-inline: auto; }
.section-pad { padding: var(--space-24) 0; }
.skip-link, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 750;
}
.nav-links a:not(.btn),
.nav-dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-item {
  position: relative;
}
.nav-dropdown-toggle {
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.nav-dropdown-toggle span {
  font-size: 0.9rem;
  transition: transform var(--duration-fast) var(--ease-standard);
}
.has-dropdown.is-open .nav-dropdown-toggle span,
.has-dropdown:hover .nav-dropdown-toggle span {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(320px, 90vw);
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(15, 14, 12, 0.18);
  display: grid;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0);
  transition: opacity var(--duration-fast) var(--ease-standard);
}
.nav-dropdown a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.9rem;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--cream);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown.is-open .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.menu-toggle { display: none; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  transition: transform var(--duration-base) var(--ease-playful), box-shadow var(--duration-base) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn:hover, .btn:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-secondary:hover, .btn-secondary:focus-visible { box-shadow: 6px 6px 0 var(--yellow); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 14, 12, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 14, 12, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(255, 199, 0, 0.38), transparent 28%),
    linear-gradient(180deg, var(--white), var(--cream));
  background-size: 34px 34px, 34px 34px, auto, auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 54px;
  align-items: center;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 4px 4px 0 var(--ink);
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .hero-title, .card-title, .small-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: normal;
}
h1, .h1, .hero-title {
  max-width: 820px;
  font-size: 3.5rem;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: normal;
}
h2, .h2, .section-title {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: normal;
}
h3, .h3, .card-title {
  font-size: 2rem;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: normal;
}
h4, .h4 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: normal;
}
h5, .h5 {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: normal;
}
h6, .h6 {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: normal;
}
.section-title {
  max-width: 1000px;
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: normal;
  color: var(--section-title-color, var(--ink));
}
.small-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: normal;
  color: var(--ink);
}
.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  color: #3c3529;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}
.proof-list div {
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.78);
}
.proof-list dd { margin: 3px 0 0; color: #5d5342; font-size: 0.92rem; }

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.mock-browser {
  width: min(100%, 520px);
  min-height: 430px;
  border: 3px solid var(--ink);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 18px 18px 0 var(--ink);
  overflow: hidden;
  rotate: -1deg;
  transition: transform var(--duration-slow) var(--ease-playful), rotate var(--duration-slow) var(--ease-playful);
}
.hero-visual:hover .mock-browser {
  transform: scale(1.025) translateY(-4px);
  rotate: 1deg;
}
.browser-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
}
.browser-bar span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}
.browser-bar span:nth-child(2) { background: var(--green); }
.browser-bar span:nth-child(3) { background: var(--blue); }
.mock-content { padding: 24px; }
.mock-hero-card {
  min-height: 180px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  align-content: end;
  background-image: linear-gradient(135deg, rgba(255,199,0,.95), rgba(255,92,53,.92));
  color: var(--ink);
}
.mock-hero-card span { font-weight: 900; }
.mock-hero-card strong { max-width: 100%; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 0.92; }
.mock-hero-card small { max-width: 360px; margin-top: 8px; font-weight: 800; line-height: 1.25; }
.mock-funnel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.mock-funnel span, .mock-grid span {
  min-height: 58px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.mock-grid span:nth-child(1) { background: var(--blue); }
.mock-grid span:nth-child(2) { background: var(--green); }
.mock-grid span:nth-child(3) { background: var(--purple); }
.mock-grid span:nth-child(4) { background: var(--coral); }
.sticker, .floating-card {
  position: absolute;
  z-index: 3;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  padding: 12px 16px;
  font-weight: 950;
  box-shadow: var(--shadow);
}
.sticker-coral { top: 38px; right: 4px; background: var(--coral); color: var(--white); rotate: 8deg; }
.floating-card { border-radius: 16px; }
.ai-card { left: 4px; bottom: 86px; display: flex; align-items: center; gap: 8px; }
.seo-card { right: 12px; bottom: 24px; background: var(--green); rotate: -3deg; }
.brand-card { right: 0; top: 128px; background: var(--blue); color: var(--white); rotate: 3deg; }
.hero-visual:hover .sticker { animation: wiggle 700ms var(--ease-playful); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--ink); }

.trusted-marquee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 48px;
  padding: 14px 18px;
  border: 1px solid rgba(232, 223, 204, 0.95);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 246, 0.68);
  color: #6f6454;
  backdrop-filter: blur(8px);
}
.trusted-marquee p {
  margin: 0;
  color: #4d4437;
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}
.trusted-marquee-viewport {
  overflow: hidden;
  min-width: 0;
}
.trusted-marquee-track {
  display: flex;
  width: max-content;
  animation: trusted-scroll 38s linear infinite;
}
.trusted-marquee:hover .trusted-marquee-track {
  animation-play-state: paused;
}
.trusted-logo-group {
  display: flex;
  flex-shrink: 0;
  gap: 34px;
  padding-right: 34px;
}
.trusted-logo {
  min-width: 112px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trusted-logo img {
  max-width: 150px;
  max-height: 30px;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(39%) sepia(8%) saturate(741%) hue-rotate(349deg) brightness(92%) contrast(85%);
  opacity: 0.72;
}
.trusted-logo img.logo-preserve-detail {
  filter: none;
}

.capability-strip {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--yellow);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 32s linear infinite;
}
.capability-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  padding: 18px 6px;
}
.marquee-group:first-child { padding-left: 12px; }
.marquee-group:last-child { padding-right: 12px; }
.marquee-group span {
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 950;
  white-space: nowrap;
}

.section-head {
  display: grid;
  gap: 18px;
  align-items: start;
  max-width: 1000px;
  margin-bottom: 34px;
}
.section-head.compact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 1000px;
}
.section-head p:last-child { margin: 0; color: #5d5342; font-size: 1.08rem; }
.capability-heading {
  max-width: 1000px;
  margin-bottom: 34px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card, .work-card, .why-list article, .solution-panel, details {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(15, 14, 12, 0.12);
}
.motion-card {
  box-shadow: 6px 6px 0 rgba(15, 14, 12, 0.12);
  transition: transform var(--duration-base) var(--ease-playful), box-shadow var(--duration-slow) var(--ease-standard);
}
.motion-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.service-card {
  min-height: 320px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--yellow);
  font-weight: 950;
  margin-bottom: 24px;
}
.service-card p { color: #4d4437; margin: 14px 0 24px; }
.service-card a { margin-top: auto; font-weight: 950; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.service-card.motion-card:hover,
.service-card.motion-card:focus-visible,
.service-card.motion-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 rgba(15, 14, 12, 0.32);
}
.accent-blue .service-icon { background: var(--blue); color: var(--white); }
.accent-coral .service-icon { background: var(--coral); color: var(--white); }
.accent-green .service-icon { background: var(--green); }
.accent-purple .service-icon { background: var(--purple); color: var(--white); }
.accent-black .service-icon { background: var(--ink); color: var(--white); }

.problem { background: var(--cream); border-block: 1px solid var(--border); }
.split, .why-grid, .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}
.problem .split { align-items: center; }
.solution-panel { padding: 28px; font-size: 1.08rem; }
.check-list { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-weight: 850; }
.check-list li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; flex: 0 0 auto; border: 2px solid var(--ink); background: var(--green); border-radius: 50%; }

.process-list {
  counter-reset: process;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.process .section-head { margin-bottom: 24px; }
.process-list li {
  counter-increment: process;
  padding: 18px;
  min-height: 210px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 6px 6px 0 rgba(15, 14, 12, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--duration-base) var(--ease-playful), box-shadow var(--duration-slow) var(--ease-standard);
}
.process-list li:nth-child(even) { background: var(--white); transform: translateY(22px); }
.process-list li:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 rgba(15, 14, 12, 0.32); }
.process-list li:nth-child(even):hover { transform: translateY(16px); }
.process-list li::before { content: "0" counter(process); font-weight: 950; font-size: 0.9rem; }
.process-list .small-card-title { color: var(--ink); }
.process-list p { margin: 12px 0 0; font-size: 0.94rem; }

.work { background: var(--ink); color: var(--white); }
.work { --section-title-color: var(--white); }
.work .section-kicker { color: var(--ink); }
.work .section-head { margin-bottom: 24px; }
.work .section-head p:last-child { color: #eadfc8; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { overflow: hidden; background: #181510; color: var(--white); border-color: var(--white); }
.work-card.motion-card:hover,
.work-card.motion-card:focus-visible,
.work-card.motion-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--yellow);
}
.work-card > div:last-child { padding: 20px; }
.work-card p { margin: 0 0 8px; color: var(--yellow); font-weight: 850; }
.work-card .small-card-title { color: var(--white); }
.work-card span { color: #efe7d9; }
.work-thumb {
  aspect-ratio: 16 / 10;
  min-height: 220px;
  border-bottom: 2px solid var(--white);
  background:
    linear-gradient(135deg, rgba(255,255,255,.24), transparent 35%),
    var(--yellow);
  position: relative;
  overflow: hidden;
}
.work-thumb-image {
  background: var(--cream);
}
.work-thumb-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--duration-base) var(--ease-playful);
}
.work-thumb::before, .work-thumb::after {
  content: "";
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
}
.work-thumb-image::before,
.work-thumb-image::after {
  content: none;
}
.work-card:hover .work-thumb::before,
.work-card:focus-visible .work-thumb::before {
  transform: scale(1.04);
}
.work-card:hover .work-thumb-image img,
.work-card:focus-visible .work-thumb-image img {
  transform: scale(1.04);
}
.work-thumb::before { transition: transform var(--duration-base) var(--ease-playful); }
.work-thumb::before { width: 70%; height: 42%; left: 18px; top: 28px; }
.work-thumb::after { width: 46%; height: 24%; right: 18px; bottom: 28px; background: var(--green); }
.thumb-two { background-color: var(--cream); }
.thumb-two::after { background: var(--blue); }
.thumb-three { background-color: var(--coral); }
.thumb-three::after { background: var(--purple); }

.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.why-list article { padding: 20px; display: grid; gap: 8px; align-content: start; }
.why-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(15, 14, 12, 0.16);
}
.why-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-list article > span:not(.why-icon) { color: #5d5342; }

.trust {
  background:
    linear-gradient(135deg, rgba(255, 199, 0, 0.95) 0 52%, var(--white) 52% 100%);
}
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}
.quote-card {
  --section-title-color: var(--white);
  position: relative;
  border: 3px solid var(--ink);
  border-radius: var(--radius-2xl);
  background: var(--ink);
  color: var(--white);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 12px 12px 0 var(--yellow);
  overflow: hidden;
}
.quote-card p {
  max-width: 560px;
  margin: 24px 0 0;
  color: #efe7d9;
  font-size: 1.08rem;
}
.quote-mark {
  position: absolute;
  right: 24px;
  top: -28px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 13rem;
  line-height: 1;
}
.trust-stack {
  display: grid;
  gap: 14px;
}
.trust-stack article {
  min-height: 150px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(15, 14, 12, 0.16);
  display: grid;
  align-content: center;
  gap: 8px;
}

.is-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--duration-slow) var(--ease-standard), transform var(--duration-slow) var(--ease-playful);
}
.is-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.accordion { display: grid; gap: 12px; }
details {
  padding: 0;
  overflow: hidden;
}
summary {
  min-height: 58px;
  cursor: pointer;
  padding: 18px 54px 18px 20px;
  font-weight: 950;
  position: relative;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.5rem;
  transition: transform var(--duration-base) var(--ease-standard);
}
details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}
details p {
  padding: 0 20px 20px;
  margin: 0;
  color: #5d5342;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
details[open] p {
  opacity: 1;
  transform: translateY(0);
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(255, 199, 0, 0.92), rgba(255, 199, 0, 0.55)),
    var(--yellow);
}
.cta-panel {
  min-height: 370px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: var(--white);
  padding: 42px 24px;
  box-shadow: 14px 14px 0 var(--ink);
}
.cta-panel .section-title { max-width: 900px; }
.quote-form {
  background: var(--white);
}
.quote-form-head {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}
.quote-form-head h2 {
  max-width: 800px;
  text-align: center;
}
.quote-form-head p {
  margin: 0;
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #3c3529;
}
.project-form,
.contact-form {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
}
.project-form {
  padding: clamp(24px, 5vw, 52px);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 10px 10px 0 rgba(15, 14, 12, 0.14);
}
.project-form fieldset {
  margin: 0 0 34px;
  padding: 0;
  border: 0;
}
.project-form legend,
.project-form label {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
}
.form-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 0.45rem;
  max-width: 100%;
}
.form-services legend {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
}
.form-services label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 38px;
  font-size: 0.95rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.form-services input {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 0.25rem;
  background: var(--white);
  display: grid;
  place-content: center;
  cursor: pointer;
}
.form-services input::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  transform: scale(0);
  transition: transform var(--duration-fast) var(--ease-playful);
  background: var(--yellow);
  border-radius: 0.15rem;
}
.form-services input:checked::before {
  transform: scale(1);
}
.form-services input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.form-services label:has(input:focus-visible) {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 0.375rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}
.form-grid label {
  display: grid;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}
.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}
.form-grid input::placeholder,
.form-grid textarea::placeholder {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: #81776a;
}
.form-full {
  grid-column: 1 / -1;
}
.form-submit {
  margin-top: 32px;
  min-width: 134px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: normal;
}
.footer {
  padding: 54px 0;
  background: var(--ink);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 28px;
}
.footer p { color: #d7cdbb; max-width: 340px; }
.footer h2 { font-size: 0.9rem; text-transform: uppercase; margin-bottom: 14px; color: var(--yellow); }
.footer nav { display: grid; align-content: start; gap: 8px; }
.footer a { min-height: 32px; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes trusted-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  30% { transform: rotate(-5deg) translateY(-4px); }
  65% { transform: rotate(4deg) translateY(1px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .marquee-track {
    width: auto;
    animation: none !important;
  }
  .trusted-marquee-track {
    width: auto;
    animation: none !important;
    flex-wrap: wrap;
  }
  .marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 12px;
  }
  .trusted-logo-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .marquee-group-copy { display: none; }
  .trusted-logo-group-copy { display: none; }
}

@media (max-width: 980px) {
  .section-pad { padding: var(--space-20) 0; }
  .menu-toggle {
    width: 48px;
    height: 48px;
    display: grid;
    gap: 5px;
    place-content: center;
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: var(--yellow);
  }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); display: block; }
  .nav-links {
    position: fixed;
    inset: 74px 16px auto 16px;
    display: grid;
    gap: 2px;
    padding: 18px;
    border: 2px solid var(--ink);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn),
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 44px;
    padding: 12px;
    border-radius: 12px;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    width: 100%;
    margin: 0 0 8px;
    padding: 6px 0 6px 12px;
    border: 0;
    border-left: 2px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  .has-dropdown.is-open .nav-dropdown {
    display: grid;
  }
  .nav-dropdown a {
    min-height: 40px;
    padding: 9px 12px;
  }
  .hero-grid, .split, .why-grid, .faq-grid, .section-head, .trust-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 470px; }
  .services-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  h1, .h1, .hero-title {
    font-size: 3rem;
  }
  h2, .h2, .section-title {
    font-size: 2.25rem;
    line-height: 1.12;
  }
  h3, .h3, .card-title {
    font-size: 1.75rem;
  }
  h4, .h4 {
    font-size: 1.35rem;
  }
  .contact-form {
    max-width: 100%;
  }
  .form-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1120px); }
  .section-pad { padding: var(--space-16) 0; }
  .hero-grid { gap: 34px; }
  .hero-actions, .proof-list { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .trusted-marquee {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
    border-radius: var(--radius-xl);
  }
  .trusted-marquee p {
    text-align: center;
  }
  .proof-list, .services-grid, .work-grid, .why-list, .process-list, .footer-grid, .form-services, .form-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .mock-browser { min-height: 350px; box-shadow: 9px 9px 0 var(--ink); border-radius: 24px; }
  .mock-hero-card strong { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .sticker-coral { top: 0; right: 0; }
  .ai-card { left: 0; bottom: 56px; }
  .seo-card { right: 0; bottom: 0; }
  .brand-card { right: 0; top: 72px; }
  .process-list li:nth-child(even), .process-list li:nth-child(even):hover { transform: none; }
  .service-card { min-height: auto; }
  .project-form { padding: 22px; box-shadow: 7px 7px 0 rgba(15, 14, 12, 0.14); }
  .form-full { grid-column: auto; }
  .cta-panel { box-shadow: 8px 8px 0 var(--ink); border-radius: 24px; }
}

@media (max-width: 480px) {
  h1, .h1, .hero-title {
    font-size: 2.5rem;
  }
  h2, .h2, .section-title { font-size: 2rem; }
  h3, .h3, .card-title { font-size: 1.55rem; }
  h4, .h4 { font-size: 1.25rem; }
  h3, .h3, .card-title { font-size: 1.55rem; }
  h4, .h4 { font-size: 1.25rem; }
}



/* Reusable case study cards and modal: typography inherits the shared homepage system. */
.work-card .case-study-trigger {
  display: block;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.work-card .case-study-trigger > div:last-child { padding: 20px; }
.work-card .case-study-trigger:focus-visible { outline: 0; }
.work-card:focus-within { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--yellow); }
.work-card .case-study-cover img { background: var(--cream); }

.case-study-modal {
  width: min(100% - 32px, 1040px);
  max-width: none;
  max-height: min(900px, calc(100svh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
}
.case-study-modal::backdrop { background: rgba(15, 14, 12, 0.78); }
.case-study-modal-inner {
  display: grid;
  gap: 28px;
  padding: 32px;
}
.case-study-close {
  justify-self: end;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.case-study-close:hover,
.case-study-close:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.case-study-modal-head { display: grid; gap: 16px; max-width: 760px; }
.case-study-modal-head > * { margin: 0; }
.case-study-modal-head > p:last-child { color: #4d4437; }
.case-study-gallery { display: grid; gap: 14px; }
.case-study-gallery-stage {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}
.case-study-gallery-stage img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: top center; }
.case-study-gallery-note { margin: 0; color: #4d4437; }
.case-study-gallery-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.case-study-gallery-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.case-study-gallery-controls button[aria-current="true"] { background: var(--yellow); }
.case-study-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-study-story section {
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(15, 14, 12, 0.12);
}
.case-study-story h3,
.case-study-story p { margin: 0; }
.case-study-story p { margin-top: 12px; color: #4d4437; }
.case-study-modal-open { overflow: hidden; }

@media (max-width: 768px) {
  .case-study-modal { width: 100%; max-height: 100svh; border-radius: 0; }
  .case-study-modal-inner { gap: 24px; padding: 24px 18px; }
  .case-study-story { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .case-study-close { transition: none; }
}