:root {
  --ink: #111315;
  --muted: #5f6875;
  --line: rgba(16, 24, 40, 0.1);
  --panel: rgba(255, 255, 255, 0.82);
  --paper: #f9faf7;
  --blue: #1f6fff;
  --red: #7c5cff;
  --yellow: #c8a33a;
  --green: #00a884;
  --cyan: #00b8d9;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
  --f-hero: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  --f-display: var(--f-hero);
  --f-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: clip;
  font-feature-settings: "palt" 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green), var(--red), var(--yellow));
  transition: width 0.05s linear;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 25;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(31, 111, 255, 0.2), rgba(0, 184, 217, 0.14) 31%, rgba(124, 92, 255, 0.12) 47%, transparent 70%);
  filter: blur(4px);
  mix-blend-mode: multiply;
  opacity: 0.9;
  will-change: transform;
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  width: min(1160px, calc(100% - 28px));
  min-height: 58px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 50px rgba(20, 22, 28, 0.14);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(17, 19, 21, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 60px rgba(20, 22, 28, 0.18);
}

.brand,
.nav-links,
.language-toggle,
.header-cta,
.hero-actions,
.social-header,
.process-list li,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff url("assets/images/curio-icon.png") center / 168% no-repeat;
  box-shadow: 0 0 0 1px rgba(17, 19, 21, 0.08);
}

.nav-links {
  justify-content: center;
  gap: 22px;
  color: rgba(17, 19, 21, 0.7);
  font-size: 13px;
  font-weight: 650;
}

.language-toggle {
  justify-content: center;
  min-height: 36px;
  padding: 3px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.language-toggle button {
  min-width: 36px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 19, 21, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-toggle button:hover,
.language-toggle button:focus-visible {
  color: var(--ink);
}

.language-toggle button:focus-visible {
  outline: 2px solid rgba(31, 111, 255, 0.48);
  outline-offset: 2px;
}

.language-toggle button.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17, 19, 21, 0.14);
}

.header-cta,
.primary-button,
.secondary-link {
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}

.header-cta {
  justify-content: center;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
}

.header-cta,
.primary-button {
  position: relative;
  overflow: hidden;
}

.header-cta::after,
.primary-button::after {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-cta:hover::after,
.primary-button:hover::after {
  left: 130%;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  padding: 116px 0 58px;
  isolation: isolate;
}

.fluid-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #f8faf7;
  filter: saturate(1.18) contrast(1.05);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(249, 250, 247, 0.82) 0%, rgba(249, 250, 247, 0.54) 42%, rgba(249, 250, 247, 0.16) 100%),
    radial-gradient(circle at 76% 34%, rgba(255, 255, 255, 0.3), transparent 36%),
    radial-gradient(circle at 70% 68%, rgba(0, 184, 217, 0.12), transparent 32%),
    linear-gradient(180deg, transparent 72%, var(--paper) 100%);
}

.hero-shell,
.section,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 32px;
  min-height: calc(92svh - 174px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: 18px;
}

.eyebrow,
.section-kicker,
.plan-label {
  margin: 0 0 16px;
  color: rgba(17, 19, 21, 0.66);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(17, 19, 21, 0.52);
}

.section-kicker::before {
  display: inline-block;
  width: 24px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-kicker span {
  color: var(--blue);
}

.hero h1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  margin: 0;
  max-width: 620px;
  font-size: clamp(56px, 5vw, 72px);
  font-family: var(--f-hero);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline;
}

.type-title {
  min-height: 3.18em;
}

.type-prompt {
  color: var(--cyan);
  font-family: var(--f-display);
  font-size: 0.52em;
  font-weight: 850;
  line-height: 1;
  transform: translateY(-0.12em);
}

