/* ==========================================================================
   范马电竞 FANMA ESPORTS — single page site
   ========================================================================== */

@font-face {
  font-family: "Smiley Sans";
  src: url("fonts/SmileySans-Oblique.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anton";
  src: url("fonts/Anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090b;
  --bg-soft: #0d0f13;
  --paper: #f3f0e8;
  --paper-2: #eae5d9;
  --ink: #121212;
  --muted: #a3a3a9;
  --muted-dark: #6d6a62;
  --orange: #ff4d1f;
  --orange-2: #ff7a45;
  --orange-soft: rgba(255, 77, 31, .1);
  --kook: #7acc35;
  --kook-deep: #4f8f1f;
  --kook-soft: rgba(122, 204, 53, .1);
  --gold: #f2b34b;
  --gold-soft: rgba(242, 179, 75, .12);
  --line: rgba(243, 240, 232, .14);
  --line-strong: rgba(243, 240, 232, .26);
  --line-dark: rgba(18, 18, 18, .16);
  --sans: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "Smiley Sans", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
  --latin: "Anton", "Arial Narrow", Impact, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
.menu-open .site-header {
  background: rgba(8, 9, 11, .98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

::selection { background: var(--orange); color: #0a0a0a; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--orange);
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; }

.container {
  width: min(var(--container), calc(100% - 96px));
  margin-inline: auto;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 11px 0;
  background: rgba(8, 9, 11, .92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: #0a0a0a;
  font-family: var(--latin);
  font-size: 20px;
  letter-spacing: .04em;
  line-height: 1;
  border-radius: 3px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); background: var(--orange-2); }

.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-size: 16px; font-weight: 800; letter-spacing: .12em; line-height: 1.2; }
.brand-copy small { font-family: var(--mono); font-size: 8.5px; letter-spacing: .22em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(243, 240, 232, .68);
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { flex: none; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1.5px;
  background: var(--paper);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 74px 0 0 0;
  z-index: 99;
  padding: 36px 24px;
  background: rgba(8, 9, 11, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1;
}
.mobile-menu nav a span { font-family: var(--mono); font-size: 10px; color: var(--orange); letter-spacing: .12em; }
.mobile-menu .btn { justify-content: center; }
.mobile-menu-note {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 2;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { font-size: 17px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background: var(--orange);
  color: #0b0b0b;
  box-shadow: 0 10px 34px rgba(255, 77, 31, .28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-2);
  box-shadow: 0 16px 44px rgba(255, 77, 31, .38);
}

.btn-line {
  border: 1px solid var(--line-strong);
  color: var(--paper);
  background: rgba(255, 255, 255, .02);
}
.btn-line:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: var(--orange-soft);
}
.btn-kook-line {
  border: 1px solid rgba(122, 204, 53, .42);
  color: #b8f06f;
  background: rgba(122, 204, 53, .045);
}
.btn-kook-line:hover {
  transform: translateY(-2px);
  border-color: var(--kook);
  background: rgba(122, 204, 53, .1);
  color: #d3ff9e;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--paper);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-2); }
.btn-ghost--kook { border-color: rgba(122, 204, 53, .34); }
.btn-ghost--kook:hover { border-color: var(--kook); color: #b8f06f; }

.btn-sm { min-height: 42px; padding: 11px 18px; font-size: 12px; }
.btn-sm .icon { font-size: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 96px;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero-grid {
  position: absolute;
  inset: -20% -10% 0;
  background-image:
    linear-gradient(to right, rgba(243, 240, 232, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 240, 232, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(700px) rotateX(14deg) scale(1.12);
  transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 66% at 56% 40%, #000 0%, rgba(0, 0, 0, .5) 50%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 66% at 56% 40%, #000 0%, rgba(0, 0, 0, .5) 50%, transparent 78%);
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow--1 {
  width: 640px;
  height: 640px;
  right: 2%;
  top: 14%;
  background: radial-gradient(circle, rgba(255, 77, 31, .36), transparent 68%);
  opacity: .8;
}
.hero-glow--2 {
  width: 520px;
  height: 520px;
  right: 32%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(45, 120, 200, .18), transparent 70%);
}

.hero-word {
  position: absolute;
  left: 50%;
  bottom: -11vw;
  transform: translateX(-50%);
  font-family: var(--latin);
  font-size: 31vw;
  line-height: .72;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 232, .065);
  white-space: nowrap;
  user-select: none;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, .13) 3px 4px);
  opacity: .3;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 40px;
  min-height: calc(100svh - 210px);
  padding: 46px 0 72px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: rgba(243, 240, 232, .76);
  text-transform: uppercase;
}
.eyebrow-sep { color: rgba(243, 240, 232, .28); }
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 77, 31, .7);
  animation: pulse 2.2s infinite;
}

.hero-title {
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(68px, 8.6vw, 128px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: .015em;
}
.hero-title .line { display: block; }
.hero-title .line--outline {
  width: fit-content;
  padding-right: clamp(26px, 2.8vw, 42px);
  color: transparent;
  -webkit-text-stroke: 1.6px var(--paper);
  text-stroke: 1.6px var(--paper);
  position: relative;
}
.hero-title .line--outline::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: clamp(12px, 1.4vw, 20px);
  height: clamp(12px, 1.4vw, 20px);
  background: var(--orange);
  transform: translateY(-50%) rotate(45deg);
}

.hero-lead {
  margin-top: 30px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.95;
  color: rgba(243, 240, 232, .66);
}
.hero-lead strong {
  color: var(--paper);
  font-weight: 700;
  box-shadow: inset 0 -.48em 0 rgba(255, 77, 31, .22);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta {
  display: flex;
  gap: 34px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.hero-meta li { display: flex; align-items: baseline; gap: 8px; }
.hero-meta b { font-family: var(--latin); font-size: 12px; color: var(--orange); letter-spacing: .06em; }
.hero-meta span { font-size: 12px; color: rgba(243, 240, 232, .62); white-space: nowrap; }

/* Crest */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.crest-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 0;
  opacity: .27;
  pointer-events: none;
}
.crest-bg .crest-wrap {
  width: min(620px, 48vw);
  animation: float 10s ease-in-out infinite;
}

.portrait-halo {
  position: absolute;
  z-index: 1;
  right: -4%;
  top: 4%;
  width: 72%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 42%, rgba(255, 93, 33, .34), transparent 66%);
  filter: blur(46px);
  pointer-events: none;
}

.hero-quote {
  position: absolute;
  z-index: 3;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 176, 107, .3);
  writing-mode: vertical-rl;
  color: rgba(243, 240, 232, .68);
  font-family: "Songti SC", "STSong", "SimSun", serif;
}
.hero-quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .11em;
}
.hero-quote p::before {
  content: "“";
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 36px;
  line-height: 1;
}
.hero-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(255, 176, 107, .85);
}

.portrait-card {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(420px, 32vw);
  margin-right: 1%;
  transform: rotate(2.2deg);
  transition: transform .5s var(--ease);
}
.portrait-card:hover { transform: rotate(0deg) translateY(-5px); }

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 190, 120, .38);
  border-radius: 18px;
  background: #0a0a0b;
  outline: 1px solid rgba(255, 190, 120, .13);
  outline-offset: 6px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .58), 0 0 54px rgba(255, 77, 31, .14);
}
.portrait-frame img { display: block; width: 100%; height: auto; }
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 7, 8, .94) 0%, rgba(7, 7, 8, .25) 32%, transparent 48%),
    radial-gradient(circle at 82% 4%, rgba(255, 176, 96, .16), transparent 42%);
}

