/* Shared V3.1 shell and inner-page system. Loaded after v3-home.css on every route.
   Rules are scoped to .v3-home (shell), .v3-inner (inner pages) or .pg-* (page heroes) so the homepage and
   website-preview layouts keep their approved appearance. Motion is opt-in via prefers-reduced-motion: no-preference. */

.v3-home {
  --v3-blue-soft: #6aa6ff;
  --v3-panel: #0b1a27;
  --v3-panel-line: #2b4256;
  --v3-skeleton: #2d4a63;
}

/* ---------- Shared footer ---------- */
.v3-home .visual-footer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 3vw, 3rem); }
.v3-home .footer-nav.visual-footer__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); column-gap: 1.5rem; align-content: start; }
.v3-home .footer-nav.visual-footer__links h2 { grid-column: 1 / -1; }
.v3-home .visual-footer__links a { min-height: 2.5rem; }
.v3-home .site-footer { background: var(--v3-ink); border-top-color: var(--v3-dark-line); }
.v3-home .visual-footer__base { border-top-color: var(--v3-dark-line); }
.footer-email { display: grid; gap: .45rem; margin-top: 1.25rem; }
.footer-email__label { color: var(--muted); font: 800 .7rem/1.4 Manrope, var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.email-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; max-width: 100%; padding: .25rem .25rem .25rem .8rem; border: 1px solid var(--v3-panel-line); border-radius: .3rem; background: var(--v3-panel); color: #fff; font-weight: 700; font-size: .875rem; }
.email-chip__address { overflow-wrap: anywhere; user-select: all; }
.copy-chip { min-height: 2.25rem; padding: .3rem .8rem; border: 1px solid var(--v3-blue); border-radius: .2rem; background: transparent; color: #fff; font-weight: 800; font-size: .78rem; cursor: pointer; transition: background-color .15s ease; }
.copy-chip:hover { background: var(--v3-blue); }
.copy-chip[data-state="done"] { background: var(--v3-blue); }
.v3-paper .email-chip { background: #fff; border-color: var(--v3-paper-line); color: var(--v3-ink); }
.v3-paper .copy-chip { color: var(--v3-ink); }
.v3-paper .copy-chip:hover, .v3-paper .copy-chip[data-state="done"] { color: #fff; }

/* ---------- Inner-page hero ---------- */
.pg-hero { position: relative; overflow: clip; isolation: isolate; background: var(--v3-ink); border-bottom: 1px solid var(--v3-dark-line); }
.pg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 55% 85% at 80% 45%, #0868ff24, transparent 72%); }
.pg-hero__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 3.2vw, 3.5rem); align-items: center; min-height: clamp(25rem, 33vw, 31.5rem); padding-block: clamp(2.75rem, 4.5vw, 4.25rem); }
.pg-hero__copy { position: relative; z-index: 1; min-width: 0; }
.pg-hero h1 { margin-block: 1.5rem 1.25rem; font-family: var(--v3-display); font-weight: 400; font-size: clamp(2.7rem, 5.6vw, 5.25rem); line-height: 1.02; letter-spacing: -.012em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word; }
.pg-hero h1 em { display: inline; color: var(--v3-blue-soft); font-style: normal; }
.pg-hero__lede { max-width: 42ch; color: var(--v3-light-text); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.pg-hero .actions { margin-top: 1.75rem; gap: .8rem; }
.pg-hero--compact .pg-hero__layout { min-height: 0; padding-block: clamp(2.25rem, 3.8vw, 3.25rem); }
.pg-hero--compact h1 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); margin-block: 1.2rem 1rem; }

/* ---------- Hero artwork (decorative, aria-hidden) ---------- */
.pg-art { position: relative; width: 100%; max-width: 40rem; aspect-ratio: 660 / 480; justify-self: center; container-type: inline-size; }
.pg-hero--compact .pg-art { aspect-ratio: 660 / 210; max-width: 36rem; }
.pg-hero--compact .pg-art__glow { top: 0; height: 100%; aspect-ratio: auto; }
.pg-art > * { position: absolute; }
.pg-art__grid { inset: 0; border: 1px solid #648ba624; background-image: linear-gradient(#4c718a33 1px, transparent 1px), linear-gradient(90deg, #4c718a33 1px, transparent 1px); background-size: 6cqw 6cqw; -webkit-mask-image: radial-gradient(ellipse at center, #000 38%, transparent 78%); mask-image: radial-gradient(ellipse at center, #000 38%, transparent 78%); }
.pg-art__glow { left: 24%; top: 10%; width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #0868ff4d, transparent 68%); }
.pg-cross { color: #d9e4ed; font-size: clamp(.8rem, 3cqw, 1.4rem); line-height: 1; }
.pg-cross--a { top: 1.5%; left: 1%; }
.pg-cross--b { bottom: 5%; right: 10%; }
.pg-tile { display: grid; place-items: center; width: 9.5cqw; aspect-ratio: 1; border: 1px solid #3f6a99; border-radius: 1.4cqw; background: #0c1d30; }
.pg-tile img { width: 4.6cqw; height: auto; }

/* Services: four stacked offerings */
.pg-row { left: calc(3% + var(--i) * 3.4%); right: calc(13% - var(--i) * 3.4%); top: calc(5% + var(--i) * 23.5%); height: 20%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2.6cqw; padding-inline: 3cqw; border: 1px solid #2b4560; border-radius: 1.5cqw; background: linear-gradient(120deg, #0f2234, #0a1826); box-shadow: 0 1.5cqw 4cqw #0006; }
.pg-row__text b { display: block; font: 800 max(.62rem, 2.9cqw)/1.2 Manrope, var(--font-body); }
.pg-row__text small { display: block; color: #9fb4c6; font: 600 max(.56rem, 2cqw)/1.3 Manrope, var(--font-body); }
.pg-row__text i { display: block; width: 52%; height: .7cqw; margin-top: 1.3cqw; border-radius: 1cqw; background: var(--v3-skeleton); }
.pg-row em { width: 2cqw; aspect-ratio: 1; border-radius: 50%; background: var(--v3-blue); box-shadow: 0 0 1.6cqw var(--v3-blue); }

/* Work: two concept frames */
.pg-frame { overflow: hidden; border: 2px solid #7f8d97; border-radius: 1.6cqw; background: #ecf0f2; color: var(--v3-ink); box-shadow: 0 2.5cqw 6cqw #0007; }
.pg-frame--a { left: 4%; top: 7%; width: 58%; height: 52%; }
.pg-frame--b { right: 4%; bottom: 6%; width: 56%; height: 50%; }
.pg-frame__bar { display: flex; align-items: center; gap: .9cqw; height: 6cqw; padding-inline: 2cqw; background: #344452; color: #e5edf3; font: 700 max(.5rem, 1.6cqw)/1 Manrope, var(--font-body); }
.pg-frame__bar i { width: 1cqw; aspect-ratio: 1; border-radius: 50%; background: #93a5b2; }
.pg-frame__bar span { margin-left: 1.2cqw; }
.pg-nodes { position: static; display: block; width: 100%; height: calc(100% - 6cqw); padding: 1.5cqw; stroke: #0759cb; stroke-width: 1.4; }
.pg-nodes rect, .pg-nodes circle { fill: #dce8f7; }
.pg-nodes .pg-nodes__core { fill: var(--v3-blue); stroke: none; }
.pg-chip { right: 2cqw; bottom: 2cqw; padding: .6cqw 1.6cqw; border-radius: 2cqw; background: var(--v3-blue); color: #fff; font: 800 max(.46rem, 1.5cqw)/1.2 Manrope, var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.pg-ui { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.5cqw 1.5cqw; }
.pg-ui b { font: 800 9cqw/1 Manrope, var(--font-body); letter-spacing: -.06em; }
.pg-ui div { flex: 1; display: grid; gap: 1.2cqw; }
.pg-ui i { display: block; height: .9cqw; border-radius: 1cqw; background: #b8c4cc; }
.pg-ui i:nth-child(2) { width: 70%; }
.pg-ui i:nth-child(3) { width: 45%; }
.pg-ui u { display: block; width: 9cqw; height: 2.2cqw; border-radius: .6cqw; background: var(--v3-blue); }
.pg-ui__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 3.5cqw; }
.pg-ui__cards i { height: 7cqw; border: 1px solid #b8c4cc; border-radius: .8cqw; background: #f7f9fa; }
.pg-tie { inset: 0; width: 100%; height: 100%; stroke: var(--v3-blue-soft); stroke-width: 2; stroke-dasharray: 6 8; opacity: .7; }

/* Gaming & Communities: technical node graph with a command panel */
.pg-art--gaming { --px: 0; --py: 0; }
.pg-graph { inset: 0; width: 100%; height: 100%; overflow: visible; }
.pg-graph__link { stroke: #2f5577; stroke-width: 1.5; }
.pg-graph__flow { stroke: #4d94ff; stroke-width: 2; stroke-dasharray: 7 15; stroke-linecap: round; opacity: .85; }
.pg-graph__ring { stroke: #2d5b8a; stroke-dasharray: 3 7; opacity: .7; }
.pg-node rect { fill: #0c1d30; stroke: #3f6a99; stroke-width: 1.5; transition: fill .2s ease, stroke .2s ease; }
.pg-node text { fill: #dbe8f5; font: 700 13px Manrope, system-ui, sans-serif; letter-spacing: .02em; }
.pg-node:hover rect { fill: #123152; stroke: #8fc0ff; }
.pg-hub { left: 50%; top: 50%; width: 15%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; border-radius: 2cqw; background: #ecf0f2; box-shadow: 0 0 6cqw #0868ffaa, 0 0 0 1.2cqw #0868ff33; }
.pg-hub img { width: 72%; height: auto; }
.pg-net { inset: 0; }
.pg-net > * { position: absolute; }
.pg-hub-glow, .pg-seal-glow { left: 50%; top: 50%; translate: -50% -50%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #0878ff66 0%, #0878ff26 40%, transparent 68%); opacity: .6; }
.pg-hub-glow { width: 40%; }
.pg-seal-glow { width: 44%; }
/* Decorative motion layers are invisible until motion is allowed: reduced motion gets the static diagram. */
.pg-pulse, .pg-lit, .pg-ripple, .pg-orbit-light { opacity: 0; }
.pg-pulse__halo { fill: #0878ff; fill-opacity: .4; }
.pg-pulse__core { fill: #91d3ff; }
.pg-lit rect:first-child { fill: none; stroke: #0878ff; stroke-opacity: .45; stroke-width: 5; }
.pg-lit rect:last-child { fill: #0878ff; fill-opacity: .2; stroke: #58aaff; stroke-width: 1.5; }
.pg-ripple { left: 50%; top: 50%; width: 72%; aspect-ratio: 1; translate: -50% -50%; border: 1px solid #58aaff; border-radius: 50%; }
.pg-orbit-light { left: 50%; top: 50%; width: 52%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; }
.pg-orbit-light::before { content: ""; position: absolute; left: 50%; top: 0; width: 1.5cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #91d3ff; box-shadow: 0 0 1.4cqw .4cqw #58aaff, 0 0 3.2cqw 1cqw #0878ff80; }
.pg-orbit-light::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 86%, #58aaff00 86%, #58aaffb0 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); }
.pg-term { left: 3%; bottom: 3%; width: 36%; overflow: hidden; border: 1px solid #2f5577; border-radius: 1.2cqw; background: #07131dee; box-shadow: 0 2cqw 5cqw #0008; font: 600 max(.5rem, 1.85cqw)/1.55 var(--font-label); color: #b9cbdc; }
.pg-term__bar { display: flex; align-items: center; gap: .9cqw; height: 4.6cqw; padding-inline: 1.8cqw; background: #162d42; color: #8fa6ba; }
.pg-term__bar i { width: .9cqw; aspect-ratio: 1; border-radius: 50%; background: #5d7a92; }
.pg-term__bar span { margin-left: 1cqw; }
.pg-term p { display: flex; align-items: center; margin: 0; padding-inline: 2cqw; white-space: nowrap; }
.pg-term p:first-of-type { padding-top: 1.6cqw; }
.pg-term p:last-child { padding-bottom: 1.6cqw; }
.pg-term p span { overflow: hidden; }
.pg-term p:first-of-type span { color: #fff; }
.pg-term b { width: .9cqw; height: 1.9cqw; margin-left: .7cqw; background: var(--v3-blue-soft); }

/* Studio: seal with orbiting disciplines */
.pg-ring { left: 50%; top: 50%; translate: -50% -50%; aspect-ratio: 1; border: 1px dashed #3d628a; border-radius: 50%; }
.pg-ring--1 { width: 30%; border-style: solid; border-color: #2d5b8a; }
.pg-ring--2 { width: 52%; }
.pg-ring--3 { width: 72%; border-color: #2b4560; }
.pg-seal { left: 50%; top: 50%; width: 17%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; border-radius: 2.2cqw; background: #ecf0f2; box-shadow: 0 0 7cqw #0868ff88, 0 0 0 1.4cqw #0868ff30; }
.pg-seal img { width: 74%; height: auto; }
.pg-orbit { padding: 1cqw 2.4cqw; border: 1px solid #3f6a99; border-radius: 3cqw; background: #0c1d30; color: #dbe8f5; font: 800 max(.52rem, 1.9cqw)/1.2 Manrope, var(--font-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pg-orbit--1 { top: 9%; left: 50%; translate: -50%; }
.pg-orbit--2 { top: 46%; right: 3%; }
.pg-orbit--3 { bottom: 9%; left: 50%; translate: -50%; }
.pg-orbit--4 { top: 46%; left: 3%; }

/* Contact: brief card and mail tile */
.pg-brief { left: 4%; top: 8%; width: 66%; height: 62%; overflow: hidden; border: 2px solid #7f8d97; border-radius: 1.6cqw; background: #ecf0f2; color: var(--v3-ink); box-shadow: 0 2.5cqw 6cqw #0007; }
.pg-brief__bar { display: flex; align-items: center; gap: .9cqw; height: 6cqw; padding-inline: 2cqw; background: #344452; color: #e5edf3; font: 700 max(.5rem, 1.7cqw)/1 Manrope, var(--font-body); }
.pg-brief__bar i { width: 1cqw; aspect-ratio: 1; border-radius: 50%; background: #93a5b2; }
.pg-brief__bar span { margin-left: 1.2cqw; }
.pg-brief__body { display: grid; gap: 3cqw; padding: 3.2cqw 3.5cqw; }
.pg-field { display: grid; gap: 1.2cqw; }
.pg-field small { color: #475764; font: 800 max(.46rem, 1.55cqw)/1 Manrope, var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.pg-field i { display: block; width: var(--w); height: 1.7cqw; border-radius: .6cqw; background: #c6ccd1; }
.pg-field:first-child i { background: #b6cdf0; }
.pg-mail { right: 4%; bottom: 8%; width: 27%; display: grid; justify-items: center; gap: 1.4cqw; padding: 3cqw 2cqw; border: 1px solid #3f6a99; border-radius: 1.8cqw; background: #0c1d30; box-shadow: 0 0 6cqw #0868ff55; }
.pg-mail .pg-tile { width: 11cqw; background: var(--v3-blue); border-color: #77a7ff; }
.pg-mail .pg-tile img { width: 5.6cqw; }
.pg-mail small { color: #dbe8f5; font: 800 max(.5rem, 1.8cqw)/1 Manrope, var(--font-body); letter-spacing: .12em; text-transform: uppercase; }

/* Hosting: rack units and handover notes */
.pg-rack { left: 3%; width: 70%; top: calc(6% + var(--i) * 24%); height: 20%; display: flex; align-items: center; gap: 2cqw; padding-inline: 3cqw; border: 1px solid #2b4560; border-radius: 1.2cqw; background: linear-gradient(120deg, #0f2234, #0a1826); box-shadow: 0 1.5cqw 4cqw #0006; }
.pg-rack b { font: 800 max(.6rem, 2.7cqw)/1 Manrope, var(--font-body); }
.pg-led { width: 1.8cqw; aspect-ratio: 1; border-radius: 50%; background: var(--v3-blue); box-shadow: 0 0 1.6cqw var(--v3-blue); }
.pg-led--b { background: #44617a; box-shadow: none; }
.pg-seg { display: flex; gap: .8cqw; margin-left: auto; }
.pg-seg i { width: 2.6cqw; height: 1.5cqw; border-radius: .3cqw; background: #4d94ff; }
.pg-check { right: 3%; bottom: 4%; width: 38%; padding: 2.6cqw 3cqw; border: 2px solid #7f8d97; border-radius: 1.4cqw; background: #ecf0f2; color: var(--v3-ink); box-shadow: 0 2.5cqw 6cqw #0007; }
.pg-check small { display: block; margin-bottom: 1.6cqw; color: #475764; font: 800 max(.46rem, 1.55cqw)/1 Manrope, var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.pg-check p { display: flex; align-items: center; gap: 1.6cqw; margin: 0 0 1.5cqw; }
.pg-check span { flex: none; width: 2.6cqw; aspect-ratio: 1; border-radius: .6cqw; background: var(--v3-blue); }
.pg-check i { flex: 1; height: 1.1cqw; border-radius: .6cqw; background: #c6ccd1; }
.pg-check p:nth-of-type(2) i { flex: .75; }
.pg-check p:nth-of-type(3) i { flex: .55; }

/* Start a Project: compact four-step progress */
.pg-steps { inset: 0; }
.pg-steps__line, .pg-steps__fill { position: absolute; left: 12%; top: 38%; height: .5cqw; border-radius: 1cqw; }
.pg-steps__line { width: 76%; background: #2b4560; }
.pg-steps__fill { width: 25%; background: var(--v3-blue); box-shadow: 0 0 2cqw var(--v3-blue); }
.pg-step { position: absolute; left: calc(12% + var(--i) * 25.33%); top: 38%; display: grid; justify-items: center; gap: 2cqw; translate: -50% -50%; }
.pg-step b { display: grid; place-items: center; width: 9cqw; aspect-ratio: 1; border: 1px solid #3f6a99; border-radius: 1.6cqw; background: #0c1d30; font: 400 max(.8rem, 3.8cqw)/1 var(--v3-display); letter-spacing: .02em; }
.pg-step:first-of-type b { background: var(--v3-blue); border-color: #77a7ff; }
.pg-step small { position: absolute; top: 100%; margin-top: 2cqw; color: #bccbd9; font: 800 max(.5rem, 1.9cqw)/1 Manrope, var(--font-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pg-step:first-of-type { translate: -50% -50%; }

/* ---------- Shared inner-page sections ---------- */
.v3-inner main { background: var(--v3-ink); }
.v3-inner .section { padding-block: clamp(3rem, 5.5vw, 5rem); }
.v3-inner .wrap { width: min(83.25rem, 100% - 2 * var(--v3-gutter)); }
.v3-inner .section--tint { background: var(--v3-hosting); border-block: 1px solid var(--v3-dark-line); }
.v3-inner .eyebrow { gap: .75rem; font: 800 .73rem/1.4 Manrope, var(--font-body); letter-spacing: .15em; color: #c2d6ef; }
.v3-inner .eyebrow::before { flex-basis: 1.9rem; height: 3px; background: var(--v3-blue); box-shadow: none; }
.v3-inner .section-head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.v3-inner .section-head h2, .v3-inner .visual-panel h2, .v3-inner .care-row h2 { font-family: var(--v3-display); font-weight: 400; letter-spacing: -.012em; text-transform: uppercase; text-wrap: initial; line-height: 1.05; }
.v3-inner .section-head h2 { margin-top: .9rem; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.v3-inner .section-head > p { color: var(--v3-light-text); }
.v3-inner .card, .v3-inner .visual-panel { border: 1px solid var(--v3-panel-line); border-radius: .4rem; background: var(--v3-panel); }
.v3-inner .visual-panel::before, .v3-inner .visual-panel::after { content: none; }
.v3-inner .card h3 { font-family: Manrope, var(--font-body); font-weight: 800; text-wrap: initial; }
.v3-inner .card p { color: var(--v3-light-text); }
.v3-inner .icon-tile { border-radius: .3rem; border-color: #3f6a99; background: #0c1d30; box-shadow: none; }
.v3-inner .card-link { font-weight: 800; }
.v3-inner .tag { border-radius: .2rem; }
.v3-inner .card .tags { color: var(--v3-blue-soft); }
.v3-inner .project-showcase .work-card { border-color: var(--v3-panel-line); }
.v3-inner .status-note { border-left-color: var(--v3-blue); background: #07131db8; }

/* ---------- Motion (opt-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pg-hero__copy > * { animation: pg-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .pg-hero__copy > :nth-child(2) { animation-delay: .08s; }
  .pg-hero__copy > :nth-child(3) { animation-delay: .16s; }
  .pg-hero__copy > :nth-child(4) { animation-delay: .24s; }
  .pg-art { animation: pg-fade .9s .12s both; }

  .pg-row { animation: pg-rise .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .1s + .15s) both, pg-pick 12s ease-in-out calc(var(--i) * 3s + 1s) infinite; }
  .pg-row em { animation: pg-pulse 2.4s ease-in-out calc(var(--i) * .4s) infinite; }
  .pg-frame--a { animation: pg-float 7s ease-in-out infinite; }
  .pg-frame--b { animation: pg-float 8s ease-in-out -2s infinite; }
  .pg-tie { animation: pg-dash 3s linear infinite; }
  .pg-art[data-parallax] .pg-net, .pg-art[data-parallax] .pg-term { transition: transform .25s ease-out; }
  .pg-art[data-parallax] .pg-net { transform: translate(calc(var(--px) * 8px), calc(var(--py) * 6px)); }
  .pg-art[data-parallax] .pg-term { transform: translate(calc(var(--px) * -6px), calc(var(--py) * -4px)); }
  /* Gaming network: 7s cycle, one pulse per connection, 1.2s apart. Transform and opacity only. */
  .pg-pulse { animation: pg-pulse-travel 7s ease-in-out calc(var(--i) * 1.2s) infinite; }
  .pg-lit { animation: pg-node-lit 7s ease-out calc(var(--i) * 1.2s) infinite; }
  .pg-hub-glow, .pg-seal-glow { animation: pg-breathe 6s ease-in-out infinite; }
  .pg-term p span { display: inline-block; max-width: 0; animation: pg-type .9s steps(22, end) calc(var(--n) * 1.1s + .6s) forwards; }
  .pg-term b { animation: pg-blink 1s steps(1) infinite; }
  /* Studio: rings brighten outward in turn, one light circles the middle ring, a faint ripple leaves the seal.
     Labels, the seal and the diagram itself stay still. */
  .pg-ring { animation: pg-ring-glow 7s ease-in-out infinite; }
  .pg-ring--2 { animation-delay: 1.2s; }
  .pg-ring--3 { animation-delay: 2.4s; }
  .pg-orbit-light { opacity: 1; animation: pg-spin 13s linear infinite; }
  .pg-ripple { animation: pg-ripple 9s ease-out 1.5s infinite; }
  /* Pause optional motion while the artwork is off-screen (class set by site.js). */
  .pg-art.is-offscreen, .pg-art.is-offscreen *, .pg-art.is-offscreen *::before, .pg-art.is-offscreen *::after { animation-play-state: paused !important; }
  .pg-field i { transform-origin: left; animation: pg-write 6s ease-in-out infinite; }
  .pg-field:nth-child(2) i { animation-delay: .6s; }
  .pg-field:nth-child(3) i { animation-delay: 1.2s; }
  .pg-mail { animation: pg-float 6.5s ease-in-out -1s infinite; }
  .pg-led { animation: pg-pulse 2.2s ease-in-out infinite; }
  .pg-led--b { animation: none; }
  .pg-seg i { animation: pg-blink-soft 3.2s ease-in-out infinite; }
  .pg-seg i:nth-child(2) { animation-delay: .4s; }
  .pg-seg i:nth-child(3) { animation-delay: .8s; }
  .pg-seg i:nth-child(4) { animation-delay: 1.2s; }
  .pg-check { animation: pg-float 7s ease-in-out -2s infinite; }
  .pg-steps__fill { animation: pg-fill 9s ease-in-out infinite; }

  .v3-inner [data-reveal]:not(.is-visible) { opacity: 0; translate: 0 18px; }
  .v3-inner [data-reveal] { transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
}

@keyframes pg-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pg-pick {
  0%, 24%, 100% { border-color: #2b4560; translate: 0; }
  6%, 19% { border-color: #4d94ff; translate: 2.2cqw 0; box-shadow: 0 0 3cqw #0868ff55, 0 1.5cqw 4cqw #0006; }
}
@keyframes pg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes pg-float { 0%, 100% { translate: 0; } 50% { translate: 0 -.9cqw; } }
@keyframes pg-dash { to { stroke-dashoffset: -44; } }
@keyframes pg-breathe { 0%, 100% { opacity: .5; } 50% { opacity: .95; } }
@keyframes pg-ring-glow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes pg-ripple { 0% { scale: .24; opacity: 0; } 8% { opacity: .3; } 60%, 100% { scale: 1; opacity: 0; } }
@keyframes pg-pulse-travel {
  0% { transform: translate(0, 0); opacity: 0; }
  2% { opacity: 0; }
  4% { opacity: 1; }
  13% { transform: translate(var(--dx), var(--dy)); opacity: 1; }
  16% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
  17.01%, 100% { transform: translate(0, 0); opacity: 0; }
}
@keyframes pg-node-lit { 0%, 12% { opacity: 0; } 15% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes pg-type { to { max-width: 30ch; } }
@keyframes pg-blink { 50% { opacity: 0; } }
@keyframes pg-blink-soft { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pg-spin { to { rotate: 360deg; } }
@keyframes pg-write { 0%, 8% { transform: scaleX(.15); } 40%, 85% { transform: scaleX(1); } 100% { transform: scaleX(.15); } }
@keyframes pg-fill { 0%, 6% { width: 0; } 45%, 100% { width: 76%; } }

/* ---------- Responsive ---------- */
@media (max-width: 68.75rem) {
  .v3-home .visual-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 51.25rem) {
  .pg-hero__layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; min-height: 0; padding-block: 2.5rem 3rem; }
  .pg-hero h1 { font-size: clamp(2.7rem, 13.2vw, 4.4rem); margin-block: 1.3rem 1.1rem; }
  .pg-hero--compact h1 { font-size: clamp(2.4rem, 11.5vw, 3.8rem); }
  .pg-art { max-width: 34rem; }
  .pg-hero--compact .pg-art { max-width: 28rem; }
}

@media (max-width: 34.99rem) {
  .v3-home .visual-footer { grid-template-columns: minmax(0, 1fr); }
  .pg-hero .actions { align-items: stretch; flex-direction: column; }
  .pg-hero .actions .button { justify-content: space-between; }
}

@media (max-width: 22.5rem) {
  .pg-hero h1 { font-size: 2.6rem; }
}

@media (forced-colors: active) {
  .pg-art { forced-color-adjust: auto; }
  .pg-hero h1 em { color: CanvasText; }
  .copy-chip { border-color: ButtonText; }
}

/* ---------- Shared list marker ---------- */
.v3-offer__covers ul, .v3-note-card ul, .gx-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.v3-offer__covers li, .v3-note-card li, .gx-points li { position: relative; padding-left: 1.15rem; }
.v3-offer__covers li::before, .v3-note-card li::before, .gx-points li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5rem; height: 2px; background: var(--v3-blue); }

/* ---------- Services ---------- */
.v3-offers { padding-block: clamp(3rem, 5.5vw, 5rem); border-bottom: 1px solid var(--v3-paper-line); }
.v3-offers .v3-topline { align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.v3-offers .v3-heading, .v3-work--page .v3-heading, .v3-explorer .v3-heading { margin-bottom: 0; }
.v3-offer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--v3-blue); }
.v3-offer { display: grid; grid-template-columns: clamp(3.5rem, 7vw, 6rem) minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1rem, 3vw, 3rem); padding-block: clamp(1.75rem, 3.2vw, 2.75rem); border-bottom: 1px solid var(--v3-paper-line); }
.v3-offer__number { font: 400 clamp(2.2rem, 4.6vw, 3.8rem)/1 var(--v3-display); color: var(--v3-dark-blue); }
.v3-offer__name { display: flex; align-items: center; gap: .65rem; color: var(--v3-dark-blue); font: 800 .73rem/1.4 Manrope, var(--font-body); letter-spacing: .15em; text-transform: uppercase; }
.v3-offer__name img { box-sizing: content-box; width: 1.1rem; height: 1.1rem; padding: .45rem; border-radius: .3rem; background: var(--v3-ink); }
.v3-offer h3 { margin-block: .85rem .8rem; font: 400 clamp(1.9rem, 3.3vw, 3rem)/1.06 var(--v3-display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.v3-offer__main > p:not(.v3-offer__name) { max-width: 52ch; color: var(--v3-paper-text); }
.v3-offer__fit { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--v3-paper-line); }
.v3-offer__fit strong { color: var(--v3-ink); }
.v3-offer__covers h4 { margin: 0 0 .8rem; color: var(--v3-dark-blue); font: 800 .73rem/1.4 Manrope, var(--font-body); letter-spacing: .15em; text-transform: uppercase; }
.v3-offer__covers li { color: var(--v3-paper-text); }
.v3-offer__cta { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; margin-top: 1.1rem; color: var(--v3-dark-blue); font-weight: 800; text-underline-offset: .3em; }
.v3-offer__cta span { transition: translate .15s ease; }
.v3-offer__cta:hover span { translate: 2px -2px; }
.v3-expect { border-top: 1px solid var(--v3-dark-line); }
.v3-inner .visual-specialty { border-left: 3px solid var(--v3-blue); }

/* ---------- Work ---------- */
.v3-work--page { padding-block: clamp(3rem, 5.5vw, 5rem); }
.v3-work--page .v3-topline { align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.v3-work .project-showcase--expanded .work-card { display: block; padding: clamp(.7rem, 1.25vw, 1rem); border: 1px solid #c3c9cd; border-radius: .6rem; background: #fafaf8; color: var(--v3-ink); box-shadow: 0 5px 18px #07131d0a; }
.v3-work .project-showcase--expanded .project-art__image { aspect-ratio: 1.6; }
.v3-notes { padding-block: clamp(3.5rem, 6.5vw, 6rem); border-top: 1px solid var(--v3-dark-line); }
.v3-notes__head .v3-heading { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.v3-notes__head .v3-heading span { color: #81afff; }
.v3-notes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.v3-note-card { min-width: 0; padding: clamp(1.25rem, 2.4vw, 2rem); border: 1px solid var(--v3-panel-line); border-radius: .4rem; background: var(--v3-panel); }
.v3-note-card__tag { color: var(--v3-blue-soft); font: 800 .72rem/1 Manrope, var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.v3-note-card h3 { margin-block: .75rem .6rem; font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.08 var(--v3-display); letter-spacing: -.01em; text-transform: uppercase; }
.v3-note-card__question { margin-bottom: 1rem; color: #fff; font-weight: 700; }
.v3-note-card li { color: var(--v3-light-text); }
.v3-reading { list-style: none; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--v3-dark-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem clamp(1rem, 3vw, 2.5rem); color: var(--v3-light-text); }
.v3-reading strong { display: block; margin-bottom: .2rem; color: #fff; }

/* ---------- Gaming & Communities explorer ---------- */
.v3-explorer { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.v3-explorer .v3-topline { align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.v3-explorer .v3-topline p { color: var(--v3-light-text); }
.gx { display: grid; gap: 1rem; }
.gx-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 0; border-bottom: 1px solid var(--v3-dark-line); }
.gx-tab { min-height: 2.9rem; margin-bottom: -1px; padding: .55rem 1.1rem; border: 1px solid var(--v3-panel-line); border-bottom: 0; border-radius: .3rem .3rem 0 0; background: transparent; color: var(--v3-light-text); font: 800 .85rem/1.2 Manrope, var(--font-body); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.gx-tab:hover { background: #122a44; color: #fff; }
.gx-tab[aria-selected="true"] { border-color: var(--v3-blue); background: var(--v3-blue); color: #fff; }
.gx-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--v3-panel-line); border-radius: .4rem; background: var(--v3-panel); }
.gx-ready .gx-panel { border-top-left-radius: 0; }
.gx-panel__copy { min-width: 0; }
.gx-panel__kicker { color: var(--v3-blue-soft); font: 800 .72rem/1.4 Manrope, var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.gx-panel h3 { margin-block: .7rem .8rem; font: 400 clamp(1.8rem, 3.4vw, 3rem)/1.05 var(--v3-display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.gx-panel__copy > p:not(.gx-panel__kicker) { max-width: 50ch; color: var(--v3-light-text); }
.gx-points { margin-block: 1.1rem .9rem; color: var(--v3-light-text); }
.gx-panel__cta { display: inline-flex; width: auto; justify-content: flex-start; gap: .6rem; margin-top: .4rem; color: #fff; }
.gx-panel__figure { min-width: 0; margin: 0; }
.gx-panel__figure figcaption { margin-top: .5rem; color: #8fa6ba; font-size: .72rem; text-align: right; }
.gx-diagram { display: grid; place-items: center; min-height: 17rem; padding: 1.25rem; border: 1px solid var(--v3-panel-line); border-radius: .3rem; background: linear-gradient(#4c718a22 1px, transparent 1px) 0 0 / 1.6rem 1.6rem, linear-gradient(90deg, #4c718a22 1px, transparent 1px) 0 0 / 1.6rem 1.6rem, #07131d; }
.gx-diagram > * { width: 100%; }
.gx-roles { display: grid; gap: .55rem; }
.gx-role { display: flex; align-items: center; gap: .6rem; margin-left: calc(var(--d) * 1.1rem); padding: .55rem .8rem; border: 1px solid #3f6a99; border-radius: .3rem; background: #0c1d30; font-size: .8rem; }
.gx-role b { font-weight: 800; }
.gx-role i { width: 1.6rem; height: .4rem; border-radius: 1rem; background: var(--v3-skeleton); }
.gx-role i:last-child { margin-left: auto; width: calc(1.2rem + var(--d) * .5rem); background: #4d94ff; }
.gx-journey { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.gx-journey li { display: flex; align-items: center; gap: .8rem; padding: .55rem .8rem; border: 1px solid #3f6a99; border-radius: .3rem; background: #0c1d30; font-size: .85rem; font-weight: 700; }
.gx-journey span { color: var(--v3-blue-soft); font: 400 1.15rem/1 var(--v3-display); }
.gx-bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .4rem; }
.gx-bridge__node { display: grid; place-items: center; min-height: 4rem; padding: .4rem; border: 1px solid #3f6a99; border-radius: .3rem; background: #0c1d30; font-size: .78rem; font-weight: 800; text-align: center; }
.gx-bridge__node--core { border-color: #77a7ff; background: #123152; box-shadow: 0 0 1.5rem #0868ff44; }
.gx-bridge__link { width: 1.4rem; border-top: 2px dashed #4d94ff; }
.gx-bridge__link--maybe { opacity: .45; }
.gx-bridge small { grid-column: 1 / -1; margin-top: .9rem; color: #9fb4c6; font-size: .74rem; text-align: center; letter-spacing: .06em; text-transform: uppercase; }
.gx-layers { display: grid; gap: .5rem; }
.gx-layer { padding: .85rem 1rem; margin-inline: calc(var(--d) * .5rem); border: 1px solid #3f6a99; border-radius: .3rem; background: #0c1d30; font-size: .85rem; font-weight: 700; }
.gx-layer:first-child { border-color: #77a7ff; background: #123152; }
.v3-exploration__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
.v3-exploration .v3-heading { margin-bottom: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.v3-exploration__layout > p { max-width: 46ch; color: var(--v3-light-text); }

@media (prefers-reduced-motion: no-preference) {
  .gx-role, .gx-journey li { animation: gx-hi 10s ease-in-out calc(var(--d) * 1.6s) infinite; }
  .gx-layer { animation: gx-hi 8s ease-in-out calc(var(--d) * 1.6s) infinite; }
  .gx-bridge__link { animation: gx-flow 1.6s linear infinite; }
  .gx-ready .gx-panel:not([hidden]) { animation: pg-fade .35s ease both; }
}

@keyframes gx-hi { 0%, 22%, 100% { border-color: #3f6a99; } 8%, 16% { border-color: #8fc0ff; background: #123152; } }
@keyframes gx-flow { 50% { opacity: .5; } }

@media (max-width: 51.25rem) {
  .v3-offer { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .v3-offer__number { font-size: 2.4rem; }
  .v3-notes__grid, .v3-reading, .gx-panel, .v3-exploration__layout { grid-template-columns: minmax(0, 1fr); }
  .v3-offers .v3-topline, .v3-work--page .v3-topline, .v3-explorer .v3-topline { flex-direction: column; align-items: start; }
  .gx-diagram { min-height: 0; }
  .gx-tabs { flex-wrap: wrap; }
}

.v3-inner .v3-work .project-showcase h3 { font-family: var(--v3-display); font-weight: 400; }

/* ---------- Checkpoint C: Studio, Hosting, Contact, Start a Project ---------- */
.v3-principles, .v3-care, .v3-contact, .v3-faq { padding-block: clamp(3rem, 5.5vw, 5rem); }
.v3-principles .v3-topline, .v3-care .v3-topline, .v3-faq .v3-topline { align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.v3-principles .v3-heading, .v3-care .v3-heading, .v3-faq .v3-heading, .v3-contact .v3-heading, .v3-hub .v3-heading { margin-bottom: 0; }
.v3-principle-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.v3-principle-list li { padding-top: 1.1rem; border-top: 1px solid var(--v3-blue); }
.v3-principle__number { display: block; margin-bottom: .6rem; color: var(--v3-dark-blue); font: 400 2.2rem/1 var(--v3-display); }
.v3-principle-list h3, .v3-faq__grid h3, .v3-contact__steps h3 { font: 800 1.2rem/1.25 Manrope, var(--font-body); text-wrap: initial; }
.v3-principle-list p, .v3-faq__grid p, .v3-contact__steps p { margin-top: .5rem; color: var(--v3-paper-text); }

.v3-approach, .v3-topics, .v3-choose { padding-block: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--v3-dark-line); }
.v3-topics__intro { max-width: 52ch; color: var(--v3-light-text); }
.v3-approach__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); }
.v3-approach-card { min-width: 0; padding: clamp(1.1rem, 2vw, 1.6rem); border: 1px solid var(--v3-panel-line); border-radius: .4rem; background: var(--v3-panel); }
.v3-approach-card h3 { font: 800 1.15rem/1.25 Manrope, var(--font-body); text-wrap: initial; }
.v3-approach-card p { margin-top: .5rem; color: var(--v3-light-text); }
.v3-approach-card .icon-tile { margin-bottom: 1rem; border-radius: .3rem; border-color: #3f6a99; background: #0c1d30; }

.v3-care__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.v3-care-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.25rem, 2.6vw, 2.25rem); border: 1px solid #c3c9cd; border-radius: .6rem; background: #fafaf8; box-shadow: 0 5px 18px #07131d0a; }
.v3-care-card__number { color: var(--v3-dark-blue); font: 400 2rem/1 var(--v3-display); }
.v3-care-card h3 { margin-block: .6rem .6rem; font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.06 var(--v3-display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.v3-care-card > p { max-width: 48ch; color: var(--v3-paper-text); }
.v3-care-card ul { display: grid; gap: .5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; color: var(--v3-paper-text); }
.v3-care-card li { position: relative; padding-left: 1.15rem; }
.v3-care-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5rem; height: 2px; background: var(--v3-blue); }
.v3-care-card .v3-offer__cta { margin-top: auto; padding-top: 1rem; }

.v3-hub__layout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.v3-hub .v3-hosting-icon { margin: 0; }
.v3-hub .v3-heading { margin-block: .8rem .5rem; font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.v3-hub p:not(.v3-kicker) { max-width: 54ch; color: var(--v3-light-text); }

.v3-contact__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.v3-contact__steps { display: grid; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--v3-blue); }
.v3-contact__steps li { display: grid; grid-template-columns: clamp(3rem, 6vw, 4.5rem) minmax(0, 1fr); gap: .75rem; padding-block: 1.2rem; border-bottom: 1px solid var(--v3-paper-line); }
.v3-contact__steps li > span { color: var(--v3-dark-blue); font: 400 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--v3-display); }
.v3-contact__card { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: .6rem; background: var(--v3-ink); color: #fff; box-shadow: 0 18px 40px #07131d33; }
.v3-contact__card .v3-kicker { color: #c2d6ef; }
.v3-contact__card h3 { margin-block: .9rem .7rem; font: 400 clamp(1.6rem, 3.1vw, 2.5rem)/1.1 var(--v3-display); letter-spacing: -.005em; overflow-wrap: anywhere; text-wrap: initial; }
.v3-contact__card > p:not(.v3-kicker) { color: var(--v3-light-text); }
.v3-contact__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: 1.4rem 1.1rem; }
.v3-contact__copy { margin-bottom: 1.1rem; }
.v3-paper .v3-contact__card .email-chip { border-color: var(--v3-panel-line); background: var(--v3-panel); color: #fff; }
.v3-paper .v3-contact__card .copy-chip { color: #fff; }
.v3-contact__card .status-note { margin: 0; font-size: .88rem; }
.v3-choose .v3-notes__head .v3-heading span { color: #81afff; }
.v3-choose__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
.v3-choose__list a { display: flex; align-items: center; gap: .75rem; min-height: 4.5rem; padding: .9rem 1.1rem; border: 1px solid var(--v3-panel-line); border-radius: .4rem; background: var(--v3-panel); font-weight: 800; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.v3-choose__list a:hover { border-color: var(--v3-blue-soft); background: #122a44; }
.v3-choose__list a .icon:last-child { margin-left: auto; }
.v3-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 4rem); }
.v3-faq__grid article { padding-block: 1.3rem; border-top: 1px solid var(--v3-paper-line); }

/* Start a Project composer */
.v3-inner .section--brief { padding-block: clamp(2rem, 3.5vw, 3rem) clamp(3rem, 5.5vw, 5rem); }
.v3-inner .brief-index a { color: var(--v3-blue-soft); font-weight: 800; border-bottom-color: var(--v3-panel-line); }
.v3-inner .brief-index a:hover { border-color: var(--v3-blue-soft); }
.v3-inner .brief-form fieldset { border-bottom-color: var(--v3-panel-line); }
.v3-inner legend { font: 800 1.05rem/1.3 Manrope, var(--font-body); }
.v3-inner .choice { border-color: var(--v3-panel-line); border-radius: .3rem; background: #07131d; transition: border-color .15s ease, background-color .15s ease; }
.v3-inner .choice:hover { border-color: #5f8fc4; }
.v3-inner .choice:has(input:checked) { border-color: var(--v3-blue-soft); background: #122a44; }
.v3-inner input:not([type="radio"], [type="checkbox"]), .v3-inner textarea { border-color: var(--v3-panel-line); border-radius: .3rem; background: #07131d; }
.v3-inner input:not([type="radio"], [type="checkbox"]):focus-visible, .v3-inner textarea:focus-visible { outline-offset: 2px; border-color: var(--v3-blue-soft); }
.v3-inner .brief-summary { border-color: var(--v3-panel-line); }
.v3-inner .brief-summary h2 { font-family: var(--v3-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.012em; text-transform: uppercase; text-wrap: initial; }
.v3-inner .brief-form .button--primary, .v3-inner .brief-result__actions .button--primary { border-radius: .16rem; }
.brief-result__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.brief-result__note { margin-top: .6rem; color: var(--v3-light-text); font-size: .85rem; }
.brief-next { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--v3-panel-line); }
.brief-next h3 { margin-bottom: .6rem; font: 800 .8rem/1.4 Manrope, var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #c2d6ef; }
.brief-next ol { display: grid; gap: .4rem; margin: 0 0 1rem; padding-left: 1.2rem; color: var(--v3-light-text); font-size: .92rem; }
.email-inline { color: #fff; font-weight: 800; overflow-wrap: anywhere; }

@media (max-width: 68.75rem) {
  .v3-approach__grid, .v3-choose__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 51.25rem) {
  .v3-principle-list, .v3-care__options, .v3-contact__layout, .v3-faq__grid, .v3-hub__layout { grid-template-columns: minmax(0, 1fr); }
  .v3-principles .v3-topline, .v3-care .v3-topline, .v3-faq .v3-topline { flex-direction: column; align-items: start; }
}

@media (max-width: 34.99rem) {
  .v3-approach__grid, .v3-choose__list { grid-template-columns: minmax(0, 1fr); }
  .v3-contact__actions .button, .brief-result__actions .button { flex: 1 1 100%; }
}

.v3-topics__intro { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

/* ---------- Checkpoint D: homepage polish and Client Portal polish ---------- */
.v3-hero-note { max-width: 40ch; margin-top: 1.1rem; color: #9fb4c6; font-size: .86rem; }
.v3-page-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .9cqw; margin-top: 2.8cqw; }
.v3-page-chips span { padding: .45cqw 1.3cqw; border: 1px solid #aeb8bd; border-radius: 2cqw; background: #f7f9fa; color: #344452; font: 800 1.1cqw/1.3 Manrope, var(--font-body); letter-spacing: .02em; }
.v3-page-chips span:first-child { border-color: var(--v3-blue); background: var(--v3-blue); color: #fff; }
.v3-enquiry-email { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1.1rem; font-size: .9rem; font-weight: 650; }
.v3-enquiry .email-chip { border-color: #ffffff59; background: #07131d; }
.v3-service-row:hover .v3-service-arrow, .v3-service-row:focus-visible .v3-service-arrow { translate: 3px -3px; }
.v3-service-arrow { transition: translate .15s ease; }
.v3-service-row h3 { transition: color .15s ease; }
.v3-service-row:hover h3 { color: var(--v3-dark-blue); }

@media (prefers-reduced-motion: no-preference) {
  .v3-home:not(.v3-preview) .v3-hero-copy > * { animation: pg-rise .75s cubic-bezier(.2, .7, .2, 1) both; }
  .v3-home:not(.v3-preview) .v3-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .v3-home:not(.v3-preview) .v3-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .v3-home:not(.v3-preview) .v3-hero-copy > :nth-child(4) { animation-delay: .24s; }
  .v3-home:not(.v3-preview) .v3-hero-copy > :nth-child(5) { animation-delay: .32s; }
  .v3-home:not(.v3-preview) .v3-hero-art .v3-browser { animation: pg-rise .9s .2s cubic-bezier(.2, .7, .2, 1) both, v3-browser-float 7s ease-in-out 1.2s infinite; }
  .v3-home:not(.v3-preview) .v3-hero-art .v3-phone { animation: pg-rise .9s .4s cubic-bezier(.2, .7, .2, 1) both, v3-phone-float 6s ease-in-out 1.6s infinite; }
  .v3-page-chips span:first-child { animation: pg-pulse 3.4s ease-in-out infinite; }

  [data-reveal]:not(.is-visible) { opacity: 0; translate: 0 18px; }
  [data-reveal] { transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
}

/* Client Portal preview: calmer, more polished, still clearly non-operational. */
.portal-card .tag { display: inline-flex; align-items: center; gap: .5rem; }
.portal-card .tag::before { content: ""; width: .5rem; aspect-ratio: 1; border-radius: 50%; background: #58aaff; }
.portal-card fieldset:disabled { cursor: not-allowed; }
.portal-card fieldset:disabled * { cursor: not-allowed; }
.portal-features .feature { transition: border-color .2s ease, translate .2s ease; }
.portal-features .feature:hover { border-color: #58aaff; translate: 0 -2px; }

@media (prefers-reduced-motion: no-preference) {
  .portal-page .portal-copy > * { animation: pg-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .portal-page .portal-copy > :nth-child(2) { animation-delay: .08s; }
  .portal-page .portal-copy > :nth-child(3) { animation-delay: .16s; }
  .portal-page .portal-card { animation: pg-rise .8s .15s cubic-bezier(.2, .7, .2, 1) both, portal-glow 6s ease-in-out 1s infinite; }
  .portal-card .tag::before { animation: pg-pulse 2.4s ease-in-out infinite; }
  .portal-page .visual-art img { animation: pg-float-img 9s ease-in-out infinite; }
  .portal-page .portal-features .feature { animation: pg-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .portal-page .portal-features .card:nth-child(2) { animation-delay: .08s; }
  .portal-page .portal-features .card:nth-child(3) { animation-delay: .16s; }
  .portal-page .portal-features .card:nth-child(4) { animation-delay: .24s; }
}

@keyframes portal-glow { 0%, 100% { box-shadow: 0 0 2.8rem #0b4b922b; } 50% { box-shadow: 0 0 3.6rem #0b6bd24d; } }
@keyframes pg-float-img { 0%, 100% { translate: 0; } 50% { translate: 0 -6px; } }

/* Footer and header share the V3.1 content width on every route, including Home and the website-preview routes. */
.v3-home .site-footer .wrap { width: min(83.25rem, 100% - 2 * var(--v3-gutter)); }

.v3-offer__main > .v3-offer__tags { margin-top: .8rem; color: var(--v3-dark-blue); font: 800 .78rem/1.5 Manrope, var(--font-body); letter-spacing: .02em; }

/* ---------- Final polish (Task 03 approval) ---------- */
/* 1. Equivalent call-to-action buttons share one height across pages. Utility controls (menu toggle, copy chip, tabs,
      header buttons) are untouched. The website-preview routes keep their own approved button sizing. */
.v3-home:not(.v3-preview) main .button { min-height: 3.2rem; }

/* 2. The current Start a Project header action uses the same underline as the primary navigation links.
      aria-current stays in the markup; the legacy outline remains for forced-colors and a real focus ring is never removed. */
.visual-header .nav-actions .button[aria-current] { position: relative; }
.visual-header .nav-actions .button[aria-current]:not(:focus-visible) { outline: none; }
.visual-header .nav-actions .button[aria-current]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.visual-header .nav-actions .button[aria-current]::after { content: ""; position: absolute; inset: auto 0 -.5rem; height: 2px; background: #22b8ff; box-shadow: 0 0 .6rem #22b8ff80; pointer-events: none; }

@media (forced-colors: active) {
  .visual-header .nav-actions .button[aria-current] { outline: 2px solid Highlight; }
  .visual-header .nav-actions .button[aria-current]::after { background: Highlight; box-shadow: none; forced-color-adjust: none; }
}

/* ---------- Mobile usability (Task 03 final) ---------- */
/* Gaming explorer: at phone widths the four tabs form a clear two-by-two grid, so every label is visible
   and nothing scrolls sideways. Desktop and tablet keep the single connected tab row. */
@media (max-width: 36rem) {
  .gx-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: .75rem; border-bottom: 0; }
  .gx-tab { display: grid; place-items: center; min-height: 2.9rem; margin: 0; padding: .5rem .6rem; border: 1px solid var(--v3-panel-line); border-radius: .3rem; text-align: center; overflow-wrap: anywhere; }
  .gx-ready .gx-panel { border-top-left-radius: .4rem; }
}

/* Touch targets: small visible controls keep their size but get a roughly 44px hit area. */
.copy-chip { position: relative; }
.copy-chip::after { content: ""; position: absolute; inset: -.3rem -.25rem; }
@media (pointer: coarse) {
  .v3-home .visual-footer__links a { min-height: 2.75rem; }
}

/* Gaming hero at phone widths: keep the command panel text unclipped and the node labels legible. */
@container (max-width: 30rem) {
  .pg-node text { font-size: 14.5px; letter-spacing: 0; }
}
@container (max-width: 21rem) {
  .pg-term { left: 2%; width: 38.5%; font-size: .44rem; }
  .pg-term p { padding-inline: 1.4cqw; }
}
