:root {
  --pink: #da3760;
  --dark: #121212;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --scale: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--dark);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: calc(var(--frame-h, 7251px) * var(--scale));
  overflow: hidden;
}

.hero-hit {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: calc(1080px * var(--scale));
  pointer-events: none;
}

.frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: var(--frame-h, 7251px);
  background: var(--dark);
  transform: scale(var(--scale));
  transform-origin: top left;
}

.robot-wrap,
.hand-wrap,
.hero,
.hero-copy,
.hero-actions,
.case,
.case-pair,
.footer-actions {
  display: contents;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(409px);
  will-change: transform;
  contain: strict;
}

.glow-a {
  width: 1287px;
  height: 1191px;
  left: 630px;
  top: 655px;
  background: rgba(217, 55, 97, 0.31);
}

.glow-b {
  width: 531px;
  height: 491px;
  left: -21px;
  top: -54px;
  background: rgba(217, 55, 97, 0.39);
}

.glow-c {
  width: 900px;
  height: 854px;
  left: 1233px;
  top: 6157px;
  background: rgba(217, 55, 97, 0.57);
}

.vec {
  position: absolute;
  pointer-events: none;
}

.vec-hero {
  width: 1146px;
  height: 962px;
  left: -9px;
  top: 0;
}

.nav {
  position: absolute;
  top: 103px;
  left: 1274px;
  display: flex;
  gap: 45px;
  z-index: 5;
}

.nav a {
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  color: #fff;
  transition: opacity 0.35s var(--ease);
}

.nav a:hover {
  opacity: 0.7;
}

.nav a.is-active {
  text-decoration: none;
}

.hero-title {
  position: absolute;
  width: 1348px;
  height: 408px;
  left: calc(50% - 1348px / 2 - 228px);
  top: 210px;
  font-weight: 600;
  font-size: 334.668px;
  line-height: 408px;
  color: #fff;
  z-index: 2;
}

.hero-text {
  position: absolute;
  width: 832px;
  height: 136px;
  left: 86px;
  top: 618px;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  color: #fff;
  z-index: 3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: inherit;
  font-weight: 500;
  font-size: 28px;
  line-height: 34px;
  color: #fff;
  cursor: pointer;
  border: 0;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease), background 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-fill {
  background: var(--pink);
}

.btn-line {
  background: transparent;
  border: 3px solid #fff;
}

.hero-cta {
  position: absolute;
  width: 307px;
  height: 85px;
  left: 86px;
  top: 816px;
  z-index: 4;
}

.hero-works {
  position: absolute;
  width: 237px;
  height: 85px;
  left: 438px;
  top: 816px;
  z-index: 4;
}

.robot {
  position: absolute;
  width: 918.33px;
  height: 1147.5px;
  left: 1149.67px;
  top: 189.75px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0px 4.00945px 80.8906px rgba(0, 0, 0, 0.9));
  transform: scaleX(-1);
  z-index: 3;
  animation: floaty 8s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: scaleX(-1) translateY(0);
  }
  50% {
    transform: scaleX(-1) translateY(-12px);
  }
}

.brand-row {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  z-index: 4;
}

.brand-line {
  height: 1px;
  background: #fff;
  flex: 1;
}

.hero-brand {
  left: 31px;
  top: 945px;
  width: 1886px;
}

.hero-brand span:nth-child(2) {
  width: 143px;
  text-align: center;
}

.works {
  position: absolute;
  width: 1920px;
  height: 5087px;
  left: 0;
  top: 1080px;
  background: #fff;
  color: #000;
  overflow: hidden;
  z-index: 3;
}

.vec-works {
  width: 1146px;
  height: 732px;
  left: 714px;
  top: 52px;
  transform: scaleX(-1);
}

.kicker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
}

.kicker i {
  display: block;
  width: 84px;
  height: 4px;
  background: var(--pink);
  border-radius: 2px;
}

.kicker-dark {
  left: 149px;
  top: 140px;
  color: #000;
}

.kicker-light {
  left: 149px;
  top: 134px;
  color: #fff;
}

.works-title {
  position: absolute;
  width: 842px;
  left: 149px;
  top: 224px;
  font-weight: 700;
  font-size: 117.775px;
  line-height: 145px;
  color: #000;
}

.rule {
  position: absolute;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.43);
}

.rule-full {
  width: 1824px;
}

.rule-half {
  width: 867px;
}

.r01 {
  left: 48px;
  top: 833px;
}
.r02l {
  left: 97px;
  top: 2246px;
}
.r02r {
  left: 1056px;
  top: 2246px;
}
.r04 {
  left: 49px;
  top: 3678px;
}

.num {
  position: absolute;
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  color: #000;
}

.n01 {
  left: 58px;
  top: 870px;
}
.n02 {
  left: 58px;
  top: 2271px;
}
.n03 {
  left: 1006px;
  top: 2271px;
}
.n04 {
  left: 58px;
  top: 3715px;
}

