/* A quieter, tactile story composition in the site's own palette. */
.desktop-nav { gap: 10px; }
.desktop-nav .nav-emoji { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; transition: background .2s, transform .2s; }
.desktop-nav .nav-emoji::after { display: none; }
.desktop-nav .nav-emoji:hover { background: var(--paper-deep); transform: translateY(-2px); }
.desktop-nav .nav-emoji span { margin: 0; font-size: 21px; line-height: 1; }
.desktop-nav .nav-cta { margin-left: 12px; }
.nav-emoji:focus-visible, .studio-message:focus-visible, .results-client:focus-visible, .results-metric-switch button:focus-visible, .results-chart-stage:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.mobile-menu span { font-size: 22px; }
.hero-studio { display: grid; place-items: center; height: auto; min-height: 610px; margin: 0; }
.hero-studio::before { inset: 38px 13% 56px; width: auto; height: auto; border: 1px solid var(--line); border-radius: 28px; background: var(--lilac); opacity: .4; transform: rotate(-5deg); }
.hero-studio::after { right: 2%; bottom: 10%; width: 38%; height: 25%; opacity: .12; background-size: 18px 18px; }
.studio-stack { position: relative; width: min(calc(100% - 64px), 370px); }
.studio-phone { position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--ink); border-radius: 26px; background: var(--paper); box-shadow: 7px 8px 0 var(--ink), 0 24px 50px rgba(30,31,27,.1); transform: translate3d(var(--phone-x, 0px), var(--phone-y, 0px), 0); transition: transform .25s ease; }
.studio-header { display: flex; align-items: center; gap: 9px; min-height: 66px; padding: 13px 17px; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.studio-avatar { flex: 0 0 36px; width: 36px; height: 36px; object-fit: cover; object-position: center 35%; border-radius: 50%; border: 1px solid var(--line); }
.studio-sparkle { display: flex; width: 18px; color: var(--orange); }
.studio-more { margin-left: auto; font-size: 17px; letter-spacing: 2px; color: var(--muted); }
.studio-screen { position: relative; width: 100%; aspect-ratio: 9 / 11; overflow: hidden; background: var(--acid); }
.studio-slide { position: absolute; inset: 0; opacity: 0; animation: studio-story 15s linear infinite; }
.studio-slide-two { animation-delay: 5s; }
.studio-slide-three { animation-delay: 10s; background: linear-gradient(140deg, var(--acid), #edf991); }
.studio-slide > img { width: 100%; height: 100%; object-fit: cover; }
.studio-slide-one > img { object-position: 55% center; filter: saturate(.7); }
.studio-slide-two > img { filter: saturate(.6); }
.studio-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,31,27,.12), transparent 35%, rgba(30,31,27,.75)); }
.studio-slide strong { position: absolute; right: 25px; bottom: 30px; left: 25px; color: var(--white); font-size: clamp(33px, 3vw, 43px); line-height: .98; font-weight: 600; letter-spacing: -.07em; }
.studio-slide em { color: var(--acid); font-family: var(--serif); font-weight: 600; }
.studio-slide-three strong { top: 43%; bottom: auto; transform: translateY(-35%); color: var(--ink); font-size: 46px; }
.studio-slide-three em { color: var(--orange); }
.studio-poster-icon { position: absolute; top: 48px; left: 25px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(30,31,27,.25); border-radius: 13px; }
.studio-poster-icon svg { width: 24px; height: 24px; }
.studio-slide-three::after { content: ''; position: absolute; right: -80px; bottom: 33px; width: 260px; height: 110px; border: 1px solid rgba(30,31,27,.25); border-radius: 50%; transform: rotate(-25deg); }
.studio-progress { position: absolute; z-index: 3; top: 13px; right: 16px; left: 16px; display: flex; gap: 5px; }
.studio-progress i { flex: 1; height: 3px; border-radius: 5px; background: rgba(255,255,255,.7); }
.studio-footer { display: flex; align-items: center; gap: 15px; min-height: 66px; padding: 12px 17px; }
.studio-message { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; transition: border-color .2s, background .2s; }
.studio-message:hover { border-color: var(--orange); background: #fff; }
.studio-message svg, .studio-heart svg { width: 18px; height: 18px; }
.studio-heart { display: flex; color: var(--orange); }
.studio-tags { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.studio-note { position: absolute; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--ink); border-radius: 17px; box-shadow: 4px 5px 0 var(--ink), 0 12px 24px rgba(30,31,27,.06); }
.studio-note > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid rgba(30,31,27,.15); border-radius: 11px; }
.studio-note svg { width: 20px; height: 20px; }
.studio-note strong { font-size: 14px; letter-spacing: -.025em; line-height: 1.2; }
.studio-note-strategy { top: 98px; left: -63px; background: var(--acid); transform: rotate(-3deg); }
.studio-note-content { top: 220px; right: -53px; bottom: auto; background: var(--paper); transform: rotate(3deg); }
.studio-note-content > span { color: var(--orange); }
@keyframes studio-story { 0%, 29% { opacity: 1; } 33%, 99% { opacity: 0; } 100% { opacity: 1; } }

