/* =========================================================
   GROWWEB 365 — Editorial / Kinetic / Organic-Brutalist
   ========================================================= */

:root {
  --cream: #F5F2EA;
  --cream-2: #EDE8DA;
  --ink: #0A0A0A;
  --ink-soft: #2B2B2B;
  --muted: #6B6B68;
  --line: rgba(10,10,10,0.12);
  --green-deep: #0E3B2C;
  --green-mid: #1F5D44;
  --green-leaf: #6FB04E;
  --lime: #DCFF50;
  --lime-soft: #E9FF7A;
  --dark: #0A1F18;
  --dark-2: #0F2A20;

  --font-jp: 'Zen Kaku Gothic New', system-ui, sans-serif;
  --font-en: 'Hanken Grotesk', system-ui, sans-serif;
  --font-display: 'Anton', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --max: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* GRAIN + AMBIENT BACKGROUND */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.blob.b1 { width: 520px; height: 520px; background: #B9D9A5; top: -120px; left: -100px; animation: drift1 28s ease-in-out infinite; }
.blob.b2 { width: 420px; height: 420px; background: var(--lime); top: 30%; right: -120px; animation: drift2 34s ease-in-out infinite; opacity: 0.35; }
.blob.b3 { width: 600px; height: 600px; background: #C8E1B4; bottom: -180px; left: 25%; animation: drift3 40s ease-in-out infinite; }
.blob.b4 { width: 320px; height: 320px; background: var(--green-leaf); top: 55%; left: -80px; animation: drift4 32s ease-in-out infinite; opacity: 0.3; }
.blob.b5 { width: 380px; height: 380px; background: var(--lime-soft); top: 8%; right: 12%; animation: drift5 36s ease-in-out infinite; opacity: 0.5; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(140px, 80px) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-120px, 140px) scale(0.9); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(180px, -100px) scale(1.1); } }
@keyframes drift4 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px, -160px) scale(1.2); } }
@keyframes drift5 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-100px, 100px) scale(1.1); } }

.dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--green-deep);
  border-radius: 50%;
  opacity: 0.35;
}
.dot.d1 { top: 22%; left: 18%; animation: floaty 8s ease-in-out infinite; }
.dot.d2 { top: 78%; left: 62%; animation: floaty 11s ease-in-out infinite -2s; }
.dot.d3 { top: 35%; left: 88%; animation: floaty 9s ease-in-out infinite -4s; background: var(--lime); width: 8px; height: 8px; }
.dot.d4 { top: 62%; left: 8%; animation: floaty 12s ease-in-out infinite -6s; }
.dot.d5 { top: 12%; left: 70%; animation: floaty 10s ease-in-out infinite -3s; background: var(--green-leaf); }

@keyframes floaty {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(20px, -30px); }
}

.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transition: width 0.3s, height 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
}
.cursor.expand { width: 60px; height: 60px; background: var(--green-leaf); opacity: 0.5; }

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: multiply;
  transition: background 0.4s, mix-blend-mode 0.4s, padding 0.4s;
}
.header.scrolled {
  background: rgba(245,242,234,0.85);
  backdrop-filter: blur(18px);
  mix-blend-mode: normal;
  border-bottom: 1px solid var(--line);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 90px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.brand:hover .brand-logo { opacity: 0.75; }
.footer .brand-logo { height: 70px; }

.nav {
  display: flex;
  gap: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a { position: relative; padding: 4px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.4s var(--ease);
}
.nav a:hover::after { width: 100%; }
@media (max-width: 820px) { .nav { display: none; } }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.cta-btn:hover { transform: translateY(-2px); background: var(--green-deep); }
.cta-btn .arrow { transition: transform 0.3s; }
.cta-btn:hover .arrow { transform: translateX(4px); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px var(--pad-x) 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.3s forwards;
}
.hero-meta .label-dot::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 60px 0;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 60px; } }