.shot {
  position: absolute;
  overflow: hidden;
  background: #000;
  transition: transform 0.5s var(--ease);
}

.shot:hover {
  transform: translateY(-4px);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-1 {
  width: 1799px;
  height: 1030.9px;
  left: 61px;
  top: 917.55px;
  background: #d9d9d9;
}

.shot-2 {
  width: 854px;
  height: 1024px;
  left: 61px;
  top: 2331px;
}

.shot-3 {
  width: 854px;
  height: 1024px;
  left: 1006px;
  top: 2331px;
}

.shot-4 {
  width: 1799px;
  height: 1024px;
  left: 61px;
  top: 3773px;
}

.meta {
  position: absolute;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.meta h3 {
  font-weight: 600;
  font-size: 43.6471px;
  line-height: 53px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 28px/34px "Montserrat", sans-serif;
  color: var(--pink);
  cursor: pointer;
}

.case-link.is-open .mini-arrow {
  transform: rotate(135deg);
  margin-top: 6px;
}

.case-panel {
  position: absolute;
  left: 61px;
  width: 1799px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease);
}

.case-panel.is-open {
  max-height: 360px;
  opacity: 1;
  pointer-events: auto;
}

.case-panel h4 {
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  margin-bottom: 10px;
}

.case-panel p {
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
  color: #2a2a2a;
}

.panel-1 {
  top: 2096px;
}

.panel-2,
.panel-3 {
  top: 3510px;
  width: 854px;
  grid-template-columns: 1fr;
  gap: 20px;
}

.panel-2 {
  left: 61px;
}

.panel-3 {
  left: 1006px;
}

.panel-4 {
  top: 4950px;
}

.mini-arrow {
  width: 11.5px;
  height: 16.5px;
  border-top: 1.5px solid var(--pink);
  border-right: 1.5px solid var(--pink);
  transform: rotate(45deg);
  margin-top: 2px;
}

.meta .btn {
  width: 307px;
  height: 85px;
}

.meta-1 {
  left: 61px;
  top: 1966px;
  width: 1799px;
}

.meta-2 {
  left: 61px;
  top: 3381px;
  width: 854px;
}

.meta-3 {
  left: 1006px;
  top: 3381px;
  width: 854px;
}

.meta-4 {
  left: 61px;
  top: 4816px;
  width: 1799px;
}

.footer {
  position: absolute;
  left: 0;
  top: 6167px;
  width: 1920px;
  height: 1084px;
  overflow: hidden;
}

.footer .glow-c {
  left: 1233px;
  top: -10px;
}

.hand {
  position: absolute;
  width: 1060px;
  height: 1060px;
  left: 980px;
  top: -20px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: lighten;
  pointer-events: none;
  animation: floathand 10s ease-in-out infinite;
}

@keyframes floathand {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }
  50% {
    transform: translateY(-14px) rotate(10deg);
  }
}

.footer-title {
  position: absolute;
  width: 1059px;
  left: 149px;
  top: 218px;
  font-weight: 700;
  font-size: 117.775px;
  line-height: 145px;
  color: #fff;
  z-index: 2;
}

.footer-title span {
  color: var(--pink);
}

.mail-btn {
  position: absolute;
  width: 509px;
  height: 85px;
  left: 149px;
  top: 586px;
  z-index: 2;
}

.tg-btn {
  position: absolute;
  width: 379px;
  height: 85px;
  left: 703px;
  top: 586px;
  z-index: 2;
}

.btn-arrow {
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
}

.footer-brand {
  left: 17px;
  top: 972px;
  width: 1886px;
}

