/* ============================
   CSS Variables
   ============================ */
:root {
  --color-ink: #1C1C1C;
  --color-ink-light: #3A3A3A;
  --color-muted: #7A7A80;
  --color-accent: #4A6FA5;
  --color-accent-light: #6B8FC5;
  --color-accent-pale: #D6E4F5;
  --color-cream: #FAFAFA;
  --color-warm-gray: #F4F3F0;
  --color-warm-gray-dark: #E8E7E3;
  --color-border: #DDDCE0;
  --color-copper: #4A6FA5;
  --color-orange: #ff9872;

  --font-heading: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  --font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
  --font-trirong: var(--font-sans);

  --bg-soft-section:
    radial-gradient(circle at 0% 65%, rgba(215, 198, 255, 0.22) 0 92px, transparent 93px),
    radial-gradient(circle at 100% 82%, rgba(255, 203, 222, 0.28) 0 94px, transparent 95px),
    linear-gradient(105deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.74) 48%, rgba(255, 255, 255, 0.96));
  --bg-soft-divider: linear-gradient(105deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.74) 48%, rgba(255, 255, 255, 0.96));
  --bg-pastel-section: linear-gradient(100deg, rgb(249, 229, 249), rgb(210, 233, 249) 47%, rgb(191, 249, 255));
}

/* ============================
   Reset & Base
   ============================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; }
::selection { background-color: var(--color-accent-pale); color: var(--color-ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-cream); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-muted); }

/* ============================
   Utilities
   ============================ */
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.container-narrow { max-width: 900px; margin: 0 auto; width: 100%; }
.text-accent { color: var(--color-copper); }
.font-medium { font-weight: 500; }

.noise-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999; opacity: 0.01;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* Shared section styles */
.section-label {
  margin-bottom: 8px;
  color: var(--section-accent, #8f6cff);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-heading {
  color: #101727;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  background: none;
}
.section-sub {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  margin: 22px 0 48px;
}
.hr-accent {
  display: block;
  width: 112px;
  height: 12px;
  margin-top: 14px;
  background-color: var(--section-accent, #8f6cff);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.section-header { margin-bottom: 0; }

.pastel-gradient {
  background-image: var(--bg-pastel-section);
}

main > section > .container,
main > section .container-narrow {
  position: relative;
  z-index: 1;
}

#about::after,
#service::after,
#flow::after,
#works::after,
#contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(52px, 7vw, 96px);
  background: var(--next-section-bg, #fff);
  pointer-events: none;
  z-index: 0;
  clip-path: polygon(
    0 42%,
    12% 56%,
    26% 48%,
    40% 62%,
    56% 50%,
    72% 64%,
    88% 46%,
    100% 58%,
    100% 100%,
    0 100%
  );
}

#about { --next-section-bg: var(--bg-pastel-section); }
#service { --next-section-bg: var(--bg-soft-divider); }
#flow { --next-section-bg: var(--bg-pastel-section); }
#works { --next-section-bg: var(--bg-soft-divider); }
#contact { --next-section-bg: var(--bg-pastel-section); }

/* Glass card */
.glass-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.25) 100%);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 16px;
  box-shadow: 0 8px 32px rgba(31,38,135,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, opacity;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Button */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 48px; background: var(--color-ink); color: var(--color-cream);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em;
  transition: background 0.5s;
}
.btn-primary:hover { background: var(--color-copper); }
.btn-primary span { transition: transform 0.3s; }
.btn-primary:hover span { transform: translateX(4px); }

/* ============================
   HEADER
   ============================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.5s, box-shadow 0.5s, backdrop-filter 0.5s;
  padding: 0 clamp(24px, 5vw, 100px);
  background: transparent;
  opacity: 1 !important;
}
#header.scrolled {
  background: rgba(255,255,255,0.3); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.header-logo img { height: 32px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 0; }
.header-nav a {
  position: relative; padding: 8px 12px;
  font-family: var(--font-trirong); font-size: 0.85rem; font-weight: 400;
  color: var(--color-ink); letter-spacing: 0.05em; transition: color 0.5s;
}
.header-nav a::after {
  content: ""; position: absolute; bottom: 0; left: 10%; height: 1.5px; width: 0;
  border-radius: 2px; transition: width 0.4s;
  background: linear-gradient(90deg, rgb(249,229,249), rgb(210,233,249), rgb(191,249,255));
}
.header-nav a:hover::after { width: 80%; }

/* Hamburger */
.hamburger { display: none; position: relative; width: 32px; height: 32px; align-items: center; justify-content: center; }
.hamburger span {
  position: absolute; display: block; height: 1px; width: 20px;
  background: var(--color-ink); transition: all 0.3s;
}
.hamburger span:nth-child(1) { transform: translateY(-6px); }
.hamburger span:nth-child(3) { transform: translateY(6px); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column; align-items: center; gap: 20px; padding: 0 24px;
  background: none;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
}
.mobile-nav.open { max-height: 400px; padding: 32px 24px; opacity: 1; }
#header:has(.mobile-nav.open) {
  background: rgba(255,255,255,0.3); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mobile-nav a {
  font-family: var(--font-trirong); font-size: 0.95rem;
  letter-spacing: 0.08em; color: var(--color-ink); transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--color-copper); }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-inner { height: 70px; }
}
@media (min-width: 769px) {
  .header-inner { height: 90px; }
  .header-logo img { height: 40px; }
}

