@font-face {
  font-family: Manrope;
  src: url('assets/manrope-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/manrope-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --orange: #f56325;
  --ink: #171717;
  --paper: #fff;
  --line: #dededb;
  --muted: #646464;
  --body: Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 0.1875rem solid var(--orange); outline-offset: 0.375rem; }
.contact a:focus-visible { outline-color: var(--ink); }
::selection { background: var(--orange); color: white; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(77.5rem, calc(100% - 7rem)); margin-inline: auto; }
.skip-link { position: fixed; top: -6.25rem; left: 1.25rem; z-index: 20; padding: 0.75rem 1.25rem; background: var(--ink); color: white; }
.skip-link:focus { top: 0.75rem; }
.header { height: 6rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.0625rem solid var(--line); }
.brand { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; font-weight: 700; line-height: 1.24; letter-spacing: .025em; }
.brand-caption { display: block; max-width: 11.875rem; font-size: 0.75rem; letter-spacing: 0; }
.brand-symbol { font-family: Arial, sans-serif; color: var(--orange); font-size: 3rem; font-weight: 400; line-height: 1; }
.header nav { display: flex; gap: 1.875rem; align-items: center; font-size: 0.875rem; }
.header nav a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: 0.375rem; }
.header .nav-contact { border: 0.0625rem solid var(--ink); padding: 0.625rem 1.25rem; border-radius: 0.25rem; transition: background .2s, color .2s; }
.header .nav-contact:hover { background: var(--ink); color: white; }
.hero { position: relative; }

