/* Clean technology landing-page refresh. */
html { overflow-x: clip; }
body { overflow-x: clip; }

.hero {
  grid-template-columns: minmax(0,1.04fr) minmax(420px,.96fr);
  gap: clamp(32px,5vw,76px);
  min-height: min(760px,calc(100svh - 82px));
}
.hero-copy { max-width: 690px; }
.hero h1 { font-size: clamp(54px,5.7vw,82px); }
.hero-visual {
  left: 0;
  width: 100%;
  max-width: 610px;
  justify-self: end;
  aspect-ratio: 1.08;
}
.hero-visual::before { display: none; }

.brand-hero { position: relative; isolation: isolate; }
.brand-hero-glow {
  position: absolute;
  inset: 9%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle,#1678f266 0,#0c4e9e2b 43%,transparent 72%);
  filter: blur(9px);
  animation: brand-glow 6s ease-in-out infinite;
}
.brand-mascot-stage { inset: 5% 11% 7%; transform: none; }
.brand-hero-mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: none;
  visibility: visible !important;
  filter: drop-shadow(0 24px 24px #0208127a);
  image-rendering: auto;
  animation: brand-float 5.5s ease-in-out infinite !important;
}
.brand-hero-mascot--mirrored { animation-name: brand-float-mirrored !important; }
.brand-hero .visual-orbit { inset: 7%; }
.brand-hero .orbit-one { inset: 13% 4%; }
.brand-hero .orbit-two { inset: 5% 0; }
.brand-hero .floating-label { animation: brand-label-float 6.5s ease-in-out infinite; }
.brand-hero .label-design { animation-delay: -3.25s; }

