/* =========================================================
   MCHub — home / section components + hero variants
   ========================================================= */

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(56px, 8vw, 110px);
  overflow: hidden;
}
/* short / landscape screens: don't force full height (prevents top clipping) */
@media (max-height: 760px){
  .hero { min-height: auto; justify-content: flex-start; }
}

/* film-grain texture — the crafted touch over the aurora */
.hero::after, .page-hero::after, .vision::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 160px 160px;
  opacity: .045; mix-blend-mode: multiply;
}

.hero-aurora {
  position: absolute; inset: -25% -15% -25% -15%;
  z-index: 0; pointer-events: none; filter: blur(72px); opacity: .5;
}
.hero-aurora i {
  position: absolute; border-radius: 46% 54% 58% 42%; display: block;
  will-change: transform;
}
.hero-aurora i:nth-child(1){ width: 48vw; height: 48vw; left: 50%; top: -10%; background: radial-gradient(circle at 35% 35%, rgba(43,107,255,.62), transparent 62%); animation: blob1 19s cubic-bezier(.45,.05,.55,.95) infinite; }
.hero-aurora i:nth-child(2){ width: 42vw; height: 42vw; left: -8%; top: 14%; background: radial-gradient(circle at 50% 50%, rgba(123,63,242,.52), transparent 62%); animation: blob2 23s cubic-bezier(.45,.05,.55,.95) infinite; }
.hero-aurora i:nth-child(3){ width: 38vw; height: 38vw; left: 58%; top: 44%; background: radial-gradient(circle at 50% 50%, rgba(33,200,214,.5), transparent 62%); animation: blob3 27s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes blob1 {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  33%  { transform: translate(-12%,10%) scale(1.18) rotate(60deg); }
  66%  { transform: translate(8%,-6%) scale(.92) rotate(160deg); }
  100% { transform: translate(0,0) scale(1) rotate(360deg); }
}
@keyframes blob2 {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  40%  { transform: translate(16%,-8%) scale(1.2) rotate(-80deg); }
  70%  { transform: translate(-6%,12%) scale(.88) rotate(-200deg); }
  100% { transform: translate(0,0) scale(1) rotate(-360deg); }
}
@keyframes blob3 {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  35%  { transform: translate(-14%,-12%) scale(1.16) rotate(90deg); }
  68%  { transform: translate(10%,8%) scale(.9) rotate(220deg); }
  100% { transform: translate(0,0) scale(1) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce){ .hero-aurora i { animation: none; } }

/* cursor-reactive glow: a soft light that follows the pointer through the aurora */
.aurora-glow { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: clamp(320px, 42vw, 620px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(43,107,255,.13), rgba(123,63,242,.07) 42%, rgba(33,200,214,.04) 60%, transparent 72%);
  filter: blur(30px); opacity: 0; transition: opacity .7s var(--ease-out); will-change: transform; }
.aurora-glow.on { opacity: 1; }
.hero-aurora { will-change: transform; transition: none; }

/* scroll cue at the bottom of the full-screen hero */
.hero-scroll {
  position: absolute; left: 50%; bottom: clamp(20px, 3.5vw, 38px); transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-faint); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.hero-scroll .bar { width: 1.5px; height: 40px; border-radius: 2px; background: linear-gradient(var(--ink-faint), transparent); position: relative; overflow: hidden; }
.hero-scroll .bar::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent); animation: scrolldrop 1.9s var(--ease-out) infinite; }
@keyframes scrolldrop { 0%{ transform: translateY(0); opacity: 0; } 20%{ opacity: 1; } 100%{ transform: translateY(240%); opacity: 0; } }
@media (prefers-reduced-motion: reduce){ .hero-scroll .bar::after { animation: none; } }
@media (max-width: 860px){ .hero-scroll { display: none; } }

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-block: auto; margin-inline: auto; padding-inline: var(--pad); }

.hero-logo { color: var(--ink); }
.hero-logo .logo-svg { width: 100%; height: auto; overflow: visible; }
.hero-logo .logo-part { transform-box: fill-box; transform-origin: center; }
.logo-particles { display: block; width: 100%; height: auto; }

