/* ============ MOOD V2 · ACID EDITION ============ */

:root {
  --bg: #060609;
  --ink: #f2f2ef;
  --muted: #9a9aa2;
  --dim: #5c5c66;
  --acid: #FC7756;
  --mint: #E06040;
  --gold: #FC7756;
  --radius: 28px;
  --violet: #FC7756;
  --ember: #FC7756;
  --line: rgba(242, 242, 239, 0.14);
  --line-soft: rgba(242, 242, 239, 0.07);
  --display: "Inter", system-ui, -apple-system, sans-serif;
  --body: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--acid); color: #060609; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262e; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--acid); }

.accent { color: var(--acid); font-style: normal; }

/* ---------- shader field ---------- */
.shader-field, .shader-fallback {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.shader-fallback {
  background:
    radial-gradient(900px circle at 20% 10%, rgba(141, 123, 255, 0.14), transparent 55%),
    radial-gradient(700px circle at 80% 80%, rgba(252, 119, 86, 0.10), transparent 55%),
    var(--bg);
}
/* ---------- progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--acid); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 90;
}

/* ---------- cursor: signal beams, not a circle ---------- */
.cursor-ring,
.cursor-label {
  position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
  will-change: transform; mix-blend-mode: normal;
}
.cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; transform-origin: 50% 50%; }
.cursor-mark { position: relative; width: 100%; height: 100%; }
.cursor-mark span {
  position: absolute; left: 50%; top: 50%; display: block;
  background: #E06040; border-radius: 999px;
  box-shadow: 0 0 18px color-mix(in srgb, #E06040 62%, transparent), 0 0 34px rgba(224, 96, 64, 0.28);
  transition: width 0.22s var(--ease), height 0.22s var(--ease), transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.cursor-mark span:first-child { width: 26px; height: 2px; transform: translate(-50%, -50%); }
.cursor-mark span:last-child { width: 2px; height: 26px; transform: translate(-50%, -50%); }
.cursor-hot .cursor-mark span:first-child,
.cursor-view .cursor-mark span:first-child,
.cursor-ring.hot .cursor-mark span:first-child { width: 26px; transform: translate(-50%, -50%) rotate(-45deg); }
.cursor-hot .cursor-mark span:last-child,
.cursor-view .cursor-mark span:last-child,
.cursor-ring.hot .cursor-mark span:last-child { height: 26px; transform: translate(-50%, -50%) rotate(-45deg); }
.cursor-hot .cursor-label,
.cursor-view .cursor-label { opacity: 1; }
.cursor-label {
  opacity: 0; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.22em;
  color: #E06040; text-transform: uppercase; transition: opacity 0.18s var(--ease);
}
.cursor-view .cursor-label { opacity: 1; }
.work-preview { pointer-events: none; }
@media (hover: none) { .cursor-ring, .cursor-label { display: none; } }
.cursor-hot .cursor-mark span:first-child,
.cursor-view .cursor-mark span:first-child,
.cursor-ring.hot .cursor-mark span:first-child,
.cursor-ring.on-hot-target .cursor-mark span:first-child { width: 38px; transform: translate(-50%, -50%) rotate(-45deg); }
.cursor-hot .cursor-mark span:last-child,
.cursor-view .cursor-mark span:last-child,
.cursor-ring.hot .cursor-mark span:last-child,
.cursor-ring.on-hot-target .cursor-mark span:last-child { height: 38px; transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: #040406;
  display: flex; align-items: flex-end; justify-content: flex-end;
  transition: transform 0.75s var(--ease);
}
.preloader.gone { transform: translateY(-101%); opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner {
  width: 100%; display: flex; align-items: flex-end; justify-content: flex-end; gap: 1.25rem; text-align: right;
  padding: clamp(1.2rem, 4vw, 3rem);
}
.preloader-name {
  font-family: var(--display); font-weight: 800; letter-spacing: 0.05em;
  font-size: clamp(1rem, 2vw, 1.4rem);
}
.preloader-count {
  font-family: var(--mono); font-size: clamp(3.4rem, 14vw, 11rem);
  line-height: 0.85; color: var(--acid); font-weight: 600;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 160;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.82rem clamp(1.2rem, 4vw, 3rem);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(242, 238, 229, 0.97), rgba(232, 227, 216, 0.9));
  border-bottom: 1px solid rgba(7, 7, 7, 0.14);
  box-shadow: 0 16px 42px rgba(7, 7, 7, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.28);
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
  mix-blend-mode: normal;
}
.nav::after {
  content: "";
  position: absolute; left: clamp(1.2rem, 4vw, 3rem); right: clamp(1.2rem, 4vw, 3rem); bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 119, 86, 0.42), transparent);
  pointer-events: none;
}
.nav > * { position: relative; z-index: 1; }
.nav-mark {
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.03em;
}
.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}
.nav-mark-dot { color: var(--acid); font-size: 0.78em; line-height: 1; }
.nav-mark-dot-leading { transform: translateY(-0.02em); }
.nav-links { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
.nav-links a, .nav-status {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em;
}
.nav-links a:hover { color: var(--acid); }
.nav-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid rgba(7, 7, 7, 0.105);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--acid);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- hero ---------- */
main { position: relative; z-index: 1; }