.portrait-vertical {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 13px;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .2em;
  color: rgba(255, 240, 220, .64);
}

.portrait-caption {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 17px;
  display: flex;
  flex-direction: column;
}
.portrait-name {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--paper);
}
.portrait-role {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: rgba(243, 240, 232, .55);
}
.portrait-quote {
  margin-top: 9px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  color: #ffb06b;
}

.portrait-stamp {
  position: absolute;
  z-index: 4;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 190, 120, .5);
  border-radius: 50%;
  background: rgba(12, 10, 8, .86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  backdrop-filter: blur(8px);
  color: #ffb06b;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: .1em;
  transform: rotate(9deg);
}

.crest-wrap {
  position: relative;
  width: min(560px, 42vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite;
}

.crest-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 77, 31, .22), transparent 64%);
  filter: blur(28px);
}

.crest { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }

.crest-orbit {
  transform-origin: 260px 260px;
  animation: spin 44s linear infinite;
}
.crest-ring-text {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 5.4px;
  fill: rgba(243, 240, 232, .46);
}

.crest-fm {
  font-family: var(--latin);
  font-size: 52px;
  letter-spacing: .08em;
  fill: var(--orange);
}
.crest-cn {
  font-family: var(--display);
  font-size: 96px;
  letter-spacing: .03em;
  fill: var(--paper);
}
.crest-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 6px;
  fill: rgba(243, 240, 232, .55);
}

.crest-chip {
  position: absolute;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(8, 9, 11, .55);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: .18em;
  color: rgba(243, 240, 232, .58);
  border-radius: 3px;
}
.crest-chip--a { top: 8%; left: -1%; transform: rotate(-5deg); }
.crest-chip--b { right: 1%; bottom: 13%; transform: rotate(4deg); }

.hero-tag {
  display: none;
  position: absolute;
  right: 0;
  bottom: 3%;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(8, 9, 11, .62);
  backdrop-filter: blur(14px);
}
.hero-tag-dot { width: 7px; height: 7px; border-radius: 50%; background: #63f0a8; box-shadow: 0 0 12px rgba(99, 240, 168, .8); }
.hero-tag span { display: flex; flex-direction: column; gap: 1px; }
.hero-tag b { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; }
.hero-tag small { font-size: 9.5px; color: var(--muted); }

.hero-foot {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.hero-foot-inner { display: flex; align-items: center; gap: 20px; }
.hero-foot-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: rgba(243, 240, 232, .4); }
.hero-foot-line { flex: 1; height: 1px; background: linear-gradient(to right, var(--line), transparent); }
.hero-foot-note { font-size: 10px; letter-spacing: .08em; color: rgba(243, 240, 232, .42); }

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  position: relative;
  z-index: 3;
  width: 104%;
  margin-left: -2%;
  padding: 13px 0;
  overflow: hidden;
  background: var(--orange);
  color: #0b0b0b;
  transform: rotate(-1.1deg);
  box-shadow: 0 18px 50px rgba(255, 77, 31, .14);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
  letter-spacing: .05em;
  white-space: nowrap;
}
.marquee-track i { font-size: 9px; opacity: .55; }