/* armed = hidden before play (JS adds this only when animation will run) */
.hero-logo.armed .logo-part { opacity: 0; }
.hero-logo.play .logo-part[data-part="bar1"] { animation: asm-bar1 1.05s var(--ease-spring) forwards; }
.hero-logo.play .logo-part[data-part="bar2"] { animation: asm-bar2 1.05s var(--ease-spring) .14s forwards; }
.hero-logo.play .logo-part[data-part="foot"] { animation: asm-foot 1.05s var(--ease-spring) .28s forwards; }
@keyframes asm-bar1 { 0%{opacity:0; transform: translate(-190px,-70px) rotate(-16deg) scale(.45);} 60%{opacity:1;} 100%{opacity:1; transform:none;} }
@keyframes asm-bar2 { 0%{opacity:0; transform: translate(10px,-280px) rotate(13deg) scale(.5);} 60%{opacity:1;} 100%{opacity:1; transform:none;} }
@keyframes asm-foot { 0%{opacity:0; transform: translate(230px,60px) rotate(11deg) scale(.4);} 60%{opacity:1;} 100%{opacity:1; transform:none;} }
@media (prefers-reduced-motion: reduce){ .hero-logo.armed .logo-part { opacity: 1; } .hero-logo.play .logo-part { animation: none !important; } }

/* gentle idle bob after assembling */
.hero-logo.idle .logo-svg { animation: bob 6s ease-in-out 1.2s infinite alternate; }
@keyframes bob { from { transform: translateY(0);} to { transform: translateY(-10px);} }
@media (prefers-reduced-motion: reduce){ .hero-logo.idle .logo-svg { animation: none; } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: clamp(11px,1.1vw,12px); line-height: 2; color: var(--ink-soft); }
.hero-eyebrow::before { content: ""; flex: none; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.hero-eyebrow .gw { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title { margin-top: 18px; }
.hero-title .grad {
  background: linear-gradient(110deg, #2b6bff, #7b3ff2 28%, #21c8d6 52%, #7b3ff2 74%, #2b6bff 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradflow 5.5s linear infinite;
}
@keyframes gradflow { from { background-position: 0% 50%; } to { background-position: 260% 50%; } }
@media (prefers-reduced-motion: reduce){ .hero-title .grad { animation: none; } }
.hero-lead { margin-top: 26px; max-width: 30ch; }
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* word-by-word kinetic reveal */
.kin { display: inline-block; overflow: hidden; vertical-align: top; }
.kin > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-spring); }
.kin.in > span { transform: none; }
@media (prefers-reduced-motion: reduce){ .kin > span { transform: none; } }

/* ===== Variant A : centred minimal ===== */
.hero[data-hero="a"] .hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero[data-hero="a"] .hero-logo { width: clamp(170px, 24vw, 250px); margin-bottom: clamp(30px,5vw,52px); }
.hero[data-hero="a"] .hero-eyebrow { order: -1; }
.hero[data-hero="a"] .hero-lead { margin-inline: auto; }
.hero[data-hero="a"] .hero-cta { justify-content: center; }

/* ===== Variant B : split, logo right ===== */
.hero[data-hero="b"] .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px,5vw,72px); text-align: left; }
.hero[data-hero="b"] .hero-logo { width: min(100%, 440px); justify-self: end; }
.hero[data-hero="b"] .hero-copy { order: -1; }
@media (max-width: 820px){
  .hero[data-hero="b"] .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero[data-hero="b"] .hero-logo { width: clamp(180px,40vw,280px); justify-self: center; order: -1; margin-bottom: 28px; }
  .hero[data-hero="b"] .hero-lead { margin-inline: auto; }
  .hero[data-hero="b"] .hero-cta { justify-content: center; }
}