/* ============================
   HERO
   ============================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: 0 24px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 13% 18%, rgba(209, 189, 255, 0.34) 0 88px, transparent 90px),
    radial-gradient(circle at 91% 19%, rgba(160, 237, 246, 0.32) 0 112px, transparent 114px),
    radial-gradient(circle at 82% 78%, rgba(255, 203, 222, 0.3) 0 104px, transparent 106px),
    linear-gradient(112deg, rgba(255,255,255,0.98), rgba(247,251,255,0.86) 46%, rgba(255,255,255,0.98));
}
.hero-circles {
  list-style: none;
  position: absolute;
  inset: -8vw;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  place-items: center;
  margin: 0;
  padding: 0;
  z-index: 0;
  opacity: 0.42;
  filter: saturate(1.04);
}
.hero-circles li {
  mix-blend-mode: multiply;
  opacity: 0.48;
  will-change: transform, opacity;
}
.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(64px, 8vw, 110px);
  min-height: 100svh;
  padding: clamp(124px, 11vw, 158px) 0 clamp(96px, 8vw, 124px);
}
.hero-copy {
  max-width: 640px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #8f6cff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-kicker span {
  display: block;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8f6cff, #14c9cf, #ff7eb3);
}
.hero-title {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: 1;
  width: min(100%, 720px);
  max-width: none;
  color: #101727;
  font-family: var(--font-heading);
  font-size: 4.55rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
  white-space: normal;
}
.hero-title-line {
  display: block;
}
.hero-title-line:nth-child(2) {
  padding-left: 4.1rem;
}
.hero-lead {
  max-width: 560px;
  margin-top: 26px;
  color: #263348;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
}
.hero-lead span {
  display: inline;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.hero-btn-primary {
  gap: 14px;
  background: #101727;
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 23, 39, 0.18);
}
.hero-btn-primary span {
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.hero-btn-secondary {
  border: 1px solid rgba(143, 108, 255, 0.34);
  background: rgba(255,255,255,0.54);
  color: #101727;
  box-shadow: 0 10px 28px rgba(143, 108, 255, 0.1);
}
.hero-btn:hover {
  transform: translateY(-3px);
}
.hero-btn-primary:hover {
  box-shadow: 0 18px 38px rgba(16, 23, 39, 0.24);
}
.hero-btn-secondary:hover {
  border-color: rgba(20, 201, 207, 0.6);
  background: rgba(255,255,255,0.8);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 34px;
  color: rgba(16, 23, 39, 0.64);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-tags span {
  position: relative;
  padding-left: 13px;
}
.hero-tags span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--section-accent, #14c9cf);
  transform: translateY(-50%);
}
.hero-tags span:nth-child(1)::before { background: #8f6cff; }
.hero-tags span:nth-child(2)::before { background: #ff7eb3; }
.hero-tags span:nth-child(3)::before { background: #14c9cf; }
.hero-tags span:nth-child(4)::before { background: #ff9a3d; }
.hero-visual {
  position: relative;
  min-height: clamp(390px, 42vw, 540px);
}
.hero-visual-stack {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(100%, 460px);
  aspect-ratio: 0.96;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orbit-a {
  width: clamp(280px, 34vw, 460px);
  height: clamp(280px, 34vw, 460px);
  top: 50%;
  left: 50%;
  border: 1px solid rgba(143, 108, 255, 0.22);
  transform: translate(-50%, -50%);
}
.hero-orbit-b {
  width: clamp(170px, 21vw, 280px);
  height: clamp(170px, 21vw, 280px);
  right: 2%;
  bottom: 7%;
  background: rgba(160, 237, 246, 0.26);
  filter: blur(0.5px);
}
.hero-collage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 470px;
}
.hero-collage::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  top: 13%;
  right: 3%;
  border-radius: 42% 58% 48% 52%;
  background: linear-gradient(145deg, rgba(222, 211, 255, 0.52), rgba(182, 244, 250, 0.32) 54%, rgba(255, 204, 225, 0.36));
  filter: blur(0.2px);
}
.hero-collage::after {
  content: "";
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  left: -9%;
  bottom: 7%;
  border-radius: 50%;
  background: rgba(255,255,255,0.34);
  filter: blur(18px);
}
.hero-creative-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(143, 108, 255, 0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 22px 60px rgba(82, 96, 140, 0.18), inset 0 1px 0 rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  will-change: transform;
}
.hero-creative-card-main {
  top: 9%;
  right: 0;
  z-index: 3;
  width: 82%;
  aspect-ratio: 1.34;
  transform: rotate(-3deg);
}
.hero-creative-card-main::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  right: -16%;
  top: 18%;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(143, 108, 255, 0.23), rgba(20, 201, 207, 0.18), rgba(255, 126, 179, 0.18));
  filter: blur(6px);
}
.hero-card-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(143, 108, 255, 0.12);
}
.hero-card-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff7eb3;
}
.hero-card-dots span:nth-child(2) { background: #ffca5a; }
.hero-card-dots span:nth-child(3) { background: #14c9cf; }
.hero-card-body {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3.8vw, 38px);
}
.hero-card-label,
.hero-mini-label {
  display: block;
  color: #8f6cff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-card-body strong {
  display: block;
  max-width: 6em;
  margin-top: 10px;
  color: #101727;
  font-family: var(--font-heading);
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}
.hero-card-wave {
  display: block;
  width: 110px;
  height: 12px;
  margin-top: 18px;
  background-color: #14c9cf;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hero-card-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr;
  gap: 10px;
  width: min(100%, 260px);
  margin-top: clamp(28px, 4vw, 42px);
}
.hero-card-layout span {
  display: block;
  min-height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.56);
  box-shadow: inset 0 0 0 1px rgba(143, 108, 255, 0.13);
}
.hero-card-layout span:first-child {
  grid-row: span 2;
  min-height: 98px;
  background: linear-gradient(145deg, rgba(143, 108, 255, 0.2), rgba(255,255,255,0.64));
}
.hero-card-layout span:nth-child(2) {
  background: linear-gradient(145deg, rgba(20, 201, 207, 0.2), rgba(255,255,255,0.62));
}
.hero-card-layout span:nth-child(3) {
  background: linear-gradient(145deg, rgba(255, 126, 179, 0.18), rgba(255,255,255,0.62));
}
.hero-card-layout span:nth-child(4) {
  grid-column: span 2;
  min-height: 12px;
  border-radius: 999px;
  background: rgba(16, 23, 39, 0.1);
}
.hero-creative-card-palette,
.hero-creative-card-code {
  z-index: 4;
  padding: 20px;
}
.hero-creative-card-palette {
  left: 0;
  bottom: 18%;
  width: 50%;
  aspect-ratio: 1.08;
  transform: rotate(4.5deg);
}
.hero-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.hero-swatches span {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}
.hero-swatches span:nth-child(1) { background: #8f6cff; }
.hero-swatches span:nth-child(2) { background: #14c9cf; }
.hero-swatches span:nth-child(3) { background: #ff7eb3; }
.hero-swatches span:nth-child(4) { background: #ffb86b; }
.hero-creative-card-code {
  right: 5%;
  bottom: 0;
  width: 43%;
  aspect-ratio: 0.96;
  transform: rotate(3deg);
}
.hero-code-lines {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.hero-code-lines span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(16, 23, 39, 0.12);
  transform-origin: left center;
}
.hero-code-lines span:nth-child(1) { width: 82%; background: rgba(143, 108, 255, 0.28); }
.hero-code-lines span:nth-child(2) { width: 62%; background: rgba(20, 201, 207, 0.24); }
.hero-code-lines span:nth-child(3) { width: 92%; background: rgba(255, 126, 179, 0.22); }
.hero-code-lines span:nth-child(4) { width: 48%; background: rgba(255, 184, 107, 0.24); }
.hero-motion-path {
  position: absolute;
  left: 6%;
  top: 8%;
  z-index: 5;
  width: 38%;
  overflow: visible;
}
.hero-motion-path path {
  stroke: #ff9a3d;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
}
.hero-motion-path circle {
  fill: #14c9cf;
}
.hero-motion-path circle:first-of-type {
  fill: #8f6cff;
}
.hero-badge {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 74px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  color: #101727;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 16px 34px rgba(82, 96, 140, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-badge-ai {
  top: 34%;
  left: -2%;
  z-index: 6;
  background: rgba(222, 211, 255, 0.9);
}
.hero-badge-code {
  right: -2%;
  top: 52%;
  z-index: 6;
  background: rgba(182, 244, 250, 0.92);
}
.hero-badge-ui {
  left: 12%;
  bottom: 5%;
  z-index: 6;
  background: rgba(255, 204, 225, 0.92);
}
@media (min-width: 769px) {
  .hero-title { font-size: 4.55rem; }
}

@media (min-width: 961px) and (max-width: 1180px) {
  #hero {
    padding: 0 36px;
  }
  .hero-shell {
    grid-template-columns: 1fr;
    max-width: 820px;
    gap: 28px;
    margin: 0 auto;
    padding: 116px 0 98px;
  }
  .hero-copy {
    max-width: 720px;
    justify-self: center;
  }
  .hero-kicker {
    width: 100%;
    justify-content: center;
    margin-bottom: 22px;
  }
  .hero-title {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    font-size: 3.38rem;
    line-height: 1.2;
    text-align: center;
  }
  .hero-title-line:nth-child(2) {
    padding-left: 0;
  }
  .hero-lead {
    max-width: 32em;
    margin: 26px auto 0;
    font-size: 0.9rem;
    line-height: 1.95;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 30px;
  }
  .hero-tags {
    justify-content: center;
    margin-top: 26px;
    font-size: 0.62rem;
  }
  .hero-visual {
    min-height: 354px;
    margin-top: -4px;
  }
  .hero-visual-stack {
    width: min(48vw, 360px);
  }
  .hero-collage {
    min-height: 354px;
  }
  .hero-card-body strong {
    font-size: 2.82rem;
  }
  .hero-card-layout {
    width: min(100%, 206px);
    margin-top: 28px;
  }
  .hero-badge {
    height: 34px;
    min-width: 66px;
    padding: 0 13px;
    font-size: 0.6rem;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 3%; left: 6%; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0;
}
.scroll-text {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.15em; color: #111; writing-mode: vertical-rl;
}
.scroll-line { display: block; width: 1px; height: 32px; background: rgba(0,0,0,0.4); }
.scroll-arrow { color: #111; }

@media (min-width: 769px) {
  .scroll-indicator { left: 10%; }
}

@media (max-width: 960px) {
  #hero {
    padding: 0 20px;
  }
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 116px 0 92px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-title,
  .hero-lead {
    text-align: left;
  }
  .hero-title {
    font-size: 3.55rem;
    line-height: 1.18;
  }
  .hero-visual {
    min-height: 420px;
  }
  .hero-visual-stack {
    width: min(82vw, 410px);
  }
  .hero-collage {
    min-height: 410px;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 0 18px;
  }
  .hero-shell {
    gap: 44px;
    min-height: auto;
    padding: 108px 0 84px;
  }
  .hero-copy {
    max-width: 560px;
  }
  .hero-title {
    font-size: 2.85rem;
    line-height: 1.2;
  }
  .hero-title-line:nth-child(2) {
    padding-left: 2.6rem;
  }
  .hero-lead {
    max-width: 520px;
    margin-top: 24px;
    font-size: 0.9rem;
    line-height: 1.95;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 30px;
  }
  .hero-tags {
    gap: 8px 14px;
    margin-top: 26px;
    font-size: 0.64rem;
  }
  .hero-visual {
    min-height: 360px;
  }
  .hero-visual-stack {
    width: min(78vw, 360px);
  }
  .hero-collage {
    min-height: 360px;
  }
  .hero-card-body strong {
    font-size: 2.75rem;
  }
  .hero-card-layout {
    width: min(100%, 220px);
    margin-top: 28px;
  }
  .hero-creative-card-palette,
  .hero-creative-card-code {
    padding: 18px;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  #hero {
    padding: 0 32px;
  }
  .hero-shell {
    max-width: 720px;
    gap: 26px;
    margin: 0 auto;
    padding: 108px 0 86px;
  }
  .hero-copy {
    max-width: 680px;
    justify-self: center;
  }
  .hero-kicker {
    width: 100%;
    justify-content: center;
    margin-bottom: 22px;
  }
  .hero-title {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    font-size: clamp(2.62rem, 6vw, 3.24rem);
    line-height: 1.2;
    text-align: center;
  }
  .hero-title-line:nth-child(2) {
    padding-left: 0;
  }
  .hero-lead {
    max-width: 31em;
    margin: 26px auto 0;
    font-size: 0.92rem;
    line-height: 1.92;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 31px;
  }
  .hero-tags {
    justify-content: center;
    margin-top: 27px;
  }
  .hero-visual {
    min-height: 326px;
    margin-top: -2px;
  }
  .hero-visual-stack {
    width: min(54vw, 340px);
  }
  .hero-collage {
    min-height: 326px;
  }
  .hero-creative-card-main {
    width: 80%;
  }
  .hero-creative-card-palette {
    width: 42%;
  }
  .hero-creative-card-code {
    width: 36%;
  }
  .hero-card-body strong {
    font-size: 2.62rem;
  }
  .hero-card-layout {
    width: min(100%, 212px);
    margin-top: 27px;
  }
  .hero-badge {
    height: 32px;
    min-width: 62px;
    padding: 0 12px;
    font-size: 0.58rem;
  }
  .hero-orbit-a {
    opacity: 0.56;
  }
  .hero-orbit-b {
    opacity: 0.72;
  }
  .scroll-indicator {
    left: 5%;
    bottom: 3.6%;
    transform: scale(0.9);
    transform-origin: left bottom;
  }
}

@media (max-width: 640px) {
  #hero {
    min-height: auto;
    padding: 0 16px;
  }
  .hero-circles {
    inset: -12vw;
    grid-template-columns: repeat(4, 1fr);
    opacity: 0.42;
  }
  .hero-shell {
    min-height: auto;
    gap: 36px;
    padding: 96px 0 78px;
  }
  .hero-kicker {
    margin-bottom: 18px;
    font-size: 0.64rem;
  }
  .hero-kicker span {
    width: 28px;
  }
  .hero-title {
    width: 100%;
    font-size: 2.24rem;
    line-height: 1.22;
    text-align: center;
  }
  .hero-title-line:nth-child(2) {
    padding-left: 0;
  }
  .hero-lead {
    max-width: 25em;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
    font-size: 0.86rem;
    line-height: 1.86;
    text-align: center;
  }
  .hero-lead span {
    display: block;
  }
  .hero-actions {
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
  }
  .hero-kicker {
    justify-content: center;
    width: 100%;
  }
  .hero-btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.64rem;
  }
  .hero-tags {
    display: none;
  }
  .hero-visual {
    min-height: 304px;
  }
  .hero-orbit-a {
    opacity: 0.36;
  }
  .hero-visual-stack {
    width: min(82vw, 310px);
  }
  .hero-collage {
    min-height: 304px;
  }
  .hero-creative-card-main {
    width: 84%;
    top: 8%;
  }
  .hero-card-body {
    padding: 18px;
  }
  .hero-card-dots {
    gap: 6px;
    padding: 12px 14px;
  }
  .hero-card-dots span {
    width: 7px;
    height: 7px;
  }
  .hero-card-label,
  .hero-mini-label {
    font-size: 0.52rem;
  }
  .hero-card-body strong {
    font-size: 2rem;
  }
  .hero-card-layout {
    gap: 7px;
    margin-top: 20px;
  }
  .hero-card-layout span {
    min-height: 28px;
    border-radius: 6px;
  }
  .hero-card-layout span:first-child {
    min-height: 64px;
  }
  .hero-card-layout span:nth-child(4) {
    min-height: 9px;
  }
  .hero-card-wave {
    width: 76px;
    height: 9px;
    margin-top: 12px;
  }
  .hero-creative-card-palette,
  .hero-creative-card-code {
    padding: 12px;
  }
  .hero-creative-card-palette {
    width: 48%;
    bottom: 18%;
  }
  .hero-creative-card-code {
    width: 41%;
  }
  .hero-swatches {
    gap: 5px;
    margin-top: 12px;
  }
  .hero-code-lines {
    gap: 6px;
    margin-top: 12px;
  }
  .hero-code-lines span {
    height: 5px;
  }
  .hero-motion-path {
    left: 5%;
    top: 8%;
    width: 39%;
  }
  .hero-motion-path path {
    stroke-width: 3;
  }
  .hero-motion-path {
    display: none;
  }
  .hero-badge {
    display: none;
  }
  .scroll-indicator {
    display: flex;
    left: 4%;
    bottom: 4%;
    opacity: 0.72;
    transform: scale(0.86);
    transform-origin: left bottom;
  }
  .hero-badge-ai {
    top: 34%;
    left: -1%;
  }
  .hero-badge-code {
    right: -1%;
    top: 52%;
  }
  .hero-badge-ui {
    left: 10%;
    bottom: 4%;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 2.05rem;
  }
  .hero-title-line:nth-child(2) {
    padding-left: 0;
  }
  .hero-lead {
    font-size: 0.82rem;
    max-width: 24em;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-btn {
    min-height: 42px;
    padding: 0 15px;
  }
  .hero-visual {
    min-height: 286px;
  }
  .hero-visual-stack {
    width: min(84vw, 292px);
  }
  .hero-collage {
    min-height: 292px;
  }
  .hero-card-body strong {
    font-size: 1.82rem;
  }
  .hero-badge {
    min-width: 52px;
    height: 26px;
    font-size: 0.5rem;
  }
}

/* ============================
   ABOUT
   ============================ */
