@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Noto+Sans+JP:wght@400;500;600;700;800;900&family=Zen+Kaku+Gothic+New:wght@500;700;900&display=swap');

:root {
  --space: #10283a;
  --navy: #130f0e;
  --navy-2: #246f9f;
  --lavender: #f5f9fc;
  --lavender-2: #e7f2f8;
  --powder: #eef7fc;
  --mint: #accbe6;
  --blue: #338fc9;
  --peach: #dcdc6f;
  --yellow: #dcdc6f;
  --white: #fff;
  --ink: #130f0e;
  --muted: #59646b;
  --line: rgba(19, 15, 14, .16);
  --shadow: 10px 12px 0 rgba(51, 143, 201, .16), 0 24px 58px rgba(19, 15, 14, .1);
  --shadow-soft: 6px 7px 0 rgba(51, 143, 201, .11), 0 14px 32px rgba(19, 15, 14, .07);
  --radius-lg: 18px;
  --radius-md: 12px;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-heading: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-pixel: "DotGothic16", "Zen Kaku Gothic New", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  line-height: 1.75;
  line-break: strict;
  word-break: normal;
  overflow-x: hidden;
  overflow-x: clip;
}
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h3 { font-family: var(--font-heading); font-weight: 900; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: 100px; }
.line { display: block; word-break: keep-all; overflow-wrap: normal; }
.phrase { display: inline-block; }
.mobile-copy { display: none; }
p, li, summary { text-wrap: pretty; }
@supports (word-break: auto-phrase) {
  p, li, summary { word-break: auto-phrase; }
}
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #4c8eff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 16px; }

.site-header {
  width: min(calc(100% - 32px), 1240px);
  height: 72px;
  padding: 0 14px 0 22px;
  position: fixed;
  left: 50%;
  top: 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 26px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 42px rgba(13, 17, 55, .15);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 900; letter-spacing: .03em; white-space: nowrap; }
.brand-logo { width: 168px; height: 54px; object-fit: contain; object-position: left center; }
.brand-mark { width: 29px; height: 29px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); }
.brand-mark i:nth-child(1) { left: 1px; top: 9px; }
.brand-mark i:nth-child(2) { right: 1px; top: 2px; background: var(--mint); }
.brand-mark i:nth-child(3) { right: 2px; bottom: 1px; background: var(--peach); }
.brand-mark::after { content: ""; position: absolute; inset: 6px 5px; border: 1.5px solid var(--navy); border-radius: 50%; transform: rotate(-28deg); }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; color: #4d5071; font-size: 13px; font-weight: 700; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--blue); }
.header-cta {
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  border-radius: 15px;
  background: var(--navy);
  box-shadow: 0 8px 22px rgba(23, 26, 61, .2);
  font-size: 13px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 26, 61, .25); }

.cookie-banner {
  width: min(calc(100% - 28px), 980px);
  padding: 19px 20px;
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
  transform: translate(-50%,24px);
  border: 2px solid var(--navy);
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 70px rgba(9,13,47,.26);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translate(-50%,0); }
.cookie-banner strong { display: block; font-family: var(--font-heading); font-size: 16px; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.cookie-actions { display: flex; align-items: center; gap: 8px; }
.cookie-actions .button { min-height: 42px; padding: 8px 14px; border-radius: 13px; font-size: 11px; }
.cookie-reject { border-color: var(--line); background: var(--lavender); }
.cookie-actions a { padding: 8px; color: var(--blue); font-size: 10px; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.cookie-settings:hover { color: var(--blue); }

.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.section-title { margin: 0; font-family: var(--font-heading); font-size: clamp(36px, 4.5vw, 62px); line-height: 1.24; letter-spacing: -.045em; }
.section-title + p { margin-top: 24px; color: var(--muted); }

.button {
  min-height: 54px;
  padding: 13px 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 17px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 12px 28px rgba(23, 26, 61, .22); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(23, 26, 61, .26); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, .9); box-shadow: 0 10px 26px rgba(49, 43, 108, .09); }
.button-light { color: var(--navy); background: #fff; box-shadow: 0 12px 28px rgba(7, 10, 31, .18); }
.button-line { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.09); }

/* Full-screen interactive pixel office */
.hero { min-height: calc(100vh + 92px); min-height: calc(100svh + 92px); position: relative; overflow: hidden; background: var(--space); }
.pixel-office {
  --scene-x: 0px;
  --scene-y: 0px;
  min-height: 900px;
  min-height: max(900px, calc(100svh + 92px));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: crosshair;
  touch-action: pan-y;
}
.pixel-office:focus-visible { outline-offset: -5px; }
.office-background { position: absolute; z-index: -4; inset: -12px; overflow: hidden; }
.office-background img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  transform: translate3d(var(--scene-x), var(--scene-y), 0) scale(1.035);
  transition: transform .18s ease-out;
  will-change: transform;
}
.office-tint {
  position: absolute;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 39, .73) 0%, rgba(7, 11, 39, .24) 45%, rgba(7, 11, 39, .03) 72%),
    linear-gradient(180deg, rgba(9, 12, 42, .3), transparent 45%, rgba(6, 9, 33, .28));
}
.office-stars { position: absolute; z-index: -2; inset: 0; pointer-events: none; transform: translate3d(var(--scene-x), var(--scene-y), 0); }
.office-stars i { position: absolute; width: 7px; height: 7px; background: var(--yellow); box-shadow: 0 0 12px rgba(255,255,255,.85); animation: star-twinkle 3.2s steps(3,end) infinite; }
.office-stars i:nth-child(1) { left: 7%; top: 18%; }
.office-stars i:nth-child(2) { left: 47%; top: 13%; width: 5px; height: 5px; animation-delay: -.8s; }
.office-stars i:nth-child(3) { right: 8%; top: 25%; background: var(--mint); animation-delay: -1.6s; }
.office-stars i:nth-child(4) { right: 33%; top: 39%; width: 4px; height: 4px; background: var(--peach); animation-delay: -2.2s; }
.office-stars i:nth-child(5) { left: 15%; bottom: 16%; width: 4px; height: 4px; background: var(--blue); animation-delay: -1.2s; }
.office-stars i:nth-child(6) { right: 12%; bottom: 19%; animation-delay: -.35s; }
.pixel-office.is-paused .office-stars i,
.pixel-office.is-paused .office-spot,
.pixel-office.is-paused .alien-character img { animation-play-state: paused; }
.modal-open .office-stars i,
.modal-open .office-spot,
.modal-open .alien-character,
.modal-open .alien-character img,
.modal-open .wave-divider svg { animation-play-state: paused; }
@keyframes star-twinkle { 0%,100% { opacity: .38; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); } }

