/* buzzbait renewal — cool corporate */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Archivo:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* cool / blue (default) */
  --bg: oklch(0.985 0.004 230);
  --bg-soft: oklch(0.965 0.006 230);
  --fg: oklch(0.18 0.035 250);
  --fg-soft: oklch(0.38 0.025 250);
  --fg-mute: oklch(0.62 0.015 250);
  --line: oklch(0.88 0.015 240);
  --line-soft: oklch(0.93 0.01 240);
  --accent: oklch(0.55 0.16 245);
  --accent-ink: oklch(0.98 0.005 230);
  --accent-soft: oklch(0.92 0.04 245);
  --surface: oklch(1 0 0);
  --grid-dot: oklch(0.88 0.012 240);
}

[data-theme="teal"] {
  --bg: oklch(0.985 0.006 180);
  --bg-soft: oklch(0.96 0.012 180);
  --fg: oklch(0.2 0.04 200);
  --fg-soft: oklch(0.4 0.025 200);
  --fg-mute: oklch(0.62 0.015 200);
  --line: oklch(0.87 0.02 190);
  --line-soft: oklch(0.93 0.015 190);
  --accent: oklch(0.6 0.13 190);
  --accent-ink: oklch(0.99 0.005 180);
  --accent-soft: oklch(0.92 0.04 190);
  --surface: oklch(1 0 0);
  --grid-dot: oklch(0.87 0.02 190);
}

[data-theme="graphite"] {
  --bg: oklch(0.97 0.002 250);
  --bg-soft: oklch(0.94 0.004 250);
  --fg: oklch(0.16 0.01 250);
  --fg-soft: oklch(0.38 0.01 250);
  --fg-mute: oklch(0.58 0.008 250);
  --line: oklch(0.85 0.006 250);
  --line-soft: oklch(0.92 0.004 250);
  --accent: oklch(0.78 0.17 130);
  --accent-ink: oklch(0.18 0.02 250);
  --accent-soft: oklch(0.93 0.06 130);
  --surface: oklch(1 0 0);
  --grid-dot: oklch(0.85 0.006 250);
}

[data-mode="dark"] {
  --bg: oklch(0.14 0.02 250);
  --bg-soft: oklch(0.18 0.025 250);
  --fg: oklch(0.96 0.005 230);
  --fg-soft: oklch(0.78 0.015 230);
  --fg-mute: oklch(0.55 0.02 240);
  --line: oklch(0.28 0.025 250);
  --line-soft: oklch(0.22 0.02 250);
  --accent: oklch(0.72 0.16 245);
  --accent-ink: oklch(0.14 0.02 250);
  --accent-soft: oklch(0.26 0.06 245);
  --surface: oklch(0.18 0.025 250);
  --grid-dot: oklch(0.26 0.02 250);
}
[data-mode="dark"][data-theme="teal"] {
  --accent: oklch(0.78 0.13 190);
  --accent-soft: oklch(0.28 0.05 190);
}
[data-mode="dark"][data-theme="graphite"] {
  --bg: oklch(0.13 0.005 250);
  --bg-soft: oklch(0.17 0.005 250);
  --accent: oklch(0.82 0.18 130);
  --accent-ink: oklch(0.13 0.005 250);
  --accent-soft: oklch(0.24 0.05 130);
}

.nav, section, footer { position: relative; z-index: 1; }
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--fg);
}
html, body {
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  transition: color 0.4s ease;
}
body {
  background: transparent;
  color: var(--fg);
}

body {
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

/* ============ Water surface backdrop ============ */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, color-mix(in oklch, var(--accent) 22%, var(--bg)) 0%, var(--bg) 70%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in oklch, var(--accent) 8%, var(--bg)) 100%);
}
.backdrop canvas { display: none; }
canvas#particles { display: none; }

/* Water surface canvas — fullscreen */
canvas#water {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  filter: contrast(1.05) saturate(1.1);
}

/* Subtle horizon glow */
.water-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, color-mix(in oklch, var(--accent) 15%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, color-mix(in oklch, var(--accent) 12%, transparent), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.5;
}
[data-mode="dark"] .water-glow { opacity: 0.4; }

.blob, .grid-overlay, .caustics { display: none !important; }