.type-text {
  display: block !important;
  background: linear-gradient(95deg, #1f6fff 0%, #00b8d9 30%, #00a884 58%, #7c5cff 82%, #c8a33a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.type-lines {
  display: block !important;
  min-width: 0;
}

.type-cursor {
  display: inline-block;
  width: 0.34em;
  height: 0.9em;
  margin-left: 0.16em;
  border-radius: 0;
  background: var(--cyan);
  vertical-align: -0.08em;
  box-shadow: 0 0 26px rgba(0, 184, 217, 0.34);
  animation: cursor-blink 0.82s steps(2, start) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 610px;
  color: rgba(17, 19, 21, 0.72);
  font-size: 18px;
  font-weight: 600;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 520px;
  margin-top: 28px;
  border-top: 1px solid rgba(17, 19, 21, 0.13);
  border-bottom: 1px solid rgba(17, 19, 21, 0.13);
}

.hero-proof div {
  min-height: 78px;
  padding: 14px 12px 12px;
  border-left: 1px solid rgba(17, 19, 21, 0.13);
}

.hero-proof div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-proof strong {
  display: block;
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(17, 19, 21, 0.55);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(17, 19, 21, 0.2);
}

.primary-button.light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: rgba(17, 19, 21, 0.72);
}

.cta-note {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgba(17, 19, 21, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.hero-showcase {
  position: relative;
  z-index: 2;
  min-height: 650px;
}

.hero-image-card {
  position: absolute;
  margin: 0;
  filter: drop-shadow(0 30px 50px rgba(17, 19, 21, 0.24));
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
}

.hero-image-card:hover {
  filter: drop-shadow(0 36px 64px rgba(17, 19, 21, 0.3));
}

.hero-image-card img {
  width: 100%;
  height: auto;
}

.hero-laptop-card {
  top: 64px;
  right: -58px;
  width: 690px;
  transform: rotate(1deg);
}

.hero-laptop-card:hover {
  transform: rotate(0deg) translateY(-8px);
}

.hero-phone-card {
  right: 372px;
  bottom: 18px;
  width: 236px;
  transform: rotate(-5deg);
}

.hero-phone-card:hover {
  transform: rotate(-2deg) translateY(-8px);
}

.hero-video-card {
  position: absolute;
  right: 10px;
  bottom: 38px;
  width: 168px;
  height: 302px;
  box-sizing: border-box;
  padding: 5px;
  overflow: hidden;
  border: 7px solid #111318;
  border-radius: 34px;
  background: #08090b;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 28px 48px rgba(17, 19, 21, 0.24);
  transform: rotate(4deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.hero-video-card:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 34px 62px rgba(17, 19, 21, 0.3);
  transform: rotate(2deg) translateY(-8px);
}

.hero-video-card::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 18px;
  content: "";
  border-radius: 999px;
  background: #050607;
  transform: translateX(-50%);
}

.hero-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  clip-path: inset(0 round 24px);
  transform: translateZ(0);
}

.hero-video-card span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111315;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.device-mockup,
.phone-mockup {
  position: absolute;
  filter: drop-shadow(0 28px 44px rgba(17, 19, 21, 0.24));
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
}

.device-mockup:hover,
.phone-mockup:hover {
  filter: drop-shadow(0 34px 58px rgba(17, 19, 21, 0.3));
}

.laptop-mockup {
  top: 60px;
  right: 0;
  width: 628px;
  transform: rotate(1.5deg);
}

.laptop-mockup:hover {
  transform: rotate(0.5deg) translateY(-8px);
}

.laptop-screen {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 9px solid #17191d;
  border-radius: 22px 22px 14px 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 18%),
    #15171b;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 -18px 38px rgba(0, 0, 0, 0.22);
}

.laptop-screen::before {
  position: absolute;
  top: 5px;
  left: 50%;
  z-index: 3;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: #050607;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.laptop-screen::after {
  position: absolute;
  inset: 9px;
  z-index: 2;
  pointer-events: none;
  content: "";
  border-radius: 12px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.2) 0 12%, transparent 12% 56%, rgba(255, 255, 255, 0.08) 56% 66%, transparent 66%);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.browser-bar {
  display: flex;
  gap: 6px;
  height: 22px;
  align-items: center;
  padding: 0 10px;
  background: #f5f3ef;
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8babf;
}

.tour-lp-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101214;
}

.tour-lp-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-lp-preview::after,
.social-creative::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 68%);
}