.hero-copy h1 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(40px, 7.2vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.hero-copy h1 .line {
  display: block;
  overflow: hidden;
}
.hero-copy h1 .reveal {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero-copy h1 .reveal.l1 { animation-delay: 0.4s; }
.hero-copy h1 .reveal.l2 { animation-delay: 0.6s; }
.hero-copy h1 .reveal.l3 { animation-delay: 0.85s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-copy h1 .em {
  position: relative;
  color: var(--green-deep);
}
.hero-copy h1 .em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8%;
  height: 38%;
  background: var(--lime);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: highlightSweep 1.2s var(--ease-out) 1.4s forwards;
}
@keyframes highlightSweep { to { transform: scaleX(1); } }

.hero-copy h1 .reveal.l3 {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero-sub {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.6s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.8s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); background: var(--green-deep); }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.3s, color 0.3s;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* HERO ART — the 365 piece */
.hero-art {
  position: relative;
  height: clamp(400px, 60vh, 620px);
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.big365 {
  font-family: var(--font-display);
  font-size: clamp(220px, 32vw, 480px);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--green-deep);
  position: relative;
  z-index: 2;
  text-align: center;
  user-select: none;
  will-change: transform;
  transition: transform 0.6s var(--ease-out);
}
.big365 .digit {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(-6deg);
  animation: digitDrop 1s var(--ease-out) forwards;
}
.big365 .digit:nth-child(1) { animation-delay: 1s; }
.big365 .digit:nth-child(2) { animation-delay: 1.15s; }
.big365 .digit:nth-child(3) { animation-delay: 1.3s; }
@keyframes digitDrop {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.tree-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.tree-svg path, .tree-svg line, .tree-svg circle {
  stroke: var(--green-mid);
  fill: none;
  stroke-width: 1.5;
}
.tree-svg .leaf {
  fill: var(--green-leaf);
  stroke: none;
  opacity: 0;
  transform-origin: center;
  animation: leafIn 0.6s var(--ease-out) forwards;
}
.tree-svg .leaf.lime { fill: var(--lime); }
@keyframes leafIn {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 0.9; transform: scale(1); }
}
.tree-svg .draw {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2.4s var(--ease-out) 1.4s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.orbit {
  position: absolute;
  border: 1px dashed rgba(14,59,44,0.25);
  border-radius: 50%;
  animation: rotate 40s linear infinite;
  pointer-events: none;
}
.orbit.o1 { width: 110%; height: 110%; }
.orbit.o2 { width: 130%; height: 130%; animation-duration: 60s; animation-direction: reverse; }
.orbit-dot {
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  transform: translateX(-50%);
}
.orbit.o2 .orbit-dot { background: var(--green-leaf); }
@keyframes rotate { to { transform: rotate(360deg); } }

.float-tag {
  position: absolute;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 40px rgba(14,59,44,0.08);
  opacity: 0;
  z-index: 3;
}
.float-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
}
.float-tag.t1 { top: 10%; right: -2%; animation: tagIn1 0.8s var(--ease-out) 1.6s forwards; }
.float-tag.t2 { bottom: 16%; left: -1%; animation: tagIn2 0.8s var(--ease-out) 1.8s forwards; }
.float-tag.t3 { top: 50%; right: 6%; animation: tagIn3 0.8s var(--ease-out) 2s forwards; }
@keyframes tagIn1 { from { opacity: 0; transform: translateY(20px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(4deg); } }
@keyframes tagIn2 { from { opacity: 0; transform: translateY(20px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(-3deg); } }
@keyframes tagIn3 { from { opacity: 0; transform: translateY(20px) rotate(2deg); } to { opacity: 1; transform: translateY(0) rotate(2deg); } }

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 1s var(--ease) 2.4s forwards;
}
.scroll-cue .l-line {
  width: 60px; height: 1px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.scroll-cue .l-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-100%);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* MARQUEE STRIPS */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--cream);
}
.marquee.dark { background: var(--ink); border-color: transparent; }
.marquee.lime { background: var(--lime); border-color: transparent; }
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
  width: max-content;
}
.marquee.dark .marquee-track { color: var(--cream); }
.marquee.lime .marquee-track { color: var(--ink); }
.marquee-track > span { display: inline-flex; align-items: center; gap: 60px; padding-right: 60px; }
.marquee-track .dot-sep {
  width: 16px; height: 16px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}