.float-shape { display: none !important; }
.blob {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  mix-blend-mode: normal;
  will-change: transform;
}
[data-mode="dark"] .blob { opacity: 0.55; filter: blur(140px); }
.blob-1 {
  background: radial-gradient(ellipse, var(--accent), transparent 60%);
  top: -250px; left: -250px;
  width: 1100px; height: 700px;
  opacity: 0.35;
  animation: tideA 26s ease-in-out infinite;
}
.blob-2 {
  background: radial-gradient(ellipse, color-mix(in oklch, var(--accent) 70%, oklch(0.78 0.12 200)), transparent 60%);
  bottom: -350px; right: -200px;
  width: 1200px; height: 800px;
  opacity: 0.32;
  animation: tideB 32s ease-in-out infinite;
}
.blob-3 {
  background: radial-gradient(ellipse, color-mix(in oklch, var(--accent) 50%, oklch(0.85 0.1 220)), transparent 60%);
  top: 40%; left: 40%;
  width: 900px; height: 600px;
  opacity: 0.25;
  animation: tideC 38s ease-in-out infinite;
}
@keyframes tideA {
  0%, 100% { transform: translate(0, 0) scaleX(1) scaleY(1); }
  50% { transform: translate(120px, 60px) scaleX(1.15) scaleY(0.92); }
}
@keyframes tideB {
  0%, 100% { transform: translate(0, 0) scaleX(1) scaleY(1); }
  50% { transform: translate(-140px, -80px) scaleX(0.9) scaleY(1.1); }
}
@keyframes tideC {
  0%, 100% { transform: translate(-50%, -50%) scaleX(1) scaleY(1); }
  50% { transform: translate(-45%, -55%) scaleX(1.1) scaleY(0.9); }
}

/* Horizontal ripple lines — water surface */
.grid-overlay {
  position: fixed;
  inset: -10% -5%;
  background-image:
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 38px,
      color-mix(in oklch, var(--accent) 35%, transparent) 38px,
      color-mix(in oklch, var(--accent) 35%, transparent) 39px,
      transparent 39px, transparent 80px,
      color-mix(in oklch, var(--accent) 18%, transparent) 80px,
      color-mix(in oklch, var(--accent) 18%, transparent) 81px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 85%);
  will-change: transform;
  filter: blur(0.4px);
}
[data-mode="dark"] .grid-overlay { opacity: 0.55; }

/* Caustic light beams */
.caustics {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 30% at 80% 60%, color-mix(in oklch, var(--accent) 22%, transparent), transparent 70%);
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: caustics 14s ease-in-out infinite;
}
@keyframes caustics {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

/* Floating geometric shapes */
.float-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.float-shape.ring {
  width: 120px; height: 120px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}
.float-shape.square {
  width: 80px; height: 80px;
  border: 1px solid var(--fg);
  opacity: 0.25;
}
.float-shape.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.float-shape.plus {
  width: 32px; height: 32px;
  opacity: 0.4;
}
.float-shape.plus::before, .float-shape.plus::after {
  content: '';
  position: absolute;
  background: var(--accent);
}
.float-shape.plus::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.float-shape.plus::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) { body { cursor: auto; } }

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

.mono { font-family: 'JetBrains Mono', monospace; font-weight: 400; }
.en { font-family: 'Archivo', 'Noto Sans JP', sans-serif; letter-spacing: -0.01em; }

/* ============ Cursor ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: oklch(1 0 0);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid oklch(1 0 0 / 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.2s ease;
}
.cursor-ring.hover {
  width: 72px; height: 72px;
  background: oklch(1 0 0 / 0.08);
}
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-brand .dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.nav-brand .nav-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
[data-mode="dark"] .nav-brand .nav-logo { filter: invert(1); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-soft);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--fg);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { padding: 16px 20px; }
}

/* ============ Section basics ============ */
section {
  position: relative;
  padding: 140px 40px;
}
@media (max-width: 900px) { section { padding: 100px 20px; } }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--fg-mute);
}

.section-label {
  position: absolute;
  top: 50px; left: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  display: flex;
  gap: 14px;
  align-items: center;
}
.section-label .num { color: var(--accent); }
@media (max-width: 900px) { .section-label { left: 20px; } }

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  padding: 160px 40px 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.hero-grid { display: none; }
.hero-title {
  position: relative;
}
.hero-title .accent-mark {
  background: linear-gradient(120deg, var(--accent), color-mix(in oklch, var(--accent) 50%, oklch(0.7 0.2 310)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  line-height: 1.8;
}
.hero-meta .blink {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  animation: blink 1.2s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0.3; } }

.hero-title-wrap {
  flex: 1;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 9.6vw, 157px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--fg);
  position: relative;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line-inner {
  display: inline-block;
  animation: slideUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.08s; }
@keyframes slideUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.hero-title .line-inner { animation-fill-mode: forwards; }
.hero-title .accent-mark {
  display: inline-block;
  position: relative;
}

.hero-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 48px;
  gap: 60px;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-sub p {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fg-soft);
}
.hero-sub .tag {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  align-self: flex-start;
}