#about {
  --section-accent: #8f6cff;
  position: relative;
  isolation: isolate;
  min-height: 342px;
  padding: 64px 24px;
  overflow: hidden;
  scroll-margin-top: 90px;
  background: var(--bg-soft-section);
}
.about-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob { position: absolute; border-radius: 50%; }
.about-blobs .blob-1 {
  width: 58px;
  height: 58px;
  background: rgba(209, 189, 255, 0.36);
  top: 17%;
  left: 7.5%;
}
.about-blobs .blob-2 {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, rgba(159, 131, 255, 0.42), rgba(207, 195, 255, 0.2));
  top: 68%;
  left: 32%;
  filter: blur(1px);
}
.about-blobs .blob-3 {
  width: 260px;
  height: 260px;
  background: rgba(160, 237, 246, 0.38);
  right: -96px;
  bottom: -174px;
}
.about-blobs .blob-4 {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.24);
  top: -104px;
  left: 47%;
  filter: blur(18px);
}

.about-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 76px);
  max-width: 1000px;
}

.about-visual {
  position: relative;
  justify-self: end;
}

.about-photo-frame {
  position: relative;
  width: clamp(220px, 25vw, 300px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(139, 114, 245, 0.38);
  border-radius: 50%;
  background: rgba(215, 242, 252, 0.65);
  box-shadow: 0 18px 45px rgba(103, 132, 190, 0.12);
}

.about-photo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 0%;
  transform: scale(1.48);
  transform-origin: 70% 5%;
}