/* ==========================================================================
   Shared section pieces
   ========================================================================== */

.section { position: relative; padding: 140px 0; }

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.section-index {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--orange);
}

.section-title { max-width: 760px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--orange); }

.section-title h2 {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .015em;
}

.section-side-note {
  margin-left: auto;
  align-self: flex-end;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(243, 240, 232, .52);
}

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   About
   ========================================================================== */

.about {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 77, 31, .09), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(18, 18, 18, .04), transparent 36%);
  pointer-events: none;
}
.about .container { position: relative; }

.about .kicker { color: var(--muted-dark); }
.about .section-index { border-color: var(--line-dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(40px, 6vw, 86px);
  align-items: start;
  margin-top: 78px;
}

.statement {
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: .01em;
}
.mark {
  position: relative;
  color: var(--orange);
  display: inline-block;
}
.mark::after {
  content: "";
  position: absolute;
  left: 4%;
  right: -2%;
  bottom: .02em;
  height: .11em;
  background: var(--orange);
  transform: rotate(-1.4deg);
  opacity: .55;
}

.about-paras { margin-top: 30px; max-width: 560px; }
.about-paras p {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.98;
  color: #514e47;
}
.about-paras strong { color: var(--ink); font-weight: 700; box-shadow: inset 0 -.5em 0 rgba(255, 77, 31, .13); }

.about-note {
  margin-top: 34px;
  padding: 20px 22px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 77, 31, .055);
  font-size: 12.5px;
  line-height: 1.9;
  color: #5e5a51;
}
.about-note span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--orange);
}
.about-note strong { color: var(--ink); font-weight: 700; }

/* Relation diagram */
.relation {
  position: relative;
  padding: 30px;
  border-radius: 26px;
  background: #0c0e12;
  color: var(--paper);
  box-shadow: 0 38px 90px rgba(18, 18, 18, .22);
  overflow: hidden;
}
.relation::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(243, 240, 232, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 240, 232, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
  pointer-events: none;
}
.relation > * { position: relative; }

.relation-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  color: rgba(243, 240, 232, .38);
}

.rel-node {
  position: relative;
  padding: 17px 19px;
  border: 1px solid rgba(243, 240, 232, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .028);
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.rel-node:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .045); }
.rel-tag {
  display: block;
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .18em;
  color: var(--orange);
}
.rel-node strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1.15; }
.rel-node small { display: block; margin-top: 3px; font-size: 10.5px; color: rgba(243, 240, 232, .48); }

.rel-node--root { margin-top: 22px; border-color: rgba(255, 77, 31, .45); background: rgba(255, 77, 31, .06); }
.rel-node--brand { border-color: rgba(243, 240, 232, .3); }
.rel-node--leaf { padding: 14px 15px; }
.rel-node--leaf strong { font-size: 18px; }
.rel-node--leaf small { font-size: 9.5px; }
.rel-node--leaf.is-blue { border-color: rgba(122, 204, 53, .38); background: rgba(122, 204, 53, .055); }
.rel-node--leaf.is-blue .rel-tag { color: var(--kook); }
.rel-node--leaf.is-gold { border-color: rgba(242, 179, 75, .4); background: rgba(242, 179, 75, .06); }
.rel-node--leaf.is-gold .rel-tag { color: var(--gold); }
.rel-node--leaf.is-brand-a { border-color: rgba(255, 77, 31, .42); background: rgba(255, 77, 31, .06); }
.rel-node--leaf.is-brand-a .rel-tag { color: var(--orange); }
.rel-node--leaf.is-brand-b { border-color: rgba(242, 179, 75, .42); background: rgba(242, 179, 75, .065); }
.rel-node--leaf.is-brand-b .rel-tag { color: var(--gold); }

.rel-branches {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}
.rel-branches::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: rgba(243, 240, 232, .18);
}
.rel-branches::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  width: 1px;
  height: 20px;
  background: rgba(243, 240, 232, .18);
}

.rel-link {
  position: relative;
  display: grid;
  place-items: center;
  height: 44px;
}
.rel-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(243, 240, 232, .18); }
.rel-link span {
  position: relative;
  padding: 0 8px;
  background: #0c0e12;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  color: rgba(243, 240, 232, .45);
}

.rel-fork { position: relative; padding-top: 40px; }
.rel-fork::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 20px; background: rgba(243, 240, 232, .18); }
.rel-fork-line { display: none; }
.rel-leaves { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rel-leaves::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: rgba(243, 240, 232, .18);
}
.rel-node--leaf::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 1px;
  height: 20px;
  background: rgba(243, 240, 232, .18);
}

.relation-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px dashed rgba(243, 240, 232, .14);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: rgba(243, 240, 232, .46);
}
.relation-foot b { color: var(--paper); font-weight: 600; }
.relation-foot-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 84px;
}