.marquee.lime .marquee-track .dot-sep { background: var(--green-deep); }
.marquee.dark .marquee-track .star {
  display: inline-block;
  color: var(--lime);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* SECTION SCAFFOLD */
.section {
  position: relative;
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.section-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.section-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(34px, 5.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.section-title .em {
  position: relative;
  display: inline-block;
}
.section-title .em::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: -6%;
  height: 18%;
  background: var(--lime);
  z-index: -1;
}

.section-lead {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 60px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up.in { opacity: 1; transform: translateY(0); }
.reveal-up[data-d="1"] { transition-delay: 0.1s; }
.reveal-up[data-d="2"] { transition-delay: 0.2s; }
.reveal-up[data-d="3"] { transition-delay: 0.3s; }

/* CONCEPT */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  padding: 40px 32px;
  background: var(--cream-2);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), background 0.5s, color 0.5s;
}
.pillar:hover { transform: translateY(-6px); background: var(--ink); color: var(--cream); }
.pillar:hover .pillar-num { color: var(--lime); }

.pillar-num {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--green-deep);
  margin-bottom: 24px;
  transition: color 0.5s;
}
.pillar h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  transition: color 0.5s;
}
.pillar:hover p { color: rgba(245,242,234,0.8); }
.pillar-tag {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.5s;
}
.pillar:hover .pillar-tag { color: var(--lime); }

/* SERVICE / FLOW */
.service {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.service .section-inner { max-width: var(--max); margin: 0 auto; }
.service .section-tag { color: var(--cream); border-color: var(--cream); }
.service .section-title { color: var(--cream); }
.service .section-title .em::after { background: var(--lime); }
.service .section-lead { color: rgba(245,242,234,0.7); }

.flow-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 80px 0;
}
@media (max-width: 900px) { .flow-cycle { grid-template-columns: 1fr; } }

.flow-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.flow-ring {
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(245,242,234,0.3);
  border-radius: 50%;
  animation: rotate 50s linear infinite;
}
.flow-ring::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  width: 16px; height: 16px;
  background: var(--lime);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 30px var(--lime);
}
.flow-center {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(10,31,24,1) 60%, rgba(10,31,24,0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.flow-center .num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 0.9;
  color: var(--lime);
  -webkit-text-stroke: 1.5px var(--dark);
  letter-spacing: -0.04em;
}
.flow-center .label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,242,234,0.7);
  white-space: nowrap;
}

.flow-node {
  position: absolute;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 100px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.flow-node.n1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.flow-node.n1.active { background: var(--lime); transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 8px 30px rgba(220,255,80,0.5); }
.flow-node.n2 { right: 0; top: 50%; transform: translate(50%, -50%); }
.flow-node.n2.active { background: var(--lime); transform: translate(50%, -50%) scale(1.1); box-shadow: 0 8px 30px rgba(220,255,80,0.5); }
.flow-node.n3 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.flow-node.n3.active { background: var(--lime); transform: translate(-50%, 50%) scale(1.1); box-shadow: 0 8px 30px rgba(220,255,80,0.5); }
.flow-node.n4 { left: 0; top: 50%; transform: translate(-50%, -50%); }
.flow-node.n4.active { background: var(--lime); transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 8px 30px rgba(220,255,80,0.5); }

.flow-text h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.flow-text p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245,242,234,0.75);
  margin-bottom: 32px;
  max-width: 460px;
}

.includes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,242,234,0.1);
  margin-top: 60px;
  border: 1px solid rgba(245,242,234,0.1);
}
@media (max-width: 700px) { .includes { grid-template-columns: 1fr 1fr; } }

