@import url("https://fonts.googleapis.com/css2?family=Inter:wght@600;800;900&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,300,0,0&display=swap");

@font-face {
  font-family: "AHDS Rounded";
  src: url("../public/assets/fonts/GenSenRounded2TW-R.subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "AHDS Rounded";
  src: url("../public/assets/fonts/GenSenRounded2TW-M.subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "AHDS Rounded";
  src: url("../public/assets/fonts/GenSenRounded2TW-B.subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "AHDS Rounded";
  src: url("../public/assets/fonts/GenSenRounded2TW-H.subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "AHDS Rounded";
  src: url("../public/assets/fonts/GenSenRounded2TW-H.subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
@font-face{font-family:"AHDS Rounded Full";src:url("../public/assets/fonts/GenSenRounded2TW-R.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"AHDS Rounded Full";src:url("../public/assets/fonts/GenSenRounded2TW-M.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"AHDS Rounded Full";src:url("../public/assets/fonts/GenSenRounded2TW-B.woff2") format("woff2");font-style:normal;font-weight:600 700;font-display:swap}
@font-face{font-family:"AHDS Rounded Full";src:url("../public/assets/fonts/GenSenRounded2TW-H.woff2") format("woff2");font-style:normal;font-weight:800 900;font-display:swap}

:root {
  font-family: "AHDS Rounded", "AHDS Rounded Full", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #132033;
  background: #b8cfea;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow: hidden; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.home-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #159bab url("../public/assets/home/home-intro-colorful-paper-desktop.webp") center / cover no-repeat;
  transition: transform 1.15s cubic-bezier(.76,0,.24,1), visibility 1.15s;
  isolation: isolate;
}
.home-intro::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: -2;
  background: inherit;
  animation: home-intro-drift 8s ease-in-out infinite alternate;
}
.home-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg, rgba(4,29,56,.19), rgba(3,37,65,.06) 42%, rgba(6,28,48,.16));
  pointer-events: none;
}
.home-intro.is-done { transform: translateY(-102%); visibility: hidden; }
.home-intro__wash { display:none; }
.home-intro__wash--cyan { left: -9vw; top: 41%; width: 34vw; min-width: 330px; aspect-ratio: 1; background: radial-gradient(circle at 58% 43%, rgba(184,255,255,.92), rgba(33,218,255,.17) 48%, transparent 69%); animation: home-intro-float-a 7.8s ease-in-out infinite alternate; }
.home-intro__wash--pink { right: -5vw; top: -16%; width: 41vw; min-width: 390px; aspect-ratio: 1; background: radial-gradient(circle at 45% 59%, rgba(255,211,238,.82), rgba(255,49,161,.18) 51%, transparent 70%); animation: home-intro-float-b 9.4s ease-in-out infinite alternate; }
.home-intro__wash--gold { right: 14%; bottom: -26%; width: 36vw; min-width: 360px; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,236,164,.8), rgba(255,144,46,.13) 48%, transparent 70%); animation: home-intro-float-a 10.5s ease-in-out infinite alternate-reverse; }
.home-intro__copy { width: min(1180px, calc(100% - 48px)); padding: 36px 0; text-align: center; }
.home-intro__line { white-space: nowrap; }
.home-intro__welcome { margin: 0 0 14px; font-size: clamp(24px,3vw,48px); font-weight: 700; line-height: 1.3; letter-spacing: .06em; }
.home-intro__copy strong { display: block; font-family: Inter,Arial,sans-serif; font-size: clamp(62px,10vw,154px); line-height: .96; letter-spacing: -.055em; }
.home-intro__char { display: inline-block; color: rgba(255,255,255,.2); opacity: .4; filter: blur(3px); transform: translate3d(-.12em,.22em,0); animation: home-intro-char 760ms cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--char-index) * 72ms); }
.home-intro__studio { display: block; margin-top: 26px; color: rgba(255,255,255,.92); font-family: Inter,Arial,sans-serif; font-size: clamp(13px,1.2vw,19px); font-weight: 600; letter-spacing: .24em; opacity: 0; transform: translateY(14px); animation: home-intro-studio .85s 1.45s cubic-bezier(.16,1,.3,1) forwards; }
.home-intro__count { position: absolute; right: 38px; bottom: 26px; font-family: Arial,sans-serif; font-size: 17px; font-weight: 700; }
.home-intro__count::after { content: "%"; margin-left: 2px; font-size: 10px; }
.home-intro__count.is-loading-status{font-family:"PingFang TC","Microsoft JhengHei",sans-serif;font-size:14px;letter-spacing:.04em;white-space:nowrap}
.home-intro__count.is-loading-status::after{content:none}
@keyframes home-intro-char { to { color:#fff; opacity:1; filter:blur(0); transform:translate3d(0,0,0); } }
@keyframes home-intro-studio { to { opacity:1; transform:none; } }
@keyframes home-intro-drift { from { transform:scale(1.02); } to { transform:scale(1.075); } }
@keyframes home-intro-float-a { from { transform:translate3d(-3%,-2%,0) scale(.96); } to { transform:translate3d(8%,5%,0) scale(1.08); } }
@keyframes home-intro-float-b { from { transform:translate3d(4%,-4%,0) scale(1.05); } to { transform:translate3d(-7%,8%,0) scale(.95); } }

@property --scene-glow {
  syntax: "<color>";
  inherits: true;
  initial-value: #bdd3e9;
}
@property --scene-tint {
  syntax: "<color>";
  inherits: true;
  initial-value: #8fb4d9;
}
@property --scene-mid {
  syntax: "<color>";
  inherits: true;
  initial-value: #8fb4d9;
}
@property --scene-depth {
  syntax: "<color>";
  inherits: true;
  initial-value: #6f98c3;
}

.homepage {
  --ink: #142033;
  --scene-glow: #bdd3e9;
  --scene-mid: #8fb4d9;
  --scene-depth: #6f98c3;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 13%, var(--scene-glow) 0%, transparent 43%),
    linear-gradient(135deg, var(--scene-depth) 0%, var(--scene-mid) 52%, var(--scene-glow) 100%);
  isolation: isolate;
  transition: --scene-glow 900ms ease, --scene-mid 900ms ease, --scene-depth 900ms ease, --scene-tint 900ms ease;
}

.scene-backgrounds, .scene-background, .atmosphere { position: absolute; inset: 0; }

/* Solid-colour study: keep the original scene art ready for later refinement. */
.homepage.is-solid-background .scene-backgrounds,
.homepage.is-solid-background .atmosphere { display: none; }
.scene-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 700ms ease, transform 1300ms cubic-bezier(.2,.75,.2,1);
}
.scene-background.is-active { opacity: 1; transform: scale(1); }
.atmosphere { background: rgba(244, 248, 255, .18); pointer-events: none; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 3.2vw 24px 2.7vw;
}
.brand { display: block; width: clamp(205px, 12.8vw, 246px); }
.brand img { display: block; width: 100%; height: auto; }
.nav-shell { display: contents; }
.top-nav { position: absolute; left: 50%; display: flex; align-items: center; gap: clamp(24px, 1.75vw, 34px); color: #fff; font-size: clamp(13px, .84vw, 17px); font-weight: 500; letter-spacing: .015em; transform: translateX(-50%); -webkit-font-smoothing: auto; }
.top-nav a { position: relative; padding-block: 8px; transition: color 260ms ease; }
.top-nav a::after { content: none; }
.top-nav a:hover, .top-nav a:focus-visible, .top-nav a.is-current { color: #66FFFF; }
.header-actions { display: flex; align-items: center; gap: clamp(12px, 1vw, 19px); margin-left: auto; }
.contact-button { position: relative; isolation: isolate; height: 24px; min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 9px; overflow: hidden; border: 1.2px solid rgba(255,255,255,.92); border-radius: 999px; padding: 0 9px 0 12px; color: rgba(255,255,255,.94); background: rgba(255,255,255,.08); font-size: clamp(10px, .62vw, 12px); line-height: 1; font-weight: 500; letter-spacing: .015em; transition: color 300ms ease, transform 220ms ease, background-color 220ms ease; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.contact-button::before { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform 520ms cubic-bezier(.22,.72,.18,1); }
.contact-button > span { position: relative; z-index: 1; }
.contact-button .material-symbols-rounded { font-size: 14px; }
.contact-button:hover::before, .contact-button:focus-visible::before { transform: scaleX(1); }
.contact-button:hover, .contact-button:focus-visible { color: #fff; background: rgba(255,255,255,.17); transform: translateX(-3px); }
.music-toggle {
  position: relative;
  flex: none;
  width: 70.8px;
  height: 38px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.88);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.24);
  cursor: pointer;
  margin-inline: -14.16px;
  transform: scale(.6);
  transform-origin: center;
  transition: background-color 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}
.music-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16,32,51,.18);
  transform: translateY(-50%);
  transition: left 420ms cubic-bezier(.22,.8,.2,1), transform 420ms cubic-bezier(.22,.8,.2,1);
}
.music-toggle.is-on {
  border-color: #66FFFF;
  color: #132033;
  background: #66FFFF;
  box-shadow: 0 0 18px rgba(102,255,255,.2);
}
.music-toggle.is-on::after { left: 38.8px; transform: translateY(-50%) rotate(180deg); }
.music-toggle:hover, .music-toggle:focus-visible { border-color: #66FFFF; box-shadow: 0 0 0 3px rgba(102,255,255,.16); }
.music-toggle:focus-visible { outline: none; }
.mobile-music-toggle { display: none; }
.menu-toggle { display: none; }

.hero { position: relative; z-index: 2; height: 100svh; min-height: 690px; }
.hero-copy { position: absolute; z-index: 8; left: 3.25vw; top: 15.3vh; width: min(35.5vw, 682px); animation: copy-enter 700ms cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0; font-family: Inter, Arial, sans-serif; font-size: 80px; line-height: .91; font-weight: 900; letter-spacing: .055em; color: #000; white-space: nowrap; }
.hero h1 { margin: 17px 0 30px; max-width: 690px; font-family: Inter, Arial, sans-serif; font-size: 50px; line-height: 1; letter-spacing: .035em; font-weight: 600; color: #000; white-space: nowrap; }
.intro { margin: 0 0 0 9px; max-width: 600px; font-size: clamp(13px, .91vw, 17px); font-weight: 500; line-height: 1.58; color: #fff; -webkit-font-smoothing: auto; }
.service-detail { margin: clamp(125px, 14.5vh, 160px) 0 0 9px; }
.service-kicker { margin: 0 0 3px; font-size: clamp(25px, 1.75vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: .012em; color: rgba(255,255,255,.95); }
.service-detail ul { list-style: none; padding: 0; margin: 0; color: #fff; font-size: clamp(15px, 1.02vw, 20px); font-weight: 500; line-height: 1.72; -webkit-font-smoothing: auto; }
.homepage[data-active-scene="3"] .eyebrow,
.homepage[data-active-scene="3"] .hero h1 { color: #fff; }
.service-detail li { display: flex; align-items: center; gap: 10px; }
.service-detail li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.95); flex: none; }
.mobile-bullets { display: none; }
.mobile-service-summary { display: contents; }
.projects-link { position: absolute; z-index: 8; isolation: isolate; overflow: hidden; left: calc(3.25vw + 9px); bottom: 8.2vh; display: inline-flex; align-items: center; gap: 23px; margin: 0; min-height: 77px; padding: 5px 18px 5px 6px; border: 2px solid rgba(255,255,255,.88); border-radius: 999px; font-size: clamp(16px, 1.12vw, 22px); font-weight: 600; letter-spacing: .015em; background: rgba(255,255,255,.22); backdrop-filter: blur(13px); transform: scale(.75); transform-origin: left bottom; transition: color 300ms ease, transform 200ms ease; }
.projects-link::before { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform 520ms cubic-bezier(.22,.72,.18,1); }
.projects-link > span { position: relative; z-index: 1; }
.projects-icon { display: grid; place-items: center; width: 65px; height: 65px; border-radius: 50%; color: white; font-size: 34px; background: rgba(255,255,255,.22); }
.projects-arrow { margin-left: -4px; font-size: 42px; font-weight: 500; }
.projects-link:hover, .projects-link:focus-visible { color: white; transform: translateY(-2px) scale(.75); }
.projects-link:hover::before, .projects-link:focus-visible::before { transform: scaleX(1); }

.scene-type { position: absolute; z-index: 3; left: 35.5vw; top: 13.2vh; width: 52vw; color: rgba(255,255,255,.96); font-family: Inter, Arial, sans-serif; font-size: clamp(90px, 8.7vw, 168px); line-height: 1.08; font-weight: 800; letter-spacing: -.015em; pointer-events: none; user-select: none; }
.scene-type span { display: block; white-space: nowrap; }
.scene-type span + span { margin-top: .17em; }
.scene-type.scene-backdrop-refresh span { animation: backdrop-word-reveal 1500ms cubic-bezier(.16,1,.3,1) both; transform-origin: 45% 50%; }
.scene-type.scene-backdrop-refresh span + span { animation-delay: 220ms; }

.scene-stage { position: absolute; z-index: 5; inset: 0; width: 100vw; height: 100svh; min-height: 690px; perspective: 1500px; cursor: none; touch-action: none; user-select: none; }
.scene-stage.is-dragging { cursor: none; }
#hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; filter: drop-shadow(0 24px 34px rgba(56, 74, 104, .12)); }
.scene-stage.scene-model-refresh #hero-3d { animation: model-focus-pull 2400ms cubic-bezier(.16,1,.3,1) both; }
.webgl-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 1; transition: opacity 260ms ease; pointer-events: none; }
.webgl-fallback.is-hidden { opacity: 0; }
.scene-cursor { --cursor-scale: 1; position: absolute; z-index: 20; left: 0; top: 0; width: 42px; height: 42px; border: 2px solid rgba(139,241,255,.98); border-radius: 50%; background: radial-gradient(circle, rgba(102,220,255,.3) 0 28%, rgba(39,152,255,.13) 52%, transparent 72%); box-shadow: 0 0 10px rgba(64,205,255,.9), 0 0 24px rgba(27,142,255,.72), inset 0 0 10px rgba(188,248,255,.72); opacity: 0; transform: translate3d(var(--cursor-x, -80px), var(--cursor-y, -80px), 0) translate(-50%, -50%) scale(var(--cursor-scale)); pointer-events: none; transition: opacity 160ms ease, width 180ms ease, height 180ms ease, box-shadow 180ms ease; will-change: transform; }
.scene-cursor::after { content: "360°"; position: absolute; inset: 50% auto auto 50%; width: auto; height: auto; color: #d9fbff; font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: -.04em; white-space: nowrap; text-shadow: 0 0 8px #4ad7ff; transform: translate(-50%, -50%); }
.scene-stage.is-cursor-visible .scene-cursor { opacity: 1; }
.scene-stage.is-dragging .scene-cursor { --cursor-scale: 1.18; width: 46px; height: 46px; box-shadow: 0 0 14px rgba(80,224,255,1), 0 0 34px rgba(25,126,255,.9), inset 0 0 12px rgba(210,251,255,.88); }
.drag-hint { display: none; }
.drag-hint span + span { padding-left: 16px; border-left: 1px solid rgba(20,32,51,.25); }

.service-nav { position: absolute; z-index: 10; right: 3.2vw; top: 16.8vh; width: clamp(225px, 13.4vw, 258px); display: grid; gap: 25px; transform: scale(.75); transform-origin: top right; }
.service-nav button, .pending-service { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px solid rgba(255,255,255,.92); border-radius: 999px; padding: 0 17px 0 22px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.92); text-align: left; font-size: clamp(20px, 1.36vw, 27px); font-weight: 400; letter-spacing: .01em; backdrop-filter: blur(12px); }
.service-nav button .material-symbols-rounded { font-size: 29px; }
.service-nav button { position: relative; isolation: isolate; overflow: hidden; cursor: pointer; transition: padding 220ms ease, color 300ms ease, background-color 220ms ease, transform 220ms ease; }
.service-nav button::before { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform 520ms cubic-bezier(.22,.72,.18,1); }
.service-nav button > span { position: relative; z-index: 1; }
.service-nav button:hover::before, .service-nav button:focus-visible::before { transform: scaleX(1); }
.service-nav button:hover, .service-nav button:focus-visible, .service-nav button.is-active { padding-left: 27px; color: white; background: rgba(255,255,255,.17); transform: translateX(-4px); }
.service-nav button.is-active { font-weight: 500; }
@media (min-width: 1001px) { .service-nav button.is-active::before { transform: scaleX(1); } }
.mobile-contact-service { display: none; }
.service-number, .pending-service > span:first-child { font-size: 10px; color: rgba(20,32,51,.45); }
.pending-service { color: rgba(20,32,51,.33); }
.pending-service small { font-size: 8px; letter-spacing: .12em; }
.scene-progress { position: absolute; z-index: 8; right: 3.2vw; top: 58vh; width: clamp(180px, 14vw, 260px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .1em; color: rgba(20,32,51,.55); }
.scene-progress > div { height: 1px; background: rgba(20,32,51,.22); }
.scene-progress i { display: block; height: 100%; background: #ffc700; transition: width 380ms ease; }
.studio-proof { position: absolute; z-index: 8; right: 3.55vw; top: 66.9vh; display: flex; gap: 15px; }
.studio-proof .metric-card { position: relative; isolation: isolate; height: 92px; min-width: 158px; padding: 9px 19px; overflow: hidden; border: 2px solid rgba(255,255,255,.95); border-radius: 25px; background: linear-gradient(145deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.16) 52%, rgba(255,255,255,.08) 100%); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); box-shadow: inset 1px 1px 0 rgba(255,255,255,.68), inset 0 -1px 0 rgba(255,255,255,.14), 0 12px 30px rgba(20,32,51,.14); transition: transform 380ms cubic-bezier(.2,.75,.2,1), background 260ms ease, box-shadow 380ms ease; }
.studio-proof .metric-card::after { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 16% 0%, rgba(255,255,255,.34), transparent 45%), linear-gradient(115deg, rgba(255,255,255,.12), transparent 58%); }
.metric-glass { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 1; }
.studio-proof .metric-card > strong,
.studio-proof .metric-card > span { position: relative; z-index: 2; }
.studio-proof .metric-card:hover { transform: translateY(-8px); background: linear-gradient(145deg, rgba(255,255,255,.40) 0%, rgba(255,255,255,.20) 52%, rgba(255,255,255,.10) 100%); box-shadow: inset 1px 1px 0 rgba(255,255,255,.76), inset 0 -1px 0 rgba(255,255,255,.18), 0 17px 36px rgba(20,32,51,.18); }
.studio-proof .metric-card:nth-child(2) { min-width: 175px; }
.studio-proof .metric-card:nth-child(3) { min-width: 235px; padding-right: 84px; }
.studio-proof strong { display: block; font-size: clamp(28px, 1.8vw, 35px); line-height: .95; font-weight: 800; color: #000; }
.studio-proof .metric-card > span { display: block; margin-top: 3px; font-size: clamp(14px, 1.02vw, 20px); line-height: .93; font-weight: 500; letter-spacing: .01em; color: #000; white-space: nowrap; }
.metric-bar { position: absolute; z-index: 2; left: 19px; right: 19px; bottom: 9px; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.48); }
.metric-bar i { display: block; width: var(--metric-progress); height: 100%; border-radius: inherit; transform-origin: left center; animation: metric-bar-reveal 2200ms cubic-bezier(.18,.75,.2,1) both; }
.metric-card:nth-child(1) .metric-bar i { background: linear-gradient(90deg, #ff8a1f, #ffc466); }
.metric-card:nth-child(2) .metric-bar i { background: linear-gradient(90deg, #27a95b, #70d99a); }
.metric-card:nth-child(2) .metric-bar i { animation-delay: 220ms; }
.metric-pie { --pie-sweep: 14deg; position: absolute; z-index: 2; right: 15px; top: 50%; width: 58px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.62); border-radius: 50%; background: conic-gradient(#1687e8 0 var(--pie-sweep), rgba(22,135,232,.14) var(--pie-sweep) 360deg); transform: translateY(-50%) scale(.78); animation: metric-pie-reveal 2400ms cubic-bezier(.18,.75,.2,1) 350ms both; }
.metric-pie span { color: #fff; font-size: 9px; line-height: 1; font-weight: 700; letter-spacing: -.02em; opacity: 0; transform: scale(.7); animation: metric-pie-label 650ms ease 2550ms forwards; }
.now-playing { position: absolute; z-index: 8; right: 3.55vw; top: calc(16.8vh + 327.5px); width: 235px; }
.now-playing canvas { display: block; width: 235px; height: 56px; }
.footer-info { position: absolute; z-index: 8; right: 3.6vw; bottom: 8.2vh; }
.contact { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 4px; font-style: normal; font-size: clamp(13px, .94vw, 18px); line-height: 1.35; color: rgba(255,255,255,.94); }
.contact strong { margin-top: 3px; font-size: clamp(13px, .94vw, 18px); font-weight: 600; }
.studio-proof.scene-panel-refresh .metric-card { animation: studio-proof-rise 1500ms cubic-bezier(.16,1,.3,1) 1500ms both; }
.studio-proof.scene-panel-refresh .metric-card:nth-child(2) { animation-delay: 1700ms; }
.studio-proof.scene-panel-refresh .metric-card:nth-child(3) { animation-delay: 1900ms; }
.footer-info.scene-panel-refresh { animation: contact-rise 1500ms cubic-bezier(.16,1,.3,1) 1800ms both; }
.hero-copy.scene-copy-refresh .eyebrow,
.hero-copy.scene-copy-refresh h1,
.hero-copy.scene-copy-refresh .intro,
.hero-copy.scene-copy-refresh .service-kicker,
.hero-copy.scene-copy-refresh li {
  animation: scene-copy-reveal 1400ms cubic-bezier(.16,1,.3,1) both;
  transform-origin: left center;
}
.hero-copy.scene-copy-refresh .eyebrow { animation-delay: 180ms; }
.hero-copy.scene-copy-refresh h1 { animation-duration: 1500ms; animation-delay: 500ms; }
.hero-copy.scene-copy-refresh .intro { animation-duration: 1400ms; animation-delay: 1300ms; }
.hero-copy.scene-copy-refresh .service-kicker { animation-duration: 1250ms; animation-delay: 2200ms; }
.hero-copy.scene-copy-refresh li { animation-duration: 1100ms; }
.hero-copy.scene-copy-refresh li:nth-child(1) { animation-delay: 2800ms; }
.hero-copy.scene-copy-refresh li:nth-child(2) { animation-delay: 3200ms; }
.hero-copy.scene-copy-refresh li:nth-child(3) { animation-delay: 3600ms; }

@keyframes copy-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scene-copy-reveal {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes studio-proof-rise {
  from { opacity: 0; translate: 0 28px; scale: .98; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes contact-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes backdrop-word-reveal {
  from { opacity: 0; transform: translate3d(0,22px,0) scale(1.035); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes model-focus-pull {
  0% { opacity: .82; transform: scale(.98); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes metric-bar-reveal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@property --pie-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 14deg;
}
@keyframes metric-pie-reveal {
  from { --pie-sweep: 14deg; opacity: .45; transform: translateY(-50%) scale(.55) rotate(-14deg); }
  to { --pie-sweep: 360deg; opacity: 1; transform: translateY(-50%) scale(1) rotate(0); }
}
@keyframes metric-pie-label {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .top-nav a:nth-child(n+4) { display: none; }
  .contact-button { height: 22px; min-height: 22px; gap: 7px; padding-inline: 10px 8px; }
  .contact-button .material-symbols-rounded { font-size: 13px; }
  .music-toggle { width: 64.8px; height: 36px; margin-inline: -12.96px; }
  .music-toggle::after { width: 25px; height: 25px; }
  .music-toggle.is-on::after { left: 34.8px; }
  .hero-copy { width: 34vw; }
  .scene-stage { inset: 0; width: 100vw; height: 100svh; }
  .scene-type { left: 36vw; }
  .studio-proof { display: none; }
}

@media (max-width: 900px) {
  .site-header { height: 82px; padding: 16px 20px; }
  .brand { position: relative; z-index: 2; width: clamp(164px, 24vw, 190px); }
  .menu-toggle { position: relative; z-index: 3; width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; margin-left: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; transition: transform 260ms ease; }
  .menu-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 999px; background: #fff; transform-origin: center; transition: transform 360ms cubic-bezier(.22,.8,.2,1), opacity 220ms ease, width 260ms ease, background-color 220ms ease; }
  .menu-toggle:hover, .menu-toggle:focus-visible { background: transparent; outline: none; }
  .menu-toggle:hover span, .menu-toggle:focus-visible span, .site-header.is-menu-open .menu-toggle span { background: #66FFFF; }
  .site-header.is-menu-open .menu-toggle { transform: scale(.96); }
  .site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:nth-child(2) { width: 0; opacity: 0; }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-shell { position: absolute; top: 72px; left: auto; right: 16px; width: 50%; display: flex; flex-direction: column; gap: 16px; padding: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 10px; background: linear-gradient(145deg, rgba(24,42,64,.86), rgba(48,70,96,.82)); -webkit-backdrop-filter: blur(28px) saturate(135%); backdrop-filter: blur(28px) saturate(135%); box-shadow: 0 24px 60px rgba(20,32,51,.3), inset 1px 1px 0 rgba(255,255,255,.3); opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity 260ms ease, visibility 260ms ease, transform 380ms cubic-bezier(.22,.8,.2,1); }
  .site-header.is-menu-open .nav-shell { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
  .top-nav { position: static; left: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; color: #fff; font-size: 17px; transform: none; }
  .top-nav a, .top-nav a:nth-child(n+4) { min-height: 64px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); padding: 12px 5px; }
  .top-nav a:last-child { border-bottom: 0; }
  .top-nav a::before { content: ""; width: 0; height: 1px; margin-right: 0; background: #66FFFF; transition: width 260ms ease, margin-right 260ms ease; }
  .top-nav a:hover::before, .top-nav a:focus-visible::before, .top-nav a.is-current::before { width: 18px; margin-right: 10px; }
  .header-actions { display: flex; width: 100%; gap: 12px; margin: 0; padding-top: 2px; }
  .contact-button { flex: 1; height: 44px; min-height: 44px; gap: 12px; padding: 0 14px 0 17px; border-width: 1.5px; font-size: 14px; }
  .contact-button .material-symbols-rounded { font-size: 19px; }
  .music-toggle { width: 60px; height: 34px; margin: 0 0 0 auto; transform: none; align-self: center; }
  .music-toggle::after { left: 4px; width: 24px; height: 24px; }
  .music-toggle.is-on::after { left: 30px; }
  .mobile-music-toggle { position: relative; z-index: 3; display: block; flex: none; margin: 0 2px 0 auto; }
  .header-actions .music-toggle { display: none; }
  .hero { height: 100svh; min-height: 760px; }
  .hero-copy { left: 28px; top: 112px; width: min(62vw, 480px); }
  .eyebrow { font-size: clamp(46px, 7.2vw, 58px); line-height: .94; }
  .hero h1 { margin: 10px 0 16px; font-size: clamp(27px, 4vw, 34px); white-space: normal; }
  .intro { margin-left: 2px; max-width: 460px; font-size: 14px; }
  .service-detail { display: none; }
  .projects-link { left: 28px; bottom: 92px; min-height: 58px; transform: scale(.8); }
  .projects-link:hover, .projects-link:focus-visible { transform: translateY(-2px) scale(.8); }
  .scene-type { left: 0; top: 27vh; width: 100%; font-size: 16vw; line-height: 1; text-align: center; opacity: .72; }
  .scene-type span + span { margin-top: .14em; }
  .scene-stage { inset: 0; width: 100vw; height: 100svh; min-height: 760px; }
  .service-nav { left: 28px; right: 28px; top: auto; bottom: 25px; width: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; transform: none; }
  .service-nav button { min-height: 46px; border-width: 1.2px; padding: 0 11px; font-size: 12px; text-align: center; background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .service-nav button .material-symbols-rounded { display: none; }
  .service-nav button:hover, .service-nav button:focus-visible, .service-nav button.is-active { padding-left: 11px; color: #fff; background: rgba(20,32,51,.62); transform: none; }
  .now-playing, .footer-info { display: none; }
}

@media (max-width: 760px) {
  .home-intro__copy { width:100%; padding-inline:14px; }
  .home-intro__welcome { margin-bottom:10px; font-size:clamp(22px,6vw,29px); letter-spacing:.025em; }
  .home-intro__copy strong { font-size:clamp(54px,17vw,76px); letter-spacing:-.06em; }
  .home-intro__studio { margin-top:20px; font-size:11px; letter-spacing:.13em; }
  .home-intro__count { right:20px; bottom:20px; }
  .home-intro__wash--cyan { left:-45%; top:48%; width:95vw; }
  .home-intro__wash--pink { right:-42%; top:-8%; width:105vw; }
  .home-intro__wash--gold { right:-20%; bottom:-30%; width:90vw; }
  body { overflow: auto; }
  .nav-shell { position: absolute; top: 0; right: 0; width: 50vw; height: 100svh; height: 100dvh; gap: 16px; padding: 88px 18px 24px; overflow-x: hidden; overflow-y: auto; border-radius: 10px 0 0 10px; transform: translate3d(105%,0,0); }
  .site-header.is-menu-open .nav-shell { transform: translate3d(0,0,0); }
  .top-nav a, .top-nav a:nth-child(n+4) { min-height: 64px; padding-block: 12px; }
  .hero { height: 100svh; min-height: 780px; }
  .hero-copy { left: 20px; top: 100px; width: calc(100% - 40px); }
  .eyebrow { font-size: 55px; line-height: .94; letter-spacing: .035em; text-align: center; }
  .hero h1 { margin: 7px 0 10px; font-size: 30px; line-height: 1.04; letter-spacing: .025em; text-align: center; white-space: normal; }
  .intro { max-width: 350px; margin-inline: auto; color: rgba(255,255,255,.98); font-size: 15px; line-height: 1.48; font-weight: 600; text-align: center; text-shadow: 0 1px 8px rgba(20,32,51,.2); }
  .service-detail { display: none; }
  .mobile-service-summary { position: absolute; z-index: 8; left: 20px; bottom: 230px; width: calc(100% - 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 0; pointer-events: none; }
  .mobile-bullets { position: static; display: grid; gap: 1px; max-width: 100%; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.98); font-size: 14px; line-height: 1.4; font-weight: 500; text-shadow: 0 1px 8px rgba(20,32,51,.28); }
  .mobile-bullets li { display: flex; align-items: center; gap: 7px; }
  .mobile-bullets li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 7px rgba(255,255,255,.35); }
  .mobile-bullets.scene-copy-refresh li { animation: scene-copy-reveal 1100ms cubic-bezier(.16,1,.3,1) both; transform-origin: left center; }
  .mobile-bullets.scene-copy-refresh li:nth-child(1) { animation-delay: 2800ms; }
  .mobile-bullets.scene-copy-refresh li:nth-child(2) { animation-delay: 3200ms; }
  .mobile-bullets.scene-copy-refresh li:nth-child(3) { animation-delay: 3600ms; }
  .projects-link { left: 20px; top: auto; bottom: 166px; min-height: 48px; margin: 0; padding: 3px 12px 3px 4px; gap: 11px; border-width: 1.5px; font-size: 15px; transform: none; transform-origin: left bottom; }
  .projects-icon { width: 40px; height: 40px; font-size: 21px; }
  .projects-arrow { margin-left: 1px; font-size: 25px; }
  .projects-link:hover, .projects-link:focus-visible { transform: translateY(-2px); }
  .scene-type { left: 0; top: 31vh; width: 100%; font-size: 15vw; line-height: 1; text-align: center; opacity: .68; }
  .scene-type span + span { margin-top: .12em; }
  .scene-stage { inset: 0; width: 100vw; height: 100svh; min-height: 780px; }
  .drag-hint { bottom: -4px; }
  .service-nav { left: 16px; right: 16px; top: auto; bottom: 55px; width: auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; transform: none; }
  .service-nav-label, .pending-service { display: none; }
  .service-nav button { grid-column: span 2; display: block; min-height: 42px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; padding: 0 8px; text-align: center; font-size: 13px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .mobile-contact-service { grid-column: span 2; min-height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; padding: 0 8px; color: rgba(255,255,255,.92); text-align: center; font-size: 13px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: color 260ms ease, background-color 260ms ease; }
  .mobile-contact-service:hover, .mobile-contact-service:focus-visible { color: #fff; background: rgba(20,32,51,.62); }
  .service-nav button .material-symbols-rounded { display: none; }
  .service-number { display: none; }
  .service-nav button:hover, .service-nav button:focus-visible, .service-nav button.is-active { padding-left: 8px; background: rgba(20,32,51,.62); color: white; transform: none; }
  .header-actions { display: none; }
  .scene-progress, .studio-proof { display: none; }
  .now-playing { position: static; display: block; width: 235px; }
  .footer-info { display: block; left: 16px; right: 16px; bottom: 15px; text-align: center; }
  .footer-info .contact { align-items: center; }
  .footer-info .contact > span { display: none; }
  .footer-info .contact strong { margin: 0; font-size: 11px; line-height: 1.3; white-space: nowrap; }
}

@media (max-width: 420px) {
  .site-header { height: 74px; padding: 13px 14px; }
  .brand { width: 152px; }
  .menu-toggle { width: 42px; height: 42px; }
  .nav-shell { top: 0; left: auto; right: 0; width: 50vw; padding: 82px 14px 24px; border-radius: 10px 0 0 10px; }
  .top-nav { font-size: 17px; }
  .top-nav a, .top-nav a:nth-child(n+4) { min-height: 64px; }
  .contact-button { min-height: 42px; height: 42px; font-size: 13px; }
  .hero-copy { left: 16px; top: 91px; width: calc(100% - 32px); }
  .eyebrow { margin-inline: -16px; }
  .mobile-service-summary { left: 16px; width: calc(100% - 32px); }
  .projects-link { left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .home-intro { display:none; }
}

@media (pointer: coarse) {
  .scene-stage { cursor: auto; }
  .scene-cursor { display: none; }
}

/* Mobile-only homepage adjustments. */
@media (max-width:720px){
  .home-intro{background-image:url("../public/assets/home/home-intro-colorful-paper-mobile.webp")}
  .mobile-music-toggle{transform:scale(.8);transform-origin:right center}
  .scene-stage{transform:scale(1.15);transform-origin:50% 56%}
  .projects-link{left:16px;right:auto;justify-content:flex-start}
}