.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.2rem, 4vw, 3rem) 4rem;
  position: relative; overflow: hidden;
}
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
  filter: grayscale(100%);
}
.hero-eyebrow {
  font-family: var(--mono); font-size: clamp(0.6rem, 1vw, 0.75rem);
  letter-spacing: 0.22em; color: rgba(255,255,255,0.7); margin-bottom: clamp(1.2rem, 3vh, 2.4rem);
  position: relative; z-index: 2;
}
.hero-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 9.2vw, 8.6rem);
  line-height: 0.94; letter-spacing: -0.03em; text-transform: uppercase;
  color: #ffffff;
  position: relative; z-index: 2;
}
.hero-title .line { display: block; overflow: hidden; white-space: nowrap; }
.hero-title .line > span {
  display: block; transform: translateY(110%);
  transition: transform 1s var(--ease);
  color: #ffffff;
}
.hero.ready .line:nth-child(1) > span { transform: translateY(0); transition-delay: 0.05s; }
.hero.ready .line:nth-child(2) > span { transform: translateY(0); transition-delay: 0.16s; }
.hero.ready .line:nth-child(3) > span { transform: translateY(0); transition-delay: 0.27s; }
.hero-title .outline > span {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0;
}
.hero-title-accent-letter {
  color: var(--acid);
  -webkit-text-fill-color: var(--acid);
  -webkit-text-stroke: 0;
}
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-top: clamp(2rem, 6vh, 4rem); flex-wrap: wrap;
}
.hero-copy {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.4rem); line-height: 1.3; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.75); max-width: 50ch;
  position: relative; z-index: 2;
}
.hero-copy strong { color: #ffffff; font-weight: 800; }
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-solid, .btn-ghost {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.16em; padding: 1rem 1.6rem; border-radius: 999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.hero .btn-solid { background: var(--acid); color: #ffffff; font-weight: 600; }
.hero .btn-solid:hover { background: #ffffff; color: #070707; }
.hero .btn-ghost { border: 1px solid #ffffff; color: #ffffff; }
.hero .btn-ghost:hover { background: #ffffff; color: #070707; }
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; right: clamp(1.2rem, 4vw, 3rem);
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.4);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero-scroll-line {
  width: 1px; height: 54px; background: rgba(255,255,255,0.4); display: block;
  animation: scroll-hint 1.8s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-hint { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 1rem 0; background: rgba(6, 6, 9, 0.5);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.1rem, 2.6vw, 2rem); letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 242, 239, 0.35);
  white-space: nowrap; padding-right: 2rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
section { padding: clamp(4rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3rem); position: relative; }
.section-head { margin-bottom: clamp(2rem, 6vh, 4.5rem); }
.section-eyebrow {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.24em;
  color: var(--acid); display: block; margin-bottom: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.animated-section-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.72em;
  position: relative;
  width: fit-content;
  color: color-mix(in srgb, var(--acid) 82%, var(--ink));
}
.animated-section-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.44rem;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), transparent 74%);
  transform: scaleX(0.18);
  transform-origin: left;
  opacity: 0.28;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.animated-section-eyebrow[data-locked="true"]::after {
  transform: scaleX(1);
  opacity: 0.5;
}
.eyebrow-number {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums lining-nums;
  color: rgba(252, 119, 86, 0.56);
  opacity: 0.64;
  transform: translateY(0.01em);
  transition: color 0.28s var(--ease), opacity 0.28s var(--ease), transform 0.28s var(--ease);
  will-change: contents, color, opacity;
}
.eyebrow-label {
  display: inline-block;
  color: currentColor;
}
.animated-section-eyebrow[data-locked="true"] .eyebrow-number {
  color: var(--acid);
  opacity: 1;
  transform: translateY(0) scale(1.035);
  animation: section-number-lock 0.42s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes section-number-lock {
  0% { opacity: 0.64; filter: saturate(0.84); }
  55% { opacity: 1; filter: saturate(1.18); }
  100% { opacity: 0.92; filter: saturate(1); transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .animated-section-eyebrow::after,
  .eyebrow-number,
  .animated-section-eyebrow[data-locked="true"] .eyebrow-number {
    transition: none;
  }
  .hero-video-bg { display: none; }
  }
}
.section-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 6.5vw, 5.5rem); line-height: 0.95; letter-spacing: -0.02em;
}
.section-sub { margin-top: 1.1rem; color: var(--muted); max-width: 62ch; font-size: clamp(0.95rem, 1.25vw, 1.1rem); }
/* section-heading-method — reusable class with method-title typography */
.section-heading-method {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--ink);
}
.work-index .section-title,
.method .section-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- work index ---------- */
.work-index { position: relative; border-top: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr minmax(0, 0.6fr) 4.5rem 3.5rem;
  align-items: center; gap: 1.2rem;
  padding: clamp(1.4rem, 3.4vh, 2.4rem) 0.4rem;
  border-bottom: 1px solid var(--line);
  position: relative; transition: padding 0.35s var(--ease), background 0.35s;
}
.work-row.hot { background: rgba(252, 119, 86, 0.06); padding-left: 1.4rem; }
.work-row.hot .work-num,
.work-row.hot .work-name,
.work-row.hot .work-sub,
.work-row.hot .work-tags,
.work-row.hot .work-year,
.work-row.hot .work-arrow { color: var(--acid); }
.work-row.hot .work-arrow { transform: translate(4px, -4px); }
.work-num { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); letter-spacing: 0.1em; }
.work-name {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em;
  transition: color 0.3s;
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
}
.work-sub {
  font-family: var(--body); font-weight: 400; text-transform: none;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem); color: var(--muted); letter-spacing: 0;
}
.work-tags { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; text-align: left; }
.work-year { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }
.work-arrow {
  font-size: 1.3rem; color: var(--dim); text-align: right;
  transition: transform 0.3s var(--ease), color 0.3s;
  font-family: var(--mono);
}
.work-row.is-placeholder { opacity: 0.45; }
.work-row.is-placeholder .work-arrow { font-size: 0.62rem; letter-spacing: 0.2em; }
.work-row.is-placeholder .work-name { color: var(--muted); }