/* ===== Variant C : oversized bleeding logo (default / locked) ===== */
.hero[data-hero="c"] { padding-bottom: clamp(70px,11vw,140px); }
.hero[data-hero="c"] .hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.62fr); align-items: center;
  gap: clamp(12px,2.4vw,40px); text-align: left;
}
.hero[data-hero="c"] .hero-copy { order: -1; position: relative; z-index: 3; }
.hero[data-hero="c"] .display { font-size: clamp(32px, 3.7vw, 56px); letter-spacing: -.035em; }
.hero[data-hero="c"] .hero-lead { max-width: 40ch; }
.hero[data-hero="c"] .hero-logo {
  width: min(184%, 840px); justify-self: end;
  margin-right: clamp(-170px, -8vw, -24px);
  margin-block: clamp(-48px, -4vw, -12px);
  position: relative; z-index: 1;
}
@media (max-width: 860px){
  .hero[data-hero="c"] .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero[data-hero="c"] .display { font-size: clamp(40px, 8.5vw, 66px); }
  .hero[data-hero="c"] .hero-logo { width: clamp(300px,78vw,460px); justify-self: center; margin: -24px auto -10px; order: -1; }
  .hero[data-hero="c"] .hero-lead { margin-inline: auto; }
  .hero[data-hero="c"] .hero-cta { justify-content: center; }
}
/* phones: natural height, comfortable rhythm, full-width actions */
@media (max-width: 640px){
  .hero { min-height: auto; justify-content: flex-start; padding-top: calc(var(--nav-h) + 30px); padding-bottom: 56px; }
  .hero[data-hero="c"] .hero-logo { width: clamp(230px, 64vw, 300px); margin: -8px auto 2px; }
  .hero[data-hero="c"] .display { font-size: clamp(31px, 8.6vw, 38px); }
  .hero-eyebrow { font-size: 10.5px; letter-spacing: .2em; }
  .hero-lead { margin-top: 18px; font-size: 15px; line-height: 1.85; max-width: 34ch; }
  .hero-cta { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-cta .btn.ghost { width: auto; align-self: center; }
}

/* ---- hero variant switcher ---- */
.hero-switch {
  position: relative; z-index: 4;
  margin: clamp(40px,6vw,68px) auto 0; width: fit-content;
  display: flex; align-items: center; gap: 4px;
  padding: 5px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.7); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
}
.hero-switch .lbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ink-faint); padding: 0 10px 0 12px; }
.hero-switch button {
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  border: 0; background: transparent; padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer;
  transition: color .2s, background .2s;
}
.hero-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hero-switch .replay { color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }

/* ---------------- STATS strip ---------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 6px clamp(24px, 3.5vw, 48px); border-left: 1px solid var(--line-strong); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .lab { display: block; font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.stat .num { font-family: var(--font-en); font-size: clamp(44px, 5.6vw, 76px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .num .u { font-family: var(--font); font-size: .4em; font-weight: 700; margin-left: 4px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .cap { margin-top: 14px; color: var(--ink-soft); font-size: 14px; letter-spacing: .04em; }
.stats-note { margin: clamp(26px,3.5vw,40px) 0 0; font-size: 12px; color: var(--ink-faint); letter-spacing: .04em; }
@media (max-width: 680px){
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-strong); padding: 26px 0;
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 18px; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .stat .num { font-size: clamp(44px, 13vw, 56px); }
  .stat .cap { margin-top: 0; text-align: right; }
  .stat .lab { margin-bottom: 4px; }
}

/* ---------------- section heads ---------------- */
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 18px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 24px; flex-wrap: wrap;
  padding-top: clamp(20px,2.6vw,32px); border-top: 2px solid var(--ink); }
.sec-head-row .h-sec { white-space: nowrap; }
.sec-head-row .linkarrow { padding-bottom: 4px; }
@media (max-width: 560px){ .sec-head-row { gap: 16px; } }