.hero-marquee {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: 2;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-track span {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span::after {
  content: '◆';
  color: var(--accent);
  font-size: 10px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Strength/Weakness ============ */
.sw {
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.sw-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.sw-head h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.sw-head h2 .jp {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 0.38em;
  letter-spacing: 0.02em;
  color: var(--fg-mute);
  margin-top: 12px;
}
.sw-intro {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-soft);
  max-width: 520px;
}
.sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.sw-card {
  padding: 56px 48px;
  position: relative;
}
.sw-card + .sw-card { border-left: 1px solid var(--line); }
.sw-card h3 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.sw-card h3 .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--fg-mute);
  letter-spacing: 0.1em;
}
.sw-card .jp-title {
  font-size: 14px;
  color: var(--fg-mute);
  margin-bottom: 40px;
}
.sw-card.good h3 { color: var(--accent); }
.sw-card ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.sw-card li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.6;
  transition: padding-left 0.3s ease;
}
.sw-card li:hover { padding-left: 8px; }
.sw-card li .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  min-width: 28px;
  padding-top: 3px;
}
.sw-card.good li .n { color: var(--accent); }

@media (max-width: 900px) {
  .sw-head { grid-template-columns: 1fr; gap: 30px; }
  .sw-grid { grid-template-columns: 1fr; }
  .sw-card + .sw-card { border-left: 0; border-top: 1px solid var(--line); }
  .sw-card { padding: 40px 28px; }
}

/* ============ Business ============ */
.biz { background: transparent; position: relative; overflow: hidden; }
.biz-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 80px;
  flex-wrap: wrap;
  gap: 30px;
}
.biz-head h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.biz-head h2 .jp {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 0.38em;
  color: var(--fg-mute);
  margin-top: 12px;
}
.biz-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.biz-item {
  display: grid;
  grid-template-columns: 100px 1.5fr 2fr 220px;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.4s ease;
}
.biz-item:hover {
  padding-left: 16px;
}
.biz-item:hover .biz-arrow { transform: translateX(12px); color: var(--accent); }
.biz-item:hover .biz-title { color: var(--accent); }

.biz-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
}
.biz-num::before {
  content: '0';
  color: var(--fg-mute);
  opacity: 0.3;
}
.biz-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.biz-title .en-sub {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-mute);
  margin-top: 10px;
  text-transform: uppercase;
}
.biz-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg-soft);
}
.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.biz-tags span,
.biz-tags .biz-tag-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
  text-decoration: none;
}
.biz-tags .biz-tag-link:hover {
  color: var(--fg);
  border-color: var(--fg);
}
.biz-arrow {
  font-family: 'Archivo', sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--fg-mute);
  text-align: right;
  transition: transform 0.4s ease, color 0.3s;
  align-self: center;
}

@media (max-width: 900px) {
  .biz-item { grid-template-columns: 60px 1fr; gap: 20px; }
  .biz-num { font-size: 40px; }
  .biz-item > :nth-child(3), .biz-item > :nth-child(4) { grid-column: 1 / -1; }
  .biz-arrow { text-align: left; }
}

/* ============ Declaration ============ */
.decl {
  background: var(--fg);
  color: var(--bg);
  padding: 160px 40px;
  position: relative;
  overflow: hidden;
}
.decl .decl-blob {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 65%);
  opacity: 0.4;
  filter: blur(80px);
  top: -150px; right: -150px;
  animation: blobA 18s ease-in-out infinite;
}
.decl .decl-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 119px, color-mix(in oklch, var(--bg) 8%, transparent) 119px, color-mix(in oklch, var(--bg) 8%, transparent) 120px);
  pointer-events: none;
}
.decl::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--bg) 1px, transparent 1px);
  background-size: 100% 120px;
  opacity: 0.05;
}
.decl-eyebrow { color: color-mix(in oklch, var(--bg) 60%, transparent); }
.decl-eyebrow::before { background: color-mix(in oklch, var(--bg) 60%, transparent); }
.decl h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 960px;
}
.decl h2 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.decl-lead {
  font-size: 17px;
  line-height: 1.9;
  color: color-mix(in oklch, var(--bg) 80%, transparent);
  max-width: 720px;
  margin-bottom: 80px;
}
.decl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid color-mix(in oklch, var(--bg) 22%, transparent);
}
.decl-item {
  padding: 40px 40px 40px 0;
  border-right: 1px solid color-mix(in oklch, var(--bg) 22%, transparent);
  position: relative;
}
.decl-item:last-child { border-right: 0; padding-right: 0; }
.decl-item:not(:first-child) { padding-left: 40px; }
.decl-item .num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}
.decl-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}
.decl-item p {
  font-size: 14px;
  line-height: 1.85;
  color: color-mix(in oklch, var(--bg) 70%, transparent);
}