/* Match the breathing room between the other main sections. */
.about { row-gap: 112px; }
.services { padding-top: 80px; }

/* Client selector and responsive comparison explorer. */
.results-placeholder { padding-top: 96px; }
.results-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.results-heading h2 { margin: 0; }
.results-clients { display: grid; grid-template-columns: repeat(5, minmax(0, 82px)); gap: 10px; }
.results-client { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 7px 0; border: 0; background: transparent; cursor: pointer; }
.results-client img { width: 60px; height: 60px; border: 3px solid var(--paper); border-radius: 50%; object-fit: cover; filter: grayscale(1); box-shadow: 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s, filter .25s; }
.results-client span { font-size: 13px; line-height: 1.2; color: var(--muted); text-align: center; }
.results-client:hover img { transform: translateY(-3px); filter: grayscale(0); }
.results-client[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--orange); filter: grayscale(0); }
.results-client[aria-pressed="true"] span { color: var(--ink); font-weight: 600; }
.results-explorer { padding: 30px 32px 25px; border: 1px solid var(--ink); border-radius: 24px; background: rgba(251,251,248,.6); box-shadow: 6px 7px 0 var(--ink); }
.results-explorer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.results-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.results-identity > img { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.results-identity h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.04em; line-height: 1.2; }
.results-identity p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.3; }
.results-demo-badge { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 8px 11px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; color: #626258; }
.results-demo-badge svg { width: 15px; height: 15px; }
.results-metric-switch { display: flex; width: max-content; max-width: 100%; gap: 3px; padding: 4px; margin-top: 26px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper-deep); }
.results-metric-switch button { padding: 9px 18px; border: 0; border-radius: 100px; background: transparent; color: #6e6f65; cursor: pointer; font-size: 13px; transition: background .2s, box-shadow .2s; }
.results-metric-switch button[aria-pressed="true"] { color: var(--ink); background: var(--white); box-shadow: 0 2px 6px rgba(30,31,27,.09); }
.results-comparison { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding: 26px 0 18px; }
.results-comparison > div { border-right: 1px solid var(--line); }
.results-comparison > div:last-child { border: 0; }
.results-comparison > div > span { display: block; font-size: 13px; color: var(--muted); }
.results-comparison strong { display: block; margin-top: 8px; font-size: clamp(27px, 3vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
[data-results-after] { color: var(--orange); }
.results-growth strong { display: flex; align-items: center; gap: 10px; }
.results-growth svg { width: 27px; height: 27px; padding: 4px; border-radius: 50%; background: var(--acid); }
.results-legend { display: flex; justify-content: flex-end; gap: 19px; margin: 5px 0 4px; }
.results-legend span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.results-legend i { width: 18px; height: 0; border-top: 2px dashed #92938a; }
.results-legend .legend-after { border-top: 2px solid var(--orange); }
.results-chart-stage { position: relative; min-width: 0; border-radius: 12px; touch-action: pan-y; }
.results-chart-stage > svg { display: block; width: 100%; height: 300px; overflow: visible; }
.results-grid-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.results-axis-label { fill: var(--muted); font: 11px var(--sans); }
.results-before-line { fill: none; stroke: #92938a; stroke-width: 2; stroke-dasharray: 5 6; }
.results-after-line { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; animation: results-draw .65s ease-out both; }
.results-point { fill: var(--paper); stroke: var(--orange); stroke-width: 2; }
.results-guide { stroke: rgba(30,31,27,.2); stroke-width: 1; stroke-dasharray: 3 4; }
.results-tooltip { position: absolute; z-index: 5; top: 12px; width: 166px; padding: 12px 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: rgba(251,251,248,.97); box-shadow: 0 8px 24px rgba(30,31,27,.1); pointer-events: none; font-size: 12px; line-height: 1.6; }
.results-tooltip[hidden] { display: none; }
.results-tooltip strong { display: block; margin-bottom: 4px; font-size: 13px; }
.results-tooltip > span { display: flex; justify-content: space-between; gap: 12px; }
.results-tooltip b { font-weight: 600; }
.results-tooltip .tooltip-after b { color: var(--orange); }
.results-disclosure { margin: 16px 0 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: #707167; }
.experience-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes results-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (min-width: 1440px) {
  .hero-studio { min-height: 690px; }
  .studio-stack { width: min(calc(100% - 80px), 420px); }
  .studio-slide strong { font-size: 47px; }
  .studio-slide-three strong { font-size: 54px; }
}
@media (min-width: 981px) and (max-height: 760px) {
  .hero-studio { min-height: 540px; }
  .studio-stack { width: min(calc(100% - 64px), 320px); }
  .studio-slide strong { font-size: 35px; }
  .studio-slide-three strong { font-size: 43px; }
}
@media (max-width: 980px) {
  .results-heading { grid-template-columns: 1fr; gap: 32px; }
  .results-clients { justify-content: start; }
}
@media (max-width: 620px) {
  .hero-studio { min-height: 0; padding-top: 15px; }
  .hero-studio::before { inset: 1% 3% 20%; border-radius: 24px; }
  .hero-studio::after { display: none; }
  .studio-stack { width: min(100% - 12px, 340px); }
  .studio-phone { border-radius: 22px; box-shadow: 5px 6px 0 var(--ink); }
  .studio-header { min-height: 60px; padding: 11px 14px; font-size: 13px; }
  .studio-avatar { width: 32px; height: 32px; flex-basis: 32px; }
  .studio-footer { min-height: 62px; padding: 11px 14px; }
  .studio-slide strong { right: 22px; left: 22px; bottom: 28px; font-size: 34px; }
  .studio-slide-three strong { top: 43%; bottom: auto; font-size: 43px; }
  .studio-tags { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .studio-note { position: static; gap: 8px; padding: 12px 10px; border-radius: 14px; box-shadow: 2px 3px 0 var(--ink); transform: none; }
  .studio-note > span { width: 27px; height: 27px; flex-basis: 27px; border-radius: 8px; }
  .studio-note svg { width: 17px; height: 17px; }
  .studio-note strong { font-size: 12px; }
  .about { row-gap: 64px; }
  .services { padding-top: 56px; }
  .results-placeholder { padding-top: 64px; }
  .results-heading { gap: 30px; margin-bottom: 32px; }
  .results-clients { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; width: 100%; }
  .results-client { gap: 9px; }
  .results-client img { width: 46px; height: 46px; }
  .results-client span { font-size: 11px; min-height: 26px; }
  .results-explorer { padding: 20px 16px 18px; border-radius: 20px; box-shadow: 4px 5px 0 var(--ink); }
  .results-explorer-header { align-items: flex-start; flex-direction: column; gap: 14px; }
  .results-identity h3 { font-size: 18px; }
  .results-demo-badge { font-size: 11px; padding: 6px 9px; }
  .results-metric-switch { width: 100%; margin-top: 22px; }
  .results-metric-switch button { flex: 1; padding: 9px 4px; font-size: 12px; }
  .results-comparison { gap: 13px; padding-top: 23px; }
  .results-comparison > div > span { font-size: 11px; line-height: 1.3; min-height: 29px; }
  .results-comparison strong { font-size: 24px; margin-top: 4px; white-space: nowrap; }
  .results-growth strong { gap: 3px; font-size: 22px; }
  .results-growth svg { width: 20px; height: 20px; padding: 3px; flex-shrink: 0; }
  .results-legend { gap: 15px; }
  .results-legend span { font-size: 11px; }
  .results-disclosure { font-size: 11px; }
}
@media (max-width: 360px) {
  .results-comparison { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .results-comparison > div:nth-child(2) { border: 0; }
  .results-comparison > .results-growth { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
  .results-comparison > .results-growth > span { min-height: 0; }
  .results-client img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-slide { animation: none; opacity: 0; }
  .studio-slide-one { opacity: 1; }
  .studio-phone, .results-client img { transition: none; }
  .results-after-line { animation: none; }
}