/* ---------------- service — editorial hairline columns ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(36px,5vw,60px); border-top: 2px solid var(--ink); }
@media (max-width: 880px){ .svc-grid { grid-template-columns: 1fr; } }
.svc {
  position: relative; padding: clamp(28px,3.2vw,42px) clamp(22px,2.6vw,36px) clamp(30px,3.4vw,46px);
  border-left: 1px solid var(--line); background: transparent;
  transition: background .4s;
}
.svc:first-child { border-left: 0; padding-left: 0; }
.svc:last-child { padding-right: 0; }
.svc:hover { background: linear-gradient(180deg, rgba(43,107,255,.04), rgba(43,107,255,0) 70%); }
.svc .num {
  display: block; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: var(--ink-faint); margin-bottom: clamp(30px,4.5vw,60px); transition: color .3s;
}
.svc .num::before { content: "( "; } .svc .num::after { content: " )"; }
.svc:hover .num { color: var(--accent); }
.svc h3 { font-size: clamp(20px,1.9vw,24px); margin: 6px 0 0; }
.svc .en { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0; }
.svc p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.9; margin: 16px 0 24px; text-wrap: pretty; }
.svc .more { font-size: 14px; }
@media (max-width: 880px){
  .svc { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .svc:first-child { border-top: 0; }
  .svc .num { margin-bottom: 18px; }
}

/* ---------------- news ---------------- */
.news-list { margin-top: clamp(32px,4vw,52px); border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 24px;
  padding: 26px 14px; margin-inline: -14px; border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.news-item:hover { background: var(--bg-alt); border-bottom-color: transparent; }
.news-item .date { font-family: var(--font-en); font-size: 13px; font-weight: 500; color: var(--ink-faint); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.news-item .tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--accent);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 3px 11px; justify-self: start; background: var(--bg); }
.news-item .ttl { font-weight: 600; font-size: 15.5px; transition: transform .35s var(--ease-spring); }
.news-item:hover .ttl { transform: translateX(4px); }
.news-item .ar { color: var(--ink-faint); transition: transform .3s var(--ease-spring), color .2s; }
.news-item:hover .ar { transform: translateX(5px); color: var(--accent); }
@media (max-width: 680px){
  .news-item { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .news-item .date { grid-row: 1; }
  .news-item .ttl { grid-column: 1 / -1; grid-row: 2; }
  .news-item .ar { grid-row: 1; }
}

/* ---------------- works ---------------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px,5vw,56px); }
@media (max-width: 880px){ .works-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .works-grid { grid-template-columns: 1fr; } }
.work {
  border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
  transition: transform .5s var(--ease-spring), box-shadow .5s, border-color .3s;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.work .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--bg-alt); }
.work .thumb::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 -1px 0 rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.4); }
.work .thumb canvas, .work .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; transition: transform .6s var(--ease-spring); }
.work .thumb img { position: absolute; inset: 0; }
.work:hover .thumb canvas, .work:hover .thumb img { transform: scale(1.045); }
.work .meta { padding: 18px 20px 22px; }
.work .meta .tag { font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.work .meta h3 { font-size: 16.5px; margin-top: 8px; letter-spacing: -.005em; }
.work .work-link { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.work .work-link .ar { transition: transform .3s var(--ease-spring); }
.work:hover .work-link { color: var(--accent); }
.work:hover .work-link .ar { transform: translateX(4px); }

/* 3D tilt + light sheen (fine pointers only) */
@media (hover: hover) and (pointer: fine) {
  .works-grid { perspective: 1100px; }
  .work { transform-style: preserve-3d; }
  /* entrance reveal is done — drop its slow/delayed transform transition so tilt is instant */
  .works-grid .work.in { transition-delay: 0s; }
  .works-grid .work.tilt { transition: transform .1s ease-out, box-shadow .5s, border-color .3s; transition-delay: 0s; }
  .work .thumb::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
    background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.3), rgba(255,255,255,0) 58%);
    transition: opacity .35s; }
  .work.tilt .thumb::before { opacity: 1; }
  .work.tilt { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
}

/* ---------------- contact CTA (light) ---------------- */
.cta-band { position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #f7f8fb 0%, #eaeef6 100%); border: 1px solid var(--line);
  padding: clamp(54px,8vw,108px) clamp(24px,5vw,72px); text-align: center; }
.cta-band::after { content: ""; position: absolute; left: 50%; top: -46%; width: 74%; height: 96%;
  transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(43,107,255,.16), rgba(123,63,242,.10) 45%, transparent 72%);
  pointer-events: none; }