@media (max-width: 900px) {
  .decl-grid { grid-template-columns: 1fr; }
  .decl-item { padding: 32px 0 !important; border-right: 0; border-bottom: 1px solid color-mix(in oklch, var(--bg) 22%, transparent); }
  .decl-item:last-child { border-bottom: 0; }
}

/* ============ Company ============ */
.comp {
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.comp-left h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.comp-left h2 .jp {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 0.38em;
  color: var(--fg-mute);
  margin-top: 12px;
}
.comp-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  margin-top: 40px;
  line-height: 2;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.comp-table tr {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.comp-table tr:hover { background: var(--bg-soft); }
.comp-table th {
  text-align: left;
  padding: 22px 0;
  width: 180px;
  color: var(--fg-mute);
  font-weight: 500;
  font-size: 13px;
  vertical-align: top;
}
.comp-table td {
  padding: 22px 0;
  line-height: 1.7;
}
.comp-table .en-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
@media (max-width: 900px) {
  .comp { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
  .comp-table th { width: 110px; font-size: 12px; }
}

/* ============ Contact ============ */
.contact {
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 140px 40px 60px;
  position: relative;
  overflow: hidden;
}
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-left h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-left h2 em {
  font-style: normal;
  color: var(--accent);
}
.contact-left .en-kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--fg-mute);
  margin-bottom: 40px;
  text-transform: uppercase;
}
.contact-left p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-soft);
  max-width: 420px;
}
.contact-left .address {
  margin-top: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg-mute);
  line-height: 1.8;
}

form .row { display: flex; flex-direction: column; gap: 28px; }
form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
form .req { color: var(--accent); margin-left: 6px; }
form input, form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
form input:focus, form textarea:focus { border-bottom-color: var(--accent); }
form textarea { resize: vertical; min-height: 120px; }
form button {
  margin-top: 20px;
  padding: 22px 40px;
  background: var(--fg);
  color: var(--bg);
  border: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s;
}
form button:hover { background: var(--accent); color: var(--accent-ink); }
form button .arrow {
  transition: transform 0.25s ease;
}
form button:hover .arrow { transform: translateX(8px); }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
}

/* ============ Footer ============ */
footer {
  background: transparent;
  padding: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer .f-brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
footer .f-brand .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}
footer .f-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
}

/* ============ Tweaks panel ============ */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  z-index: 100;
  font-size: 13px;
  box-shadow: 0 20px 60px -20px oklch(0.2 0.04 250 / 0.2);
  display: none;
}
.tweaks.active { display: block; }
.tweaks h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks h4 .close {
  cursor: none;
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1;
  padding: 4px;
}
.tweaks .group { margin-bottom: 18px; }
.tweaks .group:last-child { margin-bottom: 0; }
.tweaks .group-title {
  font-size: 11px;
  color: var(--fg-mute);
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.theme-swatches {
  display: flex;
  gap: 8px;
}
.theme-swatch {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  cursor: none;
  transition: all 0.2s;
  background: transparent;
  color: var(--fg);
  font-family: 'JetBrains Mono', monospace;
}
.theme-swatch:hover { border-color: var(--fg); }
.theme-swatch.active { border-color: var(--accent); background: var(--accent-soft); }
.theme-swatch .sw-color {
  width: 100%; height: 20px;
  border-radius: 3px;
}
.mode-toggle {
  display: flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.mode-toggle button {
  flex: 1;
  padding: 8px;
  border: 0;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute);
  border-radius: 999px;
  cursor: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}
.mode-toggle button.active {
  background: var(--fg);
  color: var(--bg);
}

/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* progress bar */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 90;
  transform-origin: left;
  transform: scaleX(0);
}
