:root {
  color-scheme: dark;
  --ink: #100e18;
  --layer: #1a1624;
  --line: #ffffff1f;
  --text: #f8f5ff;
  --muted: #bcb6c9;
  --violet: #c1adff;
  --mint: #b8ffe4;
  --paper: #f4efe9;
  --paper-ink: #211923;
  --orange: #f06524;
  --control-radius: 5rem;
  --max-width: 1248px;
  --gutter: clamp(20px, 5.15vw, 80px);
  --header-height: 72px;
  --body-font: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--body-font);
  background: var(--ink);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #9170f9;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
::selection { color: #170e26; background: var(--violet); }

.shell { width: min(calc(100% - 2 * var(--gutter)), var(--max-width)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: var(--gutter); z-index: 20; padding: 10px 16px; color: var(--ink); background: var(--mint); border-radius: 8px; transform: translateY(-155%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #ffffff14; background: #100e18eb; backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand img { object-fit: contain; }
.brand-en { color: var(--muted); padding-inline-start: 11px; border-inline-start: 1px solid #ffffff30; letter-spacing: .025em; font-size: 11px; font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: clamp(26px, 3.15vw, 53px); }
.site-nav > a { color: #ddd7eb; font-size: 14px; white-space: nowrap; transition: color .2s ease; }
.site-nav > a:hover, .site-nav > a[aria-current="location"] { color: var(--violet); }
.site-nav .header-contact { display: inline-flex; align-items: center; gap: 10px; padding: 10px 17px; border: 1px solid #9a83da6e; border-radius: var(--control-radius); color: #e2d5ff; }
.menu-toggle { display: none; padding: 10px; }

.hero { position: relative; isolation: isolate; min-height: 675px; overflow: clip; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: radial-gradient(ellipse at 73% 42%, #2c204b 0, #181123 34%, #100e18 70%); opacity: .9; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none; background-image: radial-gradient(#d8bdff14 1px, transparent 1px); background-size: 19px 19px; mask-image: linear-gradient(115deg, #0000 25%, #000 100%); opacity: .5; }
.hero-inner { position: relative; display: grid; min-height: min(706px, 57vw); align-items: center; }
.hero-copy { position: relative; z-index: 2; max-width: 630px; padding: 65px 0 82px; }
.location-tag { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: #e4d9fd; font-size: 13px; font-weight: 650; letter-spacing: .15em; }
.location-tag > span, .signal-caption > span { width: 7px; height: 7px; flex: none; border-radius: 100%; background: var(--mint); box-shadow: 0 0 15px #b8ffe495; }
.hero h1 { display: grid; justify-items: start; gap: .07em; color: var(--text); font-size: clamp(52px, 6.65vw, 94px); font-weight: 720; line-height: 1.06; letter-spacing: -.075em; text-wrap: nowrap; }
.hero h1 > .hero-lead { margin-bottom: .5em; color: #e3d9f5; font-size: .425em; font-weight: 560; letter-spacing: -.027em; text-wrap: normal; }
.hero h1 strong { color: var(--violet); font-weight: inherit; }
.hero h1 strong span { margin-left: .055em; color: var(--mint); }
.hero-description { max-width: 415px; margin-top: 28px; font-size: clamp(14px, 1.24vw, 17px); color: var(--muted); line-height: 1.95; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 51px; padding: 0 23px; border: 1px solid transparent; border-radius: var(--control-radius); font-size: 14px; font-weight: 680; white-space: nowrap; transition: background .22s ease, border-color .22s ease, transform .22s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--violet); color: #211332; }
.primary:hover { background: #d6c7ff; }
.outline { color: var(--text); border-color: #ebe1ff39; background: #14101c4f; }
.outline:hover { border-color: #d8c2ff8a; background: #2b2037; }

.hero-media { position: absolute; z-index: 1; right: -6.5%; top: 50%; width: min(70%, 870px); height: min(100%, 765px); transform: translateY(-50%); isolation: isolate; pointer-events: none; }
.hero-art, .hero-picture { position: absolute; inset: 0; }
.hero-art { overflow: hidden; mask-image: radial-gradient(ellipse 56% 58% at 54% 48%, #000 30%, #000 57%, #0000 99%); }
.hero-picture { display: grid; place-items: center; mix-blend-mode: screen; }
.hero-picture img { width: min(102%, 790px); height: auto; aspect-ratio: 1; object-fit: contain; max-width: none; filter: saturate(.92); }
#signal-canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.city-marker { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; color: #efebff; font-size: 13px; font-weight: 680; }
.city-marker > i { position: relative; width: 7px; height: 7px; margin: 0 4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.city-marker > i::before { position: absolute; inset: -5px; border: 1px solid currentColor; border-radius: 50%; content: ""; opacity: .35; }
.city-marker small { display: block; margin-top: 4px; color: #ccc1dd; font: 9px/1 var(--mono); letter-spacing: .13em; }
.marker-toronto { top: 23%; left: 18%; }
.marker-toronto > i { color: var(--violet); }
.marker-shenzhen { bottom: 26%; right: 9%; }
.marker-shenzhen > i { color: var(--mint); }
.signal-caption { position: absolute; right: 10.5%; bottom: 6%; display: flex; align-items: center; gap: 8px; color: #d5cadf; font-size: 11px; letter-spacing: .09em; }
.signal-caption > span { width: 5px; height: 5px; }

.stats { border-block: 1px solid var(--line); background: #120f1c; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { min-height: 143px; padding: 25px 20px 25px 32px; border-inline-start: 1px solid var(--line); }
.stats-grid > div:first-child { padding-inline-start: 0; border: 0; }
.stats-grid strong { display: block; color: #eee9fa; font-size: clamp(38px, 4vw, 62px); font-weight: 620; line-height: 1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.stats-grid strong span { display: inline-block; margin-left: .1em; color: var(--violet); font-size: .54em; font-weight: 620; letter-spacing: -.045em; }
.stats-grid p { margin-top: 12px; color: var(--muted); font-size: 13px; letter-spacing: .035em; }

.section { padding-block: clamp(82px, 9vw, 138px); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 43px; }
.eyebrow { margin-bottom: 14px; color: var(--violet); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.section-heading h2, .contact h2 { color: var(--text); font-size: clamp(41px, 5vw, 71px); font-weight: 690; line-height: 1.12; letter-spacing: -.063em; }
.section-heading > p { max-width: 365px; padding-bottom: 3px; color: var(--muted); font-size: 16px; line-height: 1.85; text-wrap: pretty; }
.services { background: radial-gradient(ellipse at 0% 0%, #231733 0, #100e18 58%); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.service-card { position: relative; min-width: 0; min-height: 208px; padding: 27px 26px 24px; border: 1px solid #e8dbff1c; border-radius: 17px; background: linear-gradient(135deg, #281e36c7, #1a1522 65%); transition: border-color .28s ease, background .28s ease, transform .28s ease; }
.service-card:hover, .service-card:focus-within { transform: translateY(-3px); border-color: #bc9bff7a; background: linear-gradient(135deg,#382750,#21172e 70%); }
.service-visual { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.9; margin: -7px -7px 17px; border-radius: 11px; background: radial-gradient(ellipse at 50% 55%, #9d78e229, transparent 71%); }
.service-visual img { width: 94%; height: 100%; min-height: 0; object-fit: contain; transition: transform .52s cubic-bezier(.2,.68,.25,1); }
.service-card:hover .service-visual img, .service-card:focus-within .service-visual img { transform: translateY(-3px) scale(1.045); }
.service-card h3 { margin-bottom: 8px; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.3; font-weight: 680; letter-spacing: -.035em; }
.service-card p { max-width: 28ch; color: #c2b8cf; font-size: 14px; line-height: 1.7; }
.service-card .service-link { position: absolute; inset: 0; border-radius: inherit; }
.service-action { position: absolute; top: 22px; right: 22px; padding: 5px 10px; color: #e6d9ff; border: 1px solid #eee1ff38; border-radius: var(--control-radius); font-size: 11px; font-weight: 650; opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.service-card:hover .service-action, .service-card:focus-within .service-action { opacity: 1; transform: none; }
@media (hover: none) { .service-action { opacity: 1; transform: none; } }

.work { color-scheme: light; color: var(--paper-ink); background: var(--paper); }
.work .eyebrow { color: #9b3e24; }
.work .section-heading h2 { color: #221926; }
.work .section-heading > p { color: #5c515c; }
.case-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.case-filters button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 17px; border: 1px solid #c9c0c9; border-radius: var(--control-radius); background: transparent; color: #403442; font-size: 13px; font-weight: 650; transition: color .2s, border .2s, background .2s; }
.case-filters button:hover { border-color: #6e5875; }
.case-filters button.is-active { color: #fff; border-color: #281d31; background: #281d31; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
.case-card { position: relative; min-width: 0; }
.case-button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; border-radius: 16px; background: transparent; }
.case-art { position: relative; display: grid; overflow: hidden; place-items: center; }
.case-art { aspect-ratio: 1.67; border-radius: 16px; isolation: isolate; }
.case-art::before { position: absolute; inset: 12%; z-index: -1; content: ""; border: 1px solid #ffffff71; border-radius: 45%; transform: rotate(-12deg); opacity: .57; }
.case-kite { background: radial-gradient(ellipse at 63% 40%, #efe6ff, #cbb9f2); }
.case-pawlog { background: radial-gradient(ellipse at 50% 40%, #f8ffe9, #cae1ba); }
.case-recorder { background: radial-gradient(ellipse at 55% 42%, #e8eafb, #afb4d2); }
.case-australia { background: radial-gradient(ellipse at 60% 40%, #fff0d4, #eac198); }
.case-feeder { background: radial-gradient(ellipse at 50% 40%, #ffebe0, #e7c4cb); }
.case-manufacturing { background: radial-gradient(ellipse at 50% 40%, #edf5fd, #a9c0d0); }
.case-support { background: radial-gradient(ellipse at 49% 40%, #e3f9f4, #a9d9d2); }
.case-art img { position: absolute; inset: 0; width: 88%; height: 88%; margin: auto; object-fit: contain; filter: drop-shadow(0 13px 15px #33224235); transform: translateY(1%) scale(.99); transition: transform .55s cubic-bezier(.2,.7,.25,1); }
.case-card:hover .case-art img, .case-card:focus-within .case-art img { transform: translateY(0) scale(1.055); }
.case-info { padding: 16px 3px 4px; }
.case-info p { margin-bottom: 6px; color: #665767; font-size: 12px; font-weight: 620; }
.case-info h3 { font-size: clamp(18px, 2vw, 28px); font-weight: 710; line-height: 1.25; letter-spacing: -.045em; }

.process { background: #181223; }
.engagement { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.engagement > div { border-top: 1px solid #e8dbff29; padding-top: 16px; }
.engagement dt { margin-bottom: 5px; color: #eadff6; font-size: 15px; font-weight: 700; }
.engagement dd { color: var(--muted); font-size: 13px; line-height: 1.6; }

.about { background: #100e18; }
.office-grid { display: grid; grid-template-columns: 1fr 1.33fr; gap: 16px; }
.office { position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; min-height: 365px; padding: 25px 27px; border: 1px solid #e8dbff23; border-radius: 18px; }
.office img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) saturate(.83); transition: transform .6s ease; }
.office:first-child img { object-position: center 37%; }
.office:hover img { transform: scale(1.035); }
.office::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(0deg, #110e1e 1%, #110e1eb8 31%, transparent 72%); }
.office > div { position: relative; z-index: 2; }
.office p { margin-bottom: 8px; color: var(--mint); font: 11px/1 var(--mono); letter-spacing: .13em; }
.office h3 { margin-bottom: 9px; font-size: clamp(20px, 2.25vw, 29px); font-weight: 680; letter-spacing: -.045em; }
.office address { color: #e3d7ec; font-size: 14px; font-style: normal; line-height: 1.5; }

.contact { color-scheme: light; position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(66px, 9vw, 122px); color: #221630; background: linear-gradient(115deg,#e5d5ff,#c8b5ff 58%, #d1f9ed); }
.contact::before, .contact::after { position: absolute; z-index: -1; top: -90%; right: -18%; width: min(89vw, 1170px); height: 250%; content: ""; border: 1px solid #fff9; border-radius: 50%; transform: rotate(-24deg); pointer-events: none; }
.contact::after { top: -105%; right: -16%; height: 285%; border-color: #5b4b9d3a; }
.contact-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.contact .eyebrow { color: #574374; }
.contact h2 { color: #21152f; }
.contact h2 span { color: #7655b5; margin-left: .045em; }
.contact p:not(.eyebrow) { margin-top: 20px; color: #493750; font-size: 15px; line-height: 1.7; }
.contact .contact-action p { margin-top: 10px; font-size: 12px; }
.dark-button { color: #fff; background: #241833; }
.dark-button:hover { background: #412c5c; }
.site-footer { background: #100e18; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px 25px; min-height: 87px; }
.site-footer p, .footer-top { color: var(--muted); font-size: 12px; }
.site-footer .brand { font-size: 17px; }

.has-reveal [data-reveal] { opacity: 0; transform: translateY(19px); transition: opacity .62s ease, transform .62s cubic-bezier(.25,.6,.34,1); }
.has-reveal [data-reveal].is-revealed, .has-reveal [data-reveal]:focus-within { opacity: 1; transform: none; }

@media (min-width: 821px) {
  .hero-copy > * { animation: enter .68s cubic-bezier(.25,.6,.34,1) both; }
  .hero-copy h1 { animation-delay: .07s; }
  .hero-description { animation-delay: .14s; }
  .hero-actions { animation-delay: .22s; }
  .hero-picture { animation: media-in .9s ease both; }
  .hero-picture img { animation: sculpture-float 10s ease-in-out infinite; }
}
@keyframes enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
@keyframes media-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sculpture-float { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-8px) rotate(.65deg); } }

@media (max-width: 1050px) {
  .hero { min-height: 630px; }
  .hero-inner { min-height: 630px; }
  .hero-media { right: -9%; width: 74%; }
  .services-grid { gap: 10px; }
  .service-card { padding-inline: 20px; }
}

@media (max-width: 820px) {
  :root { --header-height: 61px; }
  .header-inner { gap: 12px; }
  .menu-toggle { display: grid; gap: 5px; width: 44px; height: 44px; align-content: center; justify-items: center; border: 1px solid #d4b9f733; border-radius: 50%; background: transparent; }
  .menu-toggle > span:not(.visually-hidden) { display: block; width: 17px; height: 1.5px; background: #f6edff; transition: transform .22s; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 100% 0 auto; display: none; align-items: stretch; gap: 0; padding: 6px var(--gutter) 18px; border-bottom: 1px solid #d4b9f733; background: #181121; }
  .site-nav.is-open { display: grid; }
  .site-nav > a { padding: 15px 2px; border-bottom: 1px solid #ffffff16; }
  .site-nav .header-contact { justify-self: start; margin-top: 13px; }
  .hero { min-height: 0; }
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { max-width: 100%; padding: 55px 0 0; }
  .hero h1 { font-size: clamp(46px, 11.2vw, 78px); }
  .hero-description { margin-top: 21px; max-width: 380px; }
  .location-tag { margin-bottom: 21px; }
  .hero-actions { margin-top: 23px; }
  .hero-media { position: relative; top: auto; right: auto; width: 100%; height: clamp(310px, 68vw, 530px); margin-top: -12px; transform: none; }
  .hero-picture img { width: min(112%, 620px); margin-top: -9%; }
  .hero-art { mask-image: radial-gradient(ellipse 59% 64% at 51% 45%, black 38%, #000e 64%, transparent 96%); }
  .marker-toronto { top: 19%; left: 7%; }
  .marker-shenzhen { bottom: 24%; right: 1%; }
  .signal-caption { right: 3%; bottom: 8%; }
  .hero::before { background: radial-gradient(ellipse at 58% 68%, #2b1d46, #100e18 68%); }
  .stats-grid > div { padding: 23px 13px 21px; min-height: 113px; }
  .stats-grid p { font-size: 12px; }
  .section-heading { gap: 20px; }
  .section-heading > p { max-width: 260px; font-size: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .office { min-height: 305px; }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand-en { font-size: 10px; padding-inline-start: 8px; }
  .brand img { width: 26px; height: 26px; }
  .hero-copy { padding-top: 41px; }
  .hero h1 { font-size: clamp(43px, 12vw, 66px); }
  .hero h1 > .hero-lead { font-size: .48em; margin-bottom: .39em; }
  .hero-description { max-width: 32ch; font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 8px; }
  .button { min-height: 46px; padding-inline: 17px; font-size: 13px; }
  .hero-media { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); }
  .city-marker { gap: 6px; font-size: 11px; }
  .city-marker small { font-size: 8px; }
  .marker-shenzhen { right: 6%; }
  .signal-caption { right: 7%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { padding: 19px 12px 18px 20px; min-height: 96px; }
  .stats-grid > div:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-grid p { margin-top: 8px; }
  .section { padding-block: 68px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { max-width: 34ch; margin-top: 15px; }
  .eyebrow { margin-bottom: 11px; }
  .section-heading h2, .contact h2 { font-size: clamp(36px, 9.5vw, 49px); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 141px; padding: 18px 53px 18px 20px; }
  .service-visual { margin: -1px -32px 12px -5px; }
  .service-action { top: 16px; right: 16px; }
  .service-card h3 { margin-bottom: 4px; }
  .service-card p { max-width: 39ch; font-size: 13px; }
  .work-grid { grid-template-columns: 1fr; gap: 23px; }
  .case-filters { gap: 6px; margin-bottom: 18px; }
  .case-filters button { min-height: 39px; padding-inline: 12px; font-size: 12px; }
  .case-info { padding-top: 12px; }
  .case-art { border-radius: 12px; }
  .engagement { grid-template-columns: repeat(2, 1fr); gap: 15px 11px; margin-top: 20px; }
  .engagement dd { font-size: 12px; }
  .office-grid { grid-template-columns: 1fr; }
  .office { min-height: 274px; padding: 20px; }
  .office:first-child img { object-position: center 42%; }
  .contact-inner { display: block; }
  .contact-action { margin-top: 22px; }
  .footer-inner { flex-wrap: wrap; padding-block: 21px; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .service-visual { position: relative; isolation: isolate; }
  .service-visual::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at var(--art-light-x, 50%) var(--art-light-y, 45%), #d7d4ff38, transparent 63%);
    opacity: 0; transition: opacity .36s ease;
  }
  .service-visual.has-art-light::after { opacity: 1; }
  .service-visual.has-art-light img {
    transform: perspective(550px) rotateY(calc(var(--art-depth-x, 0) * 9deg))
      rotateX(calc(var(--art-depth-y, 0) * -6deg)) scale(1.055);
    transition-duration: .27s;
  }
  .has-reveal body:not(.inner-page) .services-grid[data-reveal] { transform: none; opacity: 1; }
  .has-reveal body:not(.inner-page) .service-card.has-inner-entry.is-revealed {
    animation: service-arrive .67s cubic-bezier(.18,.79,.24,1) backwards;
  }
  .has-reveal body:not(.inner-page) .service-card:nth-child(3n + 2) { animation-delay: .055s; }
  .has-reveal body:not(.inner-page) .service-card:nth-child(3n) { animation-delay: .11s; }
}
@keyframes service-arrive {
  from { clip-path: inset(12% 0 21% round 17px); translate: 0 25px; opacity: .12; }
}

.stat-roll { display: inline-flex; height: 1em; overflow: hidden; vertical-align: top; font-style: inherit; }
.stat-roll > i {
  height: max-content; line-height: 1; font-style: inherit; white-space: pre;
  transform: translateY(calc(1em - 100%));
  animation: figure-settle .78s cubic-bezier(.18,.73,.22,1) backwards;
}
@keyframes figure-settle { from { transform: translateY(0); } }

.service-stage { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .service-catalog.has-stage {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: center; gap: clamp(35px, 5.5vw, 92px);
  }
  .has-stage .services-grid { grid-column: 1; grid-row: 1; grid-template-columns: 1fr; gap: 0; }
  .has-stage .service-card {
    padding: 16px 3.5em 16px 15px; min-height: 0;
    border: 0; border-top: 1px solid #c9b4e437; border-radius: 0;
    background: transparent; transform: none;
  }
  .has-stage .service-card:last-child { border-bottom: 1px solid #c9b4e437; }
  .has-stage .service-card::before {
    content: ""; position: absolute; inset: 17px auto 17px 0; width: 2px; background: var(--mint);
    transform: scaleY(0); transform-origin: top; transition: transform .44s cubic-bezier(.2,.7,.25,1);
  }
  .has-stage .service-card[data-current]::before { transform: scaleY(1); }
  .has-stage .service-card:not([data-current]) .service-action { opacity: 0; }
  .has-stage .service-card[data-current] h3 { color: var(--mint); }
  .has-stage .service-card h3 { margin-bottom: 5px; font-size: clamp(19px, 1.65vw, 25px); transition: color .22s; }
  .has-stage .service-card p { max-width: none; font-size: 13px; color: #bbb1c8; }
  .has-stage .service-visual { display: none; }
  .has-stage .service-action { top: 17px; right: 0; padding: 2px 5px; border: 0; font-size: 10px; }
  .has-stage .service-stage {
    position: sticky; top: calc(var(--header-height) + 22px); align-self: start;
    grid-column: 2; grid-row: 1; isolation: isolate; display: grid; place-items: center;
    width: 100%; aspect-ratio: 1.03; max-height: 67svh; overflow: hidden;
    background:
      radial-gradient(ellipse at 55% 45%, #322943 0, #201b2a 45%, #14101d 87%);
  }
  .service-stage::before, .service-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
  .service-stage::before {
    background-image: linear-gradient(#d3ccf012 1px, transparent 1px), linear-gradient(90deg, #d3ccf012 1px, transparent 1px);
    background-size: 36px 36px; mask-image: radial-gradient(ellipse, black, #0003);
  }
  .service-stage::after {
    inset: 12px; background:
      linear-gradient(#d7cde988 0 0) top left / 15px 1px,
      linear-gradient(#d7cde988 0 0) top left / 1px 15px,
      linear-gradient(#d7cde988 0 0) bottom right / 15px 1px,
      linear-gradient(#d7cde988 0 0) bottom right / 1px 15px;
    background-repeat: no-repeat;
  }
  .service-stage :is(img, canvas) { position: absolute; width: 100%; height: 100%; object-fit: contain; transition: opacity .33s ease; }
  .service-stage canvas, .service-stage:has(.is-live) img { opacity: 0; }
  .service-stage canvas.is-live { opacity: 1; }
}

.office .photo-credit { display: block; margin-top: 8px; color: #e7e2ed; font-size: 10px; }
.photo-credit a { text-decoration: underline; text-underline-offset: 2px; }