.hero-layout { overflow: clip; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); position: relative; min-height: 38.75rem; }
.hero-copy { padding: 2.5rem 0 3.625rem; z-index: 2; position: relative; }
h1 { font-size: clamp(3.5rem, calc(6vw - 0.25rem), 5rem); font-weight: 700; letter-spacing: -.015em; word-spacing: .04em; line-height: 0.95; }
.hero-question, .hero-profit, .hero-product, .hero-store { display: block; font-size: inherit; line-height: inherit; }
.hero-profit, .hero-store > span { color: var(--orange); }
.hero-bottom { margin-top: 1.875rem; max-width: 28.125rem; }
.hero-bottom p { font-size: 1.375rem; line-height: 1.55; letter-spacing: -.02em; }
.hero-bottom p strong { font-weight: 700; color: var(--orange); }
.button { min-height: 3.625rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.875rem; padding: 1rem 1.5625rem; border: 0.0625rem solid transparent; font-size: 0.9375rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, transform .2s; border-radius: 0.3125rem; }
.button:hover { transform: translateY(-0.125rem); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #363636; }
.button-white { background: white; color: var(--ink); }
.button-white:hover { background: #ffe5d9; }
.hero-button { margin-top: 1.5625rem; font-size: 1.25rem; min-height: 4.75rem; padding: 1.375rem 2.25rem; }
.hero-art { position: relative; min-width: 0; isolation: isolate; }
.hero-burst { position: absolute; width: 96%; height: 80%; top: 16%; left: 2%; background: var(--orange); clip-path: polygon(50% 0%,56% 30%,69% 4%,67% 34%,85% 15%,76% 41%,98% 33%,81% 49%,100% 58%,79% 59%,92% 79%,71% 67%,78% 96%,61% 73%,57% 100%,49% 77%,37% 98%,37% 73%,18% 89%,27% 64%,3% 70%,23% 54%,0 46%,24% 43%,8% 23%,33% 33%,28% 7%,44% 29%); z-index: -1; }
.portrait { position: absolute; width: 145%; max-width: none; height: auto; bottom: 0; left: -22%; }
.art-sticker { position: absolute; z-index: 3; right: 3%; bottom: 12%; background: white; border: 0.0625rem solid var(--ink); border-radius: 0.1875rem; padding: 0.875rem 1.125rem; transform: rotate(5deg); box-shadow: 0.25rem 0.25rem 0 var(--ink); }
.art-sticker strong { font: 700 1.25rem/1.3 var(--body); letter-spacing: -.03em; }
.sticker-accent { color: var(--orange); }
.approach { background: var(--ink); color: white; padding: 5.3125rem 0; }
.approach-layout { display: grid; grid-template-columns: .9fr 1fr; gap: 5.3125rem; }
.eyebrow { display: block; font-size: 0.75rem; letter-spacing: .09em; line-height: 1.5; }
.approach .eyebrow { color: #c4c4c4; font-size: 0.9375rem; }
.approach h2 { font: 700 clamp(2.75rem, 4.6vw, 4.125rem)/1.1 var(--body); letter-spacing: -.045em; margin: 1.5rem 0; }
.approach h2 span { color: var(--orange); }
.approach-intro > p { max-width: 29.375rem; color: #dedede; line-height: 1.75; font-size: 1.3125rem; }
.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.375rem; padding: 1.8125rem 0; border-top: 0.0625rem solid #494949; }
.step:first-child { padding-top: 0; border-top: 0; }
.step:last-child { padding-bottom: 0; }
.step-icon { color: var(--orange); margin-top: 0.1875rem; }
.step-icon svg { width: 2.1875rem; height: 2.1875rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: round; }
.step h3 { font-size: 1.5625rem; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 1rem; }
.step p { color: #c4c4c4; font-size: 1.1875rem; line-height: 1.75; }
.cases { padding-block: 4.6875rem; display: grid; grid-template-columns: .3fr 1fr; gap: 4.0625rem; align-items: start; }
.cases-heading { padding-top: 0.75rem; }
.cases h2 { font: 700 clamp(2.5rem, 4vw, 3.5rem)/1.1 var(--body); letter-spacing: -.04em; margin-top: 0.75rem; }
.case-card { min-width: 0; padding: 2.375rem; border: 0.0625rem solid var(--line); border-top: 0.25rem solid var(--orange); border-radius: 0.375rem; background: #f7f7f5; }
.cases-carousel { min-width: 0; }
.cases-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start; }
.cases-track::-webkit-scrollbar { display: none; }
.cases-track:focus-visible { outline: 0.1875rem solid var(--orange); outline-offset: 0.25rem; }
.cases-track > .case-card { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.cases-controls { display: flex; align-items: center; justify-content: center; gap: 1.375rem; margin-top: 1.375rem; }
.cases-controls button { display: grid; place-items: center; width: 3rem; height: 3rem; border: 0.0625rem solid var(--ink); border-radius: 50%; background: white; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.cases-controls button:hover:not(:disabled) { background: var(--orange); }
.cases-controls button:focus-visible { outline: 0.1875rem solid var(--orange); outline-offset: 0.25rem; }
.cases-controls button:disabled { opacity: .3; cursor: default; }
.cases-position { min-width: 2.75rem; text-align: center; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.case-card h3 { font-size: clamp(1.625rem, 2.5vw, 2.125rem); line-height: 1.3; letter-spacing: -.035em; text-wrap: pretty; }
.case-number { display: block; margin-bottom: 0.75rem; font-size: 0.875rem; letter-spacing: .04em; color: var(--muted); }
.case-metrics { display: grid; grid-template-columns: 1.1fr 1.2fr .7fr .8fr; gap: 1.5rem; margin: 2rem 0 0; padding-top: 1.75rem; border-top: 0.0625rem solid var(--line); }
.case-metrics-bank { grid-template-columns: 1.4fr 1.2fr .7fr; }
.case-metric { min-width: 0; }
.case-metric-geo { grid-column: 1 / -1; }
.case-metric dt { display: flex; align-items: center; min-height: 2.75rem; margin-bottom: 0.5rem; font-size: 1.0625rem; line-height: 1.4; color: var(--muted); }
.case-metric dd { margin: 0; font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.15; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.case-metric-primary dd { color: var(--ink); }
.case-metric dd > span { font-size: .75em; }
.metric-help { position: relative; width: fit-content; }
.metric-help-trigger { display: inline-flex; gap: 0.4375rem; align-items: center; min-height: 2.75rem; padding: 0 0.375rem 0 0; border: 0; background: transparent; color: var(--ink); font-size: 1.0625rem; cursor: help; }
.metric-help-trigger > span { display: grid; place-items: center; width: 1.125rem; height: 1.125rem; border: 0.0625rem solid #878787; border-radius: 50%; font-size: 0.75rem; }
.metric-tooltip { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 0.5rem); width: 13.75rem; padding: 0.8125rem 1rem; border-radius: 0.3125rem; background: var(--ink); color: white; font-size: 0.875rem; line-height: 1.5; font-weight: 400; box-shadow: 0 0.375rem 1.125rem #0002; }
.metric-tooltip::before { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 0.5rem; }
.metric-tooltip::after { content: ''; position: absolute; left: var(--tooltip-arrow, 1.125rem); right: auto; top: 100%; border: 0.375rem solid transparent; border-top-color: var(--ink); }
.metric-tooltip[hidden] { display: none; }
.case-evidence { margin-top: 1.875rem; padding-top: 1.5rem; border-top: 0.0625rem solid var(--line); }
.case-evidence summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; width: fit-content; max-width: 100%; min-height: 3.25rem; padding: 0.75rem 1.125rem; border: 0.0625rem solid var(--ink); border-radius: 0.25rem; font-size: 1rem; font-weight: 700; cursor: pointer; list-style: none; }
.case-evidence summary::-webkit-details-marker { display: none; }
.case-evidence summary::after { content: '+'; font-size: 1.5rem; line-height: 1; font-weight: 400; }
.case-evidence[open] summary::after { content: '−'; }
.case-evidence summary:hover { background: white; }
.case-evidence summary:focus-visible { outline: 0.1875rem solid var(--orange); outline-offset: 0.3125rem; }
.evidence-close, .case-evidence[open] .evidence-open { display: none; }
.case-evidence[open] .evidence-close { display: inline; }
.case-screenshot { margin: 1.5rem 0 0; }
.case-screenshot-frame { display: block; max-width: 40rem; margin-inline: auto; border: 0; border-radius: 0.25rem; overflow: hidden; background: white; }
.case-screenshot-bank { max-width: 23.0625rem; }
.case-screenshot img { width: 100%; height: auto; }
.case-screenshot figcaption { max-width: 40rem; margin: 0.875rem auto 0; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.contact { background: var(--orange); padding: 5rem 0; overflow: hidden; text-align: center; }
.contact h2 { color: var(--paper); max-width: 61.25rem; margin: 0 auto; font: 700 clamp(2.375rem, 4vw, 3.5rem)/1.1 var(--body); letter-spacing: -.04em; }
.contact-bottom { display: flex; justify-content: center; margin-top: 2.5rem; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
.contact-actions .button { min-width: 19.375rem; min-height: 4.875rem; padding: 1.375rem 2rem; font-size: 1.1875rem; }
.contact-actions .messenger-icon { width: 2.25rem; height: 2.25rem; }
.messenger-icon { width: 1.75rem; height: 1.75rem; object-fit: contain; flex: none; }
.contact-dialog { border: 0; border-radius: 0.375rem; padding: 2.75rem; width: min(28.75rem, calc(100% - 2rem)); color: var(--ink); box-shadow: 0.5625rem 0.5625rem 0 var(--orange); }
.contact-dialog::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(0.25rem); }
.contact-dialog h2 { font: 700 2.125rem/1.15 var(--body); letter-spacing: -.04em; margin: 1.125rem 0; }
.contact-dialog p { font-size: 1rem; margin-bottom: 1.5625rem; }
.dialog-close { position: absolute; top: 0.5rem; right: 0.75rem; border: 0; background: transparent; font-size: 2rem; cursor: pointer; width: 2.75rem; height: 2.75rem; }
.dialog-star { font: normal 2.8125rem/1 Arial; color: var(--orange); }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 4rem); }
  .hero-layout { min-height: 36.875rem; }
  .hero-copy { padding-top: 2.625rem; }
  .hero-bottom p { font-size: 1.25rem; }
  .portrait { width: 155%; left: -28%; }
  .art-sticker { right: 4%; bottom: 9%; padding: 0.6875rem 0.875rem; }
  .art-sticker strong { font-size: 1.0625rem; }
  .approach-layout { gap: 2.8125rem; }
  .step { gap: 1.125rem; }
  .cases { gap: 2.1875rem; }
  .case-card { padding: 1.75rem; }
  .case-metrics { gap: 1rem; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-layout { display: block; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { height: 32.5rem; max-width: 33.75rem; margin: 0.625rem auto 0; }
  .portrait { width: 140%; left: -20%; }
  .hero-burst { height: 84%; top: 13%; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header { height: 5.3125rem; }
  .brand { font-size: 0.625rem; gap: 0.4375rem; }
  .brand-caption { font-size: 0.625rem; max-width: 6.875rem; }
  .brand-symbol { font-size: 2.25rem; }
  .header nav { gap: 1rem; font-size: 0.75rem; }
  .header .nav-contact { padding: 0.5625rem 0.75rem; }

  .hero-layout { min-height: 0; display: block; }
  .hero-copy { padding: 1.875rem 0 0; }
  h1 { font-size: clamp(2.75rem, calc(13vw - 0.25rem), 4.5rem); line-height: 0.95; }
  .hero-bottom { margin-top: 1.5rem; max-width: 29.375rem; }
  .hero-bottom p { font-size: 1.25rem; line-height: 1.55; }
  .hero-button { margin-top: 1.375rem; width: 100%; min-height: 4.5rem; padding: 1.25rem 1rem; font-size: 1.1875rem; }
  .hero-art { height: 23.75rem; max-width: 28.125rem; margin: 0.625rem auto 0; }
  .hero-burst { height: 84%; width: 96%; top: 13%; left: 2%; }
  .portrait { width: 140%; left: -20%; }
  .art-sticker { bottom: 13%; right: 5%; padding: 0.6875rem 0.875rem; }
  .art-sticker strong { font-size: 1.125rem; }
  .approach { padding: 3.4375rem 0; }
  .approach-layout { display: block; }
  .approach h2 { font-size: 3.0625rem; margin: 1.25rem 0; }
  .eyebrow { font-size: 0.6875rem; }
  .approach .eyebrow { font-size: 0.8125rem; }
  .approach-intro > p { max-width: none; font-size: 1.1875rem; line-height: 1.75; }
  .approach-steps { margin-top: 2.125rem; }
  .step { padding: 1.6875rem 0; gap: 1rem; grid-template-columns: 1.875rem 1fr; }
  .step:first-child { border-top: 0.0625rem solid #494949; padding-top: 1.6875rem; }
  .step-icon svg { height: 1.8125rem; width: 1.8125rem; }
  .step h3 { font-size: 1.375rem; margin-bottom: 0.875rem; text-wrap: pretty; }
  .step p { font-size: 1.125rem; line-height: 1.75; }
  .cases { padding-block: 3.125rem; display: block; }
  .cases h2 { font-size: 2.6875rem; margin-top: 0.625rem; }
  .cases-heading { padding-top: 0; }
  .cases-carousel { margin-top: 1.5625rem; }
  .case-card { padding: 1.625rem 1.375rem; }
  .case-evidence summary { width: 100%; gap: 0.75rem; padding-inline: 0.875rem; }
  .case-metrics { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.125rem; margin-top: 1.625rem; padding-top: 1.375rem; }
  .case-metrics-bank { grid-template-columns: 1fr; }
  .case-metrics-bank .metric-tooltip { left: 0; right: auto; }
  .case-metric-primary, .case-metric-retention { grid-column: 1 / -1; }
  .case-metric-retention .metric-tooltip { left: 0; right: auto; }
  .case-metric-primary dt { min-height: 0; }
  .case-metric dd { font-size: 2.125rem; }
  .case-metric-primary dd { font-size: 3rem; }
  .contact { padding: 3.4375rem 0; }
  .contact h2 { font-size: clamp(1.875rem, 7.7vw, 2.625rem); line-height: 1.1; }
  .contact-bottom { margin-top: 1.875rem; display: block; }
  .contact-actions { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 27.5rem; margin-inline: auto; }
  .contact-actions .button { width: 100%; min-width: 0; min-height: 4.75rem; padding: 1.25rem 1rem; font-size: 1.125rem; }
  .contact-dialog { padding: 2rem 1.5625rem; }
  .contact-dialog h2 { font-size: 1.875rem; }
}
@media (max-width: 600px) {
  .header nav > a:not(.nav-contact) { display: none; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 2rem); }
  .header nav { gap: 0.625rem; }
  .header nav > a:not(.nav-contact) { display: none; }
  .hero-art { height: 20.625rem; }
  .hero-bottom p { font-size: 1.1875rem; }
  .case-card { padding: 1.5rem 1.125rem; }
  .case-metric dd { font-size: 1.875rem; }
  .case-metric-primary dd { font-size: 2.75rem; }
  .metric-tooltip { width: 12.5rem; right: -0.9375rem; }
  .art-sticker strong { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 360px) {
  h1 { font-size: 2.4375rem; }
}

/* One desktop scale based on the 1440px design. The rem contribution
   preserves text enlargement with browser zoom and user font preferences. */
@media (min-width: 1151px) {
  html { font-size: clamp(1rem, calc(.5rem + .555556vw), 1.75rem); }
  h1 { font-size: 5rem; }
  .approach h2 { font-size: 4.125rem; }
  .cases h2, .contact h2 { font-size: 3.5rem; }
  .case-card h3 { font-size: 2.125rem; }
  .case-metric dd { font-size: 2.625rem; }
}


/* Informational notice; analytics load independently of dismissal. */
.cookie-notice { position: fixed; z-index: 15; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.5rem; width: min(58rem, calc(100% - 2rem)); padding: 1.125rem 1.5rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: .5rem; box-shadow: 0 .4rem 2rem #0002; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { font-size: .875rem; line-height: 1.5; }
.cookie-notice .button { flex-shrink: 0; min-height: 2.75rem; padding: .625rem 1.25rem; font-size: .875rem; }
body { padding-bottom: var(--cookie-notice-space, 0px); }
@media (max-width: 600px) {
  .cookie-notice { gap: .75rem; padding: 1rem; align-items: stretch; flex-direction: column; bottom: .5rem; }
  .cookie-notice .button { align-self: flex-end; }
}


/* Screenshot viewer stays on the page and supports keyboard and touch scrolling. */
button.case-screenshot-frame { width: 100%; padding: 0; cursor: zoom-in; }
.image-viewer { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(17,17,17,.94); color: white; }
.image-viewer[open] { display: flex; flex-direction: column; }
.image-viewer::backdrop { background: #171717; }
.image-viewer-toolbar { display: flex; align-items: center; gap: .75rem; padding: max(.75rem, env(safe-area-inset-top)) 1rem .75rem; flex-shrink: 0; }
.image-viewer-toolbar h2 { margin-right: auto; font-size: 1rem; line-height: 1.3; font-weight: 400; }
.image-viewer-toolbar button { min-height: 44px; border: 0; border-radius: .3rem; background: #292929; color: white; cursor: pointer; }
.image-viewer-zoom { padding: .5rem .75rem; font-size: .875rem; }
.image-viewer-close { min-width: 44px; font-size: 1.75rem; line-height: 1; }
.image-viewer-stage { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.image-viewer-stage:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.image-viewer-canvas { width: max-content; min-width: 100%; min-height: 100%; display: grid; place-items: center; padding: 16px; }
.image-viewer img { max-width: none; flex-shrink: 0; }
@media (max-width: 380px) {
  .image-viewer-toolbar { gap: .5rem; padding-inline: .5rem; }
  .image-viewer-toolbar h2 { font-size: .875rem; }
}

/* Programmatic dialog focus should not draw a ring after mouse/touch input. */
html[data-input="pointer"] :is(a, button, summary, .cases-track, .image-viewer-stage):focus { outline: none; }
