:root {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-optical-sizing: auto;
  color: #111;
  background: #000;
  --gutter: clamp(16px, 2.8vw, 64px);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-height) + 12px); }
:focus-visible { outline: 2px solid #678bee; outline-offset: 5px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 10; background: #fff; color: #000; padding: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: .38em; width: fit-content; font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.footer-wordmark { width: 156px; }
.footer-wordmark img { display: block; width: 100%; height: auto; aspect-ratio: 6; object-fit: cover; filter: brightness(0) invert(1); }
footer a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { overflow: hidden; color: #fff; background: #000; text-align: center; }
.hero-stage { position: relative; isolation: isolate; }
.hero-backgrounds, .hero-stage::after { position: absolute; inset: 0; }
.hero-backgrounds { z-index: -2; isolation: isolate; pointer-events: none; }
.hero-backgrounds img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  opacity: 0;
  mix-blend-mode: plus-lighter;
  transition: opacity .65s ease-in-out;
}
.hero-backgrounds img[data-project="case-cgrd"] {
  object-fit: contain;
  object-position: 78% center;
  background: #a55e32;
}
.hero-backgrounds .is-current { opacity: 1; }
.hero-stage::after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, #0007, #0006 40%, #0006 59%, #000);
  pointer-events: none;
}
.hero-content { padding: clamp(152px, 16.67vw, 260px) var(--gutter) 0; }
h1 { max-width: 12.5em; margin: 0 auto; font-size: clamp(40px, 4.45vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.hero-subtitle { margin: clamp(14px, 1.5vw, 22px) 0 0; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.4; text-wrap: balance; }
.hero-content .button { margin-top: clamp(24px, 2.23vw, 36px); }
.hero-stats { max-width: 1080px; margin: auto; padding: 64px var(--gutter) clamp(76px, 8vw, 128px); }
.hero-stats h2 { margin: 0 0 clamp(32px, 4vw, 56px); color: #ddd; font-size: 16px; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.hero-stats dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.hero-stats dt { font-size: clamp(28px, 4.8vw, 60px); font-weight: 300; line-height: 1.23; letter-spacing: -.06em; }
.hero-stats dd { margin: 8px 0 0; color: #fff; font-size: 12px; line-height: 1.4; }
.hero-stats dt { font-variant-numeric: tabular-nums; }
.stat-digit { position: relative; display: inline-block; height: 1lh; overflow: hidden; vertical-align: bottom; color: transparent; }
.stat-reel { position: absolute; inset: 0 0 auto; color: white; white-space: pre; pointer-events: none; user-select: none; }
.stat-reel::before { content: attr(data-frames); }
.section { padding: clamp(68px, 8vw, 130px) var(--gutter); }
.light { background: #fff; color: #111; }
.dark { background: #000; color: #fff; }
.centered { text-align: center; }
h2 { margin: 0; font-size: clamp(30px, 3vw, 36px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
h3 { margin: 0; font-size: clamp(23px, 2.4vw, 40px); font-weight: 400; line-height: 1.06; letter-spacing: -.04em; }
.section p { line-height: 1.5; }
.centered > p { margin: 16px auto 0; max-width: 44ch; }
.service-heading { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; margin-bottom: clamp(34px, 6vw, 78px); }
.service-heading h2 { font-size: clamp(33px, 3.1vw, 49px); line-height: 1.03; }
.service-heading p { margin: 2px 0 0; max-width: 57ch; font-size: 16px; }
.service-track { --service-gap: clamp(14px, 3vw, 40px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--service-gap)) / 4); gap: var(--service-gap); margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.service-track::-webkit-scrollbar { display: none; }
.service-card { position: relative; isolation: isolate; min-height: clamp(340px, 29vw, 425px); border-radius: 8px; overflow: hidden; background: #213953; color: #fff; scroll-snap-align: start; scroll-margin: 0; }
.service-card a { display: grid; grid-template-rows: auto 1fr auto; min-height: 100%; gap: 8px; padding: clamp(18px, 1.9vw, 26px); }
.service-card a:focus-visible { outline-offset: -4px; }
.service-card:has(.service-cover)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(165deg, #000e, #000a 33%, #0002 76%, #0008); }
.service-cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.service-copy h3 { font-size: clamp(19px, 1.7vw, 25px); font-weight: 550; letter-spacing: -.025em; }
.service-copy p { margin: 7px 0 0; font-size: 14px; line-height: 1.35; }
.service-cover, .service-art, .art-note, .art-network, .art-audience { transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.service-art { position: relative; align-self: center; width: 100%; min-width: 0; color: #202027; }
.service-preview { display: block; width: 100%; max-height: 160px; object-fit: cover; border-radius: 6px; box-shadow: 0 14px 28px #0005; }
.art-project { padding: 0 5% 9%; transform: rotate(-3deg); }
.art-note { position: absolute; right: -1%; bottom: 3%; padding: 7px 9px; border-radius: 5px; background: #fffc; backdrop-filter: blur(12px); color: #171717; font-size: 10px; box-shadow: 0 6px 14px #0003; }
.seo-article-count { display: grid; gap: 4px; padding-inline: 4%; color: #fff; }
.seo-article-count strong { font-size: clamp(48px, 5vw, 78px); font-weight: 500; line-height: 1; letter-spacing: -.065em; }
.seo-article-count span { max-width: 17ch; font-size: 14px; line-height: 1.35; }
.service-seo .service-cover { filter: grayscale(.9) brightness(.72); object-position: 70% center; }
.service-brand .art-project, .service-crm .art-project { transform: rotate(3deg); }
.service-card a:is(:hover, :focus-visible) .service-cover { transform: scale(1.055); }
.service-card a:is(:hover, :focus-visible) .service-art { transform: translateY(-6px); }
.service-card a:is(:hover, :focus-visible) :is(.art-note, .art-network, .art-audience) { transform: translate(4px, -4px); }
.service-arrow { justify-self: end; transition: transform .25s ease; }
.service-arrow svg { display: block; width: 22px; height: 22px; }
.service-card a:is(:hover, :focus-visible) .service-arrow { transform: translateX(4px); }
.service-direct { background: radial-gradient(ellipse at 90% 95%, #e5784b, transparent 60%), #46241c; }
.service-target { background: radial-gradient(ellipse at 90% 85%, #7360bb, transparent 65%), #282043; }
.service-audit { background: radial-gradient(ellipse at 85% 90%, #477970, transparent 65%), #173932; }
.service-team { background: radial-gradient(ellipse at 85% 90%, #a6754f, transparent 65%), #3e2d24; }
.service-analysis { background: radial-gradient(ellipse at 85% 90%, #547594, transparent 65%), #24354b; }
.art-direct { padding: 7px 14% 34px 0; transform: rotate(-3deg); }
.art-search, .art-ad, .art-network, .art-social, .art-audience, .art-board { background: #faf8f5; border-radius: 7px; box-shadow: 0 10px 20px #0003; }
.art-search { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; padding: 9px; font-size: 11px; }
.art-search i { width: 10px; height: 10px; border: 2px solid #e34f34; border-radius: 50%; }
.art-ad { display: grid; gap: 6px; padding: 11px; }
.art-ad span { color: #5f5751; font-size: 9px; }
.art-ad b { font-size: 11px; }
.art-ad i { height: 3px; width: 77%; border-radius: 3px; background: #dfd7d1; }
.art-ad i:last-child { width: 58%; }
.art-network { position: absolute; right: -2%; bottom: 5px; width: 45%; padding: 5px; font-size: 9px; }
.art-network img { display: block; width: 100%; aspect-ratio: 2; object-fit: cover; border-radius: 4px; }
.art-network b { display: block; margin: 4px; }
.art-target { padding: 0 23% 0 0; transform: rotate(3deg); }
.art-social { overflow: hidden; font-size: 9px; }
.art-social div { display: flex; align-items: center; gap: 5px; padding: 7px; }
.art-social i { width: 11px; height: 11px; border-radius: 50%; background: #6856a9; }
.art-social img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.art-social > span { display: block; padding: 7px; color: #4b3c85; }
.art-audience { position: absolute; right: -3%; bottom: 8%; display: grid; gap: 4px; padding: 7px; font-size: 9px; }
.art-audience span { padding: 4px; background: #ece7f6; border-radius: 3px; }
.art-board { margin: 0 8%; padding: 12px; display: grid; gap: 6px; font-size: 11px; transform: rotate(-3deg); }
.art-board b { padding-bottom: 4px; }
.art-board span { padding: 6px 8px; background: #e5eeec; border-radius: 4px; }
.art-team .art-board { transform: rotate(3deg); }
.art-team .art-board span { background: #f2e4d6; }
.art-analysis .art-board span { background: #e3eaf3; }
@media (prefers-reduced-motion: no-preference) {
  .service-entered .service-art {
    animation: service-art-in .88s cubic-bezier(.22, 1, .36, 1) var(--entry-delay) backwards;
  }
  .service-entered :is(.art-note, .art-network, .art-audience) {
    animation: service-detail-in .72s cubic-bezier(.22, 1, .36, 1) calc(var(--entry-delay) + 140ms) backwards;
  }
}
@keyframes service-art-in {
  from { opacity: .28; translate: 0 22px; scale: .94; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes service-detail-in {
  from { opacity: 0; translate: 9px 14px; }
  to { opacity: 1; translate: 0 0; }
}
.service-footer { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 24px; }
.service-progress { grid-column: 2; width: 78px; height: 4px; background: #ddd; border-radius: 4px; overflow: hidden; }
.service-progress span { display: block; width: 33%; height: 100%; background: #555; border-radius: inherit; }
.service-controls { justify-self: end; display: flex; gap: 8px; }
.service-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 50%; background: #fff; color: #111; }
.service-controls button:disabled { opacity: .35; cursor: default; }
.service-controls svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .service-track { grid-auto-columns: calc((100% - 2 * var(--service-gap)) / 3); } }
@media (max-width: 760px) {
  .service-heading { grid-template-columns: 1fr; gap: 12px; }
  .service-track { grid-auto-columns: min(76vw, 310px); }
}
@media (prefers-reduced-motion: reduce) {
  .service-track { scroll-behavior: auto; }
  .service-card :is(.service-cover, .service-art, .art-note, .art-network, .art-audience, .service-arrow) { transition: none; }
  .service-card a:is(:hover, :focus-visible) :is(.service-cover, .service-art, .art-note, .art-network, .art-audience, .service-arrow) { transform: none; }
}

.onboarding {
  border-top: 1px solid #e3e3e3;
  background: radial-gradient(ellipse at 15% 105%, #a79987, transparent 65%), linear-gradient(#fff 30%, #ece8e1);
}
.onboarding-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); max-width: 960px; margin: 48px auto 0; }
.onboarding-grid > a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #0d0d0d;
  color: #fff;
  border-radius: 10px;
  transition: transform .5s var(--menu-ease), box-shadow .5s var(--menu-ease);
}
.onboarding-grid > .is-tilting {
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow: 0 22px 48px #17110d44;
  transition-duration: .14s;
}
.onboarding-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1.4; overflow: hidden; perspective: 720px; }
.onboarding-visual-audit { background: radial-gradient(ellipse at 44% 62%, #514560 0%, #292131 48%, #0d0d0d 81%); }
.onboarding-visual-performance { background: radial-gradient(ellipse at 60% 45%, #32534c 0%, #192e28 48%, #0d0d0d 81%); }
.onboarding-scene { position: relative; width: 82%; transform-style: preserve-3d; }
.onboarding-panel { overflow: hidden; border: 1px solid #fff3; border-radius: 8px; background: #272328; box-shadow: 0 18px 38px #0009; transform: rotateX(12deg) rotateY(-14deg); transition: transform .5s var(--menu-ease); }
.onboarding-visual-performance .onboarding-panel { transform: rotateX(11deg) rotateY(13deg); }
.onboarding-visual-performance .onboarding-panel img { margin-top: -2.6%; }
.onboarding-panel img { display: block; width: 100%; height: auto; }
.onboarding-funnel { display: grid; gap: 7px; padding: clamp(12px, 3vw, 30px); text-align: left; }
.onboarding-funnel span {
  padding: 8px 10px;
  border-radius: 4px;
  background: #51436a;
  font-size: clamp(11px, 1.3vw, 16px);
}
.onboarding-funnel span:nth-child(2) { width: 74%; background: #69558d; }
.onboarding-funnel span:nth-child(3) { width: 51%; background: #7a64a0; }
.onboarding-float {
  position: absolute;
  right: 0;
  bottom: -12%;
  display: grid;
  gap: 5px;
  padding: clamp(8px, 1.1vw, 14px) clamp(10px, 1.5vw, 20px);
  border: 1px solid #ffffff32;
  border-radius: 8px;
  background: #211d25;
  box-shadow: 0 14px 30px #0009;
  text-align: left;
  transform: translateZ(45px) rotate(-5deg);
  transition: transform .5s var(--menu-ease);
}
.onboarding-visual-performance .onboarding-float { left: 0; right: auto; background: #172822; transform: translateZ(45px) rotate(5deg); }
.onboarding-float small { color: #cfbecf; font-size: clamp(8px, 1vw, 10px); }
.onboarding-visual-performance small { color: #c4dbd2; }
.onboarding-float strong { font-size: clamp(14px, 1.7vw, 22px); line-height: 1.12; }
.is-tilting .onboarding-panel { transform: translate(var(--shift-x), var(--shift-y)) rotateX(4deg) rotateY(-7deg); }
.is-tilting .onboarding-visual-performance .onboarding-panel { transform: translate(var(--shift-x), var(--shift-y)) rotateX(4deg) rotateY(7deg); }
.is-tilting .onboarding-float { transform: translate(calc(var(--shift-x) * -1.25), calc(var(--shift-y) * -1.25)) translateZ(55px); }
.onboarding-copy { display: grid; flex: 1; grid-template-rows: auto 1fr auto; justify-items: center; gap: 14px; padding: 4px clamp(20px, 3.5vw, 44px) clamp(26px, 3vw, 40px); }
.onboarding-copy h3 { font-size: clamp(21px, 2.6vw, 32px); }
.onboarding-copy p { max-width: 37ch; margin: 0; color: #bcbcbc; }
.onboarding-copy > .button { max-width: 100%; margin-top: 7px; }
@media (prefers-reduced-motion: no-preference) {
  .onboarding-entered .onboarding-scene { animation: onboarding-reveal .7s var(--menu-ease) both; }
  @keyframes onboarding-reveal {
    from { opacity: .3; transform: translateY(24px) scale(.96); }
    to { opacity: 1; transform: none; }
  }
}
.start { border-bottom: 1px solid #262626; }
.newsletter-form { max-width: 590px; margin: 32px auto 0; text-align: left; }
.newsletter-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.newsletter-step legend { margin-bottom: 12px; padding: 0; color: #aaa; font-size: 13px; }
.newsletter-step label { display: block; margin-bottom: 8px; font-size: 15px; }
.newsletter-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.newsletter-fields input {
  min-width: 0;
  min-height: 56px;
  padding: 0 15px;
  border: 1px solid #767676;
  border-radius: 4px;
  background: #141414;
  color: #fff;
  font: inherit;
}
.newsletter-fields .button { min-height: 56px; min-width: 138px; gap: 8px; }
.newsletter-fields .button:disabled { opacity: .65; cursor: wait; }
.newsletter-back { min-height: 44px; padding: 0; border: 0; background: transparent; color: #ddd; font: inherit; font-size: 14px; }
.newsletter-back:hover { text-decoration: underline; }
.start .newsletter-status { max-width: 590px; margin-top: 16px; }
.newsletter-status:empty { margin: 0; }
.newsletter-status[data-error] { color: #ffb8ac; }
.method h2 { max-width: 16ch; }
.method-intro { max-width: 60ch; margin: 16px 0 0; color: #ccc; }
.method-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); list-style: none; margin: 40px 0 0; padding: 0; }
.method-steps li { display: grid; align-content: start; gap: 14px; border-top: 1px solid #454545; padding-top: 18px; }
.method-steps li > span { color: #aaa; }
.method-steps p { margin: 0; max-width: 38ch; }
@media (min-width: 761px) and (max-width: 960px) {
  .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.showcase h2 { font-size: clamp(38px, 5.6vw, 70px); font-weight: 300; letter-spacing: -.05em; }
.faq { padding-top: 0; padding-bottom: 0; }
.faq h2 { margin-bottom: 32px; }
.faq-list { min-width: 0; }
.faq details { border-top: 1px solid #454545; }
.faq details:last-child { border-bottom: 1px solid #454545; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 2.2vw, 32px) 0;
  cursor: pointer;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -.035em;
  line-height: 1.16;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
}
.faq details[open] summary::after { background-size: 100% 1.5px, 1.5px 0%; }
.faq details p { max-width: 60ch; margin: 0; padding: 0 28px 28px 0; color: #d7d7d7; }
.faq details a { text-decoration: underline; text-underline-offset: .18em; }
@media (min-width: 1020px) {
  .faq { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
  .faq h2 { margin: 0; padding-top: 24px; font-size: clamp(36px, 2.8vw, 48px); }
}
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content {
      height: 0;
      overflow: clip;
      transition: height .28s var(--menu-ease), content-visibility .28s allow-discrete;
    }
    .faq details[open]::details-content { height: auto; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: background-size .18s ease; }
}
.conversion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(420px, 62vw, 780px);
  display: grid;
  justify-items: center;
  align-content: center;
  background: #000;
}
.conversion-sphere {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(91vw, 750px);
  height: auto;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  mask-image: radial-gradient(ellipse, #0003 0%, #0009 35%, #000 61%);
  pointer-events: none;
}
.conversion h2 { font-size: clamp(36px, 4vw, 50px); font-weight: 300; }
.conversion h2 strong { font-weight: 750; }
.conversion .button { margin-top: 24px; }
.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  padding-block: 56px 64px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.footer-links h3 { margin: 0 0 15px; font-size: 14px; letter-spacing: 0; text-transform: uppercase; }
.footer-links a { display: block; width: fit-content; padding-block: 5px; color: #ccc; }
.footer-links a:is(:hover, :focus-visible) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .site-footer { grid-template-columns: 1fr; row-gap: 36px; padding-block: 40px; }
  .footer-links { font-size: 14px; }
  .footer-links h3 { font-size: 12px; }
}
@media (max-width: 760px) {
  .wordmark { font-size: 19px; }
  .hero-content { display: grid; justify-items: center; align-content: center; min-height: clamp(480px, 63svh, 610px); padding: 108px 20px 78px; }
  .hero-content h1 { font-size: clamp(38px, 10.7vw, 56px); }
  .hero-stats { padding-block: 38px 64px; }
  .hero-stats dt { font-size: clamp(24px, 7.8vw, 44px); }
  .onboarding-grid, .method-steps { grid-template-columns: 1fr; }
  .newsletter-fields .button { min-width: 0; padding-inline: 13px; font-size: 12px; }
}

.hero-carousel { position: relative; margin-top: clamp(62px, 5.6vw, 110px); touch-action: pan-y; }
.hero-gallery {
  --card-width: min(46vw, 880px);
  --mac-bar-height: clamp(21px, 2.65vw, 36px);
  position: relative;
  height: calc(var(--card-width) * 676 / 1200 + var(--mac-bar-height) + 16px);
}
.hero-card {
  --slide-position: calc(var(--slot, 0) + var(--hero-drag, 0));
  --slide-distance: max(var(--slide-position), calc(-1 * var(--slide-position)));
  --slide-scale: calc(1 - .12 * var(--slide-distance) + .04 * max(0, var(--slide-distance) - 1));
  position: absolute;
  z-index: 1;
  inset: 0 auto auto calc(50% - var(--card-width) / 2);
  width: var(--card-width);
  border-radius: 8px;
  overflow: hidden;
  background: #f4f3f2;
  box-shadow: 0 14px 36px #0004;
  transform: translate(calc(var(--slide-position) * 100%), calc(var(--slide-distance) * 5%))
    scale(var(--slide-scale)) rotate(calc(var(--slide-position) * 2deg));
  opacity: clamp(0, 2 - var(--slide-distance), 1);
  transition: transform .62s cubic-bezier(.2, .8, .25, 1), opacity .62s cubic-bezier(.2, .8, .25, 1);
}
.mac-bar { position: relative; display: grid; place-items: center; height: var(--mac-bar-height); background: #efeeed; color: #383735; }
.mac-lights { position: absolute; left: clamp(7px, 1.1vw, 16px); display: flex; gap: clamp(3px, .42vw, 6px); }
.mac-lights i { width: clamp(5px, .65vw, 10px); aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.mac-lights i:nth-child(2) { background: #febc2e; }
.mac-lights i:nth-child(3) { background: #28c840; }
.mac-address { min-width: 42%; padding: 2px 8px; border-radius: 4px; background: #dedddb; font-size: clamp(8px, .9vw, 12px); line-height: 1.25; white-space: nowrap; }
.hero-card img { display: block; width: 100%; aspect-ratio: 1200 / 676; object-fit: cover; object-position: center top; user-select: none; -webkit-user-drag: none; }
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .4;
  pointer-events: none;
  transition: opacity .5s cubic-bezier(.23, 1, .32, 1);
}
.hero-card[data-offset="0"] { z-index: 2; }
.hero-card[data-offset="0"]::after { opacity: 0; }
.hero-card[data-offset="-3"] { --slot: -3; }
.hero-card[data-offset="-2"] { --slot: -2; }
.hero-card[data-offset="-1"] { --slot: -1; }
.hero-card[data-offset="1"] { --slot: 1; }
.hero-card[data-offset="2"] { --slot: 2; }
.hero-card[aria-hidden="true"] { pointer-events: none; }
.hero-card[data-wrap], .hero-gallery.is-dragging .hero-card { transition: none; }
.hero-gallery.is-dragging { user-select: none; cursor: grabbing; }
.hero-gallery.is-dragging .hero-card { cursor: inherit; }
.carousel-controls { display: flex; gap: 8px; }
.hero-controls {
  position: absolute;
  z-index: 3;
  top: 50%;
  inset-inline: var(--gutter);
  transform: translateY(-50%);
  justify-content: space-between;
  pointer-events: none;
}
.hero-controls button { pointer-events: auto; }
.hero-playback {
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #151515d9;
  color: #fff;
}
.hero-playback svg { width: 16px; height: 16px; }
.hero-playback .pause-icon { fill: none; stroke: currentColor; stroke-width: 2.5; }
.hero-playback .play-icon { fill: currentColor; }
.hero-playback:not(.is-paused) .play-icon, .hero-playback.is-paused .pause-icon { display: none; }
.hero-hint { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hero-carousel.is-interactive .hero-controls button { opacity: 0; pointer-events: none; }
  .hero-carousel.is-interactive .hero-controls button:focus-visible { opacity: 1; pointer-events: auto; }
  .hero-hint {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    display: block;
    padding: 10px 16px;
    border-radius: 99px;
    background: #fff;
    color: #151515;
    font-size: 14px;
    line-height: 1.3;
    pointer-events: none;
    opacity: 0;
    transition: opacity .14s ease-out;
  }
  .hero-carousel.has-hint .hero-hint { opacity: 1; }
  .hero-carousel.has-hint .hero-card:not([data-offset="0"]) { cursor: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: hero-copy-in .48s ease-out both; }
  .hero-gallery { animation: hero-gallery-in .72s var(--menu-ease) both; }
  @keyframes hero-copy-in { from { opacity: .12; } to { opacity: 1; } }
  @keyframes hero-gallery-in { from { opacity: .2; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .hero-playback, .hero-hint { display: none; }
  .hero-card::after { transition: none; }
  .hero-carousel.is-interactive .hero-controls button { opacity: 1; pointer-events: auto; }
}
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  color: #171717;
  touch-action: manipulation;
}
.carousel-arrow:hover { background: #f0f0f0; }
.carousel-arrow svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero .carousel-arrow { background: #171717cc; border-color: #ffffff80; color: #fff; }
.hero .carousel-arrow:hover { background: #303030; }
.section.showcase { --case-width: min(62vw, 960px); padding-inline: 0; }
.showcase > h2 { padding-inline: var(--gutter); text-align: center; font-size: clamp(34px, 3.1vw, 46px); font-weight: 400; }
.case-intro { margin: 18px auto 0; padding-inline: var(--gutter); text-align: center; text-wrap: balance; }
.case-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 38px 0 36px; padding: 5px var(--gutter); }
.case-tabs button { padding: 12px 16px; background: transparent; color: #171717; border: 0; border-radius: 999px; }
.case-tabs button:hover, .case-tabs button[aria-pressed="true"] { background: #ededed; }
.case-group {
  display: flex;
  gap: clamp(16px, 3.1vw, 44px);
  padding-inline: calc((100% - var(--case-width)) / 2);
  overflow-x: auto;
  overflow-anchor: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.case-group::-webkit-scrollbar { display: none; }
.case-group:has(.case-panel:nth-child(2)) { cursor: grab; }
.case-group:is(.is-dragging, .is-drag-settling) { scroll-snap-type: none; }
.case-group.is-dragging { cursor: grabbing; user-select: none; }
.case-group.is-dragging * { cursor: inherit; }
.case-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(10px, 1.3vw, 18px);
  padding: clamp(18px, 2.6vw, 38px);
  flex: 0 0 var(--case-width);
  min-width: 0;
  min-height: clamp(365px, 39vw, 620px);
  scroll-snap-align: center;
  overflow: hidden;
  border-radius: 8px;
  background: #222;
  color: #fff;
}
.case-panel > img, .case-panel::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-panel > img { z-index: -2; object-fit: cover; user-select: none; }
.case-panel::before {
  content: "";
  z-index: -1;
  background: linear-gradient(175deg, #000d, #0006 36%, #0003 68%, #000c);
}
.case-copy { max-width: 640px; }
.case-address { position: relative; z-index: 3; display: inline-block; margin-top: 6px; font-size: 13px; line-height: 1.35; }
.case-address:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.case-copy h3 {
  font-family: Georgia, serif;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.case-footer { grid-row: 3; display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.case-footer p {
  max-width: 48ch;
  margin: 0 0 2px;
  font-size: clamp(13px, 1.35vw, 17px);
  line-height: 1.35;
  text-wrap: balance;
}
.case-link {
  display: grid;
  flex: 0 0 44px;
  min-height: 44px;
  margin: -9px -10px -9px 0;
  place-items: center;
  border-radius: 50%;
}
.case-link[href]::after { content: ""; position: absolute; z-index: 2; inset: 0; }
.case-link svg { width: 22px; height: 22px; transition: transform .18s ease-out; }
.case-link:is(:hover, :focus-visible) svg { transform: translateX(3px); }
.case-link:focus-visible::after { outline: 2px solid #fff; outline-offset: -4px; border-radius: 8px; }

.case-evidence {
  position: relative;
  width: min(100%, 670px);
  padding-block: 4px 18px;
  place-self: center;
}
.case-window {
  width: 68%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #ffffff70;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px #0007;
}
.case-window img { display: block; width: 100%; height: auto; user-select: none; }
.case-window-secondary {
  position: absolute;
  right: 1%;
  bottom: 0;
  z-index: 1;
  width: 38%;
}
.case-scene-portfolio .case-window:first-child { margin-left: 12%; }
.case-scene-portfolio .case-window-secondary { right: 2%; width: 36%; }
.case-scene-store .case-window:first-child { margin-left: 10%; }
.case-scene-store .case-window-secondary { bottom: 5%; }
.case-scene-catalog .case-window { margin-left: 14%; }

.case-inset {
  --inset-muted: #c8cfe0;
  position: absolute;
  z-index: 1;
  width: clamp(132px, 31%, 184px);
  overflow: hidden;
  padding: 9px clamp(9px, 1.3vw, 14px) 10px;
  border: 1px solid #ffffff45;
  border-radius: 8px;
  background: #262d3e;
  color: #fff;
  box-shadow: 0 10px 24px #0007;
  font-family: Manrope, sans-serif;
}
.case-inset-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ffffff30;
  color: var(--inset-muted);
  font-size: clamp(9px, 1vw, 11px);
  line-height: 1.2;
}
.case-inset-heading::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 2px;
  background: var(--inset-muted);
}
.case-inset-data { margin: 0; }
.case-inset-data > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.case-inset-data dt { color: var(--inset-muted); font-size: 10px; line-height: 1.15; }
.case-inset-data dd { margin: 0; font-size: clamp(19px, 2.3vw, 31px); font-weight: 680; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.case-inset-traffic { left: 1%; bottom: 7%; }
.case-search-sources { display: flex; gap: 4px; margin-top: 7px; }
.case-search-sources span {
  padding: 2px 5px;
  border: 1px solid #ffffff30;
  border-radius: 3px;
  color: #e7ebf2;
  font-size: 9px;
  line-height: 1.25;
}
.case-search-sources span:first-child { border-color: #ff8b7977; }
.case-search-sources span:last-child { border-color: #8dacf088; }
.case-inset-rankings { --inset-muted: #e1d5bc; right: 1%; bottom: 0; background: #3a3025; }
.case-inset-leads { --inset-muted: #c5ead7; right: 2%; bottom: 1%; background: #183b2f; }
.case-playback {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--case-width);
  min-height: 44px;
  margin: 22px auto 0;
}
.case-controls { grid-area: 1 / 1; }
.case-pagination { grid-area: 1 / 2; }
.case-pagination { display: flex; align-items: center; gap: 7px; }
.case-pagination > span { width: 5px; height: 5px; border-radius: 999px; background: #a1a1a1; }
.case-pagination > span:first-child, .case-pagination > span:last-child { width: 4px; height: 4px; background: #bcbcbc; }
.case-pagination > .is-current { width: 32px; height: 6px; overflow: hidden; background: #d4d4d4; }
.case-pagination-fill { display: block; height: 100%; border-radius: inherit; background: #777; transform: scaleX(0); transform-origin: left center; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .case-pagination > .is-current { background: #777; }
  .case-pagination-fill { visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
  .case-evidence {
    opacity: .76;
    transform: translateY(7px);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .24s ease-out;
  }
  .case-panel.is-active .case-evidence { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .case-tabs { margin-block: 22px; }
  .case-tabs button { padding-inline: 12px; }
  .section.showcase { --case-width: 86vw; }
  .case-panel { min-height: clamp(340px, 61vw, 470px); }
  .case-copy h3 { font-size: clamp(20px, 4.6vw, 30px); }
  .case-evidence { width: 100%; }
  .case-window { width: 76%; }
  .case-window-secondary { width: 42%; }
  .case-scene-portfolio .case-window-secondary { width: 42%; }
  .case-scene-results { padding-bottom: 58px; }
  .case-scene-results .case-window { width: 84%; }
  .case-inset { width: 43%; min-width: 0; }
  .case-inset-heading { margin-bottom: 6px; }
  .case-inset-traffic { bottom: 0; }
  .case-scene-catalog { padding-bottom: 43px; }
  .case-footer { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-group { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  .hero-carousel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card, .hero-backgrounds img, .onboarding-grid > a, .onboarding-panel, .onboarding-float { transition: none; }
  .hero-gallery.is-dragging { --hero-drag: 0 !important; }
  .onboarding-grid > .is-tilting { transform: none; }
}

/* Keep the first screen legible in the portfolio card at either carousel size. */
.case-panel > .case-site-backdrop { filter: blur(18px); transform: scale(1.12); }
.case-hero-preview .case-window:first-child { width: 86%; margin-inline: 0; }
.case-hero-preview .case-window-secondary { width: 28%; right: 0; }