.work-preview {
  position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none;
  width: clamp(240px, 26vw, 400px); aspect-ratio: 16/10;
  opacity: 0; scale: 0.9;
  transform-origin: left center;
  transition: opacity 0.22s var(--ease), scale 0.22s var(--ease);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.work-preview.show { opacity: 1; scale: 1; }
.work-preview-media {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.28s var(--ease);
  background: #101116; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.work-preview-media.on { opacity: 1; }
.work-preview-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-preview-note {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.26em; color: var(--acid);
  border: 1px dashed rgba(252, 119, 86, 0.5); padding: 0.7rem 1.1rem; border-radius: 8px;
}
@media (hover: none) { .work-preview { display: none; } }
@media (hover: none) { .work-preview { display: none; } }

/* ---------- method (from site A) ---------- */
.method { display: grid; grid-template-columns: 0.95fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.method-intro { position: sticky; top: 120px; }
.method-intro .section-title { margin-top: 1rem; }
.service-grid { display: grid; gap: 1rem; }
.service-card {
  min-height: 250px; padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 119, 86, 0.3);
  background: linear-gradient(145deg, rgba(252, 119, 86, 0.075), rgba(255,255,255,0.026));
}
.service-card span { font-family: var(--mono); color: var(--mint); font-size: 0.72rem; letter-spacing: 0.16em; }
.service-card h3 { margin-top: 3.4rem; font-size: clamp(1.65rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -0.055em; font-weight: 700; }
.service-card p { margin-top: 0.85rem; color: var(--muted); max-width: 48ch; }

/* ---------- about ---------- */
.about { max-width: 1200px; }
.about-title { margin-top: 1rem; font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 0.95; }
.about-read {
  font-family: var(--body); font-weight: 450;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem); line-height: 1.35; letter-spacing: -0.02em;
  margin-top: 1.4rem;
}
.about-read .w { color: #2e2e36; transition: color 0.25s; }
.about-read .w.lit { color: var(--ink); }
.about-read .w.w-accent { color: var(--acid); }
.about-caps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem; margin-top: clamp(2rem, 6vh, 3.5rem);
}
.about-caps div {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 1.1rem;
  background: rgba(242, 242, 239, 0.02);
}
.about-caps strong { display: block; font-size: 0.95rem; }
.about-caps span { display: block; margin-top: 0.3rem; color: var(--dim); font-size: 0.82rem; }

/* ---------- discovery (from site A) ---------- */
.discovery-card {
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(1rem, 3vw, 2rem);
  min-height: 390px; padding: clamp(1rem, 2vw, 1.2rem);
  border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
}
.discovery-head { padding: clamp(1.2rem, 3vw, 2rem); align-self: center; }
.discovery-head .eyebrow {
  display: inline-flex; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--acid);
}
.discovery-head h2 {
  margin-top: 0.75rem; font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 0.94; letter-spacing: -0.065em; font-weight: 800;
}
.discovery-head p { margin-block: 1rem 1.5rem; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.92rem 1.3rem; border-radius: 999px; border: 1px solid var(--line);
  font: inherit; font-weight: 620; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #ffffff, #ece6ff); color: #08090d; border-color: rgba(255,255,255,0.55); box-shadow: 0 20px 60px rgba(252, 119, 86, 0.16); }
.btn-small { min-height: 42px; padding: 0.72rem 1rem; font-size: 0.9rem; }
.mini-project {
  display: grid; grid-template-columns: minmax(250px, 0.95fr) minmax(280px, 1fr);
  gap: 1rem; height: 326px; padding: 0.8rem; border-radius: 24px;
  background: rgba(255,255,255,0.034);
  transition: opacity 0.34s var(--ease); overflow: hidden;
}
.mini-project.fading { opacity: 0; }
.mini-visual { position: relative; height: 310px; min-height: 310px; border-radius: 20px; overflow: hidden; background: #090a0e; }
.mini-visual img, .mini-gallery-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-gallery-stage { position: absolute; inset: 0; }
.mini-gallery-image { position: absolute; inset: 0; opacity: 0; transition: opacity 0.42s var(--ease); }
.mini-gallery-image.active { opacity: 1; }
.mini-gradient { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(252, 119, 86, 0.26), transparent 35%), linear-gradient(135deg, rgba(141,123,255,0.55), rgba(0,184,255,0.18)); }
.mini-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; padding: 0.5rem 0.7rem;
  background: rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(12px);
}
.mini-gallery-controls {
  position: absolute; right: 0.8rem; top: 0.8rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.34rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.36); backdrop-filter: blur(14px);
}
.mini-gallery-controls button { width: 28px; height: 28px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,0.1); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.mini-gallery-controls button:hover { background: rgba(255,255,255,0.18); }
.mini-gallery-controls span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.72); }
.mini-body { align-self: center; min-height: 260px; padding: 1rem; display: flex; flex-direction: column; justify-content: center; }
.mini-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1; letter-spacing: -0.055em; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-body p { margin-top: 0.9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.95rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 27px;
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 0.32rem 0.58rem;
  color: var(--muted); background: rgba(255,255,255,0.035);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; margin-top: 1.1rem; color: var(--ink); font-weight: 620; }