.tour-lp-content {
  position: absolute;
  bottom: 38px;
  left: 38px;
  z-index: 1;
  max-width: 310px;
  color: #fff;
}

.tour-lp-content p,
.sushi-copy p,
.video-caption span {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.tour-lp-content h2 {
  margin: 10px 0 18px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.tour-lp-content span,
.sushi-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  color: #121416;
  font-size: 12px;
  font-weight: 900;
}

.laptop-base {
  position: relative;
  width: 76%;
  height: 20px;
  margin: 0 auto;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #f0f1f3 0%, #c8cbd0 42%, #7f838a 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), 0 16px 26px rgba(17, 19, 21, 0.18);
}

.laptop-base::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 88px;
  height: 7px;
  content: "";
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, rgba(140, 144, 151, 0.55), rgba(255, 255, 255, 0.12));
  transform: translateX(-50%);
}

.laptop-base::after {
  position: absolute;
  right: -9%;
  bottom: -5px;
  left: -9%;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(45, 49, 58, 0.28), transparent);
  filter: blur(5px);
}

.phone-mockup {
  position: absolute;
  overflow: hidden;
  width: 210px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.05) 21%, rgba(0, 0, 0, 0.32)),
    #15171d;
  box-shadow:
    inset 0 0 0 3px #111318,
    inset 0 0 0 7px #23262d,
    0 28px 58px rgba(17, 19, 21, 0.26);
}

.phone-mockup::before {
  position: absolute;
  inset: 7px;
  z-index: 5;
  pointer-events: none;
  content: "";
  border-radius: 30px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.3) 0 10%, transparent 10% 58%, rgba(255, 255, 255, 0.11) 58% 70%, transparent 70%);
  opacity: 0.48;
}

.phone-mockup::after {
  position: absolute;
  top: 94px;
  right: -3px;
  width: 3px;
  height: 56px;
  content: "";
  border-radius: 0 999px 999px 0;
  background: #101216;
}

.phone-top {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 7;
  width: 72px;
  height: 20px;
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.social-phone {
  right: 386px;
  bottom: 70px;
  height: 430px;
  transform: rotate(-7deg);
}

.social-phone:hover {
  transform: rotate(-4deg) translateY(-8px);
}

.video-phone {
  right: 42px;
  bottom: 6px;
  height: 470px;
  background: #090a0b;
  transform: rotate(5deg);
}

.video-phone:hover {
  transform: rotate(3deg) translateY(-8px);
}

.social-ui {
  height: 100%;
  overflow: hidden;
  border-radius: 29px;
  background: #fff;
  padding: 34px 12px 12px;
}

.social-header {
  gap: 9px;
  height: 42px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.social-header strong,
.social-header small {
  display: block;
  line-height: 1.2;
}

.social-header strong {
  font-size: 11px;
}

.social-header small {
  color: var(--muted);
  font-size: 9px;
}

.social-creative {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #111;
}

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

.sushi-copy {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
}

.sushi-copy p {
  max-width: 140px;
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}

.social-icons {
  display: flex;
  gap: 9px;
  padding-top: 11px;
}

.social-icons span {
  width: 18px;
  height: 18px;
  border: 2px solid #111;
  border-radius: 50%;
}

.video-phone video {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 29px;
  object-fit: cover;
}

.video-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
}

.video-caption span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  backdrop-filter: blur(8px);
}

.format-reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 10px;
}

.reel-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(17, 19, 21, 0.08);
  backdrop-filter: blur(14px);
}

.reel-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 16px;
  background: #111315;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.reel-window {
  position: relative;
  display: block;
  height: 58px;
  overflow: hidden;
}

.reel-window::before,
.reel-window::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  height: 14px;
  pointer-events: none;
  content: "";
}

.reel-window::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), transparent);
}

.reel-window::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), transparent);
}

.reel-window span {
  display: flex;
  height: 58px;
  align-items: center;
  color: rgba(17, 19, 21, 0.8);
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: reel-spin 5.6s cubic-bezier(0.75, 0, 0.25, 1) infinite;
  will-change: transform;
}