.include {
  background: var(--dark);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s;
}
.include:hover { background: var(--dark-2); }
.include .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--lime);
}
.include .name {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
}
.include .desc {
  font-size: 12px;
  color: rgba(245,242,234,0.55);
  line-height: 1.6;
}

/* CASES */
.cases-section { padding: clamp(80px, 12vh, 140px) var(--pad-x); }
.cases-section .section-inner { max-width: var(--max); margin: 0 auto; }

.case-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}
.case-block:last-child { margin-bottom: 0; }
.case-block.flip { grid-template-columns: 1.1fr 1fr; }
.case-block.flip .case-mockup-wrap { order: -1; }
@media (max-width: 900px) {
  .case-block, .case-block.flip { grid-template-columns: 1fr; }
  .case-block.flip .case-mockup-wrap { order: 0; }
}

.case-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.case-meta .num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--green-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.case-meta .meta-line { flex: 1; height: 1px; background: var(--ink); }

.case-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.case-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 460px;
}

.case-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.case-stat .v {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  color: var(--green-deep);
}
.case-stat .v .x { color: var(--green-leaf); }
.case-stat .l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.case-link:hover { background: var(--ink); color: var(--cream); }

.case-mockup-wrap { position: relative; perspective: 1500px; }
.pc-mockup {
  background: var(--ink);
  border-radius: 16px 16px 4px 4px;
  padding: 14px 14px 0;
  box-shadow: 0 40px 80px -20px rgba(14,59,44,0.25);
  position: relative;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.8s var(--ease-out);
}
.case-block:hover .pc-mockup { transform: rotateY(0) rotateX(0); }
.case-block.flip .pc-mockup { transform: rotateY(4deg) rotateX(2deg); }
.case-block.flip:hover .pc-mockup { transform: rotateY(0) rotateX(0); }

