/* ============================
   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: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-mono: "DM Mono", monospace;
  --font-trirong: "Trirong", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

/* ============================
   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 {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-accent);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; letter-spacing: 0.02em; line-height: 1.4;
  color: var(--color-ink); background: none; margin-bottom: 8px;
}
.section-sub { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 24px; }
.hr-accent { width: 40px; height: 1px; background: var(--color-accent); margin-bottom: 80px; }
.section-header { margin-bottom: 0; }

.pastel-gradient {
  background-image: linear-gradient(100deg, rgb(249, 229, 249), rgb(210, 233, 249) 47%, rgb(191, 249, 255));
}

/* 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%; height: 100vh; overflow: hidden;
  background: #fff;
}
.hero-circles {
  list-style: none; position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  place-items: center; margin: 0; padding: 0; z-index: 1;
}
.hero-title {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; text-align: center; white-space: nowrap;
  font-family: var(--font-trirong); font-weight: 500;
  font-size: clamp(1.3rem, 5.6vw, 4em); color: #111;
  letter-spacing: 0.05em;
  text-shadow: 3px 3px 1px rgba(0,0,0,0.3);
  width: auto; max-width: none;
}
@media (min-width: 769px) {
  .hero-title { font-weight: 400; font-size: clamp(2.4rem, 4vw, 4em); letter-spacing: 0.15em; }
}

/* 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%; }
}

/* ============================
   ABOUT
   ============================ */
#about {
  position: relative; padding: 128px 24px; overflow: hidden;
}
.about-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; }
.blob-1 { width: 400px; height: 400px; background: rgb(249,229,249); top: 5%; left: 0%; opacity: 0.5; filter: blur(60px); }
.blob-2 { width: 350px; height: 350px; background: rgb(210,233,249); top: 35%; right: 0%; opacity: 0.45; filter: blur(60px); }
.blob-3 { width: 300px; height: 300px; background: rgb(191,249,255); bottom: 10%; left: 25%; opacity: 0.4; filter: blur(50px); }
.blob-4 { width: 250px; height: 250px; background: rgb(230,210,250); top: 55%; left: 55%; opacity: 0.35; filter: blur(50px); }

#about .container { position: relative; }

.about-profile {
  display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 112px;
}
.photo-wrap {
  position: relative; overflow: hidden; border-radius: 4px;
}
.photo-wrap img { width: 100%; height: auto; object-fit: cover; transition: transform 0.7s; }
.photo-wrap:hover img { transform: scale(1.02); }

.about-name-block { margin-top: 24px; }
.about-name {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600;
  color: var(--color-ink); margin-bottom: 4px;
}
.about-name-en {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--color-copper); margin-bottom: 16px;
}
.about-role {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em;
  color: var(--color-muted);
}

.about-text p {
  font-size: 0.95rem; color: var(--color-ink-light); line-height: 2.2;
  margin-bottom: 24px;
}
.about-text p:last-child { margin-bottom: 0; }

@media (min-width: 769px) {
  #about { padding: 160px 40px; }
  .about-profile { grid-template-columns: 4fr 8fr; gap: 80px; }
}

/* Why Choose Me */
.why-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  color: var(--color-copper); text-transform: uppercase; margin-bottom: 32px;
}

.strengths-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.strength-card {
  position: relative; padding: 32px 40px; height: 100%; overflow: hidden;
}
.strength-num {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-heading); font-size: 5rem; font-weight: 700;
  color: rgba(28,28,28,0.04); line-height: 1; user-select: none;
}
.strength-icon { display: block; font-size: 1.5rem; color: var(--color-copper); margin-bottom: 24px; }
.strength-title {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600;
  color: var(--color-ink); margin-bottom: 4px;
}
.strength-subtitle { font-size: 0.75rem; color: var(--color-copper); font-weight: 500; margin-bottom: 20px; }
.strength-desc { font-size: 0.85rem; color: var(--color-ink-light); line-height: 1.9; }

@media (min-width: 769px) {
  .strengths-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================
   SERVICE
   ============================ */
#service { 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 { width: 65px; height: 65px; object-fit: contain; }
.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: 160px 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================
   FLOW
   ============================ */
#flow { position: relative; padding: 128px 24px; overflow: hidden; }
.flow-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob-5 { width: 350px; height: 350px; background: rgb(210,233,249); top: 8%; right: 5%; opacity: 0.45; filter: blur(60px); }
.blob-6 { width: 300px; height: 300px; background: rgb(249,229,249); top: 50%; left: 0%; opacity: 0.4; filter: blur(55px); }
.blob-7 { width: 250px; height: 250px; background: rgb(191,249,255); bottom: 10%; right: 20%; opacity: 0.35; filter: blur(50px); }
#flow .container { position: relative; }

.flow-timeline { position: relative; max-width: 768px; margin: 0 auto; }
.flow-line-track {
  position: absolute; left: 18px; top: 0; bottom: 0; width: 1px;
  background: var(--color-border);
}
.flow-line-fill {
  width: 100%; height: 100%; background: var(--color-copper);
  transform-origin: top; transform: scaleY(0);
}
.flow-step {
  position: relative; padding-left: 56px; margin-bottom: 40px; opacity: 0;
}
.flow-dot {
  position: absolute; left: 12px; top: 8px; width: 13px; height: 13px;
  border-radius: 50%; background: #fff; border: 2.5px solid var(--color-copper); z-index: 10;
  transform: scale(0);
}
.flow-card { padding: 24px 32px; }
.flow-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.flow-step-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--color-copper); letter-spacing: 0.15em; font-weight: 500;
}
.flow-duration { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--color-muted); }
.flow-badge {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em;
  color: #fff; background: var(--color-copper); padding: 2px 10px; border-radius: 99px;
}
.badge-safe { background: var(--color-copper); }
.flow-title {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600;
  color: var(--color-ink); margin-bottom: 4px;
}
.flow-en {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em;
  color: var(--color-muted); text-transform: uppercase; margin-bottom: 12px;
}
.flow-desc { font-size: 0.85rem; color: var(--color-ink-light); line-height: 1.9; }