.modal[hidden],
.toast[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(520px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 36px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: rise 0.45s var(--ease);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.modal-card p:first-of-type {
  color: var(--pink);
  letter-spacing: 0.08em;
  font-size: 14px;
}

.modal-card h2 {
  margin: 10px 0 18px;
  font-size: 32px;
}

.modal-card form {
  display: grid;
  gap: 10px;
}

.modal-card input,
.modal-card textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1b1b1b;
  color: #fff;
  font: 16px/1.4 "Montserrat", sans-serif;
}

.modal-card .btn {
  height: 56px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

@media (min-width: 701px) {
  .modal-card .btn {
    height: calc(85px * var(--scale));
    font-size: calc(28px * var(--scale));
    line-height: calc(34px * var(--scale));
  }
}

.modal-alt {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.modal-alt a {
  text-decoration: underline;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 12px 18px;
  background: #111;
  z-index: 50;
}

.inner-page {
  min-height: 100vh;
  background: #121212;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.inner-top,
.case-hero,
.shop-wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.inner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.case-hero {
  padding-bottom: 80px;
}

.case-hero h1,
.featured-title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  margin: 16px 0;
}

.case-cover {
  height: 420px;
  background: #000;
  margin: 24px 0 32px;
  overflow: hidden;
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.case-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-top: 12px;
}

.brand-mark {
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Phone: stacked fluid layout —— */
@media (max-width: 700px) {
  .stage {
    height: auto;
    overflow: visible;
  }

  .hero-hit {
    position: relative;
    width: 0;
    height: 0;
  }

  .frame {
    position: relative;
    width: 100%;
    height: auto;
    transform: none;
    overflow: hidden;
  }

  .robot-wrap,
  .hand-wrap,
  .hero,
  .hero-copy,
  .hero-actions,
  .case,
  .case-pair,
  .footer-actions {
    display: block;
  }

  .glow {
    filter: blur(80px);
  }

  .glow-a {
    width: 70vw;
    height: 50vw;
    left: 40%;
    top: 30vh;
  }

  .glow-b {
    width: 45vw;
    height: 35vw;
    left: -10%;
    top: -5%;
  }

  .glow-c {
    width: 70vw;
    height: 70vw;
    left: auto;
    right: -20%;
    top: 10%;
  }

  .vec {
    display: none;
  }

  .hero {
    position: relative;
    min-height: 100svh;
    padding: 20px 20px 40px;
    display: flex;
    flex-direction: column;
    z-index: 2;
  }

  .nav {
    position: relative;
    left: auto;
    top: auto;
    justify-content: center;
    gap: clamp(20px, 6vw, 36px);
    padding: 8px 0 12px;
    order: 1;
  }

  .nav a {
    font-size: 15px;
    line-height: 1.3;
  }

  .robot-wrap {
    position: relative;
    order: 2;
    width: min(78vw, 340px);
    margin: 8px auto -28px;
    z-index: 1;
    pointer-events: none;
  }

  .robot {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.55));
    animation: floaty-m 8s ease-in-out infinite;
    -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
    mask-image: linear-gradient(#000 70%, transparent 100%);
  }

  @keyframes floaty-m {
    0%,
    100% {
      transform: scaleX(-1) translateY(0);
    }
    50% {
      transform: scaleX(-1) translateY(-8px);
    }
  }

  .hero-copy {
    position: relative;
    z-index: 3;
    order: 3;
    margin-top: 0;
    max-width: 560px;
  }

  .hero-brand {
    order: 4;
  }

  .hero-title {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    font-size: clamp(56px, 18vw, 110px);
    line-height: 0.88;
    letter-spacing: -0.04em;
  }

  .hero-text {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
    max-width: 36ch;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-cta,
  .hero-works {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    min-width: 148px;
    height: 48px;
    padding: 0 18px;
    font-size: 15px;
    line-height: 1;
  }

  .hero-works {
    border-width: 2px;
  }

  .brand-row {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 36px;
    font-size: 13px;
    gap: 12px;
  }

  .hero-brand span:nth-child(2) {
    width: auto;
  }

  .works {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto !important;
    padding: 48px 20px 64px;
    overflow: visible;
  }

  .kicker {
    position: relative;
    left: auto;
    top: auto;
    font-size: 13px;
    gap: 12px;
  }

  .kicker i {
    width: 48px;
    height: 3px;
  }

  .works-title {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: 18px 0 36px;
    font-size: clamp(36px, 10vw, 64px);
    line-height: 1.05;
  }

  .rule {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 0 12px;
  }

  .num {
    position: relative;
    left: auto !important;
    top: auto !important;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .case {
    margin-bottom: 42px;
  }

  .shot {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    display: block;
  }

  .shot-2,
  .shot-3,
  .shot-4 {
    aspect-ratio: 3 / 4;
    min-height: 220px;
  }

  .meta {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 14px;
  }

  .meta h3 {
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.2;
  }

  .case-link {
    font-size: 15px;
    line-height: 1.3;
  }

  .meta .btn {
    width: 100%;
    max-width: 280px;
    height: 48px;
    font-size: 15px;
  }

  .case-panel {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
  }

  .case-panel.is-open {
    margin-top: 16px;
    max-height: 800px;
  }

  .case-panel h4 {
    font-size: 16px;
  }

  .case-panel p {
    font-size: 14px;
    line-height: 1.5;
  }

  .case-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer {
    position: relative;
    left: auto;
    top: auto !important;
    width: 100%;
    height: auto;
    padding: 56px 20px 28px;
    overflow: hidden;
  }

  .hand-wrap {
    position: absolute;
    right: -18%;
    bottom: 40px;
    width: min(78vw, 360px);
    z-index: 0;
    pointer-events: none;
  }

  .hand {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    animation: floathand-m 10s ease-in-out infinite;
  }

  @keyframes floathand-m {
    0%,
    100% {
      transform: translateY(0) rotate(6deg);
    }
    50% {
      transform: translateY(-10px) rotate(9deg);
    }
  }

  .kicker-light {
    position: relative;
    z-index: 2;
  }

  .footer-title {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: 18px 0 28px;
    font-size: clamp(34px, 10vw, 56px);
    line-height: 1.08;
    max-width: 14ch;
  }

  .footer-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
  }

  .mail-btn,
  .tg-btn {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 52px;
    font-size: 14px;
    padding: 0 14px;
  }

  .footer-brand {
    margin-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .robot,
  .hand {
    animation: none !important;
  }
}