.value {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, .32);
  overflow: hidden;
  transition: transform .35s var(--ease), background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.value::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.value:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .72); border-color: rgba(18, 18, 18, .24); box-shadow: 0 24px 50px rgba(18, 18, 18, .06); }
.value:hover::before { transform: scaleX(1); }

.value-index {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--latin);
  font-size: 12px;
  color: rgba(18, 18, 18, .36);
}
.value-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--orange);
  font-size: 19px;
}
.value h3 { margin-top: 22px; font-family: var(--display); font-size: 29px; font-weight: 400; line-height: 1; }
.value p { margin-top: 10px; font-size: 13px; line-height: 1.85; color: #5f5b53; }

/* ==========================================================================
   Entries
   ========================================================================== */

.entries {
  background: var(--bg);
  overflow: hidden;
}
.entries::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 70vw;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, var(--line), transparent);
}

.section-head--dark .section-index { border-color: var(--line); color: var(--orange); }
.section-head--dark .kicker { color: rgba(243, 240, 232, .45); }

.entry {
  --mx: 50%;
  --my: 50%;
  --card-glow: rgba(255, 255, 255, .07);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 690px;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
}
.entry::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--card-glow), transparent 46%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.entry:hover::after { opacity: 1; }

.entry--kook {
  background:
    radial-gradient(circle at 82% 16%, rgba(122, 204, 53, .15), transparent 38%),
    linear-gradient(145deg, #0b130d 0%, #0a0d0b 46%, #0c110d 100%);
  border-color: rgba(122, 204, 53, .2);
}
.entry--hhm {
  margin-top: 26px;
  background: var(--paper-2);
  border-color: rgba(18, 18, 18, .12);
  color: #171208;
  --card-glow: rgba(232, 84, 28, .05);
}

.entry-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.2vw, 58px);
}

.entry-kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.entry-no {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--orange);
}
.entry-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  color: rgba(243, 240, 232, .45);
}
.entry-type i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.entry--kook .entry-type { color: rgba(122, 204, 53, .7); }
.entry--hhm .entry-type { color: #8a6c3d; }

.entry h3 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .015em;
}
.entry h3 em { color: var(--orange); }
.entry--kook h3 em { color: var(--kook); }
.entry--hhm h3 em { color: #e8541c; }

.entry-lead {
  margin-top: 20px;
  max-width: 470px;
  font-size: 14px;
  line-height: 1.95;
  color: rgba(243, 240, 232, .58);
}
.entry--hhm .entry-lead { color: #655942; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 30px;
}
.feature-list li { display: flex; gap: 11px; align-items: flex-start; }
.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(122, 204, 53, .24);
  border-radius: 9px;
  color: var(--kook);
  font-size: 15px;
  background: rgba(122, 204, 53, .05);
}
.entry--hhm .feature-icon { border-color: rgba(18, 18, 18, .16); color: #d9531f; background: rgba(255, 255, 255, .35); }
.feature-list b { display: block; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.feature-list p { margin-top: 3px; font-size: 11.5px; line-height: 1.65; color: rgba(243, 240, 232, .5); }
.entry--hhm .feature-list p { color: #6f6149; }

.service-flow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.service-flow span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(122, 204, 53, .17);
  border-radius: 999px;
  background: rgba(122, 204, 53, .045);
  font-size: 9.5px;
  letter-spacing: .02em;
  color: rgba(243, 240, 232, .58);
  white-space: nowrap;
}
.service-flow b {
  font-family: var(--latin);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--kook);
}
.service-flow i { flex: 1; min-width: 8px; height: 1px; background: rgba(122, 204, 53, .22); }

.entry-actions { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(243, 240, 232, .1); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.entry--hhm .entry-actions { border-top-color: rgba(18, 18, 18, .12); }

.btn-kook {
  background: linear-gradient(135deg, #b4f56d, #7acc35 58%, #5da021);
  color: #07140a;
  box-shadow: 0 12px 36px rgba(122, 204, 53, .24);
}
.btn-kook:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(122, 204, 53, .36); }
.kook-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #041016;
  color: var(--kook);
  font-family: var(--latin);
  font-size: 12px;
  line-height: 1;
}

.btn-hhm {
  background: #1b1309;
  color: #f8ead0;
  box-shadow: 0 12px 30px rgba(27, 19, 9, .18);
}
.btn-hhm:hover { transform: translateY(-2px); background: #2b1d0d; box-shadow: 0 18px 40px rgba(27, 19, 9, .24); }

.entry-micro { font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; color: rgba(243, 240, 232, .38); }
.entry--hhm .entry-micro { color: #8b7a5e; }

.hhm-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.hhm-heading img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 8px 20px rgba(232, 84, 28, .2); }
.hhm-heading div { display: flex; flex-direction: column; gap: 2px; }
.hhm-heading span { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: #a06a2b; }
.hhm-heading b { font-size: 11.5px; font-weight: 700; color: #3b2d18; letter-spacing: .03em; }

.entry-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 42px;
  overflow: hidden;
}

.entry-visual--kook {
  background:
    radial-gradient(circle at 50% 44%, rgba(122, 204, 53, .1), transparent 56%),
    linear-gradient(to right, rgba(243, 240, 232, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 240, 232, .04) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.entry-visual--kook::before {
  content: "KOOK";
  position: absolute;
  right: -1vw;
  bottom: -2vw;
  font-family: var(--latin);
  font-size: 14vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 204, 53, .08);
  pointer-events: none;
}
.entry-visual--kook::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 6%;
  width: 84%;
  height: 84%;
  border: 1px dashed rgba(122, 204, 53, .1);
  border-radius: 50%;
  pointer-events: none;
}

.entry-visual--hhm {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .65), transparent 55%),
    linear-gradient(to right, rgba(18, 18, 18, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 18, 18, .045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.entry-visual--hhm::before {
  content: "HH";
  position: absolute;
  left: -1vw;
  bottom: -3vw;
  font-family: var(--latin);
  font-size: 15vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 84, 28, .1);
  pointer-events: none;
}

/* KOOK window mock */
.kook-window {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  border: 1px solid rgba(122, 204, 53, .18);
  border-radius: 18px;
  background: rgba(7, 14, 9, .9);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .52);
  backdrop-filter: blur(18px);
  overflow: visible;
  transform: rotate(-.8deg);
  transition: transform .5s var(--ease);
}
.entry--kook:hover .kook-window { transform: rotate(0) translateY(-4px); }

.kw-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(243, 240, 232, .08);
}
.kw-dots { display: flex; gap: 5px; }
.kw-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 240, 232, .22); }
.kw-dots i:first-child { background: #ff5f57; }
.kw-dots i:nth-child(2) { background: #febc2e; }
.kw-dots i:nth-child(3) { background: #28c840; }
.kw-title { font-size: 9.5px; color: rgba(243, 240, 232, .58); letter-spacing: .04em; }
.kw-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--kook);
}
.kw-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--kook); animation: pulse 1.8s infinite; }