.reel-item.delay-1 .reel-window span {
  animation-delay: -1.2s;
}

.reel-item.delay-2 .reel-window span {
  animation-delay: -2.4s;
}

@keyframes reel-spin {
  0%,
  15% {
    transform: translateY(0);
  }
  27%,
  42% {
    transform: translateY(-58px);
  }
  54%,
  69% {
    transform: translateY(-116px);
  }
  81%,
  100% {
    transform: translateY(-174px);
  }
}

.section {
  padding: 92px 0;
  scroll-margin-top: 108px;
}

.case-section {
  padding-top: 60px;
  padding-bottom: 46px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 184, 217, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)),
    var(--paper);
}

.works-section {
  padding-top: 38px;
  background:
    radial-gradient(circle at 78% 18%, rgba(124, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2)),
    var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.58fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 46px;
  font-weight: 850;
  line-height: 1.17;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.works-section .section-heading {
  margin-bottom: 24px;
}

.works-section .section-heading h2 {
  font-size: 36px;
}

.case-card,
.work-card,
.service-list article,
.pricing-card,
.intro-offer,
.monthly-plans,
.monthly-card,
.notes-grid article {
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

.case-card {
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 16px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
}

.case-lp {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.64fr);
  align-items: center;
}

.case-video {
  align-content: start;
  grid-template-rows: auto 1fr;
}

.case-media {
  overflow: hidden;
  background: #0c0e10;
}

.laptop-frame {
  border: 10px solid #101216;
  border-bottom-width: 22px;
  border-radius: 16px;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(15, 23, 42, 0.08);
}

.laptop-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.phone-frame {
  position: relative;
  width: min(208px, 100%);
  margin: 0 auto;
  padding: 7px;
  border: 8px solid #101216;
  border-radius: 34px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 22px 42px rgba(17, 19, 21, 0.14);
}

.phone-frame::before {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 68px;
  height: 18px;
  content: "";
  border-radius: 999px;
  background: #050607;
  transform: translateX(-50%);
}

.phone-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 23px;
  clip-path: inset(0 round 23px);
}

.case-copy {
  align-self: center;
  padding: 8px 6px;
}

.case-copy h3 {
  margin: 14px 0 8px;
  font-size: 26px;
  line-height: 1.16;
}

.case-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.case-meta {
  margin-bottom: 12px !important;
  color: rgba(17, 19, 21, 0.88) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.case-note {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(17, 19, 21, 0.58);
  font-size: 12px;
  font-weight: 900;
  background: transparent;
  letter-spacing: 0;
}

.work-card {
  overflow: hidden;
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.42s ease, border-color 0.35s ease;
}

.work-card:hover {
  border-color: rgba(31, 111, 255, 0.22);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.09);
  transform: translateY(-8px);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-body {
  padding: 13px;
}

.work-body::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 10px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green), var(--red), var(--yellow));
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.tag.blue {
  background: var(--blue);
}

.tag.red {
  background: #6556e8;
}

.tag.yellow {
  background: #b48a18;
}

.tag.green {
  background: var(--green);
}

.work-card h3,
.service-list h3,
.notes-grid h3 {
  margin: 10px 0 6px;
  font-size: 16px;
  line-height: 1.36;
  letter-spacing: 0;
}

.work-card p,
.service-list p,
.notes-grid li,
.notes-grid p,
.publish-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.work-card p {
  margin: 0;
}

.work-card p strong {
  color: var(--ink);
}

.work-meta {
  margin-bottom: 8px !important;
  color: rgba(17, 19, 21, 0.88) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-list article {
  min-height: 210px;
  padding: 26px;
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, background 0.35s ease;
}

.service-list article:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: #fff;
  transform: translateY(-5px);
}

.service-index {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.service-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: #fff;
  color: rgba(17, 19, 21, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.pricing-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.pricing-card::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 64px;
  height: 4px;
  content: "";
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.pricing-card-featured {
  border-color: rgba(15, 23, 42, 0.92);
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 184, 217, 0.18), transparent 30%),
    radial-gradient(circle at 14% 88%, rgba(124, 92, 255, 0.2), transparent 28%),
    #111315;
  color: #fff;
  transform: translateY(-10px);
}