.hero-copy-card {
  width: min(540px, calc(100% - 40px));
  padding: 34px 38px 30px;
  position: absolute;
  z-index: 15;
  left: max(24px, calc((100% - var(--max)) / 2));
  top: 110px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 32px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(4, 7, 29, .34);
  cursor: default;
}
.hero-copy-card::after { content: ""; width: 120px; height: 120px; position: absolute; right: -52px; top: -58px; border-radius: 50%; background: linear-gradient(145deg, rgba(47,143,216,.28), rgba(226,212,59,.16)); }
.hero-copy-card .eyebrow { color: var(--blue); }
.hero h1 { margin: 0; font-family: var(--font-heading); font-size: clamp(44px, 3.65vw, 52px); line-height: 1.15; letter-spacing: -.065em; }
.accent-line { color: transparent; background: linear-gradient(92deg, var(--blue) 0%, var(--navy-2) 72%, #867d11 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { margin: 22px 0 0; color: #525676; font-size: 16px; line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-copy-card .button { min-height: 50px; padding: 11px 18px; font-size: 13px; }
.microcopy { margin: 13px 0 0; color: #666987; font-size: 11px; }
.fact-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 25px 0 0; }
.fact-row div { min-width: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.fact-row dt { font-size: 27px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.fact-row dt small { margin-left: 3px; font-size: 10px; }
.fact-row dd { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.office-spots { position: absolute; z-index: 7; inset: 0; pointer-events: none; }
.office-spot {
  width: 84px;
  height: 72px;
  padding: 0;
  position: absolute;
  display: grid;
  place-items: center;
  pointer-events: auto;
  border: 2px solid transparent;
  border-radius: 18px;
  color: transparent;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  animation: none;
}
.office-spot:hover,
.office-spot:focus-visible { border-color: rgba(226,212,59,.92); background: rgba(226,212,59,.12); box-shadow: 0 0 0 6px rgba(226,212,59,.12); }
.office-object::after { content:""; width:9px; height:9px; background:var(--yellow); box-shadow:0 0 0 3px rgba(255,255,255,.76),0 0 14px rgba(226,212,59,.9); animation:star-twinkle 2.4s steps(3,end) infinite; }
.spot-web { left: 86%; top: 53%; }
.spot-chair { left: 91%; top: 64%; }
.spot-talk { left: 69%; top: 70%; }
.spot-ai { left: 84%; top: 53%; }
@keyframes spot-pulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.alien-mover {
  --alien-x: 57%;
  --alien-y: 69%;
  --travel-duration: .8s;
  width: clamp(138px, 11.5vw, 184px);
  position: absolute;
  z-index: 12;
  left: var(--alien-x);
  top: var(--alien-y);
  transform: translate(-50%, -72%);
  transition: none;
  will-change: transform;
}
.alien-mover.is-positioned {
  left: 0;
  top: 0;
  transform: translate3d(var(--alien-px), var(--alien-py), 0) translate(-50%, -72%);
  transition: transform var(--travel-duration) cubic-bezier(.16,.76,.24,1);
}
.alien-mover.is-positioned.position-reset { transition: none; }
.alien-mover.controls-left .alien-dpad {
  left: auto;
  right: calc(100% + 13px);
}
.alien-character { width: 100%; padding: 0; display: block; position: relative; z-index: 2; border: 0; background: transparent; cursor: pointer; filter: drop-shadow(0 12px 9px rgba(4,7,28,.32)); }
.alien-character picture { width: 100%; aspect-ratio: 5 / 6; display: block; transform: scaleX(1.12); transition: transform .18s ease; transform-origin: 50% 85%; }
.alien-character img { width: 100%; height: auto !important; aspect-ratio: 5 / 6; object-fit: contain; image-rendering: pixelated; animation: alien-idle 3s steps(3,end) infinite; }
.alien-mover.is-facing-left .alien-character picture { transform: scaleX(-1.12); }
.alien-mover.is-walking .alien-character { animation: alien-walk .22s steps(2,end) infinite alternate; }
.alien-mover.is-walking .alien-character img { animation: none; }
.alien-mover.is-celebrating .alien-character { animation: alien-celebrate .55s ease 2; }
.alien-mover.is-sitting .alien-character picture { transform: scale(1.23); transform-origin: 50% 100%; }
.alien-mover.is-sitting.is-facing-left .alien-character picture { transform: scale(-1.23,1.23); }
.alien-mover.is-looking-at-computer .alien-character picture { transform: scale(1.1); transform-origin: 50% 100%; }
.alien-shadow { width: 67%; height: 13px; position: absolute; z-index: 1; left: 16.5%; bottom: 4px; border-radius: 50%; background: rgba(3,5,25,.42); filter: blur(3px); }
.alien-dpad {
  width: 76px;
  height: 76px;
  padding: 7px;
  position: absolute;
  z-index: 8;
  left: calc(100% + 13px);
  top: 48%;
  display: grid;
  grid-template: repeat(3,1fr) / repeat(3,1fr);
  grid-template-areas: ". up ." "left center right" ". down .";
  gap: 2px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 21px;
  background: rgba(20,24,65,.78);
  box-shadow: 0 13px 28px rgba(3,6,28,.34);
  backdrop-filter: blur(8px);
}
.alien-dpad button,
.dpad-center { min-width: 0; min-height: 0; padding: 0; display: grid; place-items: center; border: 0; border-radius: 7px; color: #fff; background: rgba(255,255,255,.11); font: 900 9px/1 monospace; }
.alien-dpad button { cursor: pointer; transition: transform .15s ease, background .15s ease; }
.alien-dpad button:hover { transform: scale(1.1); background: rgba(121,230,207,.4); }
.alien-dpad button:active { transform: scale(.9); }
.dpad-up { grid-area: up; }.dpad-left { grid-area: left; }.dpad-center { grid-area: center; color: var(--yellow); }.dpad-right { grid-area: right; }.dpad-down { grid-area: down; }
.modal-open .alien-dpad { pointer-events: none; opacity: .35; }
.alien-bubble {
  width: max-content;
  max-width: 210px;
  padding: 9px 12px;
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  border: 2px solid var(--navy);
  border-radius: 13px;
  color: var(--navy);
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 22px rgba(4,7,29,.23);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
}
.alien-bubble::after { content: ""; width: 10px; height: 10px; position: absolute; left: calc(50% - 5px); bottom: -7px; transform: rotate(45deg); border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); background: #fff; }
.alien-bubble.is-speaking { animation: bubble-pop .35s ease; }
@keyframes alien-idle { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes alien-walk { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-8px) rotate(2deg); } }
@keyframes alien-celebrate { 0%,100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-18px) rotate(-8deg); } 75% { transform: translateY(-8px) rotate(8deg); } }
@keyframes bubble-pop { 0% { opacity: .25; transform: translateX(-50%) scale(.85); } 70% { transform: translateX(-50%) scale(1.04); } 100% { opacity: 1; transform: translateX(-50%) scale(1); } }

.click-ripple { --ripple-x: 50%; --ripple-y: 70%; width: 24px; height: 24px; position: absolute; z-index: 8; left: var(--ripple-x); top: var(--ripple-y); transform: translate(-50%,-50%) scale(.2); border: 3px solid var(--mint); border-radius: 50%; opacity: 0; pointer-events: none; }
.click-ripple.is-active { animation: click-ripple .55s ease-out; }
@keyframes click-ripple { 0% { opacity: .95; transform: translate(-50%,-50%) scale(.25); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(2.8); } }

.office-controls {
  padding: 10px 12px;
  position: absolute;
  z-index: 20;
  left: 20px;
  bottom: calc(clamp(70px, 7vw, 108px) + 20px);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 15px;
  color: #fff;
  background: rgba(7,10,35,.72);
  backdrop-filter: blur(10px);
  cursor: default;
}
.office-controls p { margin: 0; font-size: 10px; font-weight: 700; }
.play-toggle { min-height: 44px; padding: 7px 10px; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; color: #fff; background: rgba(255,255,255,.09); font: 900 9px/1 monospace; letter-spacing: .04em; cursor: pointer; }
.play-toggle span { color: var(--mint); }
.play-toggle[aria-pressed="false"] span { color: var(--peach); }
.hero-scroll { position: absolute; z-index: 20; right: 25px; bottom: calc(clamp(70px, 7vw, 108px) + 26px); display: flex; align-items: center; gap: 9px; color: #fff; font: 900 9px/1 monospace; letter-spacing: .16em; }
.hero-scroll i { width: 36px; height: 1px; position: relative; background: rgba(255,255,255,.72); }
.hero-scroll i::after { content: ""; width: 6px; height: 6px; position: absolute; right: 0; top: -3px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(-45deg); }

/* Continuous, seamless section waves */
.wave-divider { height: clamp(70px, 7vw, 108px); margin-block: -1px; position: relative; overflow: hidden; line-height: 0; }
.wave-divider svg { width: calc(200% + 4px); height: 100%; position: absolute; left: -2px; top: 0; display: block; animation: wave-drift 26s linear infinite; }
.wave-divider path { fill: var(--wave-fill); }
.wave-reverse svg { animation-direction: reverse; }
.wave-to-lavender {
  margin-top: calc(-1 * clamp(70px, 7vw, 108px));
  margin-bottom: -1px;
  z-index: 2;
  background: transparent;
  --wave-fill: var(--lavender);
}
.wave-to-white { background: var(--lavender); --wave-fill: #fff; }
.wave-to-blue { background: #fff; --wave-fill: var(--powder); }
.wave-to-navy { background: var(--powder); --wave-fill: var(--navy); }
.wave-from-navy-to-white { background: var(--navy); --wave-fill: #fff; }
@keyframes wave-drift { to { transform: translateX(-50%); } }

.problem-section { position: relative; overflow: hidden; background: var(--lavender); }
.problem-section > .section-shell,
.services-section > .section-shell,
.price-section > .section-shell { position: relative; z-index: 1; }
.pixel-decoration { position: absolute; z-index: 0; pointer-events: none; image-rendering: pixelated; opacity: .16; filter: saturate(.88); }
.pixel-decoration-problems { width: 285px; right: -72px; top: 46px; transform: rotate(8deg); }
.pixel-decoration-services { width: 250px; left: -76px; bottom: 70px; transform: rotate(-8deg); }
.pixel-decoration-price { width: 260px; right: -65px; top: 54px; transform: rotate(7deg); opacity: .13; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; align-items: stretch; }
.problem-card { min-height: 330px; height: 100%; padding: 26px 28px 30px; position: relative; border: 1px solid rgba(44,39,99,.1); border-radius: var(--radius-md); background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.problem-card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(45,39,103,.15); }
.problem-card > span { color: #9b9dbd; font: 700 11px/1 monospace; }
.pixel-icon { width: 72px; height: 72px; margin: 27px 0 20px; display: grid; place-items: center; border-radius: 22px; color: var(--navy); background: var(--mint); box-shadow: 0 10px 22px rgba(32,143,119,.15); font: 900 34px/1 monospace; }
.problem-card:nth-child(2) .pixel-icon { color: #fff; background: var(--blue); box-shadow: 0 10px 22px rgba(47,143,216,.15); }
.problem-card:nth-child(3) .pixel-icon { background: var(--yellow); box-shadow: 0 10px 22px rgba(226,212,59,.18); }
.problem-card h3 { margin: 0; font-family: var(--font-heading); font-size: 22px; line-height: 1.48; letter-spacing: -.01em; }
.problem-card p { margin: 13px 0 0; color: var(--muted); font-size: 14px; }

.diagnosis-section { padding-top: 90px; background: #fff; }
.diagnosis-card { min-height: 450px; padding: 68px 7%; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8%; position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; background: var(--navy); box-shadow: 0 30px 80px rgba(23,26,61,.22); }
.diagnosis-card::before { content: ""; width: 400px; height: 400px; position: absolute; right: -160px; top: -220px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.diagnosis-card h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(36px, 4vw, 56px); line-height: 1.23; letter-spacing: -.045em; }
.diagnosis-card h2 em { color: var(--mint); font-style: normal; }
.diagnosis-card p:not(.eyebrow) { max-width: 620px; color: #d2d3e3; }
.diagnosis-card small { display: block; margin-top: 18px; color: #afb1cc; }
.diagnosis-card .button-primary { color: var(--navy); background: var(--mint); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.diagnosis-card .eyebrow, .about-section .eyebrow, .final-card .eyebrow { color: #9cecff; }
.diagnosis-orbit { width: min(300px, 100%); aspect-ratio: 1; margin: auto; position: relative; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.03), 0 0 0 61px rgba(255,255,255,.02); }
.diagnosis-orbit span { width: 142px; height: 142px; display: grid; place-items: center; border-radius: 48%; color: var(--navy); background: linear-gradient(145deg, #fff, var(--lavender-2)); box-shadow: inset -15px -13px 0 #cfccf2, 0 18px 45px rgba(0,0,0,.3); font-size: 74px; font-weight: 900; animation: planet-wobble 6s ease-in-out infinite; }
.diagnosis-orbit i { width: 17px; height: 17px; position: absolute; border-radius: 50%; background: var(--mint); box-shadow: 0 0 15px rgba(121,230,207,.8); }
.diagnosis-orbit i:nth-child(2) { top: 14%; left: 17%; }
.diagnosis-orbit i:nth-child(3) { right: 6%; bottom: 31%; background: var(--peach); }
.diagnosis-orbit i:nth-child(4) { left: 35%; bottom: 0; width: 9px; height: 9px; background: var(--blue); }
@keyframes planet-wobble { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-10px); } }

.services-section { position: relative; overflow: hidden; background: #fff; }
.service-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.service-card { min-height: 500px; height: 100%; padding: 34px; position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 14px 40px rgba(49,43,108,.07); transition: transform .28s ease, box-shadow .28s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.service-number { color: #9a9cbc; font: 800 11px/1 monospace; }
.service-art { width: 112px; height: 92px; margin: 20px 0 23px; position: relative; border-radius: 24px; background: var(--lavender); }
.service-art i { position: absolute; display: block; }
.art-web i:nth-child(1) { inset: 19px 16px; border: 3px solid var(--navy); border-radius: 8px; }
.art-web i:nth-child(2) { width: 35px; height: 8px; left: 27px; top: 34px; background: var(--mint); }
.art-web i:nth-child(3) { width: 22px; height: 8px; right: 23px; bottom: 24px; background: var(--peach); }
.art-sns { background: #e7f2ff; }
.art-sns i:nth-child(1), .art-sns i:nth-child(2), .art-sns i:nth-child(3) { width: 34px; height: 34px; border-radius: 50%; }
.art-sns i:nth-child(1) { left: 19px; bottom: 18px; background: var(--blue); }
.art-sns i:nth-child(2) { left: 42px; top: 14px; background: var(--peach); }
.art-sns i:nth-child(3) { right: 14px; bottom: 17px; background: var(--mint); }
.art-movie { background: #fff0ea; }
.art-movie i:nth-child(1) { inset: 18px; border: 3px solid var(--navy); border-radius: 12px; }
.art-movie i:nth-child(2) { left: 47px; top: 34px; border-left: 21px solid var(--peach); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.art-movie i:nth-child(3) { width: 7px; height: 7px; right: 15px; top: 13px; background: var(--yellow); }
.art-ai { background: #e4fff7; }
.art-ai i:nth-child(1) { width: 54px; height: 48px; left: 29px; top: 22px; border: 3px solid var(--navy); border-radius: 14px; }
.art-ai i:nth-child(2), .art-ai i:nth-child(3) { width: 10px; height: 15px; top: 39px; border-radius: 50%; background: var(--navy); }
.art-ai i:nth-child(2) { left: 44px; }
.art-ai i:nth-child(3) { right: 44px; }
.service-pixel { width: 148px; height: 148px; margin: 14px auto 8px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(8px 10px 0 rgba(47,143,216,.11)); }
.service-card h3 { min-height: 72px; margin: 0; display:flex; flex-direction:column; justify-content:flex-end; font-family: var(--font-heading); font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
.service-card p { color: var(--muted); }
.service-card ul { margin: auto 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.service-card li { padding: 6px 10px; border-radius: 999px; color: #4d5071; background: var(--lavender); font-size: 11px; font-weight: 700; }

.route-section, .works-section { background: var(--powder); }
.route-section { position: relative; overflow: hidden; }
.route-section::before { content: ""; width: 480px; height: 480px; position: absolute; right: -180px; top: 30px; border-radius: 50%; background: rgba(47,143,216,.12); }
.route-shell { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 60px; position: relative; }
.route-copy > p:last-child { color: var(--muted); }
.route-map { min-height: 360px; padding: 50px 28px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 8px; position: relative; border: 1px solid rgba(23,26,61,.07); border-radius: var(--radius-lg); background: rgba(255,255,255,.7); box-shadow: 0 18px 48px rgba(50,58,112,.09); }
.route-line { height: 3px; position: absolute; left: 10%; right: 10%; top: 50%; overflow: hidden; background: rgba(23,26,61,.13); }
.route-line i { width: 100%; height: 100%; display: block; transform: translateX(-102%); background: linear-gradient(90deg,var(--mint),var(--blue),var(--peach)); transition: transform 1.8s cubic-bezier(.2,.8,.2,1); }
.route-map.is-visible .route-line i { transform: translateX(0); }
.route-node { position: relative; z-index: 1; text-align: center; }
.route-node span { width: 76px; height: 76px; margin: auto; display: grid; place-items: center; border: 7px solid #f7f9ff; border-radius: 50%; background: #fff; box-shadow: 0 8px 28px rgba(40,35,99,.13); font: 700 13px/1 monospace; }
.route-node:nth-of-type(3) span { background: var(--mint); }
.route-node:nth-of-type(4) span { background: var(--blue); }
.route-node:nth-of-type(5) span { background: var(--peach); }
.route-node b { display: block; margin-top: 15px; font-size: 20px; }
.route-node small { color: var(--muted); }

.section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.text-link { padding-bottom: 6px; border-bottom: 1px solid currentColor; color: var(--blue); font-size: 13px; font-weight: 900; }
.works-placeholder { min-height: 430px; margin-top: 48px; padding: 55px 7%; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 8%; border: 1px solid rgba(23,26,61,.09); border-radius: var(--radius-lg); background: linear-gradient(135deg,#fff 0%,#f7f4ff 100%); box-shadow: 0 18px 48px rgba(50,58,112,.08); }
.works-placeholder h3 { margin: 0; font-family: var(--font-heading); font-size: clamp(25px,3vw,38px); line-height: 1.4; }
.works-placeholder p { color: var(--muted); }
.works-orbit { width: min(300px,100%); aspect-ratio: 1; position: relative; margin: auto; border: 2px dashed #c2bee5; border-radius: 50%; animation: slow-spin 24s linear infinite; }
.works-orbit::before { content: "WORK"; position: absolute; inset: 24%; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font: 900 19px/1 monospace; letter-spacing: .16em; }
.works-orbit i { width: 42px; height: 42px; position: absolute; border-radius: 13px; background: var(--mint); box-shadow: 0 8px 18px rgba(23,26,61,.14); }
.works-orbit i:nth-child(1) { left: 7%; top: 18%; }
.works-orbit i:nth-child(2) { right: -2%; top: 48%; background: var(--peach); }
.works-orbit i:nth-child(3) { left: 32%; bottom: -5%; background: var(--blue); }
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* Portfolio galaxy: tap the earth to reveal each category. */
.portfolio-galaxy {
  min-height: 780px;
  margin-top: 48px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 50% 47%, rgba(105,178,255,.24), transparent 25%),
    radial-gradient(circle at 10% 15%, rgba(121,230,207,.17), transparent 26%),
    radial-gradient(circle at 88% 83%, rgba(255,185,159,.16), transparent 27%),
    linear-gradient(145deg, #151a46 0%, #272967 55%, #171a3d 100%);
  box-shadow: 0 28px 75px rgba(35,35,92,.18);
}
.portfolio-galaxy::before,
.portfolio-galaxy::after {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 85px 52px 0 var(--yellow), 178px 18px 0 #fff, 264px 106px 0 var(--mint), 762px 43px 0 #fff, 897px 118px 0 var(--peach), 1004px 61px 0 #fff, 943px 524px 0 var(--blue), 128px 610px 0 #fff, 309px 690px 0 var(--peach), 760px 674px 0 var(--mint);
  opacity: .78;
  animation: star-twinkle 3.4s steps(3,end) infinite;
}
.portfolio-galaxy::before { left: 0; top: 0; }
.portfolio-galaxy::after { right: 58px; top: 216px; transform: scale(.7); animation-delay: -1.2s; }
.galaxy-rings,
.galaxy-rings i { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.galaxy-rings { width: 610px; height: 610px; }
.galaxy-rings i:nth-child(1) { width: 420px; height: 420px; }
.galaxy-rings i:nth-child(2) { width: 520px; height: 520px; border-style: dashed; animation: slow-spin 28s linear infinite; }
.galaxy-rings i:nth-child(3) { width: 720px; height: 360px; transform: translate(-50%,-50%) rotate(-12deg); }
.portfolio-earth {
  width: 238px;
  aspect-ratio: 1;
  padding: 0;
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 48%;
  transform: translate(-50%,-50%);
  border: 7px solid rgba(255,255,255,.82);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 34% 28%, #9cecff 0 7%, #69b2ff 34%, #3976c7 70%, #244f9a 100%);
  box-shadow: 0 0 0 13px rgba(105,178,255,.1), 0 22px 56px rgba(1,5,26,.42), inset -23px -19px 0 rgba(14,45,115,.22);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.portfolio-earth:hover { transform: translate(-50%,-50%) scale(1.045); box-shadow: 0 0 0 18px rgba(121,230,207,.14), 0 24px 60px rgba(1,5,26,.5), inset -23px -19px 0 rgba(14,45,115,.22); }
.portfolio-earth:active { transform: translate(-50%,-50%) scale(.98); }
.earth-label { position: relative; z-index: 2; min-height: 100%; display: grid; place-content: center; text-align: center; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.earth-label small { font: 900 10px/1 monospace; letter-spacing: .19em; }
.earth-label strong { display: block; margin-top: 8px; font-family: var(--font-heading); font-size: 19px; }
.portfolio-orbit { position: absolute; z-index: 5; inset: 0; }
.portfolio-item {
  width: 286px;
  min-height: 154px;
  padding: 13px;
  position: absolute;
  display: grid;
  grid-template-columns: 132px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 23px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  box-shadow: 0 15px 38px rgba(2,5,28,.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.76);
  transition: opacity .38s ease, transform .55s cubic-bezier(.2,.85,.2,1), box-shadow .22s ease;
}
.portfolio-item:hover { box-shadow: 0 20px 44px rgba(2,5,28,.34); transform: translateY(-5px) scale(1.02) !important; }
.portfolio-galaxy.is-open .portfolio-item { opacity: 1; pointer-events: auto; transform: none; }
.portfolio-galaxy.is-open .portfolio-item:nth-child(2) { transition-delay: 60ms; }
.portfolio-galaxy.is-open .portfolio-item:nth-child(3) { transition-delay: 120ms; }
.portfolio-galaxy.is-open .portfolio-item:nth-child(4) { transition-delay: 180ms; }
.portfolio-galaxy.is-open .portfolio-item:nth-child(5) { transition-delay: 240ms; }
.portfolio-galaxy.is-open .portfolio-item:nth-child(6) { transition-delay: 300ms; }
.portfolio-line { left: 5%; top: 9%; }
.portfolio-web { right: 5%; top: 9%; }
.portfolio-card { left: 7%; bottom: 9%; }
.portfolio-video { right: 7%; bottom: 9%; }
.portfolio-item > span:last-child { min-width: 0; }
.portfolio-item small { display: block; color: #7771ca; font: 900 8px/1.35 monospace; letter-spacing: .09em; }
.portfolio-item strong { display: block; margin-top: 5px; font: 900 17px/1.4 var(--font-heading); }
.portfolio-item em { display: block; margin-top: 8px; color: #4e48bf; font-size: 10px; font-style: normal; font-weight: 900; }
.portfolio-preview { height: 124px; position: relative; overflow: hidden; border-radius: 15px; background: var(--lavender); }
.portfolio-preview i { position: absolute; display: block; }
.portfolio-thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform .45s ease; }
.portfolio-item:hover .portfolio-thumb img { transform: scale(1.055); }
.preview-web { padding: 10px; background: #dff9f2; }
.preview-web::before { content: ""; position: absolute; inset: 12px 9px 8px; border: 2px solid var(--navy); border-radius: 8px; background: #fff; box-shadow: 5px 6px 0 rgba(23,26,61,.12); }
.preview-web i:nth-child(1) { width: 46px; height: 7px; left: 20px; top: 28px; background: var(--navy); }
.preview-web i:nth-child(2) { width: 65px; height: 5px; left: 20px; top: 42px; background: #d2d6e6; }
.preview-web i:nth-child(3) { width: 31px; height: 24px; right: 18px; bottom: 18px; border-radius: 5px; background: var(--peach); }
.preview-sns { background: linear-gradient(145deg,#efe8ff,#ffe7ec); }
.preview-sns i { border-radius: 50%; }
.preview-sns i:nth-child(1) { width: 58px; height: 58px; left: 11px; top: 10px; background: var(--peach); }
.preview-sns i:nth-child(2) { width: 42px; height: 42px; right: 8px; bottom: 9px; background: var(--mint); }
.preview-sns i:nth-child(3) { width: 17px; height: 17px; right: 17px; top: 12px; background: var(--blue); }
.preview-line { background: #e4fff3; }
.preview-line::before { content: "LINE"; position: absolute; inset: 16px 12px 28px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: #38be72; font: 900 15px/1 monospace; }
.preview-line i { height: 5px; bottom: 14px; border-radius: 5px; background: #82dba9; }
.preview-line i:nth-child(1) { width: 21px; left: 15px; }
.preview-line i:nth-child(2) { width: 28px; left: 40px; }
.preview-line i:nth-child(3) { width: 18px; right: 13px; }
.preview-video { background: linear-gradient(145deg,#202655,#475195); }
.preview-video::before { content: ""; position: absolute; left: 41px; top: 31px; border-left: 28px solid var(--peach); border-top: 19px solid transparent; border-bottom: 19px solid transparent; filter: drop-shadow(0 4px 4px rgba(0,0,0,.22)); }
.preview-video i:nth-child(1) { width: 76px; height: 5px; left: 13px; bottom: 14px; border-radius: 9px; background: rgba(255,255,255,.34); }
.preview-video i:nth-child(2) { width: 33px; height: 5px; left: 13px; bottom: 14px; border-radius: 9px; background: var(--mint); }
.preview-video i:nth-child(3) { width: 7px; height: 7px; right: 12px; top: 11px; background: var(--yellow); }
.preview-banner { background: #fff0e9; }
.preview-banner::before { content: ""; position: absolute; inset: 13px 9px; border-radius: 8px; background: linear-gradient(120deg,var(--peach) 0 48%,#fff 48%); box-shadow: 0 5px 13px rgba(83,55,55,.14); }
.preview-banner i:nth-child(1) { width: 34px; height: 6px; right: 15px; top: 31px; background: var(--navy); }
.preview-banner i:nth-child(2) { width: 43px; height: 4px; right: 15px; top: 43px; background: #c6c8d7; }
.preview-banner i:nth-child(3) { width: 25px; height: 9px; right: 15px; bottom: 27px; border-radius: 6px; background: var(--mint); }
.preview-card { background: #e8efff; }
.preview-card::before { content: ""; width: 76px; height: 48px; position: absolute; left: 14px; top: 26px; border-radius: 7px; background: #fff; box-shadow: 5px 7px 0 #a9bee9; transform: rotate(-5deg); }
.preview-card i:nth-child(1) { width: 28px; height: 5px; left: 23px; top: 39px; transform: rotate(-5deg); background: var(--navy); }
.preview-card i:nth-child(2) { width: 43px; height: 3px; left: 23px; top: 51px; transform: rotate(-5deg); background: #c4c7d7; }
.preview-card i:nth-child(3) { width: 17px; height: 17px; right: 17px; bottom: 14px; border-radius: 50%; background: var(--peach); }
.portfolio-instruction { position: absolute; z-index: 7; left: 50%; bottom: 31px; margin: 0; transform: translateX(-50%); color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; white-space: nowrap; }
.galaxy-all-link { position: absolute; z-index: 8; right: 31px; bottom: 27px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: #fff; background: rgba(255,255,255,.09); font-size: 10px; font-weight: 900; }

.about-section { color: #fff; background: var(--navy); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; align-items: center; }
.profile-frame { width: 100%; max-width: 410px; position: relative; margin: auto; }
.profile-portrait { aspect-ratio: 4 / 5; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 40px; background: radial-gradient(circle at 50% 28%,#565c9d 0%,#343873 52%,#25285b 100%); box-shadow: 0 24px 60px rgba(5,7,27,.35), inset 0 0 0 8px rgba(121,230,207,.07); }
.profile-portrait::before { content: ""; width: 300px; height: 300px; position: absolute; left: 50%; top: 31%; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.016); }
.profile-portrait img { width: 100%; height: 100%; position: relative; z-index: 1; object-fit: contain; object-position: center bottom; image-rendering: pixelated; filter: drop-shadow(0 17px 22px rgba(4,7,28,.26)); }
.profile-portrait-label { padding: 8px 13px; position: absolute; z-index: 2; left: 20px; bottom: 19px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(16,21,54,.74); backdrop-filter: blur(8px); font: 900 9px/1 monospace; letter-spacing: .09em; }
.profile-placeholder { aspect-ratio: 4/5; padding: 42px 30px; display: flex; align-items: center; justify-content: center; flex-direction: column; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 40px; background: linear-gradient(145deg,#3c3f78,#24275b); box-shadow: 0 24px 60px rgba(5,7,27,.35), inset 0 0 0 8px rgba(121,230,207,.08); text-align: center; }
.profile-label { position: relative; z-index: 2; color: var(--mint); font: 900 10px/1.5 monospace; letter-spacing: .14em; }
.profile-placeholder strong { position: relative; z-index: 2; margin-top: 10px; color: #fff; font: 900 clamp(40px,5vw,66px)/1 var(--font-heading); letter-spacing: .05em; }
.profile-placeholder small { position: relative; z-index: 2; margin-top: 14px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; }
.profile-orbit { width: 260px; height: 260px; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-18deg); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.profile-orbit i { width: 18px; height: 18px; position: absolute; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px rgba(121,230,207,.7); }
.profile-orbit i:nth-child(1) { left: 15px; top: 63px; }
.profile-orbit i:nth-child(2) { right: 4px; top: 115px; width: 13px; height: 13px; background: var(--peach); }
.profile-orbit i:nth-child(3) { left: 116px; bottom: -8px; width: 10px; height: 10px; background: var(--blue); }
.profile-star { width: 62px; height: 62px; position: absolute; right: -16px; top: 14%; display: grid; place-items: center; border: 4px solid #fff; border-radius: 20px; color: var(--navy); background: var(--peach); box-shadow: 0 11px 28px rgba(5,7,27,.3); font-size: 25px; }
.about-copy > p:not(.eyebrow) { color: #d1d2e2; }
.strength-list { padding: 0; margin: 34px 0 0; list-style: none; }
.strength-list li { padding: 17px 0; display: grid; grid-template-columns: 100px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.strength-list b { color: var(--mint); }
.strength-list span { color: #d7d8e7; }

.process-section { background: #fff; }
.process-list { margin: 55px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.process-list li { min-height: 255px; padding: 27px; border-right: 1px solid var(--line); background: #fff; }
.process-list li:last-child { border-right: 0; }
.process-list > li > span { color: #756ed2; font: 900 13px/1 monospace; }
.process-list h3 { margin: 52px 0 12px; font-family: var(--font-heading); font-size: 20px; }
.process-list p { color: var(--muted); font-size: 13px; }

.price-section { position: relative; overflow: hidden; background: linear-gradient(180deg,#fff 0%,#f7f5ff 100%); }
.price-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 45px; }
.price-heading > div > p:last-child { max-width: 650px; color: var(--muted); }
.uword-badge { min-width: 330px; min-height: 94px; padding: 17px 18px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 13px; border: 1px solid rgba(23,26,61,.1); border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .22s ease, box-shadow .22s ease; }
.uword-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.uword-coin { width: 52px; height: 52px; display: grid; place-items: center; border: 4px solid var(--navy); border-radius: 50%; color: var(--navy); background: var(--yellow); box-shadow: inset 0 0 0 3px #fff; font: 900 21px/1 monospace; }
.uword-badge small { display: block; color: var(--muted); font-size: 10px; }
.uword-badge strong { display: block; font-size: 14px; line-height: 1.45; }
.uword-badge i { color: var(--blue); font-style: normal; }
.quote-strip { margin-top: 48px; padding: 22px 25px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 25px; border: 1px solid rgba(23,26,61,.1); border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); }
.quote-strip span { display: block; color: var(--blue); font-size: 10px; font-weight: 900; }
.quote-strip strong { font-family: var(--font-heading); font-size: 21px; }
.quote-strip > b { color: var(--blue); font-family: var(--font-heading); font-size: 30px; }
.quote-strip .button { min-height: 48px; }
.line-price-card { margin-top: 18px; padding: clamp(28px,4vw,48px); display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: center; gap: clamp(24px,4vw,48px); overflow: hidden; position: relative; border: 1px solid rgba(23,26,61,.1); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.line-price-card::after { content: ""; width: 220px; height: 220px; position: absolute; right: -130px; top: -130px; border-radius: 50%; background: rgba(47,143,216,.12); }
.line-price-card > * { position: relative; z-index: 1; }
.line-price-pixel { width: 145px; height: 145px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(9px 10px 0 rgba(47,143,216,.13)); }
.line-price-card h3 { margin: 0; font-family: var(--font-heading); font-size: clamp(26px,3vw,38px); line-height: 1.4; letter-spacing: -.015em; }
.line-price-card p:not(.eyebrow) { max-width: 610px; margin: 15px 0 0; color: var(--muted); font-size: 14px; }
.line-price-card .button { white-space: nowrap; }
.price-table-card { margin-top: 18px; overflow: hidden; border: 1px solid rgba(23,26,61,.1); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.table-heading { padding: 30px 32px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.table-heading h3 { margin: 5px 0 0; font-family: var(--font-heading); font-size: 28px; }
.table-kicker { color: #6c65d2; font: 900 10px/1 monospace; letter-spacing: .12em; }
.tax-note { padding: 6px 10px; border-radius: 999px; color: var(--muted); background: var(--lavender); font-size: 10px; font-weight: 700; }
.price-table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.price-table th, .price-table td { padding: 18px 22px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table thead th { color: #666987; background: #fbfaff; font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.price-table thead th:first-child { width: 48%; padding-left: 32px; }
.price-table thead th:nth-child(2) { width: 20%; }
.price-table thead th:nth-child(3) { width: 32%; }
.price-table tbody th { padding-left: 32px; font-size: 14px; font-weight: 700; }
.price-table td { color: #525572; font-size: 13px; white-space: nowrap; }
.price-table td strong { color: #2a846e; }
.price-table tbody tr:nth-child(even) { background: #fcfbff; }
.price-table-footer { padding: 22px 32px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); }
.price-table-footer p { max-width: 720px; margin: 0; color: #666987; font-size: 11px; }
.price-table-footer .text-link { flex: 0 0 auto; }
.custom-quote { margin-top: 18px; padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 26px; border: 1px solid rgba(23,26,61,.1); border-radius: 24px; background: linear-gradient(105deg,var(--powder),#fffdeb); }
.custom-quote > div { display: flex; align-items: center; gap: 16px; }
.custom-quote > div > span { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; color: var(--navy); background: var(--mint); font-size: 20px; }
.custom-quote strong { font-family: var(--font-heading); font-size: 19px; }
.custom-quote p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

.pocket-section { background: var(--lavender); }
.pocket-card { min-height: 490px; padding: 60px 7%; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: center; overflow: hidden; position: relative; border: 1px solid rgba(23,26,61,.07); border-radius: var(--radius-lg); background: linear-gradient(145deg,var(--powder) 0%,#fff 56%,#fffdeb 100%); box-shadow: var(--shadow-soft); }
.pocket-card h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(39px,5vw,67px); letter-spacing: -.055em; }
.pocket-copy { color: var(--blue); font-size: 20px; font-weight: 900; }
.pocket-card p:not(.eyebrow):not(.pocket-copy) { color: var(--muted); }
.pocket-pixel { width: min(380px,94%); height: auto; margin: auto; object-fit: contain; image-rendering: pixelated; animation: pocket-float 5s steps(6,end) infinite; filter: drop-shadow(14px 18px 0 rgba(47,143,216,.11)); }
@keyframes pocket-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8%; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 45px 24px 0; position: relative; cursor: pointer; list-style: none; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "＋"; width: 31px; height: 31px; position: absolute; right: 6px; top: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 26px; padding-right: 40px; color: var(--muted); }

.final-cta { padding-bottom: 60px; background: #fff; }
.final-card { min-height: 510px; padding: 85px 7%; position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg,#151838,#292d68); text-align: center; box-shadow: 0 35px 90px rgba(23,26,61,.25); }
.final-card > *:not(.constellation) { position: relative; z-index: 2; }
.final-card h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(40px,5vw,68px); line-height: 1.24; letter-spacing: -.055em; }
.final-card > p:not(.eyebrow) { color: #d2d3e2; }
.final-card .hero-actions { justify-content: center; }
.constellation i { width: 8px; height: 8px; position: absolute; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px #fff; }
.constellation i:nth-child(1) { left: 8%; top: 18%; }
.constellation i:nth-child(2) { left: 17%; bottom: 19%; }
.constellation i:nth-child(3) { right: 11%; top: 23%; }
.constellation i:nth-child(4) { right: 20%; bottom: 16%; }
.constellation i:nth-child(5) { left: 51%; top: 10%; background: var(--mint); }
.constellation svg { width: min(720px,92%); height: auto; position: absolute; z-index: 0; left: 50%; top: 7%; transform: translateX(-50%); opacity: .14; overflow: visible; }
.constellation text { fill: transparent; stroke: #fff; stroke-width: 2; font-family: var(--font-heading); font-size: 150px; font-weight: 900; letter-spacing: .06em; stroke-linejoin: round; stroke-dasharray: 1280; stroke-dashoffset: 1280; animation: constellation-draw 6s ease-in-out infinite alternate; }
.constellation circle { fill: var(--yellow); filter: drop-shadow(0 0 7px #fff); animation: star-twinkle 2.8s steps(3,end) infinite; }
.constellation circle:nth-of-type(even) { fill: var(--mint); animation-delay: -1.1s; }
@keyframes constellation-draw { 45%,100% { stroke-dashoffset: 0; } }

.site-footer { width: min(calc(100% - 40px),var(--max)); margin: 0 auto; padding: 46px 0 55px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 35px; align-items: end; color: #666987; }
.footer-brand { color: var(--navy); }
.site-footer p, .site-footer small { font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 11px 20px; font-size: 12px; font-weight: 700; }

.scroll-companion {
  --scroll-x: 8%;
  width: 86px;
  position: fixed;
  z-index: 72;
  left: var(--scroll-x);
  bottom: 18px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: opacity .28s ease, transform .28s ease;
  filter: drop-shadow(0 9px 7px rgba(18,20,62,.25));
}
.scroll-companion.is-visible { opacity: 1; transform: translate(-50%,0); }
.scroll-companion img { width: 100%; height: auto; image-rendering: pixelated; transform-origin: 50% 85%; }
.scroll-companion.is-facing-left img { transform: scaleX(-1); }
.scroll-companion.is-walking img { animation: scroll-alien-step .22s steps(2,end) infinite alternate; }
.scroll-companion.is-facing-left.is-walking img { animation-name: scroll-alien-step-left; }
.scroll-companion-message { width: max-content; max-width: 170px; padding: 7px 10px; position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translate(-50%,8px) scale(.94); border: 2px solid var(--navy); border-radius: 11px; color: var(--navy); background: #fff; box-shadow: 0 8px 20px rgba(23,26,61,.15); font-size: 9px; font-weight: 900; line-height: 1.5; opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.scroll-companion.show-message .scroll-companion-message { opacity: 1; transform: translate(-50%,0) scale(1); }
.modal-open .scroll-companion { opacity: 0; }
@keyframes scroll-alien-step { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-6px) rotate(2deg); } }
@keyframes scroll-alien-step-left { from { transform: scaleX(-1) translateY(0) rotate(-2deg); } to { transform: scaleX(-1) translateY(-6px) rotate(2deg); } }

/* Privacy policy */
.policy-body { background: linear-gradient(180deg, var(--lavender) 0, #fff 420px); }
.policy-main { padding: 130px 0 80px; }
.policy-shell { width: min(calc(100% - 40px), 900px); margin-inline: auto; }
.policy-heading { padding: clamp(38px, 6vw, 66px); overflow: hidden; position: relative; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.policy-heading::after { content: "✦"; position: absolute; right: 8%; top: 8%; color: var(--yellow); font-size: clamp(70px, 12vw, 130px); opacity: .16; }
.policy-heading .eyebrow { color: #9cecff; }
.policy-heading h1 { max-width: 720px; margin: 0; font-family: var(--font-heading); font-size: clamp(36px, 6vw, 64px); line-height: 1.22; letter-spacing: -.045em; }
.policy-heading p:last-child { max-width: 680px; margin: 20px 0 0; color: #d8daeb; }
.policy-content { margin-top: 28px; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.96); box-shadow: var(--shadow-soft); }
.policy-content section + section { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); }
.policy-content h2 { margin: 0 0 15px; font-family: var(--font-heading); font-size: clamp(21px, 3vw, 28px); line-height: 1.45; }
.policy-content p, .policy-content li { color: #555974; font-size: 14px; }
.policy-content ul { margin: 13px 0 0; padding-left: 1.45em; }
.policy-content a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.policy-date { margin-top: 45px; text-align: right; }
.policy-back { margin-top: 28px; display: flex; justify-content: center; }

.floating-diagnosis { min-width: 136px; padding: 13px 17px; position: fixed; z-index: 80; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; color: #fff; background: var(--navy); box-shadow: 0 12px 30px rgba(23,26,61,.28); cursor: pointer; font-size: 12px; font-weight: 900; }
.floating-diagnosis span:first-child { color: var(--yellow); }
.diagnosis-nudge { width: min(330px,calc(100% - 32px)); padding: 17px; position: fixed; z-index: 82; right: 20px; bottom: 91px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 22px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); backdrop-filter: blur(12px); animation: nudge-in .45s cubic-bezier(.2,.8,.2,1); }
.diagnosis-nudge[hidden] { display: none; }
@keyframes nudge-in { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }
.nudge-close { width: 44px; height: 44px; padding: 0; position: absolute; right: 2px; top: 1px; display: grid; place-items: center; border: 0; background: transparent; color: #8587a0; cursor: pointer; font-size: 20px; }
.nudge-alien { width: 68px; height: 76px; flex: 0 0 auto; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg,var(--powder),var(--lavender)); }
.nudge-alien img { width: 61px; height: auto; align-self: end; image-rendering: pixelated; filter: drop-shadow(0 5px 4px rgba(23,26,61,.2)); }
.diagnosis-nudge small { display: block; color: var(--blue); font: 900 9px/1.4 monospace; letter-spacing: .12em; }
.diagnosis-nudge strong { display: block; line-height: 1.35; font-size: 16px; }
.diagnosis-nudge div > button { padding: 6px 0; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 900; cursor: pointer; }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,14,38,.72); backdrop-filter: blur(7px); }
.modal-panel { width: min(760px,100%); max-height: min(760px,calc(100vh - 36px)); padding: 33px 36px 30px; position: relative; z-index: 1; display: flex; flex-direction: column; overflow: auto; border-radius: 34px; background: #fff; box-shadow: 0 40px 100px rgba(0,0,0,.36); animation: modal-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-close { width: 40px; height: 40px; position: absolute; right: 18px; top: 17px; border: 0; border-radius: 50%; background: var(--lavender); cursor: pointer; font-size: 24px; line-height: 1; }
.wizard-header { padding-right: 45px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.wizard-header h2 { margin: 5px 0 0; font-family: var(--font-heading); font-size: clamp(23px,4vw,34px); letter-spacing: -.035em; }
.wizard-kicker { color: var(--blue); font: 900 10px/1 monospace; letter-spacing: .12em; }
.wizard-counter { color: #737696; font: 900 13px/1 monospace; }
.progress-track { height: 7px; margin: 19px 0 0; overflow: hidden; border-radius: 999px; background: #eceaf8; }
.progress-track span { width: 16.67%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--mint),var(--blue),var(--peach)); transition: width .3s ease; }
.wizard-stage { min-height: 360px; padding: 37px 2px 20px; }
.wizard-question { animation: question-in .32s ease; }
@keyframes question-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wizard-question .question-number { color: var(--blue); font: 900 11px/1 monospace; letter-spacing: .1em; }
.wizard-question h3 { max-width: 650px; margin: 12px 0 23px; font-family: var(--font-heading); font-size: clamp(24px,4vw,36px); line-height: 1.4; letter-spacing: -.015em; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.choice { min-height: 61px; padding: 13px 16px; display: flex; align-items: center; gap: 11px; position: relative; border: 2px solid #e6e4f1; border-radius: 17px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.choice:hover { transform: translateY(-2px); border-color: #aaa5df; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--lavender); box-shadow: 0 8px 20px rgba(23,26,61,.1); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.wizard-text { width: 100%; min-height: 64px; padding: 16px 18px; border: 2px solid #dedbea; border-radius: 17px; outline: 0; resize: vertical; }
textarea.wizard-text { min-height: 135px; }
.wizard-text:focus { border-color: #7069d9; box-shadow: 0 0 0 4px rgba(112,105,217,.12); }
.question-note { margin-top: 12px; color: #666987; font-size: 11px; }
.wizard-error { min-height: 24px; margin: 0; color: #c24962; font-size: 12px; font-weight: 700; }
.wizard-error a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wizard-footer { padding-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.wizard-footer p { margin: 0; color: #666987; font-size: 10px; text-align: center; }
.wizard-footer p a { color: #4d47bd; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.wizard-back { min-height: 44px; padding: 8px; border: 0; background: transparent; color: #777a96; cursor: pointer; font-size: 12px; font-weight: 900; }
.wizard-back[disabled] { opacity: .3; cursor: default; }

.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--reveal-delay,0ms); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal-ready .problem-card.reveal.is-visible:hover,
.reveal-ready .service-card.reveal.is-visible:hover { transform: translateY(-5px); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .site-header { height: 68px; }
  .hero-copy-card { width: min(500px,calc(100% - 36px)); left: 18px; top: 98px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; }
  .problem-card > .pixel-icon { grid-row: 2 / 4; }
  .problem-card h3 { margin-top: 25px; }
  .route-shell, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .route-map { margin-top: 30px; }
  .process-list { grid-template-columns: repeat(2,1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .price-heading { grid-template-columns: 1fr; align-items: start; gap: 25px; }
  .uword-badge { width: min(430px,100%); }
  .line-price-card { grid-template-columns: 120px minmax(0,1fr); }
  .line-price-pixel { width: 118px; height: 118px; }
  .line-price-card .button { grid-column: 2; justify-self: start; }
  .portfolio-galaxy { min-height: 0; padding: 55px 34px 34px; }
  .galaxy-rings { width: min(520px,88vw); height: min(520px,88vw); top: 205px; }
  .galaxy-rings i:nth-child(1) { width: 68%; height: 68%; }
  .galaxy-rings i:nth-child(2) { width: 86%; height: 86%; }
  .galaxy-rings i:nth-child(3) { width: 112%; height: 56%; }
  .portfolio-earth { width: 220px; position: relative; left: 50%; top: auto; transform: translateX(-50%); }
  .portfolio-earth:hover { transform: translateX(-50%) scale(1.035); }
  .portfolio-earth:active { transform: translateX(-50%) scale(.98); }
  .portfolio-orbit { max-height: 0; margin-top: 45px; position: relative; inset: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; opacity: 0; overflow: hidden; transition: max-height .7s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
  .portfolio-galaxy.is-open .portfolio-orbit { max-height: 680px; opacity: 1; }
  .portfolio-item { width: auto; min-height: 130px; position: relative; inset: auto; }
  .portfolio-instruction { position: relative; left: auto; bottom: auto; margin: 25px 0 0; transform: none; text-align: center; white-space: normal; }
  .galaxy-all-link { margin: 17px auto 0; position: relative; right: auto; bottom: auto; display: table; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .pixel-office { min-height: 1040px; }
  .alien-mover { --alien-x: 74%; --alien-y: 78%; }
  .alien-bubble { max-width: 140px; }
  .spot-web { left: 74%; top: 77%; }
  .spot-chair { left: 86%; top: 82%; }
  .spot-ai { left: 85%; top: 56%; }
  .spot-talk { left: 28%; top: 48%; }
}

@media (max-width: 720px) {
  :root { --radius-lg: 30px; --radius-md: 22px; }
  .section-shell { width: min(calc(100% - 28px),var(--max)); }
  .section-pad { padding: 82px 0; }
  .section-title { font-size: clamp(32px,9.5vw,48px); }
  .site-header { width: calc(100% - 20px); height: 62px; padding: 0 9px 0 13px; top: 9px; gap: 8px; border-radius: 18px; }
  .brand { gap: 7px; font-size: 12px; }
  .brand-logo { width: 138px; height: 44px; }
  .brand-mark { width: 25px; height: 25px; transform: scale(.86); }
  .header-cta { min-height: 42px; margin-left: auto; padding: 9px 12px; font-size: 11px; border-radius: 13px; }
  .hero { min-height: calc(100svh + 120px); }
  .pixel-office { min-height: max(960px,calc(100svh + 120px)); }
  .office-background img { object-position: center; }
  .office-tint { background: linear-gradient(180deg, rgba(6,9,35,.42), rgba(6,9,35,.12) 58%, rgba(6,9,35,.38)); }
  .hero-copy-card { width: calc(100% - 24px); padding: 25px 22px 23px; left: 12px; top: 84px; border-radius: 26px; }
  .hero h1 { font-size: clamp(30px,9.6vw,42px); line-height: 1.18; }
  .desktop-copy { display: none; }
  .mobile-copy { display: block; }
  .hero-lead { margin-top: 18px; font-size: 14px; line-height: 1.7; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-copy-card .hero-actions .button-secondary,
  .hero-copy-card .fact-row { display: none; }
  .fact-row { gap: 12px; margin-top: 20px; }
  .fact-row dt { font-size: 24px; }
  .spot-web { left: 73%; top: 76%; }
  .spot-chair { left: 84%; top: 82%; }
  .spot-talk { left: 25%; top: 48%; }
  .spot-ai { left: 51%; top: 36%; }
  .office-spot { width: 72px; height: 64px; }
  .alien-mover { --alien-x: 59%; --alien-y: 72%; width: 142px; }
  .alien-dpad { width: 66px; height: 66px; left: calc(100% + 7px); padding: 6px; border-radius: 18px; }
  .alien-mover.controls-left .alien-dpad { right: calc(100% + 7px); }
  .alien-bubble { max-width: 170px; font-size: 9px; }
  .office-controls { left: 10px; bottom: 82px; padding: 8px; gap: 7px; }
  .office-controls p { display: none; }
  .hero-scroll { display: none; }
  .wave-divider { height: 66px; }
  .wave-to-lavender { margin-top: -66px; }
  .problem-card { display: block; padding: 23px; }
  .problem-card > .pixel-icon { margin: 22px 0; }
  .diagnosis-card, .works-placeholder, .pocket-card { grid-template-columns: 1fr; gap: 32px; padding: 45px 26px; }
  .about-grid, .faq-grid { row-gap: 40px; }
  .diagnosis-orbit { width: 190px; }
  .diagnosis-orbit span { width: 96px; height: 96px; font-size: 50px; }
  .diagnosis-card h2 { font-size: clamp(30px,8.6vw,40px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 27px; }
  .service-card h3 { min-height:0; }
  .route-map { min-height: 560px; grid-template-columns: 1fr; padding: 35px 25px; }
  .route-line { width: 3px; height: auto; top: 9%; bottom: 9%; left: 50%; right: auto; }
  .route-line i { width: 100%; height: 100%; transform: translateY(-102%); }
  .route-map.is-visible .route-line i { transform: translateY(0); }
  .route-node { display: grid; grid-template-columns: 75px 1fr; grid-template-rows: auto auto; align-items: center; text-align: left; }
  .route-node span { grid-row: 1/3; margin: 0; }
  .route-node b { margin: 0; }
  .route-node small { align-self: start; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .portfolio-galaxy { margin-top: 34px; padding: 42px 16px 26px; border-radius: 28px; }
  .portfolio-earth { width: 180px; border-width: 6px; }
  .earth-label strong { font-size: 16px; }
  .portfolio-orbit { margin-top: 38px; gap: 9px; }
  .portfolio-galaxy.is-open .portfolio-orbit { max-height: 850px; }
  .portfolio-item { min-height: 158px; padding: 9px; grid-template-columns: 1fr; grid-template-rows: 83px auto; gap: 8px; border-radius: 18px; }
  .portfolio-preview { height: 83px; }
  .portfolio-item small { font-size: 7px; }
  .portfolio-item strong { margin-top: 2px; font-size: 14px; }
  .portfolio-item em { margin-top: 3px; }
  .portfolio-instruction { font-size: 11px; }
  .profile-frame { width: 83%; margin-bottom: 45px; }
  .profile-star { right: -12px; }
  .strength-list li { grid-template-columns: 78px 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .process-list li:last-child { border-bottom: 0; }
  .process-list h3 { margin-top: 28px; }
  .uword-badge { min-width: 0; grid-template-columns: 46px 1fr auto; }
  .uword-coin { width: 46px; height: 46px; }
  .quote-strip { padding: 21px; grid-template-columns: 1fr auto; gap: 14px; }
  .quote-strip .button { grid-column: 1 / -1; width: 100%; }
  .quote-strip strong { font-size: 18px; }
  .quote-strip > b { font-size: 26px; }
  .table-heading { padding: 25px 22px 18px; }
  .table-heading h3 { font-size: 23px; }
  .price-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table { table-layout: auto; }
  .price-table tbody tr { padding: 19px 21px; border-top: 1px solid var(--line); }
  .price-table tbody tr:nth-child(even) { background: #fcfbff; }
  .price-table tbody th { padding: 0 0 12px; border: 0; font-size: 14px; }
  .price-table td { padding: 4px 0; display: grid; grid-template-columns: 112px 1fr; gap: 10px; border: 0; white-space: normal; font-size: 12px; }
  .price-table td::before { content: attr(data-label); color: #8588a0; font-size: 10px; font-weight: 700; }
  .price-table-footer { padding: 20px 22px 25px; flex-direction: column; gap: 17px; }
  .line-price-card { padding: 31px 22px; grid-template-columns: 1fr; gap: 24px; }
  .line-price-pixel { width: 132px; height: 132px; margin-inline: auto; }
  .line-price-card .button { width: 100%; grid-column: 1; justify-self: stretch; }
  .custom-quote { padding: 22px; align-items: stretch; flex-direction: column; }
  .custom-quote .button { width: 100%; }
  .pocket-pixel { width: 250px; }
  .pocket-card h2 { font-size: clamp(30px,8.5vw,38px); word-break: keep-all; }
  .clover { transform: scale(.72); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand .brand-logo { width: 170px; height: 64px; }
  .pixel-decoration { width: 165px; opacity: .1; }
  .pixel-decoration-problems { right: -78px; top: 80px; }
  .pixel-decoration-services { left: -82px; bottom: 55px; }
  .pixel-decoration-price { right: -78px; top: 120px; }
  .scroll-companion { width: 68px; bottom: 75px; }
  .floating-diagnosis { min-width: 50px; width: 50px; height: 50px; padding: 0; right: 12px; bottom: 12px; border-radius: 50%; }
  .floating-diagnosis span:last-child { display: none; }
  .diagnosis-nudge { right: 12px; bottom: 74px; }
  .cookie-banner { padding: 17px; grid-template-columns: 1fr; gap: 13px; bottom: 8px; border-radius: 18px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions a { grid-column: 1 / -1; text-align: center; }
  .modal { padding: 8px; }
  .modal-panel { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 25px 18px 18px; border-radius: 25px; }
  .wizard-stage { min-height: 420px; padding-top: 29px; }
  .choice-grid { grid-template-columns: 1fr; }
  .wizard-footer { grid-template-columns: auto minmax(0,1fr); column-gap: 8px; row-gap: 10px; }
  .wizard-footer p { grid-column: 1 / -1; grid-row: 1; display: block; text-align: left; }
  .wizard-back { grid-column: 1; grid-row: 2; }
  .wizard-footer .button { min-width: 0; max-width: 100%; min-height: 48px; padding-inline: 12px; grid-column: 2; grid-row: 2; justify-self: end; font-size: 13px; }
  .final-card h2 { font-size: clamp(30px,9vw,40px); }
}

@media (max-width: 350px) {
  .hero-copy-card { padding-inline: 18px; }
  .hero h1 { font-size: 29px; }
  .hero-copy-card .button { font-size: 12px; }
  .uword-badge { padding-inline: 14px; gap: 9px; }
  .uword-badge strong { font-size: 12px; }
  .table-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .route-line i { transform: none; }
  .office-background img, .office-stars { transform: none !important; }
  .constellation text { animation: none !important; stroke-dashoffset: 0; }
  .scroll-companion { display: none; }
}

/* Public journal */
.blog-body { background: var(--lavender); }
.blog-main { min-height: 70vh; padding: 150px 0 110px; }
.blog-heading { padding-bottom: 50px; }
.blog-heading h1 { max-width: 850px; margin: 0; font-family: var(--font-heading); font-size: clamp(42px,6vw,76px); line-height: 1.2; letter-spacing: -.055em; }
.blog-heading > p:last-child { max-width: 680px; margin-top: 22px; color: var(--muted); }
.blog-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.blog-card { min-height: 300px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); }
.blog-card h2 { margin: 12px 0 14px; font-family: var(--font-heading); font-size: 23px; line-height: 1.45; }
.blog-card > p:not(.blog-date) { color: var(--muted); font-size: 13px; }
.blog-card .text-link { margin-top: auto; }
.blog-date { margin: 0; color: var(--blue); font: 900 11px/1 monospace; letter-spacing: .08em; }
.blog-empty { grid-column: 1/-1; padding: 60px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-align: center; }
.blog-empty img { width: 190px; margin: 0 auto 25px; image-rendering: pixelated; }
.blog-empty h1,.blog-empty h2 { font-family: var(--font-heading); }
.article-shell { width: min(calc(100% - 40px),860px); margin-inline: auto; }
.article-heading { padding: 55px clamp(24px,6vw,70px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.article-heading h1 { margin: 14px 0 18px; font-family: var(--font-heading); font-size: clamp(34px,5.5vw,60px); line-height: 1.3; letter-spacing: -.04em; }
.article-heading > p:last-child { color: var(--muted); }
.article-content { margin-top: 24px; padding: clamp(28px,6vw,70px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.article-content h2 { margin: 2.4em 0 .8em; padding-bottom: .45em; border-bottom: 3px solid var(--yellow); font-family: var(--font-heading); font-size: 28px; }
.article-content h3 { margin: 2em 0 .7em; color: var(--blue); font-family: var(--font-heading); font-size: 22px; }
.article-content p,.article-content li { font-size: 15px; }
.article-content ul { padding-left: 1.4em; }
.article-cta { margin-top: 24px; padding: 30px; display: flex; align-items:center; justify-content:space-between; gap:20px; border: 2px solid var(--navy); border-radius: var(--radius-md); background: #fffdeb; }
.article-cta p { margin:0; font-weight:700; }
.article-back { margin-top: 30px; }
@media (max-width: 850px) { .blog-list { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .blog-main { padding: 110px 0 80px; }.blog-empty { padding: 38px 20px; }.article-shell { width: min(calc(100% - 24px),860px); }.article-heading,.article-content { border-radius: 25px; }.article-cta { align-items:stretch; flex-direction:column; }.article-cta .button { width:100%; } }

/* v8: logo-led palette and a consistent pixel UI language. */
.hero h1,
.section-title,
.diagnosis-card h2,
.pocket-card h2,
.final-card h2,
.policy-heading h1,
.blog-heading h1,
.article-heading h1 {
  font-family: var(--font-pixel);
  font-weight: 400;
  letter-spacing: .015em;
}

.accent-line {
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.site-header,
.cookie-banner,
.hero-copy-card,
.problem-card,
.service-card,
.route-map,
.process-list,
.uword-badge,
.quote-strip,
.line-price-card,
.price-table-card,
.custom-quote,
.pocket-card,
.diagnosis-nudge,
.modal-panel,
.blog-card,
.blog-empty,
.article-heading,
.article-content {
  border-width: 2px;
  border-color: var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.site-header {
  border-color: rgba(19,15,14,.2);
  background: rgba(255,255,255,.96);
  backdrop-filter: none;
}

.hero-copy-card {
  border-color: rgba(255,255,255,.98);
  background: rgba(255,255,255,.96);
  backdrop-filter: none;
  box-shadow: 9px 10px 0 rgba(51,143,201,.32), 0 25px 56px rgba(4,7,29,.3);
}
.hero-copy-card::after {
  width: 12px;
  height: 12px;
  right: 24px;
  top: 22px;
  border-radius: 0;
  background: var(--yellow);
  box-shadow: -20px 13px 0 var(--blue), -8px 30px 0 var(--mint);
}

.button,
.header-cta,
.floating-diagnosis,
.choice,
.wizard-text,
.cookie-actions .button {
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 4px 5px 0 rgba(51,143,201,.24);
}
.button:hover,
.header-cta:hover { transform: translate(-1px,-2px); box-shadow: 6px 7px 0 rgba(51,143,201,.24); }
.button:active,
.header-cta:active { transform: translate(2px,2px); box-shadow: 1px 2px 0 rgba(51,143,201,.22); }
.button-primary,
.header-cta,
.floating-diagnosis { color: #fff; background: var(--navy); }
.button-secondary,
.button-light { color: var(--navy); background: #fff; }

.pixel-decoration {
  width: clamp(150px,17vw,220px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  opacity: .34;
  filter: saturate(.72) hue-rotate(-10deg);
  transform: none;
}
.pixel-decoration-problems { right: max(16px,2vw); top: 42px; }
.pixel-decoration-services { left: max(16px,2vw); bottom: 42px; }
.pixel-decoration-price { right: max(16px,2vw); top: 52px; opacity: .3; }

.pixel-icon,
.service-pixel,
.line-price-pixel,
.pocket-pixel,
.profile-portrait img,
.nudge-alien img,
.scroll-companion img { image-rendering: pixelated; image-rendering: crisp-edges; }

.pixel-icon {
  border: 2px solid var(--navy);
  border-radius: 6px;
  box-shadow: 5px 6px 0 rgba(51,143,201,.2);
}
.service-card li,
.tax-note,
.profile-portrait-label,
.galaxy-all-link { border-radius: 5px; }

.diagnosis-card,
.portfolio-galaxy,
.profile-portrait,
.final-card,
.policy-heading {
  border: 2px solid rgba(255,255,255,.32);
  border-radius: var(--radius-lg);
  box-shadow: 10px 12px 0 rgba(51,143,201,.2), 0 26px 58px rgba(19,15,14,.14);
}
.diagnosis-card,
.about-section,
.final-card { background: var(--navy); }
.diagnosis-card::before,
.route-section::before,
.line-price-card::after { border-radius: 0; }
.diagnosis-orbit {
  border: 2px dashed var(--mint);
  border-radius: 12px;
  box-shadow: 9px 10px 0 rgba(51,143,201,.22);
}
.diagnosis-orbit span {
  border: 2px solid var(--navy);
  border-radius: 7px;
  background: #fff;
  box-shadow: 7px 8px 0 var(--yellow);
  font-family: var(--font-pixel);
  animation-timing-function: steps(5,end);
}
.diagnosis-orbit i { border-radius: 0; box-shadow: none; }

.route-map { background: #fff; }
.route-node span {
  border: 2px solid var(--navy);
  border-radius: 7px;
  box-shadow: 5px 6px 0 rgba(51,143,201,.2);
}
.route-line,
.route-line i { border-radius: 0; }

.portfolio-galaxy {
  background-color: #10283a;
  background-image:
    linear-gradient(rgba(172,203,230,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172,203,230,.045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.portfolio-galaxy::before,
.portfolio-galaxy::after { border-radius: 0; }
.portfolio-earth {
  width: 270px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(9px 12px 0 rgba(51,143,201,.2));
  transition: transform .28s steps(5,end), filter .28s steps(5,end);
}
.portfolio-earth:hover {
  transform: translate(-50%,-50%) scale(1.045);
  box-shadow: none;
  filter: drop-shadow(12px 15px 0 rgba(220,220,111,.24));
}
.portfolio-earth:active { transform: translate(-50%,-50%) scale(.98); }
.earth-pixel { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; image-rendering: crisp-edges; }
.earth-label {
  min-height: 0;
  padding: 9px 13px 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border: 2px solid var(--navy);
  border-radius: 5px;
  color: var(--navy);
  background: rgba(255,255,255,.94);
  box-shadow: 4px 5px 0 var(--yellow);
  filter: none;
  white-space: nowrap;
}
.earth-label strong { margin: 0; font-family: var(--font-pixel); font-size: 17px; font-weight: 400; }
.portfolio-item {
  border: 2px solid var(--navy);
  border-radius: 9px;
  box-shadow: 7px 8px 0 rgba(51,143,201,.26);
}
.portfolio-preview { border-radius: 5px; }
.profile-portrait { overflow: hidden; background: var(--space); }
.profile-portrait::before { display: none; }
.profile-portrait-label { border: 2px solid #fff; background: var(--navy); backdrop-filter: none; }
.profile-star { border-radius: 5px; box-shadow: 5px 6px 0 rgba(51,143,201,.35); }

.price-section { background: linear-gradient(180deg,#fff 0%,var(--lavender) 100%); }
.custom-quote,
.pocket-card { background: #fff; }
.final-card,
.policy-heading { background-image: linear-gradient(135deg,var(--navy) 0 72%,#183f58 72% 100%); }
.faq-list summary::after,
.modal-close,
.nudge-alien,
.progress-track { border-radius: 5px; }
.progress-track span { border-radius: 0; background: var(--blue); }

.alien-character {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.alien-character picture,
.alien-character img { pointer-events: none; user-select: none; -webkit-user-drag: none; }
.alien-character:active,
.alien-mover.is-dragging .alien-character { cursor: grabbing; }
.alien-character picture { transform: none; }
.alien-mover.is-facing-left .alien-character picture { transform: scaleX(-1); }
.alien-mover.is-sitting .alien-character picture { transform: scale(1.08); }
.alien-mover.is-sitting.is-facing-left .alien-character picture { transform: scale(-1.08,1.08); }
.alien-mover.is-looking-at-computer .alien-character picture { transform: scale(1.02); }
.alien-mover.is-dragging { z-index: 25; }
.alien-mover.is-positioned.is-dragging { transition: none !important; }
.alien-mover.is-dragging .alien-character { transform: translateY(-7px) scale(1.035); filter: drop-shadow(0 18px 10px rgba(4,7,28,.4)); }
.alien-dpad,
.office-controls {
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 8px;
  background: rgba(19,15,14,.84);
  box-shadow: 5px 6px 0 rgba(51,143,201,.38);
  backdrop-filter: none;
}
.alien-dpad button,
.dpad-center,
.play-toggle { border-radius: 3px; }
.click-ripple { border-radius: 0; border-color: var(--yellow); }

@media (max-width: 980px) {
  .portfolio-earth { width: 240px; }
  .portfolio-earth:hover { transform: translateX(-50%) scale(1.035); }
  .portfolio-earth:active { transform: translateX(-50%) scale(.98); }
}

@media (max-width: 720px) {
  :root { --radius-lg: 14px; --radius-md: 9px; }
  .site-header,
  .hero-copy-card,
  .portfolio-galaxy,
  .portfolio-item,
  .modal-panel,
  .article-heading,
  .article-content { border-radius: var(--radius-md); }
  .hero h1 { font-size: clamp(28px,8.8vw,38px); line-height: 1.28; }
  .section-title { font-size: clamp(30px,8.8vw,43px); line-height: 1.35; }
  .pixel-decoration {
    width: 118px;
    height: auto;
    opacity: .32;
    transform: none;
  }
  .pixel-decoration-problems { right: 10px; top: 44px; }
  .pixel-decoration-services { left: 10px; bottom: 34px; }
  .pixel-decoration-price { right: 10px; top: 58px; opacity: .27; }
  .portfolio-earth { width: 205px; }
  .earth-label strong { font-size: 14px; }
  .alien-character picture,
  .alien-mover.is-facing-left .alien-character picture { transform: none; }
  .alien-mover.is-facing-left .alien-character picture { transform: scaleX(-1); }
}

#diagnosisForm.is-complete .wizard-footer { display: none; }
.wizard-complete {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.wizard-complete > img {
  width: 112px;
  height: auto;
  margin-bottom: 4px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(6px 7px 0 rgba(51,143,201,.18));
}
.wizard-complete .question-number { color: var(--blue); font: 400 12px/1 var(--font-pixel); letter-spacing: .12em; }
.wizard-complete h3 {
  margin: 14px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(27px,5vw,40px);
  font-weight: 900;
  line-height: 1.45;
}
.wizard-complete p { margin: 0; color: var(--ink); font-weight: 700; }
.wizard-complete .complete-note { max-width: 540px; margin-top: 11px; color: var(--muted); font-size: 12px; font-weight: 500; }
.complete-actions { margin-top: 25px; display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }

@media (max-width: 720px) {
  .wizard-complete { min-height: 470px; }
  .wizard-complete > img { width: 94px; }
  .wizard-complete h3 { font-size: 27px; }
  .complete-actions { width: 100%; flex-direction: column; }
  .complete-actions .button { width: 100%; }
}