.about-photo-orb {
  position: absolute;
  right: 28px;
  bottom: 12px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(159, 131, 255, 0.48), rgba(210, 199, 255, 0.28));
  filter: blur(0.5px);
}

.about-content {
  max-width: 540px;
  color: #162035;
}

.about-label {
  margin-bottom: 8px;
  color: var(--section-accent, #8f6cff);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-title {
  margin-bottom: 0;
  color: #101727;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.about-wave {
  display: block;
  width: 112px;
  height: 12px;
  margin-top: 14px;
  background-color: var(--section-accent, #8f6cff);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.about-copy {
  margin-top: 22px;
  margin-bottom: 0;
}

.about-copy p {
  margin-bottom: 4px;
  color: #192334;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.95;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 172px;
  min-height: 50px;
  padding: 0 31px;
  border: 1px solid rgba(126, 116, 186, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 20px rgba(113, 104, 162, 0.16);
  color: #172036;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-button:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 116, 186, 0.78);
  box-shadow: 0 12px 28px rgba(113, 104, 162, 0.22);
}

.about-button-icon {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.62;
}

@media (min-width: 769px) {
  #about { padding: 100px 40px 130px; }
}

/* ============================
   SERVICE
   ============================ */
#service {
  --section-accent: #ff9a3d;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 128px 24px;
}
.service-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.service-card { padding: 32px 40px; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  color: #8f6cff;
}
.service-icon-accent {
  color: #14c9cf;
}
.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-icon-img {
  object-fit: contain;
  opacity: 0.88;
}
.service-icon-wordpress {
  filter: invert(50%) sepia(75%) saturate(2700%) hue-rotate(226deg) brightness(102%) contrast(101%) drop-shadow(0 8px 18px rgba(143, 108, 255, 0.18));
}
.service-icon-shopify {
  filter: invert(63%) sepia(91%) saturate(1350%) hue-rotate(135deg) brightness(92%) contrast(92%) drop-shadow(0 8px 18px rgba(20, 201, 207, 0.18));
}
.service-num {
  font-family: var(--font-heading); font-size: 5rem; font-weight: 700;
  color: rgba(28,28,28,0.04); line-height: 1;
}
.service-title {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600;
  color: var(--color-ink); margin-bottom: 4px; transition: color 0.5s;
}
.service-card:hover .service-title { color: var(--color-copper); }
.service-subtitle { font-size: 0.8rem; color: var(--color-copper); font-weight: 500; margin-bottom: 20px; }
.service-desc { font-size: 0.85rem; color: var(--color-ink-light); line-height: 1.9; margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 5px; }
.feature-item { display: flex; align-items: center; gap: 10px; }
.feature-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-copper); flex-shrink: 0; }
.feature-item span:last-child { font-size: 0.78rem; color: var(--color-ink-light); }