.cta-band > * { position: relative; z-index: 2; }
.cta-mark { display: inline-block; width: clamp(60px,7vw,82px); color: var(--ink); margin-bottom: clamp(10px,1.8vw,16px); line-height: 0; }
.cta-mark .logo-svg { width: 100%; height: auto; }
.cta-mark .logo-particles { width: 100%; height: auto; display: block; }
.cta-kicker { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band .h-sec { color: var(--ink); }
.cta-lead { color: var(--ink-soft); margin: 18px auto 0; max-width: 54ch; font-size: clamp(16px,1.5vw,18px); line-height: 1.75; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(26px,3vw,36px); }
.cta-band .btn.ghost { background: transparent; color: var(--accent); box-shadow: none; }
.cta-band .btn.ghost:hover { background: rgba(10,108,255,.06); box-shadow: none; transform: translateY(-2px); }

/* ---------------- VISION (light) ---------------- */
.vision { background: var(--bg-alt); position: relative; overflow: hidden; }
.vision .hero-aurora { opacity: .34; }
.vision .wrap { position: relative; z-index: 2; }
.vision .sec-head.center { max-width: 820px; }
.vision-title { font-size: clamp(34px,5.4vw,72px); letter-spacing: -.03em; color: var(--ink); line-height: 1.18; }
.vision-title .tail { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- intro overlay ---------------- */
.intro { position: fixed; inset: 0; z-index: 9999; background: #fff; display: grid; place-items: center;
  transition: opacity .9s var(--ease-out), visibility .9s, background-color .6s var(--ease-out); }
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.swoosh { background-color: transparent; }
.intro.swoosh .intro-text { opacity: 0; transform: translateY(8px) scale(.97); }
.intro-logo { will-change: transform; }
.intro-inner { display: flex; flex-direction: column; align-items: center; }
.intro-logo { width: clamp(190px, 30vw, 340px); }
.intro-logo canvas { display: block; width: 100%; height: auto; }
.intro-text { text-align: center; margin-top: clamp(6px,1.5vw,16px); opacity: 0; transform: translateY(12px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.intro-text.in { opacity: 1; transform: none; }
.intro-name { display: block; font-size: clamp(20px,2.6vw,28px); font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.intro-tag { display: block; margin-top: 9px; color: var(--ink-soft); font-size: clamp(12px,1.3vw,15px); letter-spacing: .06em; }
@media (prefers-reduced-motion: reduce){ .intro { display: none; } }

/* ---------------- hero staged entrance ---------------- */
/* JS adds body.hero-stage (hide) then body.hero-go (play) — the copy
   rises out of a blur, one element after the other, as the intro bursts */
body.hero-stage .hero-copy > * { opacity: 0; transform: translateY(30px); filter: blur(8px); }
body.hero-go .hero-copy > * { opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); }
body.hero-go .hero-copy > *:nth-child(2) { transition-delay: .14s; }
body.hero-go .hero-copy > *:nth-child(3) { transition-delay: .28s; }
body.hero-go .hero-copy > *:nth-child(4) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
  body.hero-stage .hero-copy > * { opacity: 1; transform: none; filter: none; }
}

/* stat pop when the count lands */
.stat .num { display: inline-block; }
.stat.pop .num { animation: stat-pop .55s var(--ease-spring); }
@keyframes stat-pop { 0% { transform: scale(1); } 35% { transform: scale(1.09); } 100% { transform: scale(1); } }

/* vision heading drifts slightly against the scroll */
.vision .h-sec { transform: translate3d(0, var(--plx, 0px), 0); }

/* modern marquee (two rows, gradient + outline) */
.marquee-wrap { display: grid; gap: clamp(4px,1vw,12px); }
.marquee { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(26px,4vw,58px); width: max-content; animation: scroll-x 40s linear infinite; }
.marquee.rev .marquee-track { animation-duration: 52s; animation-direction: reverse; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee .w { font-size: clamp(28px,5vw,64px); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; line-height: 1.04;
  background: var(--grad); background-size: 230% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite; }
.marquee .w.outline { background: none; color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.4px var(--line-strong); text-stroke: 1.4px var(--line-strong); animation: none; }
.marquee .sep { flex: none; width: clamp(8px,1vw,12px); height: clamp(8px,1vw,12px); border-radius: 50%; background: var(--grad); }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@keyframes sheen { to { background-position: 230% 0; } }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation: none; } .marquee .w { animation: none; } }

/* ============ mobile refinements (home) ============ */
@media (max-width: 640px){
  .marquee .w { font-size: clamp(24px, 7.6vw, 30px); }
  .marquee-track { gap: 22px; }
  .marquee .sep { width: 7px; height: 7px; }
  .cta-band { padding: 48px 22px 52px; border-radius: var(--r-md); }
  .cta-lead { font-size: 14.5px; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-actions .btn.ghost { width: auto; align-self: center; }
  .sec-head-row .h-sec { white-space: normal; }
  .works-grid { gap: 14px; }
  .news-item { padding: 18px 4px; }
}