.tech-showcase { position: relative; isolation: isolate; }
.tech-glow {
  position: absolute;
  inset: 7%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle,#1372f24d 0,transparent 67%);
  filter: blur(12px);
  animation: tech-breathe 6s ease-in-out infinite;
}
.tech-window {
  position: absolute;
  inset: 11% 4% 13% 7%;
  overflow: hidden;
  border: 1px solid #5d86b66b;
  border-radius: 20px;
  background: linear-gradient(145deg,#0d233d,#071424 76%);
  box-shadow: 0 34px 80px #0208128c, inset 0 1px #ffffff0a;
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
}
.tech-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: #0a1a2d;
}
.tech-window-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #53708f; }
.tech-window-bar > span:nth-child(2) { background: var(--blue); }
.tech-window-bar > span:nth-child(3) { background: var(--lime); }
.tech-window-bar small { margin-left: auto; color: #7e96b0; font: 8px var(--mono); letter-spacing: 1px; }
.tech-window-body { display: grid; grid-template-columns: 54px 1fr; min-height: calc(100% - 48px); }
.tech-sidebar { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 24px; border-right: 1px solid var(--line); }
.tech-sidebar i { display: block; width: 18px; height: 3px; border-radius: 5px; background: #516985; }
.tech-sidebar i:first-child { width: 25px; background: var(--lime); }
.tech-content { padding: clamp(24px,4vw,44px); }
.tech-kicker { color: var(--lime); font: 9px var(--mono); letter-spacing: 1.7px; }
.tech-heading { display: grid; gap: 11px; margin: 20px 0 36px; }
.tech-heading span { display: block; width: 88%; height: 16px; border-radius: 12px; background: linear-gradient(90deg,#e9f2fc,#90a5bc); }
.tech-heading span:last-child { width: 58%; background: linear-gradient(90deg,var(--lime),#73c815); }
.tech-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tech-metrics > div { min-height: 92px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff05; }
.tech-metrics strong { display: block; font-size: 16px; color: var(--ink); }
.tech-metrics small { display: block; margin-top: 10px; color: #7f96af; font: 7px var(--mono); letter-spacing: .8px; }
.tech-chart { display: flex; align-items: end; gap: 8px; height: 85px; margin-top: 23px; padding: 13px 16px 0; border-top: 1px solid var(--line); }
.tech-chart i { flex: 1; height: 34%; border-radius: 5px 5px 0 0; background: #176bd2; transform-origin: bottom; animation: chart-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.tech-chart i:nth-child(2) { height: 55%; animation-delay: .08s; }
.tech-chart i:nth-child(3) { height: 43%; animation-delay: .16s; }
.tech-chart i:nth-child(4) { height: 72%; animation-delay: .24s; }
.tech-chart i:nth-child(5) { height: 61%; animation-delay: .32s; }
.tech-chart i:nth-child(6) { height: 93%; background: var(--lime); animation-delay: .4s; }
.tech-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 17px;
  border: 1px solid #5f83aa75;
  border-radius: 12px;
  background: #091a2de8;
  box-shadow: 0 18px 42px #02081280;
  backdrop-filter: blur(12px);
  animation: card-float 6s ease-in-out infinite;
}
.tech-card > span { color: var(--lime); font: 700 22px var(--mono); }
.tech-card strong { display: block; font-size: 13px; }
.tech-card small { display: block; margin-top: 5px; color: #8fa4ba; font: 7px var(--mono); letter-spacing: .8px; }
.tech-card-code { top: 4%; left: 1%; }
.tech-card-design { right: 0; bottom: 5%; animation-delay: -3s; }

.chapter-floor,.contact-arrival,.mascot-traveler,.mascot-video { display: none !important; }
.offer-stage { margin-top: 64px; }
.work-section .section-heading,.process-section .section-heading { margin-bottom: 58px; }
.work-grid { padding: 0; }
.work-row + .work-row { margin-top: 34px; }
.process-grid { margin-top: 0; }
.contact-section { padding-top: 100px; }
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(310px,.88fr);
  align-items: center;
  gap: clamp(28px,5vw,82px);
}
.contact-inner { min-width: 0; }
.contact-mascot {
  position: relative;
  align-self: end;
  width: min(100%,470px);
  margin: 0 auto -35px;
  isolation: isolate;
}
.contact-mascot::before {
  content: '';
  position: absolute;
  inset: 12% 5% 7%;
  z-index: -1;
  border: 1px solid #17390c24;
  border-radius: 50%;
  box-shadow: 0 0 0 38px #17390c0a,0 0 0 76px #17390c08;
}
.contact-mascot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 24px #17390c38); }
.contact-mascot-note {
  position: absolute;
  top: 12%;
  right: -1%;
  z-index: 2;
  padding: 10px 14px;
  color: var(--lime);
  background: var(--bg);
  border-radius: 30px;
  box-shadow: 0 14px 35px #17390c30;
  font: 8px var(--mono);
  letter-spacing: 1.1px;
}

.work-image,.solution-preview,.service-detail,.process-grid li { transition: border-color .25s ease,transform .25s ease,box-shadow .25s ease; }
.work-image:hover,.solution-preview:hover { transform: translateY(-4px); border-color: #a3f52b8a; box-shadow: 0 20px 50px #0208126e; }

@keyframes tech-breathe { 50% { opacity: .68; transform: scale(.96); } }
@keyframes chart-rise { from { transform: scaleY(0); opacity: .2; } }
@keyframes card-float { 50% { transform: translateY(-7px); } }
@keyframes brand-glow { 50% { opacity: .7; transform: scale(.96); } }
@keyframes brand-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-11px) rotate(1deg); } }
@keyframes brand-float-mirrored { 0%,100% { transform: translateY(0) rotate(1deg) scaleX(-1); } 50% { transform: translateY(-11px) rotate(-1deg) scaleX(-1); } }
@keyframes brand-label-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 28px; min-height: auto; padding-top: 58px; padding-bottom: 108px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: 58px; }
  .hero-visual { width: min(100%,580px); margin: 8px auto 0; justify-self: center; }
  .contact-layout { grid-template-columns: minmax(0,1fr) minmax(260px,.65fr); gap: 22px; }
  .contact-mascot-note { right: 0; }
  .tech-content { padding: 26px; }
  .tech-metrics strong { font-size: 13px; }
  .tech-card { padding: 11px 13px; }
  .tech-card strong { font-size: 11px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 78px; }
  .container { width: calc(100% - 32px); }
  .site-header { background: #071426f5; backdrop-filter: blur(14px); }
  .nav-shell { min-height: 68px; }
  .brand-name { font-size: 18px; }
  .brand img { width: 33px; height: 33px; }
  .nav-cta { min-height: 38px; padding: 7px 10px; }
  .mobile-nav { padding: 9px 16px 18px; box-shadow: 0 18px 35px #020812a6; }
  .mobile-nav a { min-height: 49px; font-size: 14px; }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 62px;
  }
  .eyebrow { margin-bottom: 20px; font-size: 9px; letter-spacing: 1.1px; }
  .hero h1 { font-size: clamp(39px,11.1vw,52px); line-height: 1.06; letter-spacing: -2.6px; }
  .hero-description { margin-top: 22px; font-size: 15px; line-height: 1.7; }
  .hero-actions { align-items: stretch; gap: 13px; margin-top: 28px; }
  .hero-actions .button { width: 100%; min-height: 54px; padding-left: 20px; }
  .hero-actions .text-link { justify-content: center; }
  .hero-visual { width: 100%; max-width: 430px; aspect-ratio: 1.02; margin: 35px auto 0; }
  .brand-mascot-stage { inset: 3% 10% 7%; }
  .brand-hero .label-tech { top: 7%; left: 0; }
  .brand-hero .label-design { right: 0; bottom: 14%; }
  .tech-window { inset: 8% 2% 14%; border-radius: 15px; transform: none; }
  .tech-window-bar { height: 40px; padding: 0 13px; }
  .tech-window-body { grid-template-columns: 40px 1fr; min-height: calc(100% - 40px); }
  .tech-sidebar { gap: 14px; padding-top: 20px; }
  .tech-sidebar i { width: 14px; }
  .tech-sidebar i:first-child { width: 20px; }
  .tech-content { padding: 22px 18px; }
  .tech-heading { gap: 8px; margin: 15px 0 20px; }
  .tech-heading span { height: 11px; }
  .tech-metrics { gap: 8px; }
  .tech-metrics > div { min-height: 73px; padding: 12px; }
  .tech-metrics strong { font-size: 12px; }
  .tech-metrics small { margin-top: 7px; font-size: 6px; }
  .tech-chart { height: 60px; margin-top: 15px; padding-inline: 9px; }
  .tech-card { padding: 10px 12px; border-radius: 10px; }
  .tech-card > span { font-size: 17px; }
  .tech-card strong { font-size: 10px; }
  .tech-card small { font-size: 6px; }
  .tech-card-code { top: 0; left: 0; }
  .tech-card-design { right: 0; bottom: 1%; }
  .hero-bottom { position: static; width: 100%; margin-top: 28px; padding-top: 17px; font-size: 8px; }
  .hero-bottom > a { font-size: 7px; }

  .marquee { padding-block: 13px; }
  .marquee-track > div { gap: 24px; padding-right: 24px; font-size: 11px; }
  .section-space { padding-block: 72px; }
  .offer-title-row h2,.section-heading h2 { font-size: clamp(38px,10.5vw,50px); line-height: 1.08; letter-spacing: -2px; }
  .offer-stage { margin-top: 42px; }
  .offer-layout { gap: 44px; }
  .offer-layout .service-list { order: 1; }
  .solution-concept { order: 2; }
  .service-detail { padding-block: 21px; }
  .service-detail summary { align-items: start; }
  .service-detail h3 { font-size: 18px; }
  .detail-content { padding-left: 0; }
  .service-delivery { margin-left: 0; }
  .solution-preview { border-radius: 12px; }
  .preview-content { min-height: 220px; }

  .work-section .section-heading,.process-section .section-heading { margin-bottom: 40px; }
  .section-heading { display: block; }
  .section-intro { margin-top: 22px; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-card + .work-card { margin-top: 0; }
  .work-row + .work-row { margin-top: 36px; }
  .work-image { aspect-ratio: 1 / 1; }
  .work-image--portrait { aspect-ratio: 4 / 5; }
  .work-caption { padding: 15px 2px 4px; }
  .instagram-link { margin-top: 38px; }

  .process-grid { grid-template-columns: 1fr; gap: 13px; }
  .process-grid li {
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff04;
  }
  .process-grid li::before { display: none; }
  .step-number { margin-bottom: 14px; color: var(--lime); }
  .process-grid h3 { font-size: 18px; }
  .process-grid p { font-size: 14px; line-height: 1.65; }

  .contact-section { padding: 76px 0 38px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-inner h2 { font-size: clamp(52px,14vw,72px); line-height: 1; letter-spacing: -3.5px; }
  .contact-inner .button { width: 100%; }
  .contact-details { display: grid; gap: 22px; margin-top: 55px; }
  .contact-details strong { font-size: 15px; }
  .contact-mascot { width: min(88%,340px); margin: 0 auto -25px; }
  .contact-mascot-note { top: 10%; right: -6%; }
  .site-footer { align-items: flex-start; padding-block: 34px; }
  .site-footer > p { text-align: right; }
}

@media (max-width: 430px) {
  .nav-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero h1 br { display: none; }
  .hero h1 span { white-space: normal; }
  .tech-card-design { right: -4px; }
  .contact-inner h2 br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-glow,.tech-card,.tech-chart i,.brand-hero-glow,.brand-hero-mascot,.brand-hero .floating-label { animation: none !important; }
  .work-image,.solution-preview,.service-detail,.process-grid li { transition: none; }
}