@media (min-width: 769px) {
  #service { padding: 100px 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  #service {
    padding: 88px 32px 108px;
  }
  .service-grid {
    gap: 24px;
  }
  .service-card {
    padding: 28px 24px;
  }
  .service-icon {
    width: 56px;
    height: 56px;
  }
  .service-num {
    font-size: 4rem;
  }
  .service-title {
    font-size: 1.28rem;
  }
  .service-subtitle {
    margin-bottom: 14px;
  }
  .service-desc {
    margin-bottom: 16px;
    line-height: 1.8;
  }
}
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================
   FLOW
   ============================ */
#flow {
  --section-accent: #8f6cff;
  position: relative;
  isolation: isolate;
  padding: 96px 24px 104px;
  overflow: hidden;
  background: var(--bg-soft-section);
}
.flow-blobs { position: absolute; inset: 0; pointer-events: none; }
.flow-blobs::before,
.contact-blobs::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  top: -104px;
  left: 47%;
  filter: blur(18px);
}
.flow-blobs .blob-5 {
  width: 58px;
  height: 58px;
  background: rgba(209, 189, 255, 0.36);
  top: 17%;
  left: 7.5%;
  filter: none;
}
.flow-blobs .blob-6 {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, rgba(159, 131, 255, 0.42), rgba(207, 195, 255, 0.2));
  top: 68%;
  left: 32%;
  filter: blur(1px);
}
.flow-blobs .blob-7 {
  width: 260px;
  height: 260px;
  background: rgba(160, 237, 246, 0.38);
  right: -96px;
  bottom: -174px;
  left: auto;
  filter: none;
}
#flow .container { position: relative; }

.flow-header {
  margin: 0 0 46px;
}