.text-link span { color: var(--acid); transition: transform 0.25s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* ---------- contact ---------- */
.contact-wrap { text-align: center; padding-bottom: clamp(5rem, 14vh, 10rem); }
.section-title.cta-title,
.cta-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 6.4rem); line-height: 0.98; letter-spacing: -0.02em;
  margin-top: 1.2rem;
}
.cta-sub { margin: 1.4rem auto 0; max-width: 62ch; color: var(--muted); font-size: clamp(0.95rem, 1.3vw, 1.15rem); }
.contact-rail {
  display: flex; justify-content: center; margin-bottom: 0.6rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--acid); text-transform: uppercase;
}
.contact-signal {
  min-height: 1.5em; display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-style: normal;
}
.contact-swap {
  display: inline-block;
  color: var(--acid);
  font-weight: 600;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.contact-mail {
  display: inline-flex; margin-top: clamp(2rem, 6vh, 3.4rem);
  font-family: var(--mono); font-size: clamp(1rem, 2.6vw, 1.8rem);
  color: var(--acid); border-bottom: 1px solid rgba(252, 119, 86, 0.4);
  padding-bottom: 0.3rem; will-change: transform;
}
.contact-mail.facebook-link {
  letter-spacing: 0.18em;
}
.contact-mail.facebook-link .scramble {
  min-width: auto;
}
.contact-mail:hover { border-color: var(--acid); }
.contact-mail .scramble, .contact-socials a .scramble { display: inline-block; min-width: 1ch; }
.contact-socials { display: flex; justify-content: center; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.contact-socials a {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.75rem 1.3rem;
  transition: border-color 0.3s, color 0.3s;
}
.contact-socials a:hover { border-color: var(--acid); color: var(--acid); }
.contact-socials a, .contact-mail { color: var(--ink); }
.contact-socials a:hover, .contact-mail:hover { color: var(--acid); }

/* ---------- footer ---------- */
.footer {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: flex-start; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--dim);
}
.footer span { color: var(--muted); }
.footer a:hover, .footer-time { color: var(--muted); }
.footer a:hover { color: var(--acid); }
.footer-link { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .work-row { grid-template-columns: 2.4rem 1fr 2.6rem; }
  .work-tags, .work-year { display: none; }
  .nav-status { display: none; }
  .hero-scroll { display: none; }
  .method { grid-template-columns: 1fr; }
  .method-intro { position: static; }
  .discovery-card { grid-template-columns: 1fr; }
  .mini-project { grid-template-columns: 1fr; height: auto; }
  .mini-visual { height: 230px; min-height: 230px; }
  .mini-body { min-height: 0; }
}


/* ---------- light-only inverted version ---------- */
html[data-theme="light"] {
  --bg: #f4f1ea;
  --ink: #070707;
  --muted: #55524d;
  --dim: #9a958c;
  --acid: #FC7756;
  --mint: #E06040;
  --gold: #FC7756;
  --violet: #FC7756;
  --ember: #FC7756;
  --line: rgba(7, 7, 7, 0.18);
  --line-soft: rgba(7, 7, 7, 0.09);
}

html[data-theme="light"] body { background: var(--bg); color: var(--ink); }
html[data-theme="light"] ::selection { background: #FC7756; color: #070707; }
html[data-theme="light"] .shader-field { filter: invert(1) saturate(0.62) contrast(0.82) brightness(1.08); opacity: 0.28; }
html[data-theme="light"] .shader-fallback {
  background:
    radial-gradient(900px circle at 20% 10%, rgba(252, 119, 86, 0.14), transparent 55%),
    radial-gradient(700px circle at 80% 80%, rgba(0, 184, 255, 0.10), transparent 55%),
    var(--bg);
}
html[data-theme="light"] .progress { background: var(--acid); }
html[data-theme="light"] .preloader { background: #f4f1ea; }
html[data-theme="light"] .preloader-count { color: var(--acid); }
html[data-theme="light"] .nav { mix-blend-mode: normal; }
html[data-theme="light"] .nav-mark-dot { color: var(--acid); }
html[data-theme="light"] .pulse { background: var(--acid); }
html[data-theme="light"] .btn-solid { background: var(--ink); color: var(--bg); }
html[data-theme="light"] .btn-solid:hover { background: var(--acid); color: #070707; }
html[data-theme="light"] .hero .btn-solid { background: var(--acid); color: #ffffff; }
html[data-theme="light"] .hero .btn-solid:hover { background: #ffffff; color: #070707; }
html[data-theme="light"] .hero .btn-ghost { border-color: #ffffff; color: #ffffff; }
html[data-theme="light"] .hero .btn-ghost:hover { border-color: #ffffff; color: #ffffff; background: transparent; }
html[data-theme="light"] .btn-ghost:hover { border-color: var(--acid); color: var(--acid); }
html[data-theme="light"] .marquee { background: rgba(255, 255, 255, 0.34); }
html[data-theme="light"] .marquee-track span { -webkit-text-stroke-color: rgba(7, 7, 7, 0.35); }

html[data-theme="light"] .work-row.hot { background: rgba(7, 7, 7, 0.035); }
html[data-theme="light"] .work-row.hot .work-name,
html[data-theme="light"] .work-row.hot .work-arrow { color: var(--acid); }
html[data-theme="light"] .work-preview { box-shadow: 0 26px 70px rgba(7, 7, 7, 0.22); }
html[data-theme="light"] .work-preview-media { background: #ebe7de; }
html[data-theme="light"] .work-preview-note { color: var(--acid); border-color: rgba(252, 119, 86, 0.42); }
html[data-theme="light"] .service-card,
html[data-theme="light"] .discovery-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(255,255,255,0.34));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
html[data-theme="light"] .service-card:hover {
  border-color: rgba(252, 119, 86, 0.30);
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(252, 119, 86, 0.07));
}
html[data-theme="light"] .service-card span { color: var(--acid); }
html[data-theme="light"] .about-read .w { color: #c9c3b7; }
html[data-theme="light"] .about-read .w.lit { color: var(--ink); }
html[data-theme="light"] .about-read .w.w-accent { color: var(--acid); }
html[data-theme="light"] .about-caps div,
html[data-theme="light"] .mini-project,
html[data-theme="light"] .chip { background: rgba(255,255,255,0.42); }
html[data-theme="light"] .mini-visual { background: #e7e1d6; }
html[data-theme="light"] .mini-tag,
html[data-theme="light"] .mini-gallery-controls { background: rgba(255,255,255,0.62); border-color: rgba(7,7,7,0.12); color: #070707; }
html[data-theme="light"] .mini-gallery-controls button { color: #070707; background: rgba(7,7,7,0.08); }
html[data-theme="light"] .mini-gallery-controls span { color: rgba(7,7,7,0.66); }
html[data-theme="light"] .btn-primary { background: linear-gradient(135deg, #070707, #2b2925); color: #f4f1ea; border-color: rgba(7,7,7,0.12); box-shadow: 0 20px 60px rgba(7,7,7,0.10); }
html[data-theme="light"] .contact-mail { color: var(--acid); border-bottom-color: rgba(252, 119, 86, 0.48); }
html[data-theme="light"] .footer a:hover { color: var(--acid); }

@media (max-width: 860px) {
  .nav-links { gap: 0.8rem; }
}
@media (max-width: 640px) {
}