.pc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
}
.pc-bar .pc-dot { width: 10px; height: 10px; border-radius: 50%; }
.pc-bar .pc-dot.r { background: #FF5F57; }
.pc-bar .pc-dot.y { background: #FFBD2E; }
.pc-bar .pc-dot.g { background: #28CA42; }
.pc-bar .url {
  margin-left: 16px;
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  letter-spacing: 0.05em;
}

.pc-screen {
  background: var(--cream);
  aspect-ratio: 16/10;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  position: relative;
}
.pc-screen.dark { background: #0a0a0a; color: var(--cream); }

.site-mireal {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0E3B2C 0%, #142847 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.site-mireal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, var(--lime-soft), transparent 50%);
  opacity: 0.2;
}
.site-mireal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  position: relative;
  z-index: 1;
}
.site-mireal-nav .logo { color: var(--lime); font-size: 13px; letter-spacing: 0.05em; }
.site-mireal-nav .menu { display: flex; gap: 14px; opacity: 0.8; }
.site-mireal-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}
.site-mireal-hero h2 {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 70%;
}
.site-mireal-hero h2 i { font-style: normal; color: var(--lime); }
.site-mireal-bar {
  display: flex;
  gap: 14px;
  padding: 10px 22px;
  background: rgba(0,0,0,0.3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.site-mireal-bar span { opacity: 0.7; }

.site-knots {
  height: 100%;
  background: #0a0a0a;
  color: #f4f4f0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.site-knots::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(220,180,120,0.15), transparent 60%);
}
.site-knots-nav {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-knots-nav .logo {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #d4b48c;
}
.site-knots-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  position: relative;
  z-index: 1;
}
.site-knots-hero h2 {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-style: italic;
}
.site-knots-hero h2 .accent { color: #d4b48c; font-style: italic; }
.site-knots-bar {
  display: flex;
  justify-content: space-around;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

.phone-mockup {
  position: absolute;
  width: 140px;
  background: var(--ink);
  border-radius: 22px;
  padding: 8px;
  bottom: -40px;
  right: -20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  transform: rotate(8deg);
  transition: transform 0.8s var(--ease-out);
  z-index: 2;
}
.case-block:hover .phone-mockup { transform: rotate(2deg) translateY(-10px); }
.case-block.flip .phone-mockup { right: auto; left: -20px; transform: rotate(-8deg); }
.case-block.flip:hover .phone-mockup { transform: rotate(-2deg) translateY(-10px); }
.phone-screen {
  aspect-ratio: 9/19;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  background: var(--ink);
  border-radius: 4px;
  z-index: 3;
}

/* STATS BAND */
.stats-band {
  background: var(--lime);
  padding: 80px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.stats-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 800px) { .stats-band-inner { grid-template-columns: 1fr; } }

.stat-big {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--ink);
}
.stat-big .v {
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 140px);
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.stat-big .v .x { font-size: 0.6em; opacity: 0.7; }
.stat-big .l {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-big .src {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.6);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 60px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--ink);
  color: var(--cream);
  padding: 50px 44px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}
.price-card.alt {
  background: var(--cream-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.price-card .badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
}
.price-card.alt .badge { color: var(--green-deep); }
.price-card h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.price-display .currency {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
}
.price-display .num {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.price-display .num .lime { color: var(--lime); }
.price-display .unit {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 14px;
  opacity: 0.7;
}
.price-tax {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  text-transform: uppercase;
}
.price-divider {
  height: 1px;
  background: rgba(245,242,234,0.15);
  margin: 32px 0;
}
.price-card.alt .price-divider { background: var(--line); }
.price-note {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.8;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}
@media (max-width: 700px) { .options { grid-template-columns: 1fr; } }
.option-pill {
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  transition: background 0.3s, transform 0.3s;
}
.option-pill:hover { background: var(--lime); transform: translateY(-3px); }
.option-pill::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--green-leaf);
}

/* FAQ */
.faq-list { margin-top: 60px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.4;
}
.faq-q .qmark {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--green-leaf);
  flex-shrink: 0;
  width: 40px;
}
.faq-q .text { flex: 1; }
.faq-q .toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), background 0.4s;
  position: relative;
}
.faq-q .toggle::before, .faq-q .toggle::after {
  content: "";
  position: absolute;
  background: var(--cream);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.faq-q .toggle::before { width: 14px; height: 2px; }
.faq-q .toggle::after { width: 2px; height: 14px; }
.faq-item.open .faq-q .toggle { background: var(--lime); transform: rotate(180deg); }
.faq-item.open .faq-q .toggle::before { background: var(--ink); }
.faq-item.open .faq-q .toggle::after { transform: rotate(90deg); background: var(--ink); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner {
  padding: 0 0 28px 68px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* CTA */
.cta-section {
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  background: var(--dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(220,255,80,0.12), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(111,176,78,0.18), transparent 50%);
  animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  to {
    background:
      radial-gradient(ellipse at 70% 30%, rgba(220,255,80,0.18), transparent 50%),
      radial-gradient(ellipse at 30% 70%, rgba(111,176,78,0.22), transparent 50%);
  }
}
.cta-marquee {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
}
.cta-marquee .lime { color: var(--lime); }
.cta-marquee .stroke {
  -webkit-text-stroke: 2px var(--cream);
  color: transparent;
}
.cta-sub {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.8;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 38px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 100px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 20px 60px rgba(220,255,80,0.4); }
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 38px;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 100px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}
.btn-line:hover { background: var(--cream); color: var(--ink); }

/* FOOTER */
.footer {
  padding: 60px var(--pad-x) 30px;
  background: var(--ink);
  color: rgba(245,242,234,0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer .brand { color: var(--cream); }

@media (max-width: 700px) {
  .hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
  .hero { padding-top: 110px; }
  .case-stats { gap: 20px; }
  .phone-mockup { width: 110px; bottom: -20px; right: -10px; }
  .cursor { display: none; }
  .brand-logo { height: 56px; }
  .footer .brand-logo { height: 50px; }
}