.flow-label {
  margin-bottom: 8px;
  color: var(--section-accent, #8f6cff);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.flow-heading {
  color: #101727;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.flow-wave {
  display: block;
  width: 112px;
  height: 12px;
  margin-top: 14px;
  background-color: var(--section-accent, #8f6cff);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 112 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7C5.6 7 5.6 2 10.2 2C14.8 2 14.8 7 19.4 7C24 7 24 2 28.6 2C33.2 2 33.2 7 37.8 7C42.4 7 42.4 2 47 2C51.6 2 51.6 7 56.2 7C60.8 7 60.8 2 65.4 2C70 2 70 7 74.6 7C79.2 7 79.2 2 83.8 2C88.4 2 88.4 7 93 7C97.6 7 97.6 2 102.2 2C106.8 2 106.8 7 111 7' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.flow-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(142px, 1fr));
  gap: 42px;
  align-items: stretch;
}

.flow-step {
  position: relative;
  min-width: 0;
  --flow-arrow-opacity: 0;
  --flow-arrow-scale: 0;
  --flow-card-accent: #8f6cff;
  --flow-card-number: rgba(143, 108, 255, 0.28);
}
.flow-step:nth-child(2) {
  --flow-card-accent: #14c9cf;
  --flow-card-number: rgba(20, 201, 207, 0.28);
}
.flow-step:nth-child(3) {
  --flow-card-accent: #ff5fa8;
  --flow-card-number: rgba(255, 95, 168, 0.28);
}
.flow-step:nth-child(4) {
  --flow-card-accent: #ff9a3d;
  --flow-card-number: rgba(255, 154, 61, 0.3);
}
.flow-step:nth-child(5) {
  --flow-card-accent: #14c9cf;
  --flow-card-number: rgba(20, 201, 207, 0.28);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -34px;
  width: 26px;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, rgba(127, 99, 255, 0.72) 0 2px, transparent 2px 5px);
  opacity: var(--flow-arrow-opacity);
  transform: translateY(-50%) scaleX(var(--flow-arrow-scale));
  transform-origin: left center;
}

.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -37px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid rgba(127, 99, 255, 0.72);
  border-right: 1.5px solid rgba(127, 99, 255, 0.72);
  opacity: var(--flow-arrow-opacity);
  transform: translateY(-50%) rotate(45deg);
}

.flow-card {
  height: 100%;
  min-height: 224px;
  padding: 30px 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px rgba(119, 116, 155, 0.08);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(119, 116, 155, 0.14);
}

.flow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 6px;
  color: var(--flow-card-accent, #8f6cff);
}

.flow-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-number {
  display: block;
  margin-bottom: 12px;
  color: var(--flow-card-number, rgba(143, 108, 255, 0.28));
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.flow-title {
  margin-bottom: 14px;
  color: #101727;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
}

.flow-desc {
  color: #253044;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 2;
}

@media (min-width: 769px) {
  #flow { padding: 100px 40px 130px; }
}

/* ============================
   WORKS
   ============================ */
#works {
  --section-accent: #ff5fa8;
  position: relative;
  isolation: isolate;
  padding: 128px 24px;
  overflow: hidden;
}
.works-slider { opacity: 0; }
.works-swiper { overflow: hidden; }

.works-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(28px, 6vw, 54px); margin-top: 48px;
}
.works-nav-btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0; border: 0; background: none;
  color: #101727; cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.works-nav-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.works-nav-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.3s ease;
}
.works-nav-icon::before,
.works-nav-icon::after {
  content: "";
  position: absolute;
  display: block;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.works-nav-icon::before {
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 204deg, transparent 0 50deg, currentColor 50deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.7px), #000 calc(100% - 1.2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.7px), #000 calc(100% - 1.2px));
}
.works-nav-icon::after {
  width: 26px;
  height: 22px;
  transform: translate(2px, 1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 36 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 21H29L15 8' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 36 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 21H29L15 8' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.works-nav-prev .works-nav-icon::after {
  transform: translate(-2px, 1px) scaleX(-1);
}
.works-nav-btn:hover:not(:disabled) .works-nav-icon {
  transform: translateX(3px);
}
.works-nav-prev:hover:not(:disabled) .works-nav-icon {
  transform: translateX(-3px);
}
.works-nav-next:hover:not(:disabled) .works-nav-icon::after {
  transform: translate(4px, 1px);
}
.works-nav-prev:hover:not(:disabled) .works-nav-icon::after {
  transform: translate(-4px, 1px) scaleX(-1);
}
.works-nav-btn:disabled {
  color: rgba(16, 23, 39, 0.28);
  cursor: default;
}
.works-nav-btn:disabled .works-nav-icon {
  transform: none;
}
.works-swiper .swiper-wrapper { align-items: stretch; }
.works-swiper .swiper-slide { height: auto; }

.work-card {
  padding: 16px; padding-bottom: 24px; height: 100%;
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 100%);
  box-shadow: 0 6px 20px rgba(31,38,135,0.06), 0 2px 4px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.5);
}
.work-image {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.74);
}
.work-image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.work-image img {
  width: 100%; height: 100%;
  padding: 8px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}
.work-card:hover .work-image img { transform: translateY(-2px); }

.work-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.work-category {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--color-copper); text-transform: uppercase; font-weight: 500;
}
.work-title {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600;
  color: var(--color-ink); margin-bottom: 8px; transition: color 0.3s;
}
.work-card:hover .work-title { color: var(--color-copper); }
.work-desc { font-size: 0.82rem; color: var(--color-ink-light); line-height: 1.8; margin-bottom: 16px; flex-grow: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.work-tags span {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.08em;
  padding: 4px 10px; background: var(--color-warm-gray); color: var(--color-muted); border-radius: 4px;
}

@media (min-width: 769px) {
  #works { padding: 100px 40px; }
}

/* ============================
   CONTACT
   ============================ */
#contact {
  --section-accent: #14c9cf;
  position: relative;
  isolation: isolate;
  padding: 128px 24px;
  overflow: hidden;
  background: var(--bg-soft-section);
}
.contact-blobs { position: absolute; inset: 0; pointer-events: none; }
.contact-blobs .blob-8 {
  width: 58px;
  height: 58px;
  background: rgba(209, 189, 255, 0.36);
  top: 17%;
  left: 7.5%;
  opacity: 1;
  filter: none;
}
.contact-blobs .blob-9 {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, rgba(159, 131, 255, 0.42), rgba(207, 195, 255, 0.2));
  top: 68%;
  left: 32%;
  opacity: 1;
  filter: blur(1px);
}
.contact-blobs .blob-10 {
  width: 260px;
  height: 260px;
  background: rgba(160, 237, 246, 0.38);
  right: -96px;
  bottom: -174px;
  left: auto;
  opacity: 1;
  filter: none;
}
#contact .container-narrow { position: relative; }