.pricing-card-featured::before {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green), var(--red));
}

.pricing-card h3 {
  margin: 14px 0 0;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: 0;
}

.pricing-card .price {
  margin: 18px 0 18px;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.pricing-card-featured .price,
.pricing-card-featured h3 {
  color: #fff;
}

.pricing-card ul,
.monthly-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li,
.monthly-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.48;
}

.pricing-card li::before,
.monthly-card li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
}

.pricing-card-featured li {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-card-featured li::before {
  background: var(--cyan);
}

.plan-note {
  margin: auto 0 0;
  padding-top: 18px;
  color: rgba(17, 19, 21, 0.58);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.pricing-card-featured .plan-label,
.pricing-card-featured .plan-note {
  color: rgba(255, 255, 255, 0.64);
}

.intro-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.72);
}

.intro-offer h3 {
  margin: 6px 0 6px;
  font-size: 18px;
  line-height: 1.34;
}

.intro-offer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.intro-offer strong {
  white-space: nowrap;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.countup,
.inline-count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countup.is-rolling {
  animation: number-pulse 0.18s linear infinite;
}

@keyframes number-pulse {
  50% {
    transform: translateY(-1px);
    text-shadow: 0 0 16px rgba(0, 184, 217, 0.28);
  }
}

.plan-label {
  position: relative;
  z-index: 1;
  color: #8cc8ff;
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.monthly-plans {
  margin-top: 18px;
  padding: 26px;
  background:
    radial-gradient(circle at 18% 12%, rgba(31, 111, 255, 0.12), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(0, 184, 217, 0.12), transparent 24%),
    radial-gradient(circle at 88% 76%, rgba(124, 92, 255, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.82);
}

.monthly-head {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.monthly-head h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.22;
}

.monthly-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.monthly-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.monthly-card {
  min-height: 300px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.monthly-card-featured {
  border-color: rgba(31, 111, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.monthly-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.monthly-card h4 {
  margin: 10px 0 12px;
  font-size: 18px;
  line-height: 1.4;
}

.monthly-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.notes-grid article {
  padding: 24px;
  background: #fff;
}

.notes-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 132px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 18px;
  border-top: 3px solid var(--ink);
  background: #fff;
  transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease;
}

.process-list li:hover {
  border-top-color: var(--blue);
  transform: translateY(-5px);
}

.process-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.process-list p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.publish-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.publish-options span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.publish-note {
  margin: 18px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 30px;
  padding: 42px;
  border-radius: 14px;
  background: #111315;
  color: #fff;
}

.contact-section p {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-section .section-kicker {
  color: #8cc8ff;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 46px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.site-footer address {
  max-width: 440px;
  margin: 0;
  color: rgba(17, 19, 21, 0.58);
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in > *:nth-child(1) {
  transition-delay: 0.04s;
}

.reveal-stagger.in > *:nth-child(2) {
  transition-delay: 0.11s;
}

.reveal-stagger.in > *:nth-child(3) {
  transition-delay: 0.18s;
}

.reveal-stagger.in > *:nth-child(4) {
  transition-delay: 0.25s;
}

.reveal-stagger.in > *:nth-child(5) {
  transition-delay: 0.32s;
}

.mask-title {
  display: block;
}

.mask-line {
  display: block;
  overflow: hidden;
  line-height: 1.18;
  padding: 0.03em 0.02em 0.07em;
}

.mask-inner {
  display: inline-block;
  transform: translateY(108%) skewY(5deg);
  transition: transform 1s cubic-bezier(0.2, 0.85, 0.25, 1);
  will-change: transform;
}

.mask-title.in .mask-line:nth-child(1) .mask-inner {
  transition-delay: 0.05s;
  transform: translateY(0) skewY(0);
}

.mask-title.in .mask-line:nth-child(2) .mask-inner {
  transition-delay: 0.18s;
  transform: translateY(0) skewY(0);
}

.mask-title.in .mask-line:nth-child(3) .mask-inner {
  transition-delay: 0.31s;
  transform: translateY(0) skewY(0);
}

@media (max-width: 1100px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-showcase {
    min-height: 620px;
  }

  .hero-laptop-card {
    left: 50%;
    right: auto;
    width: min(720px, 100%);
    transform: translateX(-50%) rotate(1deg);
  }

  .hero-laptop-card:hover {
    transform: translateX(-50%) rotate(0deg) translateY(-8px);
  }

  .hero-phone-card {
    right: auto;
    left: 7%;
    bottom: 18px;
    width: 220px;
  }

  .hero-video-card {
    right: 11%;
    bottom: 0;
    width: 158px;
    height: 284px;
  }

  .laptop-mockup {
    left: 50%;
    right: auto;
    width: min(680px, 100%);
    transform: translateX(-50%) rotate(1deg);
  }

  .social-phone {
    right: 54%;
  }

  .video-phone {
    right: 16%;
  }

  .case-layout,
  .case-lp,
  .works-grid,
  .service-list,
  .monthly-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-lp {
    grid-column: 1 / -1;
  }

  .monthly-head {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: auto auto auto;
    top: 10px;
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .language-toggle {
    min-height: 34px;
  }

  .language-toggle button {
    min-width: 32px;
    min-height: 28px;
    font-size: 10px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .hero-proof div:first-child {
    min-height: auto;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(17, 19, 21, 0.13);
  }

  .hero-proof div:first-child {
    border-top: 0;
  }

  .hero-showcase {
    min-height: 560px;
  }

  .cursor-glow {
    display: none;
  }

  .hero-laptop-card {
    top: 38px;
    left: 50%;
    width: min(560px, 128vw);
    transform: translateX(-50%) rotate(0.5deg);
  }

  .hero-phone-card {
    right: 2%;
    left: auto;
    bottom: 18px;
    width: min(178px, 43vw);
    transform: rotate(-4deg);
  }

  .hero-video-card {
    right: auto;
    left: 4%;
    bottom: 0;
    width: min(148px, 38vw);
    height: min(266px, 68vw);
    transform: rotate(3deg);
  }

  .laptop-mockup {
    top: 26px;
  }

  .phone-mockup {
    width: 168px;
    padding: 4px;
    border-width: 1px;
    border-radius: 32px;
  }

  .social-phone {
    right: auto;
    left: 3%;
    bottom: 72px;
    height: 350px;
  }

  .video-phone {
    right: 3%;
    bottom: 14px;
    height: 390px;
  }

  .tour-lp-content {
    bottom: 24px;
    left: 24px;
  }

  .tour-lp-content h2 {
    max-width: 230px;
    font-size: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .format-reel {
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .section-heading,
  .case-layout,
  .case-lp,
  .pricing-main,
  .intro-offer,
  .monthly-head,
  .notes-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .works-grid,
  .service-list,
  .monthly-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 12px;
  }

  .case-copy h3 {
    font-size: 24px;
  }

  .phone-frame {
    width: min(220px, 72vw);
  }

  .pricing-card,
  .monthly-plans {
    padding: 26px;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card .price {
    font-size: 40px;
  }

  .intro-offer strong {
    font-size: 20px;
  }

  .contact-section {
    padding: 30px 24px;
  }

  .site-footer,
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer address {
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fluid-canvas {
    display: none;
  }

  .scroll-progress,
  .cursor-glow,
  .noise-layer {
    display: none;
  }

  .reveal,
  .reveal-stagger > *,
  .mask-inner,
  .device-mockup,
  .phone-mockup,
  .case-card,
  .work-card,
  .work-card img,
  .service-list article,
  .process-list li {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .reel-window span,
  .type-cursor,
  .countup.is-rolling {
    animation: none !important;
  }

  .hero {
    background:
      linear-gradient(120deg, rgba(31, 111, 255, 0.16), rgba(0, 184, 217, 0.14), rgba(124, 92, 255, 0.12), rgba(0, 168, 132, 0.12)),
      var(--paper);
  }
}