.kw-body { display: grid; grid-template-columns: 132px 1fr; }

.kw-channels {
  padding: 14px 10px;
  border-right: 1px solid rgba(243, 240, 232, .07);
  background: rgba(255, 255, 255, .015);
}
.kw-channels > p {
  padding: 0 6px 8px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .14em;
  color: rgba(243, 240, 232, .3);
}
.kw-channel {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 7px;
  border-radius: 7px;
  font-size: 9.5px;
  color: rgba(243, 240, 232, .5);
}
.kw-channel span { color: rgba(243, 240, 232, .24); }
.kw-channel.is-active { background: rgba(122, 204, 53, .1); color: var(--kook); }
.kw-channel.is-active span { color: var(--kook); }
.kw-channel b { margin-left: auto; font-family: var(--mono); font-size: 7.5px; color: rgba(122, 204, 53, .65); }
.kw-channel-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding: 10px 6px 0;
  border-top: 1px solid rgba(243, 240, 232, .07);
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: .04em;
  color: rgba(243, 240, 232, .28);
}
.kw-channel-foot span { width: 4px; height: 4px; border-radius: 50%; background: #63f0a8; }

.kw-main { padding: 15px; min-width: 0; }
.kw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kw-head b { display: block; font-size: 12px; }
.kw-head span { font-size: 8.5px; color: rgba(243, 240, 232, .36); }
.kw-badge {
  padding: 4px 8px;
  border: 1px solid rgba(122, 204, 53, .26);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  color: var(--kook);
}

.kw-users { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 13px; }
.kw-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 5px;
  border: 1px solid rgba(243, 240, 232, .07);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  color: rgba(243, 240, 232, .45);
}
.kw-user.is-speaking { border-color: rgba(122, 204, 53, .45); background: rgba(122, 204, 53, .07); box-shadow: 0 0 20px rgba(122, 204, 53, .08); }
.kw-user b { font-size: 8.5px; font-weight: 600; color: rgba(243, 240, 232, .78); }
.kw-user .icon { font-size: 9px; }
.kw-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a7a22, #223c0e);
  color: #b8f06f;
  font-family: var(--display);
  font-size: 13px;
  line-height: 1;
  border: 1px solid rgba(122, 204, 53, .24);
}
.kw-user:nth-child(2) .kw-avatar { background: linear-gradient(135deg, #57352c, #2c1a15); color: #ff9a72; border-color: rgba(255, 122, 69, .2); }
.kw-user:nth-child(3) .kw-avatar { background: linear-gradient(135deg, #3d4a32, #1d2418); color: #b7d68d; border-color: rgba(183, 214, 141, .2); }
.kw-user:nth-child(4) .kw-avatar { background: linear-gradient(135deg, #423a5f, #201c2c); color: #bdb0ff; border-color: rgba(189, 176, 255, .2); }
.kw-avatar--sm { width: 22px; height: 22px; font-size: 9px; flex: none; }

.kw-wave { display: flex; align-items: flex-end; gap: 2px; height: 8px; }
.kw-wave i { width: 2px; background: var(--kook); border-radius: 1px; animation: wave 1s ease-in-out infinite; }
.kw-wave i:nth-child(1) { height: 4px; animation-delay: 0s; }
.kw-wave i:nth-child(2) { height: 8px; animation-delay: .15s; }
.kw-wave i:nth-child(3) { height: 3px; animation-delay: .3s; }
.kw-wave i:nth-child(4) { height: 6px; animation-delay: .45s; }

.kw-chat { margin-top: 13px; display: flex; flex-direction: column; gap: 11px; }
.kw-msg { display: flex; align-items: flex-start; gap: 7px; }
.kw-msg > div { min-width: 0; }
.kw-msg b { display: flex; align-items: center; gap: 5px; font-size: 8.5px; color: rgba(243, 240, 232, .72); }
.kw-msg b em { padding: 1px 4px; border-radius: 3px; background: rgba(122, 204, 53, .12); color: var(--kook); font-family: var(--mono); font-size: 6px; letter-spacing: .06em; }
.kw-msg p { margin-top: 2px; font-size: 9.5px; line-height: 1.5; color: rgba(243, 240, 232, .5); }
.kw-msg time { margin-left: auto; font-family: var(--mono); font-size: 6.5px; color: rgba(243, 240, 232, .22); white-space: nowrap; }
.kw-msg--alt .kw-avatar { background: linear-gradient(135deg, #3d4a32, #1d2418); color: #b7d68d; border-color: rgba(183, 214, 141, .2); }

.kw-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 31px;
  margin-top: 13px;
  padding: 0 10px;
  border: 1px solid rgba(243, 240, 232, .08);
  border-radius: 7px;
  background: rgba(255, 255, 255, .02);
  font-size: 8.5px;
  color: rgba(243, 240, 232, .24);
}
.kw-input span { font-family: var(--mono); color: rgba(122, 204, 53, .5); }

.kw-toast {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(99, 240, 168, .24);
  border-radius: 999px;
  background: rgba(8, 18, 15, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  font-size: 9px;
  color: rgba(243, 240, 232, .72);
  white-space: nowrap;
}
.kw-toast i { width: 5px; height: 5px; border-radius: 50%; background: #63f0a8; box-shadow: 0 0 8px rgba(99, 240, 168, .8); }

.kook-float {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(122, 204, 53, .22);
  border-radius: 10px;
  background: rgba(8, 15, 8, .84);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  animation: float 5.6s ease-in-out infinite;
}
.kook-float .icon { font-size: 16px; color: var(--kook); }
.kook-float span { display: flex; flex-direction: column; }
.kook-float b { font-size: 9.5px; }
.kook-float small { font-family: var(--mono); font-size: 7px; letter-spacing: .03em; color: rgba(243, 240, 232, .38); }

/* HHM window mock */
.hhm-window {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  border: 1px solid rgba(18, 18, 18, .08);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 40px 90px rgba(70, 48, 16, .22);
  overflow: hidden;
  transform: rotate(.8deg);
  transition: transform .5s var(--ease);
  color: #1b1408;
}
.entry--hhm:hover .hhm-window { transform: rotate(0) translateY(-4px); }

.hhm-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(18, 18, 18, .06); }
.hhm-top img { width: 34px; height: 34px; border-radius: 8px; }
.hhm-brand { display: flex; flex-direction: column; gap: 1px; }
.hhm-brand b { font-family: var(--display); font-size: 17px; font-weight: 400; line-height: 1; }
.hhm-brand span { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: #a08b6c; }
.hhm-pill {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid #f4cfae;
  border-radius: 999px;
  background: #fff1e3;
  color: #d9571d;
  font-size: 8px;
  font-weight: 700;
}

.hhm-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 16px 10px;
  padding: 6px 6px 6px 13px;
  border-radius: 9px;
  background: #f6efe1;
  font-size: 9.5px;
  color: #a08f75;
}
.hhm-search b { padding: 6px 13px; border-radius: 6px; background: #ff6a2a; color: #fff; font-size: 9px; }

.hhm-chips { display: flex; gap: 6px; padding: 0 16px 12px; }
.hhm-chips span { padding: 4px 9px; border: 1px solid rgba(18, 18, 18, .1); border-radius: 999px; font-size: 8px; color: #7e6c51; }
.hhm-chips .is-on { background: #1b1408; border-color: #1b1408; color: #fff8ea; }

.hhm-list { padding: 0 16px; }
.hhm-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px dashed rgba(18, 18, 18, .1); }
.hhm-thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 9px;
  color: #fff;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: .04em;
}
.hhm-thumb--pubg { background: linear-gradient(135deg, #354737, #1b2a1e); }
.hhm-thumb--delta { background: linear-gradient(135deg, #4a3524, #2a1b10); }
.hhm-thumb--more { background: #f0e3cc; color: #b19a75; font-family: var(--sans); font-size: 20px; }
.hhm-info { min-width: 0; }
.hhm-info b { display: block; font-size: 10.5px; letter-spacing: .01em; }
.hhm-info p { margin-top: 2px; font-size: 8px; color: #a08f75; }
.hhm-tag { display: inline-block; margin-top: 4px; padding: 2px 6px; border-radius: 3px; background: #fff0df; color: #c2531c; font-size: 7px; font-weight: 700; }
.hhm-item > em { margin-left: auto; font-family: var(--mono); font-size: 7.5px; font-style: normal; color: #9c8a6d; white-space: nowrap; }

.hhm-steps { display: flex; align-items: center; gap: 6px; padding: 13px 16px; background: #faf4e8; border-top: 1px solid rgba(18, 18, 18, .05); }
.hhm-steps span { padding: 4px 7px; border-radius: 999px; background: #f3e9d7; font-size: 7px; color: #7d6a4e; white-space: nowrap; }
.hhm-steps i { flex: 1; height: 1px; background: #dcc9a6; }

.hhm-float {
  position: absolute;
  z-index: 3;
  left: 3%;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(232, 84, 28, .2);
  border-radius: 10px;
  background: rgba(255, 252, 245, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(70, 48, 16, .18);
  animation: float 6.2s ease-in-out infinite;
}
.hhm-float .icon { font-size: 16px; color: #e8541c; }
.hhm-float span { display: flex; flex-direction: column; }
.hhm-float b { font-size: 9.5px; color: #2a1d0c; }
.hhm-float small { font-family: var(--mono); font-size: 7px; color: #8b7659; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final {
  position: relative;
  padding: 170px 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #0a0b0e;
}
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.final-word {
  position: absolute;
  left: 50%;
  bottom: -9vw;
  transform: translateX(-50%);
  font-family: var(--latin);
  font-size: 26vw;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 232, .055);
  white-space: nowrap;
}
.final-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 720px;
  height: 520px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 31, .16), transparent 68%);
  filter: blur(50px);
}
.final-inner { position: relative; }
.final .kicker { justify-content: center; color: rgba(243, 240, 232, .45); }
.final h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(48px, 6.8vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .015em;
}
.final-inner > p:not(.kicker) { margin-top: 18px; font-size: 14px; color: rgba(243, 240, 232, .5); }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  border-top: 1px solid var(--line);
  background: #060708;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr .65fr .65fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand-mark { width: 38px; height: 38px; font-size: 18px; }
.footer-brand p { margin-top: 18px; font-size: 12px; line-height: 1.9; color: rgba(243, 240, 232, .42); }
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--orange);
}
.footer-top-link .icon { font-size: 12px; transition: transform .3s var(--ease); }
.footer-top-link:hover .icon { transform: translateY(-3px); }

.footer-col h4 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .2em;
  color: rgba(243, 240, 232, .32);
  text-transform: uppercase;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 11px;
  font-size: 12px;
  color: rgba(243, 240, 232, .6);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--orange-2); }
.footer-col a .icon { font-size: 10px; opacity: .55; }
.footer-col p { margin-top: 10px; font-size: 11px; line-height: 1.8; color: rgba(243, 240, 232, .42); }
.footer-badge {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .16em;
  color: rgba(243, 240, 232, .4);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  letter-spacing: .03em;
  color: rgba(243, 240, 232, .34);
}
.footer-disclaimer { max-width: 720px; text-align: right; }

.footer-word {
  margin: 6px 0 -2vw;
  font-family: var(--latin);
  font-size: 23vw;
  line-height: .72;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 232, .045);
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   Scroll progress
   ========================================================================== */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 2px;
  background: transparent;
}
.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, var(--orange), #ffb08a);
  box-shadow: 0 0 12px rgba(255, 77, 31, .7);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 31, .55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 77, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 31, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wave {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .container { width: calc(100% - 64px); }
  .hero-inner { gap: 24px; }
  .hero-title { font-size: clamp(62px, 8.4vw, 110px); }
  .crest-wrap { width: min(500px, 43vw); }
  .entry-copy { padding: 40px; }
  .entry-visual { padding: 30px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }

  .hero { min-height: auto; padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 20px 0 60px; }
  .hero-copy { max-width: 720px; }
  .hero-art { min-height: 420px; margin-top: 10px; }
  .crest-wrap { width: min(420px, 62vw); }
  .hero-tag { right: 4%; bottom: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .relation { max-width: 560px; }
  .values { margin-top: 60px; }

  .section-head--dark { flex-wrap: wrap; }
  .section-head--dark .section-side-note { margin-left: 94px; align-self: flex-start; }

  .entry { grid-template-columns: 1fr; min-height: 0; }
  .entry-copy { padding: 44px 38px; }
  .entry-visual { min-height: 520px; padding: 38px; }
  .entry--hhm .entry-copy { order: -1; }
  .entry--hhm .entry-visual { min-height: 500px; }
  .entry h3 { font-size: clamp(42px, 6.6vw, 62px); }
  .entry-lead { max-width: 620px; }
  .feature-list { max-width: 620px; }
}

@media (max-width: 820px) {
  .section { padding: 100px 0; }
  .hero-title { font-size: clamp(58px, 12vw, 96px); }
  .hero-lead { font-size: 15px; }
  .hero-meta { gap: 22px; }
  .hero-art { min-height: 380px; }
  .crest-wrap { width: min(350px, 70vw); }
  .hero-tag { display: none; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-col--wide { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-disclaimer { text-align: left; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding: 14px 0; }
  .site-header.is-scrolled { padding: 9px 0; }
  .brand-mark { width: 38px; height: 38px; font-size: 18px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 7.5px; }

  .hero { padding-top: 98px; }
  .eyebrow { font-size: 8px; padding: 8px 12px; letter-spacing: .1em; }
  .hero-title { font-size: clamp(54px, 15.5vw, 78px); margin-top: 20px; }
  .hero-title .line--outline::after { width: 11px; height: 11px; right: 0; }
  .hero-lead { margin-top: 22px; font-size: 14px; line-height: 1.9; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1; min-width: 0; padding-inline: 16px; font-size: 13px; }
  .hero-meta { flex-wrap: wrap; gap: 12px 22px; margin-top: 36px; }
  .hero-meta span { font-size: 11px; }
  .hero-art { min-height: 340px; }
  .crest-wrap { width: min(330px, 86vw); }
  .crest-chip { display: none; }
  .hero-foot-note { display: none; }

  .marquee-track span { font-size: 18px; }

  .section { padding: 82px 0; }
  .section-head { gap: 18px; }
  .section-index { width: 42px; height: 42px; font-size: 11px; }
  .section-title h2 { font-size: clamp(38px, 10.5vw, 52px); }
  .kicker { font-size: 8px; letter-spacing: .16em; }

  .about-grid { margin-top: 46px; }
  .statement { font-size: clamp(32px, 9vw, 42px); }
  .about-paras p { font-size: 14px; line-height: 1.9; }
  .about-note { font-size: 11.5px; padding: 16px 18px; }
  .relation { padding: 22px; border-radius: 20px; }
  .rel-node strong { font-size: 21px; }
  .rel-leaves { grid-template-columns: 1fr; gap: 10px; }
  .rel-leaves::before { display: none; }
  .rel-node--leaf::before { display: none; }
  .rel-fork { padding-top: 14px; }
  .rel-fork::before { display: none; }
  .rel-branches { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .rel-branches::before,
  .rel-branches::after { display: none; }

  .values { grid-template-columns: 1fr; gap: 12px; margin-top: 42px; }
  .value { padding: 24px 22px; }

  .section-head--dark .section-side-note { margin-left: 0; padding-left: 0; border: 0; font-size: 12px; }
  .entry { border-radius: 22px; margin-top: 28px; }
  .entry-copy { padding: 32px 22px; }
  .entry h3 { font-size: clamp(38px, 11vw, 50px); }
  .entry-lead { font-size: 13px; }
  .feature-list { grid-template-columns: 1fr; gap: 14px; }
  .feature-list p { font-size: 11px; }
  .service-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 20px; }
  .service-flow i { display: none; }
  .entry-actions { margin-top: 28px; padding-top: 22px; }
  .entry-actions .btn { width: 100%; }
  .entry-micro { font-size: 9px; line-height: 1.6; }
  .entry-visual { min-height: 400px; padding: 22px 14px 40px; }
  .entry--hhm .entry-visual { min-height: 400px; }

  .kw-body { grid-template-columns: 1fr; }
  .kw-channels { display: none; }
  .kw-main { padding: 13px; }
  .kw-users { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .kw-user { padding: 9px 3px; }
  .kw-avatar { width: 27px; height: 27px; font-size: 12px; }
  .kook-float { display: none; }
  .kw-toast { bottom: -16px; font-size: 8px; padding: 8px 11px; }
  .hhm-float { display: none; }
  .hhm-top { padding: 12px 13px; }
  .hhm-search { margin-inline: 13px; }
  .hhm-chips { padding-inline: 13px; }
  .hhm-list { padding-inline: 13px; }
  .hhm-steps { padding-inline: 13px; flex-wrap: wrap; }
  .hhm-steps i { min-width: 10px; }

  .final { padding: 110px 0; }
  .final h2 { font-size: clamp(42px, 12vw, 58px); }
  .final-actions { flex-direction: column; align-items: stretch; }
  .final-actions .btn { width: 100%; }

  .footer { padding-top: 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-word { font-size: 30vw; margin-top: 20px; }
}

@media (max-width: 1024px) {
  .hero-art { min-height: 540px; }
  .crest-bg .crest-wrap { width: min(460px, 62vw); }
  .portrait-card { width: min(360px, 52vw); justify-self: center; margin-right: 0; }
  .portrait-halo { right: 50%; transform: translateX(50%); width: 72%; }
  .hero-quote {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    writing-mode: horizontal-tb;
    justify-self: center;
    width: min(100%, 440px);
    margin: 0 auto 28px;
    padding: 0 0 0 16px;
    border-left: 2px solid rgba(255, 176, 107, .35);
  }
  .hero-quote p { height: auto; font-size: 14px; line-height: 1.9; }
  .hero-quote p::before { display: none; }
  .hero-quote cite { margin-top: 9px; }
}

@media (max-width: 820px) {
  .hero-art { min-height: 490px; }
  .portrait-card { width: min(340px, 70vw); }
}

@media (max-width: 640px) {
  .hero-art { min-height: 455px; }
  .crest-bg .crest-wrap { width: min(330px, 86vw); }
  .portrait-card { width: min(320px, 82vw); }
  .portrait-name { font-size: 24px; }
  .portrait-quote { font-size: 17px; }
  .portrait-stamp { width: 48px; height: 48px; font-size: 8px; top: 10px; right: 10px; }
  .portrait-vertical { font-size: 6.5px; }
  .hero-quote { width: 100%; margin-bottom: 22px; }
  .hero-quote p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
