:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #171a22;
  --text: #f7f7fa;
  --muted: #a8adb9;
  --coral: #ff7964;
  --yellow: #ffd95a;
  --line: #333640;
  --ease: cubic-bezier(.22, .75, .25, 1);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
main:focus { outline: none; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 10; background: var(--yellow); color: var(--bg); padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { width: min(1224px, calc(100% - 80px)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--line); }
.logo { font-family: Arial, sans-serif; font-weight: 950; font-size: 1.55rem; letter-spacing: -.075em; }
.logo span, .header nav span { color: var(--coral); }
.header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 32px; text-transform: uppercase; font-size: .72rem; font-weight: 750; letter-spacing: .11em; }
.header nav a { padding-block: 10px; }
.header nav a:hover, .footer a:hover { color: var(--coral); }
.hero { position: relative; text-align: center; padding-top: clamp(32px, 5vw, 65px); }
.eyebrow { color: var(--muted); font-size: .73rem; font-weight: 760; letter-spacing: .16em; line-height: 1.55; }
.hero-label > span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 9px; }
.hero h1 { margin: 14px auto 25px; font-size: clamp(2rem, 6vw, 5.6rem); line-height: 1.11; letter-spacing: -.065em; font-weight: 900; }
.hero h1 > span { display: block; }
em { color: var(--coral); font-style: normal; }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 450px) minmax(0, 1fr); gap: clamp(16px, 4vw, 66px); align-items: end; isolation: isolate; }
.portrait-frame { grid-column: 2; position: relative; aspect-ratio: 1.04; isolation: isolate; }
.portrait-frame::before { content: ""; position: absolute; z-index: -1; inset: 0; border: 1px solid #777188; border-radius: 50% 50% 5px 5px; transform: translate(-11px, -9px) rotate(-5deg); }
.portrait-frame img { position: absolute; inset: 0; border-radius: 50% 50% 4px 4px; object-position: 50% 25%; background: #a9bccd; }
.portrait-frame figcaption { position: absolute; right: 12px; bottom: 12px; background: var(--bg); color: var(--text); padding: 8px 12px; font: 900 .96rem Arial, sans-serif; letter-spacing: .04em; }
.portrait-frame figcaption span { color: var(--coral); }
.stage-note { justify-self: end; text-align: left; padding-bottom: 86px; max-width: 16rem; }
.stage-note .eyebrow { color: var(--yellow); margin-bottom: 9px; }
.stage-note > p + p, .about-copy > p, .timeline p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.stage-action { display: grid; gap: 30px; justify-items: start; padding-bottom: 70px; }
.orbit { display: grid; width: 75px; aspect-ratio: 1; place-items: center; transform: translate(var(--px, 0px),var(--py, 0px)); color: #c8a0ff; }
.orbit::before { content: ""; position: absolute; inset: 10px 1px; border: 1px solid currentColor; border-radius: 50%; transform: rotate(-28deg); }
.orbit span { font-size: 2.4rem; line-height: 1; transform: rotate(-15deg); }
.cta { display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 50px; padding: 11px 15px 11px 18px; border-radius: 999px; background: var(--yellow); color: #16151a; font-weight: 850; font-size: .96rem; line-height: 1.3; transition: background .25s, transform .3s var(--ease); transform: translate(var(--mx, 0px),var(--my, 0px)); }
.cta > span { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; background: #16151a; color: var(--yellow); }
.cta:hover { background: #ffe894; }
.scroll-link { position: absolute; left: 0; bottom: 15px; display: flex; gap: 9px; align-items: center; font-size: .72rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.scroll-link > span:first-child { color: var(--coral); font-size: 1.2rem; }
.marquee { position: relative; margin-top: 36px; overflow: hidden; background: var(--coral); color: #171216; }
.marquee-track { display: flex; width: max-content; font: 900 clamp(1.5rem, 4vw, 3.8rem)/1 Arial, sans-serif; letter-spacing: -.055em; }
.marquee-track > span { flex: 0 0 auto; white-space: nowrap; padding: 15px 14px; }
.marquee b { margin-inline: .18em; }
.marquee-toggle { position: absolute; inset: 50% 10px auto auto; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #171216; color: var(--text); cursor: pointer; }
.section { padding-block: clamp(64px, 10vw, 132px); }
.section-header .eyebrow { margin-bottom: 10px; }
h2 { font-size: clamp(2.1rem, 5.25vw, 4.75rem); letter-spacing: -.058em; line-height: 1.1; font-weight: 900; }
.scenarios { margin-top: clamp(23px, 5vw, 45px); }
.scenarios details { border-top: 1px solid var(--line); transition: background .3s, border-color .3s; }
.scenarios details:last-child { border-bottom: 1px solid var(--line); }
.scenarios details[open], .scenarios details:focus-within { background: linear-gradient(100deg, #171921, #1b1725); border-top-color: #a584bd; }
.scenarios summary { display: grid; grid-template-columns: clamp(37px, 8vw, 100px) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: clamp(16px, 3vw, 32px) 10px; list-style: none; cursor: pointer; }
.scenarios summary::-webkit-details-marker { display: none; }
.row-number { font: 750 .83rem/1 Arial, sans-serif; color: var(--coral); }
.row-title { font-size: clamp(1.55rem, 4vw, 3.65rem); letter-spacing: -.05em; line-height: 1.15; font-weight: 850; }
.scenarios details[open] .row-title { color: #c5a7ff; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .scenarios details[open] .row-title { background: linear-gradient(100deg, #7ba8ff, #c38cff 55%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.row-arrow { display: grid; width: clamp(36px, 5vw, 65px); aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: clamp(1.15rem, 2.5vw, 1.9rem); transition: transform .35s var(--ease), background .3s; }
.scenarios details[open] .row-arrow { transform: rotate(90deg); background: #c38cff; color: #161020; }
.scenarios details > p { color: var(--muted); padding: 0 26px 24px calc(clamp(37px, 8vw, 100px) + 22px); line-height: 1.8; }
.process { background: var(--panel); border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 6vw, 85px); align-items: start; }
.timeline { list-style: none; padding: 0 0 0 18px; border-left: 1px solid #57515e; }
.timeline li { position: relative; display: grid; grid-template-columns: clamp(57px, 9vw, 106px) 1fr; align-items: start; gap: clamp(10px, 3vw, 24px); min-height: 115px; padding: 18px 0; }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -19px; top: 0; bottom: 0; width: 2px; background: var(--coral); transform: scaleY(0); transform-origin: top; transition: transform .65s var(--ease); }
.timeline li.active::before { transform: scaleY(1); }
.step-number { font: 900 clamp(2.8rem, 7vw, 5.8rem)/.9 Arial, sans-serif; letter-spacing: -.09em; color: #8d8998; transition: color .35s; }
.timeline li.active .step-number { color: var(--coral); }
.timeline h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; margin-bottom: 6px; }
.about { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(30px, 8vw, 110px); }
.team-frame { aspect-ratio: 6 / 5; overflow: hidden; border: 1px solid #555260; border-radius: 6px 62px 6px 6px; background: var(--panel); }
.team-frame img { object-position: center 63%; transition: transform .6s var(--ease); }
@media (hover: hover) { .team-frame:hover img { transform: scale(1.025); } }
.about-copy > p { margin-top: 15px; }
.about-copy .about-lead { color: var(--text); font-weight: 750; font-size: 1.1rem; }
.contact { position: relative; isolation: isolate; padding: clamp(28px, 7vw, 95px); margin-bottom: 52px; overflow: hidden; background: var(--coral); color: #171216; border-radius: 5px 65px 5px 5px; }
.contact .eyebrow { color: #432524; margin-bottom: 10px; }
.contact p:not(.eyebrow) { margin-block: 16px 24px; }
.contact .cta { background: var(--bg); color: var(--text); }
.contact .cta > span { background: var(--yellow); color: #171216; }
.contact a:focus-visible { outline-color: #171216; }
.contact-decoration { position: absolute; z-index: -1; right: 1%; bottom: -26%; color: #e36451; font: 900 clamp(160px, 37vw, 520px)/1 Arial, sans-serif; }
.footer { border-top: 1px solid var(--line); border-bottom: 0; }
.footer > a:last-child { font-size: .9rem; }
@media (max-width: 920px) {
  .shell { width: calc(100% - 48px); }
  .stage { grid-template-columns: minmax(0, 1fr) minmax(250px, 40%) minmax(0, 1fr); gap: 18px; }
  .stage-note { padding-bottom: 57px; }
  .stage-action { padding-bottom: 50px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header, .footer { min-height: 61px; }
  .logo { font-size: 1.28rem; }
  .header nav { gap: 3px 10px; font-size: .59rem; letter-spacing: .025em; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(1.8rem, 6.9vw, 3.35rem); }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 15px; justify-items: center; }
  .portrait-frame { grid-column: 1; grid-row: 1; width: min(86%, 390px); }
  .stage-note { justify-self: center; padding-bottom: 0; text-align: center; max-width: 29em; }
  .stage-note > p + p { font-size: .94rem; }
  .stage-action { padding-bottom: 0; }
  .orbit { display: none; }
  .scroll-link { position: static; margin-top: 4px; }
  .marquee { margin-top: 25px; }
  .process-grid, .about { grid-template-columns: minmax(0, 1fr); }
  .about .team-frame { width: min(100%, 480px); justify-self: center; }
  .contact { margin-bottom: 35px; }
}

@keyframes arrive { from { opacity: .15; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes image-in { from { opacity: .25; clip-path: inset(9% 0 0 0 round 40% 40% 4px 4px); } to { opacity: 1; clip-path: inset(0 round 0); } }
@keyframes drift { 50% { transform: translateY(4px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .header, .hero-label, .hero h1 > span, .portrait-frame, .portrait-frame figcaption, .stage-note, .stage-action { animation: arrive .65s var(--ease) backwards; }
  .hero h1 > span:first-child { animation-delay: .08s; }
  .hero h1 > span:last-child { animation-delay: .16s; }
  .portrait-frame { animation-delay: .23s; }
  .portrait-frame img { animation: image-in .8s .23s var(--ease) backwards; }
  .portrait-frame figcaption, .stage-note { animation-delay: .35s; }
  .stage-action { animation-delay: .43s; }
  .scroll-link > span:first-child { animation: drift 1.8s ease-in-out 1s 3; }
  .marquee.is-animated .marquee-track { animation: marquee 30s linear infinite; }
  .marquee.is-paused .marquee-track { animation-play-state: paused; }
  .revealed { animation: arrive .65s var(--ease) both; }
  .team-frame.revealed { animation: image-in .75s var(--ease) both; }
  .scenarios details[open] > p { animation: arrive .34s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-toggle { display: none; }
}
.marquee:not(.is-animated) .marquee-track { width: auto; flex-wrap: wrap; }
.marquee:not(.is-animated) .marquee-track > span:first-child { white-space: normal; }
.marquee:not(.is-animated) .marquee-track > span[aria-hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee .marquee-track { width: auto; }
  .marquee .marquee-track > span:first-child { white-space: normal; }
  .marquee .marquee-track > span[aria-hidden] { display: none; }
}


/* V3 poster composition and motion */
:root { --purple: #9b8aff; }
.hero { padding-top: clamp(29px, 4vw, 55px); isolation: isolate; }
.hero-label { text-align: left; position: relative; z-index: 3; }
.hero h1 { position: absolute; z-index: 3; top: clamp(75px, 9vw, 135px); left: 0; right: 0; margin: 0; text-align: left; pointer-events: none; font-size: clamp(2.8rem, 6.25vw, 6.1rem); letter-spacing: -.055em; }
.hero h1 > span { overflow: hidden; padding: 0 .09em .12em; margin-left: -.09em; }
.hero h1 > span > :is(span, em) { display: inline-block; }
.hero h1 > span:last-child { text-align: right; margin-top: clamp(12px, 3vw, 45px); }
.hero h1 em { text-shadow: 0 3px 30px #0b0d1270; }
.stage { --glow-x: 50%; --glow-y: 50%; grid-template-columns: minmax(0, 1fr) minmax(0, min(49%, 540px)) minmax(0, 1fr); gap: clamp(13px, 3vw, 42px); padding-top: 15px; }
.stage::after { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; background: radial-gradient(ellipse 30% 45% at var(--glow-x) var(--glow-y), #9b8aff25, transparent 90%); }
.poster-type { position: absolute; z-index: -1; inset: auto 0 4%; overflow: hidden; text-align: center; font: 950 clamp(4rem, 23vw, 19rem)/.8 Arial, sans-serif; letter-spacing: -.12em; color: transparent; -webkit-text-stroke: 1px #9b8aff75; pointer-events: none; user-select: none; }
.poster-art { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.poster-art span { position: absolute; line-height: 1; }
.poster-art span:first-child { top: 9%; right: 12%; color: var(--yellow); font-size: clamp(2.2rem, 7vw, 6rem); transform: translate(var(--px, 0px),var(--py, 0px)) rotate(-13deg); }
.poster-art span:last-child { bottom: 27%; left: 17%; color: var(--purple); font-size: clamp(1.4rem, 3vw, 3.25rem); transform: translate(calc(var(--px, 0px) * -.6),calc(var(--py, 0px) * -.6)); }
.stage-note { align-self: end; justify-self: start; padding-bottom: 76px; position: relative; z-index: 3; }
.stage-action { align-self: end; justify-items: end; padding-bottom: 40px; position: relative; z-index: 4; }
.orbit { display: none; }
.portrait-frame { aspect-ratio: .98; }
.portrait-frame::before { border-color: var(--purple); border-radius: 46% 46% 0 0; transform: translate(11px, -5px) rotate(4deg); }
.portrait-frame img { border-radius: 46% 46% 0 0; object-position: 50% 15%; }
.portrait-frame figcaption { right: -9px; bottom: 14px; transform: rotate(-7deg); background: var(--yellow); color: var(--bg); padding: 10px 16px; font-size: clamp(.95rem, 2vw, 1.4rem); box-shadow: 4px 5px 0 #0b0d12; }
.portrait-frame figcaption span { color: var(--bg); }
.scroll-link { z-index: 4; }
.marquee { margin-top: 26px; }
.marquee-track > span { min-width: 100vw; }
.marquee.is-animated .marquee-track { padding-right: 0; }
.marquee.is-animated .marquee-track > span { padding-right: 64px; }
.marquee-toggle { z-index: 1; }

.scenarios summary { padding-block: clamp(17px, 3vw, 30px); }
.row-number { font: 900 clamp(1.15rem, 4vw, 3.7rem)/1 Arial,sans-serif; letter-spacing: -.08em; color: #898593; transition: color .25s, transform .32s var(--ease); }
.row-title { transition: color .25s; }
.scenarios details[open] .row-number, .scenarios details:focus-within .row-number { color: var(--coral); }
@media (hover: hover) and (pointer: fine) {
  .scenarios details:hover { background: linear-gradient(105deg,#171921,#1e1930); border-top-color: var(--purple); }
  .scenarios summary:hover .row-number { color: var(--coral); transform: translateX(5px); }
  .scenarios summary:hover .row-title { color: #c5b7ff; }
  .scenarios details:not([open]) summary:hover .row-arrow { transform: translateX(-8px) rotate(-10deg); border-color: var(--purple); }
}
@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
  .scenarios details { interpolate-size: allow-keywords; }
  .scenarios details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .scenarios details[open]::details-content { block-size: auto; }
}

.process { background: #151722; background: color-mix(in srgb, #151722, #221a36 var(--process-color, 0%)); }
.timeline { position: relative; border-left: 0; padding-left: 23px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; inset-block: 0; width: 1px; background: #5e506d; }
.timeline::after { width: 2px; background: linear-gradient(var(--purple),var(--coral)); transform: scaleY(var(--progress, 0)); transform-origin: top; }
.timeline li::before { content: none; }
.timeline li { min-height: 142px; padding: 25px 0; }
.timeline li:nth-child(2) > div { padding-left: clamp(0px, 3vw, 36px); }
.timeline li.active .step-number { color: var(--yellow); }
.timeline li.active h3 { color: #f8eaff; }
@media (min-width: 921px) {
  .process-grid > .section-header { position: sticky; top: 54px; }
}
.about { position: relative; isolation: isolate; }
.about-copy { position: relative; }
.about-copy h2 { font-family: Arial, sans-serif; font-size: clamp(3.4rem, 8vw, 8.25rem); font-weight: 950; line-height: .89; letter-spacing: -.095em; }
.about-mark { position: absolute; z-index: -1; right: 0; top: -42px; color: var(--purple); font-size: clamp(2.5rem, 6vw, 6rem); transform: rotate(15deg); line-height: 1; }
.team-frame { border-radius: 3px 82px 3px 3px; border-color: var(--purple); box-shadow: -9px 9px 0 #9b8aff32; }
.contact { background: var(--yellow); border-radius: 5px 82px 5px 5px; }
.contact h2 { font-size: clamp(2.6rem, 7.25vw, 7rem); }
.contact-decoration { color: #e5aa42; font-size: clamp(160px, 35vw, 510px); }
@media (max-width: 920px) {
  .hero h1 { font-size: clamp(2.65rem, 6.7vw, 5rem); }
  .hero h1 > span:last-child { margin-top: 10px; }
  .stage-note { padding-bottom: 52px; }
  .stage-action { padding-bottom: 20px; }
}
@media (max-width: 760px) {
  .hero-label { text-align: left; }
  .hero h1 { position: relative; inset: auto; margin: 12px 0 0; font-size: clamp(2.35rem, 8.8vw, 4.4rem); }
  .hero h1 > span:last-child { margin: 0; }
  .stage { grid-template-columns: minmax(0, 1fr) auto; justify-items: initial; align-items: end; column-gap: 12px; row-gap: 15px; padding-top: 2px; }
  .portrait-frame { grid-column: 1 / -1; grid-row: 1; width: min(87%, 450px); justify-self: center; aspect-ratio: 1.14; }
  .poster-type { inset: 22% 0 auto; font-size: clamp(4rem, 24vw, 12rem); }
  .poster-art span:first-child { top: 8%; right: 0; }
  .poster-art span:last-child { display: none; }
  .stage-note { grid-column: 1 / -1; padding: 0; text-align: left; justify-self: start; }
  .stage-action { grid-column: 2; grid-row: 3; padding: 0; justify-self: end; }
  .scroll-link { position: static; grid-column: 1; grid-row: 3; align-self: center; margin: 0; }
  .contact-decoration { right: -10%; bottom: -11%; }
}
@media (max-width: 430px) {
  .portrait-frame { width: 88%; }
  .stage-note > p + p { font-size: .91rem; }
  .cta { gap: 8px; padding-left: 12px; font-size: .86rem; }
  .timeline li { min-height: 116px; }
  .scenarios details > p { padding-right: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .hero :is(.hero-label, .portrait-frame, .portrait-frame img, .portrait-frame figcaption, .stage-note, .stage-action),
  .motion-ready .hero h1 > span { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-frame, .poster-art span, .stage .cta, .contact .cta { transition: none; }
}



/* Portrait frame choices and photo gallery */
.portrait-frame[data-frame] img { border-radius: 0; clip-path: polygon(0 0, 82% 0, 100% 17%, 100% 100%, 13% 100%, 0 86%); }
.portrait-frame[data-frame]::before { border-radius: 4px 15% 4px 12%; transform: translate(8px, 4px) rotate(2deg); }
.portrait-frame[data-frame="round"] img { border-radius: 28px; clip-path: none; }
.portrait-frame[data-frame="round"]::before { border-radius: 32px; }
.portrait-frame[data-frame="offset"] img { border-radius: 5% 35% 5% 35%; clip-path: none; }
.portrait-frame[data-frame="offset"]::before { border-radius: 5% 37% 5% 37%; }
.frame-picker { position: absolute; z-index: 5; top: 2%; right: 0; display: flex; gap: 5px; padding: 3px; border: 1px solid #ffffff28; border-radius: 10px; background: #0b0d12e8; }
.frame-picker[hidden], .gallery-controls[hidden] { display: none; }
.frame-picker button, .gallery-controls button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--text); cursor: pointer; }
.frame-picker button[aria-pressed="true"], .gallery-controls button:hover { border-color: #ffffff45; background: #ffffff16; color: var(--yellow); }
.frame-picker button > span { width: 16px; height: 14px; border: 2px solid currentColor; }
.frame-picker [data-shape="cut"] span { border-radius: 1px 6px 1px 4px; }
.frame-picker [data-shape="round"] span { border-radius: 4px; }
.frame-picker [data-shape="offset"] span { border-radius: 1px 8px 1px 8px; }
.gallery { min-width: 0; }
.gallery-track { display: flex; height: 100%; transform: translateX(var(--slide-offset, 0%)); transition: transform .62s var(--ease); }
.gallery-slide { flex: 0 0 100%; min-width: 0; height: 100%; overflow: hidden; }
.gallery-slide:not(:first-child) img { object-fit: contain; object-position: center; background: #11141b; }
.gallery .team-frame { border-radius: 3px 46px 3px 3px; }
.gallery-controls { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding-top: 12px; }
.gallery-controls button { border-color: #ffffff29; }
.gallery-count { min-width: 68px; text-align: center; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact { color: var(--text); background: linear-gradient(120deg,#aeb4c327,#11151b66); border: 1px solid #b8c0cf4d; box-shadow: inset 0 1px 0 #ffffff13; }
.contact::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 95% 85%,#a3aab22a,transparent 60%); }
.contact .eyebrow, .contact p:not(.eyebrow) { color: #c9cdd6; }
.contact .cta { background: var(--yellow); color: var(--bg); }
.contact .cta:hover { background: #ffe894; }
.contact .cta > span { background: var(--bg); color: var(--yellow); }
.contact a:focus-visible { outline-color: var(--yellow); }
.contact-decoration { color: #d2d7df32; }
@media (max-width: 760px) {
  .frame-picker { top: auto; bottom: auto; position: static; grid-row: 2; grid-column: 1 / -1; justify-self: center; margin-top: -8px; }
  .stage-note { grid-row: 3; }
  .stage-action, .scroll-link { grid-row: 4; }
}
@media (max-width: 680px) {
  .gallery { width: min(100%, 480px); justify-self: center; }
}

.gallery-controls button[hidden] { display: none; }

/* 2D dinosaur opening */
.dino-intro { position: fixed; inset: 0; z-index: 10; overflow: hidden; background: #0b0d12; }
.dino-intro .forest { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro-wordmark { position: absolute; inset: 35% 0 auto; text-align: center; transform: translateY(-50%); font: 950 clamp(3.25rem, 11vw, 9rem)/.92 Arial, sans-serif; letter-spacing: -.08em; animation: wordmark-in .28s ease-out both; }
.dino-intro .ground { position: absolute; inset: auto 0 34%; height: 1px; background: #c4e3c93d; }
.dino-intro .train { position: absolute; inset: auto 0 calc(34% + 1px); height: 0; animation: crossing var(--run-time, 2.2s) linear .3s both; }
.dino-intro .runner { position: absolute; left: var(--start); bottom: -1px; width: var(--size); height: auto; overflow: visible; }
.dino-intro .runner .motion { animation: bob var(--beat) ease-in-out var(--phase) infinite; }
.dino-intro .runner .tail, .dino-intro .runner .head, .dino-intro .runner .arm, .dino-intro .runner .leg { transform-box: view-box; }
.dino-intro .runner .tail { transform-origin: 44px 57px; animation: tail var(--beat) ease-in-out var(--phase) infinite; }
.dino-intro .runner .head { transform-origin: 95px 47px; animation: nod var(--beat) ease-in-out var(--phase) infinite; }
.dino-intro .runner .arm { transform-origin: 96px 62px; animation: arms calc(var(--beat) * 2) ease-in-out var(--phase) infinite; }
.dino-intro .runner .leg { transform-origin: 66px 77px; animation: stride calc(var(--beat) * 2) ease-in-out var(--phase) infinite; }
.dino-intro .runner .leg-near { transform-origin: 83px 76px; animation-delay: calc(var(--phase) - var(--beat)); }
.dino-intro .dino-skip { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid #59606b; border-radius: 999px; background: #151a22; color: #f7f7fa; cursor: pointer; position: absolute; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); }
.dino-intro.exiting { transition: opacity .38s ease; opacity: 0; pointer-events: none; }
@keyframes crossing { from { transform: translateX(0); } to { transform: translateX(var(--travel)); } }
@keyframes wordmark-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 48% { transform: translateY(-6px); } 75% { transform: translateY(0); } }
@keyframes tail { 0%, 100% { transform: rotate(-5deg); } 55% { transform: rotate(6deg); } }
@keyframes nod { 0%, 100% { transform: rotate(2deg); } 50% { transform: rotate(-3deg); } }
@keyframes arms { 0%, 100% { transform: rotate(-13deg); } 50% { transform: rotate(20deg); } }
@keyframes stride {
  0%, 100% { transform: rotate(-33deg) translateY(-1px); }
  26% { transform: rotate(-5deg) translateY(2px); }
  50% { transform: rotate(34deg) translateY(-1px); }
  76% { transform: rotate(7deg) translateY(-8px); }
}
.dino-intro[hidden] { display: none; }
html.dino-playing, html.dino-playing body { overflow: hidden; }
.dino-playing :is(.header, .hero-label, .hero h1 > span, .portrait-frame, .portrait-frame img, .portrait-frame figcaption, .stage-note, .stage-action, .scroll-link > span:first-child) { animation: none; }