.contact-form-wrap {
  position: relative;
  overflow: hidden;
  padding: 34px;
  margin-top: 64px;
  border: 1px solid rgba(143, 108, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.58)),
    radial-gradient(circle at 8% 12%, rgba(143, 108, 255, 0.16), transparent 32%),
    radial-gradient(circle at 96% 4%, rgba(20, 201, 207, 0.16), transparent 34%);
  box-shadow: 0 24px 70px rgba(82, 96, 140, 0.14), inset 0 1px 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #8f6cff, #14c9cf, #ff7eb3, #ff9a3d);
}
.contact-form-wrap::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -88px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(160, 237, 246, 0.26);
  filter: blur(4px);
  pointer-events: none;
}
.contact-form-wrap form {
  position: relative;
  z-index: 1;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 24px; }
.form-group { margin-bottom: 26px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #172036;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.required {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 126, 179, 0.16);
  color: #ff5fa8;
  font-size: 0.68rem;
  line-height: 1;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(143, 108, 255, 0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(72, 84, 110, 0.38); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(143, 108, 255, 0.68);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 0 0 4px rgba(143, 108, 255, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}
.form-group textarea {
  min-height: 168px;
  resize: vertical;
}

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.checkbox-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(143, 108, 255, 0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.checkbox-item:hover {
  border-color: rgba(20, 201, 207, 0.46);
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
}
.checkbox-item input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.checkbox-item span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #263348;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}
.checkbox-item span::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(143, 108, 255, 0.38);
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.checkbox-item input:focus-visible + span::before {
  box-shadow: 0 0 0 4px rgba(143, 108, 255, 0.14);
}
.checkbox-item:has(input:checked) {
  border-color: rgba(143, 108, 255, 0.44);
  background: linear-gradient(135deg, rgba(143, 108, 255, 0.12), rgba(20, 201, 207, 0.1));
}
.checkbox-item input:checked + span::before {
  border-color: #8f6cff;
  background: #8f6cff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6l2.5 2.5L9.5 4' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}
#contact .btn-primary {
  min-width: 180px;
  padding: 15px 34px;
  border-radius: 999px;
  background: #101727;
  box-shadow: 0 16px 36px rgba(16, 23, 39, 0.18);
  letter-spacing: 0;
}
#contact .btn-primary:hover {
  background: linear-gradient(90deg, #8f6cff, #14c9cf);
  box-shadow: 0 18px 42px rgba(143, 108, 255, 0.24);
}
.form-note {
  color: rgba(38, 51, 72, 0.62);
  font-size: 0.72rem;
  font-weight: 500;
}

/* ============================
   PAGE TOP BUTTON
   ============================ */
.page-top {
  position: fixed; right: 24px; bottom: 32px; z-index: 100;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; opacity: 0 !important; pointer-events: none;
  transition: opacity 0.4s ease; visibility: hidden;
}
.page-top.visible { opacity: 1 !important; pointer-events: auto; visibility: visible; }
.page-top-arrow {
  display: block; width: 2px; height: 24px;
  background: var(--color-ink); position: relative;
}
.page-top-arrow::before {
  content: ""; position: absolute; top: -1px; left: 50%;
  width: 6px; height: 6px; background: var(--color-ink);
  border-radius: 50%; transform: translateX(-50%);
}
.page-top-text {
  font-family: var(--font-mono); font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.15em; color: var(--color-ink);
  line-height: 1.4; text-align: center;
}
.page-top:hover { opacity: 0.6 !important; }

@media (min-width: 769px) {
  #contact { padding: 100px 40px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .checkbox-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-form-wrap { padding: 48px; }
}

/* ============================
   FOOTER
   ============================ */
#footer { padding: 24px clamp(24px, 5vw, 100px); }
.footer-inner { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.footer-logo img { height: 28px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 32px; }
.footer-nav a {
  position: relative; font-family: var(--font-trirong); font-size: 0.75rem;
  letter-spacing: 0.05em; color: rgba(28,28,28,0.6); transition: color 0.3s;
}
.footer-nav a::after {
  content: ""; position: absolute; bottom: -2px; left: 10%; height: 1.5px; width: 0;
  border-radius: 2px; transition: width 0.4s;
  background: linear-gradient(90deg, rgb(249,229,249), rgb(210,233,249), rgb(191,249,255));
}
.footer-nav a:hover { color: var(--color-ink); }
.footer-nav a:hover::after { width: 80%; }
.footer-divider { height: 1px; background: rgba(28,28,28,0.1); margin: 16px 0; }
.footer-copy { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(28,28,28,0.4); }

@media (min-width: 769px) {
  #footer { padding: 32px clamp(24px, 5vw, 100px); }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ============================
   Animation initial states
   ============================ */
.anim-section {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  will-change: opacity, transform;
}

/* ============================
   Mobile responsive fixes
   ============================ */
@media (max-width: 768px) {
  #about::after,
  #service::after,
  #flow::after,
  #works::after,
  #contact::after {
    height: 48px;
  }

  /* Blobs smaller on mobile */
  .blob-1 { width: 200px; height: 200px; }
  .blob-2 { width: 180px; height: 180px; }
  .blob-3 { width: 160px; height: 160px; }
  .blob-4 { width: 140px; height: 140px; }
  .blob-5 { width: 180px; height: 180px; }
  .blob-6 { width: 160px; height: 160px; }
  .blob-7 { width: 140px; height: 140px; }
  .blob-8 { width: 180px; height: 180px; }
  .blob-9 { width: 160px; height: 160px; }
  .blob-10 { width: 140px; height: 140px; }
  .flow-blobs::before,
  .contact-blobs::before {
    width: 140px;
    height: 140px;
    top: -84px;
    left: 48%;
  }
  .flow-blobs .blob-5 {
    width: 200px;
    height: 200px;
    top: 8%;
    left: 8%;
  }
  .flow-blobs .blob-6 {
    width: 180px;
    height: 180px;
    top: 38%;
    left: auto;
    right: 15%;
  }
  .flow-blobs .blob-7 {
    width: 160px;
    height: 160px;
    top: auto;
    left: auto;
    right: -120px;
    bottom: -130px;
  }
  .contact-blobs .blob-8 {
    width: 200px;
    height: 200px;
    top: 8%;
    left: 8%;
  }
  .contact-blobs .blob-9 {
    width: 180px;
    height: 180px;
    top: 38%;
    left: auto;
    right: 15%;
  }
  .contact-blobs .blob-10 {
    width: 160px;
    height: 160px;
    top: auto;
    left: auto;
    right: -120px;
    bottom: -130px;
  }

  /* Section padding */
  #about, #service, #flow, #works, #contact { padding: 80px 16px; }
  #about {
    min-height: auto;
    padding: 72px 20px;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
  .about-visual {
    justify-self: center;
  }
  .about-photo-frame {
    width: min(74vw, 260px);
  }
  .about-photo-frame img {
    transform: scale(1.5);
  }
  .about-photo-orb {
    right: 22px;
    bottom: 8px;
    width: 44px;
    height: 44px;
  }
  .about-content {
    justify-self: center;
  }
  .about-copy p {
    font-size: 0.82rem;
    line-height: 1.9;
  }
  .about-button {
    min-width: 164px;
    min-height: 48px;
  }
  .about-blobs .blob-1 {
    top: 8%;
    left: 8%;
  }
  .about-blobs .blob-2 {
    top: 38%;
    left: auto;
    right: 15%;
  }
  .about-blobs .blob-3 {
    right: -120px;
    bottom: -130px;
  }

  /* Service cards */
  #service {
    padding: 72px 16px;
  }
  .service-grid {
    max-width: 430px;
    gap: 18px;
    margin: 0 auto;
  }
  .service-card {
    padding: 22px 20px;
    border-radius: 10px;
  }
  .service-top {
    margin-bottom: 6px;
  }
  .service-icon {
    width: 52px;
    height: 52px;
  }
  .service-icon svg {
    stroke-width: 3;
  }
  .service-num {
    font-size: 3.6rem;
  }
  .service-title {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }
  .service-subtitle {
    margin-bottom: 12px;
    font-size: 0.74rem;
  }
  .service-desc {
    margin-bottom: 14px;
    font-size: 0.8rem;
    line-height: 1.75;
  }
  .service-features {
    gap: 4px;
  }
  .feature-item {
    gap: 8px;
  }
  .feature-dot {
    width: 3.5px;
    height: 3.5px;
  }
  .feature-item span:last-child {
    font-size: 0.74rem;
  }

  /* Flow */
  #flow {
    padding: 72px 16px 78px;
  }
  .flow-header {
    margin-bottom: 34px;
  }
  .flow-timeline {
    grid-template-columns: 1fr;
    gap: 45px;
    max-width: 360px;
    overflow: visible;
    margin: 0 auto;
    padding: 0;
    scroll-snap-type: none;
  }
  .flow-step {
    scroll-snap-align: none;
  }
  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -29px;
    left: 50%;
    width: 1px;
    height: 20px;
    background-image: repeating-linear-gradient(180deg, rgba(127, 99, 255, 0.72) 0 2px, transparent 2px 5px);
    transform: translateX(-50%) scaleY(var(--flow-arrow-scale));
    transform-origin: top center;
  }
  .flow-step:not(:last-child)::before {
    top: auto;
    right: auto;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .flow-card {
    min-height: auto;
    padding: 28px 22px 26px;
  }
  .flow-icon {
    width: 56px;
    height: 56px;
  }

  /* Contact form */
  .contact-form-wrap {
    padding: 24px 18px;
    margin-top: 44px;
  }
  .checkbox-grid { grid-template-columns: 1fr; }

  /* Button */
  .btn-primary { padding: 14px 32px; font-size: 0.8rem; }
  #contact .btn-primary {
    justify-content: center;
    width: auto;
    min-width: 168px;
    max-width: none;
    min-height: 44px;
    padding: 0 26px;
    font-size: 0.78rem;
    gap: 10px;
  }

  /* Scroll indicator visible on mobile */
  .scroll-indicator { left: 4%; bottom: 5%; }

  /* Header */
  #header { padding: 0 16px; }

  /* Footer */
  .footer-nav { gap: 16px; }

  /* Page top */
  .page-top {
    right: 10px;
    bottom: 8px;
  }
  .page-top-arrow {
    height: 20px;
  }
  .page-top-text {
    font-size: 0.5rem;
  }
}

@media (max-width: 420px) {
  #service {
    padding: 66px 14px;
  }
  .service-grid {
    gap: 16px;
  }
  .service-card {
    padding: 20px 18px;
  }
  .service-icon {
    width: 46px;
    height: 46px;
  }
  .service-num {
    font-size: 3.1rem;
  }
  .service-title {
    font-size: 1.12rem;
  }
  .service-desc {
    font-size: 0.78rem;
  }
  .feature-item span:last-child {
    font-size: 0.72rem;
  }
}