.flow-cta { text-align: center; margin-top: 80px; }
.flow-cta-text { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 24px; }

@media (min-width: 769px) {
  #flow { padding: 160px 40px; }
  .flow-line-track { left: 22px; }
  .flow-step { padding-left: 64px; }
  .flow-dot { left: 16px; }
  .flow-card { padding: 24px 32px; }
}

/* ============================
   WORKS
   ============================ */
#works { padding: 128px 24px; overflow: hidden; }
.works-slider { opacity: 0; }
.works-swiper { overflow: hidden; }

.works-pagination {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 0; margin-top: 48px;
}
.works-page {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0; border: none; background: none; cursor: pointer;
  width: 80px; position: relative;
}
.works-page-num {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  color: rgba(28,28,28,0.35); letter-spacing: 0.05em;
  transition: color 0.3s;
}
.works-page-bar {
  display: block; width: 100%; height: 2px;
  background: rgba(28,28,28,0.1); border-radius: 1px;
  position: relative; overflow: hidden;
}
.works-page-bar::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-ink); border-radius: 1px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.works-page.active .works-page-num { color: var(--color-ink); font-weight: 600; }
.works-page.active .works-page-bar::after { transform: scaleX(1); }
.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;
}
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.work-card:hover .work-image img { transform: scale(1.05); }

.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-divider { width: 12px; height: 1px; background: var(--color-border); }
.work-period { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--color-muted); }
.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-role { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--color-muted); margin-bottom: 16px; }
.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: 160px 40px; }
}

/* ============================
   CONTACT
   ============================ */
#contact { position: relative; padding: 128px 24px; overflow: hidden; }
.contact-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob-8 { width: 350px; height: 350px; background: rgb(249,229,249); top: 10%; left: 5%; opacity: 0.45; filter: blur(60px); }
.blob-9 { width: 300px; height: 300px; background: rgb(191,249,255); top: 45%; right: 5%; opacity: 0.4; filter: blur(55px); }
.blob-10 { width: 250px; height: 250px; background: rgb(210,233,249); bottom: 10%; left: 30%; opacity: 0.35; filter: blur(50px); }
#contact .container-narrow { position: relative; }

.contact-form-wrap { padding: 32px; margin-top: 64px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
.form-group { margin-bottom: 32px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  display: block; font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 12px;
}
.required { color: var(--color-copper); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 16px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 4px;
  font-family: var(--font-sans); font-size: 0.9rem; color: var(--color-ink);
  transition: border-color 0.3s; outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(122,122,128,0.4); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-copper); }
.form-group textarea { resize: none; }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.checkbox-item {
  display: flex; align-items: center;
  gap: 20px; padding: 14px 20px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 4px;
  cursor: pointer; transition: border-color 0.3s;
}
.checkbox-item:hover { border-color: var(--color-copper); }
.checkbox-item input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.checkbox-item span {
  display: flex; align-items: center; gap: 20px;
  font-size: 0.85rem; color: var(--color-ink-light); line-height: 1;
}
.checkbox-item span::before {
  content: ""; display: block; flex-shrink: 0;
  width: 12px; height: 12px;
  border: 1.5px solid #bbb; border-radius: 2px;
  background: #fff;
  transition: border-color 0.3s, background 0.3s;
}
.checkbox-item input:checked + span::before {
  background: var(--color-copper); border-color: var(--color-copper);
  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: 24px; padding-top: 8px; }
.form-note { font-size: 0.7rem; color: var(--color-muted); }

/* ============================
   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: 160px 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) {
  /* 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; }

  /* Section padding */
  #about, #service, #flow, #works, #contact { padding: 80px 16px; }

  /* Strength cards */
  .strength-card { padding: 24px; }

  /* Service cards */
  .service-card { padding: 24px; }

  /* Flow cards */
  .flow-card { padding: 16px 20px; }
  .flow-step { padding-left: 44px; }
  .flow-dot { left: 10px; }
  .flow-line-track { left: 16px; }

  /* Contact form */
  .contact-form-wrap { padding: 20px; }
  .checkbox-grid { grid-template-columns: 1fr; }

  /* Button */
  .btn-primary { padding: 14px 32px; font-size: 0.8rem; }

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

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

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