/* =========================================================
   LUMOS — Brand: "Lumen Amber"
   暗闇に静かに灯る光。落ち着いた・洗練系クリエイティブ。
   ========================================================= */

:root {
  /* Palette (cool / previous) — variable names kept for compatibility */
  --ink: #06060f;          /* base */
  --ink-2: #0c0c1c;        /* raised */
  --amber: #22d3ee;        /* primary accent (cyan) */
  --ember: #a855f7;        /* secondary accent (violet) */
  --cream: #eef1ff;        /* primary text */
  --cream-dim: #99a0c4;    /* muted text */
  --line: rgba(255, 255, 255, 0.10);
  --surface: rgba(255, 255, 255, 0.04);
  --grad: linear-gradient(120deg, #22d3ee 0%, #4f7bff 45%, #a855f7 100%);

  /* Type (sans / previous) */
  --font-jp: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-serif: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;

  --max-width: 1180px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--cream);
  line-height: 2;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt";
}

a { color: var(--amber); text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.7; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Eyebrow — English label, Space Grotesk */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--amber);
  opacity: 0.7;
}

/* ===== Ambient background (calm) ===== */
.bg-field { position: fixed; inset: 0; z-index: -2; background: var(--ink); overflow: hidden; }

.bg-field .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.bg-field .orb-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(79, 123, 255, 0.5), transparent 70%);
  top: -120px; left: -80px;
}
.bg-field .orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45), transparent 70%);
  top: 30%; right: -120px;
}
.bg-field .orb-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 70%);
  bottom: -120px; left: 35%;
}

/* Subtle grid */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 85%);
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 85%);
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 15, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-en);
  font-size: 1.3rem; font-weight: 700; color: var(--cream);
  letter-spacing: 0.04em;
}
.logo-mark { width: 38px; height: 38px; object-fit: contain; }
.logo span {
  margin-left: -0.12em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--cream); }

.nav-list { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-list a {
  font-family: var(--font-en);
  color: var(--cream); font-weight: 400; font-size: 0.86rem; letter-spacing: 0.08em;
  opacity: 0.8;
}
.nav-list a:hover, .nav-list a.active { opacity: 1; color: var(--amber); }

.nav-list .nav-cta a {
  border: 1px solid var(--line); color: var(--cream);
  padding: 11px 22px; border-radius: 999px; opacity: 1;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.nav-list .nav-cta a:hover { border-color: var(--amber); color: var(--amber); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 16px 38px; border-radius: 999px;
  font-family: var(--font-en);
  font-weight: 500; font-size: 0.92rem; letter-spacing: 0.04em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(79, 123, 255, 0.4); opacity: 1; }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); margin-left: 14px; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 90px;
}
.hero .container { max-width: 1000px; }

.hero-lantern {
  width: 92px; height: 92px; object-fit: contain;
  margin-bottom: 38px;
  filter: drop-shadow(0 0 28px rgba(246, 181, 60, 0.55));
  animation: lanternGlow 5s ease-in-out infinite;
}
@keyframes lanternGlow {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(246, 181, 60, 0.4)); }
  50% { filter: drop-shadow(0 0 40px rgba(246, 181, 60, 0.7)); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 34px;
}
.hero p {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: var(--cream-dim); max-width: 640px; line-height: 2.1;
  margin-bottom: 46px;
}

.scroll-cue {
  position: absolute; bottom: 38px; left: 32px;
  font-family: var(--font-en);
  color: var(--cream-dim); font-size: 0.68rem; letter-spacing: 0.3em;
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue .line {
  width: 56px; height: 1px; background: var(--cream-dim); position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; inset: 0; background: var(--amber);
  animation: cueSlide 2.4s ease-in-out infinite;
}
@keyframes cueSlide {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.hero-page { min-height: 64svh; text-align: left; }
.hero-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

/* ===== Pinned scroll story ===== */
.pin-section { position: relative; height: 320vh; }
.pin-stage {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pin-panel {
  position: absolute; width: 100%; max-width: 900px; padding: 0 32px; text-align: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pin-panel.active { opacity: 1; transform: translateY(0); }
.pin-panel .big {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(2.1rem, 5.8vw, 4rem); line-height: 1.35; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.pin-panel p { color: var(--cream-dim); font-size: clamp(0.98rem, 1.8vw, 1.15rem); max-width: 600px; margin: 0 auto; }

.pin-progress { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.pin-progress span { width: 44px; height: 2px; background: var(--line); transition: background 0.5s ease; }
.pin-progress span.on { background: var(--amber); }

/* ===== Marquee (calm, slow) ===== */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 30px 0; overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 56px; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--font-serif); font-size: 1.4rem; color: var(--cream-dim); letter-spacing: 0.04em;
}
.marquee span::after { content: "✦"; margin-left: 56px; color: var(--amber); opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { position: relative; padding: 150px 0; }
.section-head { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.section-head h2 {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 22px;
}
.section-head .lead { color: var(--cream-dim); line-height: 2.1; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  position: relative; background: var(--ink); padding: 46px 38px;
  transition: background 0.4s ease;
}
.card:hover { background: var(--ink-2); }
.card .icon {
  font-family: var(--font-en);
  width: auto; height: auto; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.2em;
  color: var(--amber); margin-bottom: 26px; display: block;
}
.card h3 { font-size: 1.18rem; margin-bottom: 14px; font-weight: 700; line-height: 1.6; }
.card p { color: var(--cream-dim); font-size: 0.95rem; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 40px; text-align: center; }
.stat .num { font-family: var(--font-en); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.1; color: var(--amber); }
.stat .label { color: var(--cream-dim); font-size: 0.92rem; }

/* ===== CTA band ===== */
.cta-band { position: relative; text-align: center; padding: 150px 0; }
.cta-inner { max-width: 820px; margin: 0 auto; }
.cta-band h2 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 26px; }
.cta-band p { color: var(--cream-dim); margin-bottom: 40px; line-height: 2.1; }

/* ===== About table ===== */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 24px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th {
  width: 230px; color: var(--amber); font-weight: 500;
  font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.info-table td { color: var(--cream); }

/* ===== Service detail blocks ===== */
.service-item { border-top: 1px solid var(--line); padding: 56px 0; }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item .num-badge { font-family: var(--font-en); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; color: var(--amber); margin-bottom: 16px; display: block; }
.service-item h3 { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 18px; line-height: 1.5; }
.service-item > p { color: var(--cream-dim); margin-bottom: 30px; max-width: 820px; }
.service-item .service-lead { color: var(--cream); font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 500; margin-bottom: 18px; max-width: 820px; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 8px 0 36px; }
.service-detail-grid .detail-block-text { color: var(--cream-dim); }
@media (max-width: 720px) { .service-detail-grid { grid-template-columns: 1fr; gap: 32px; } }

.detail-label { font-family: var(--font-en); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; color: var(--cream-dim); text-transform: uppercase; margin-bottom: 18px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list li { list-style: none; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; color: var(--cream); }

/* ===== Bullet list ===== */
.bullet-list { list-style: none; display: grid; gap: 14px; }
.bullet-list li { position: relative; padding-left: 28px; color: var(--cream-dim); }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }

/* ===== Steps ===== */
.step-card .step-no { font-family: var(--font-en); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; color: var(--amber); margin-bottom: 12px; }

/* ===== Prose ===== */
.prose { max-width: 820px; margin: 0 auto; }
.prose h3 { font-family: var(--font-serif); font-size: 1.3rem; margin: 44px 0 14px; font-weight: 700; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--cream-dim); }
.prose ul { padding-left: 24px; margin: 14px 0; }
.prose li { margin-bottom: 8px; }

/* ===== Form ===== */
.form { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 30px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 12px; font-size: 0.95rem; }
.form-group .req { color: var(--ember); font-size: 0.72rem; margin-left: 10px; letter-spacing: 0.05em; vertical-align: middle; }
.form-control {
  width: 100%; padding: 15px 4px; border: 0; border-bottom: 1px solid var(--line);
  font-size: 1rem; font-family: inherit; background: transparent; color: var(--cream);
  transition: border-color 0.3s ease;
}
.form-control::placeholder { color: #5d574d; }
.form-control:focus { outline: none; border-bottom-color: var(--amber); }
textarea.form-control { min-height: 150px; resize: vertical; }
.error-msg { color: var(--ember); font-size: 0.84rem; margin-top: 8px; display: none; }
.form-note { text-align: center; color: var(--cream-dim); font-size: 0.88rem; margin-top: 18px; }
.form-success {
  display: none; background: rgba(34, 211, 238, 0.1); color: var(--amber);
  border: 1px solid rgba(34, 211, 238, 0.35); padding: 20px; text-align: center;
  margin: 0 auto 28px; max-width: 700px; border-radius: var(--radius);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a39a8d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 36px;
}
select.form-control option { background: var(--ink-2); color: var(--cream); }

.checkbox-row { display: flex; align-items: flex-start; gap: 12px; }
.checkbox-row input { margin-top: 7px; width: 18px; height: 18px; accent-color: var(--amber); flex-shrink: 0; }
.checkbox-row label { margin-bottom: 0; font-weight: 400; color: var(--cream-dim); }

/* ===== Works ===== */
.work-card { border: 1px solid var(--line); padding: 56px; }
.work-card h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; font-weight: 700; }
.work-card .work-meta { color: var(--amber); font-family: var(--font-en); font-size: 0.86rem; letter-spacing: 0.06em; margin-bottom: 36px; }
.work-card .note { margin-top: 32px; font-size: 0.86rem; color: var(--cream-dim); border-top: 1px solid var(--line); padding-top: 20px; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 720px) { .cols-2 { grid-template-columns: 1fr; gap: 36px; } }

/* ===== Footer ===== */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 70px 0 36px; font-size: 0.9rem; color: var(--cream-dim); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-en); font-size: 1.25rem; font-weight: 700; color: var(--cream); }
.footer-brand .logo-mark { width: 34px; height: 34px; }
.footer-brand span { color: var(--amber); margin-left: -0.12em; }
.footer-nav { display: flex; gap: 30px; list-style: none; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-en); color: var(--cream-dim); font-size: 0.82rem; letter-spacing: 0.06em; }
.footer-nav a:hover { color: var(--amber); }
.footer-copy { text-align: center; font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.08em; color: #5d574d; }

/* ===== About page ===== */
.about-fv .container { max-width: var(--max-width); }
.about-fv .lead-text { color: var(--cream-dim); max-width: 760px; margin-top: 48px; }
.about-fv .lead-text p + p { margin-top: 1.1em; }

.keyword-stack {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px;
}
.keyword {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; transition: border-color 0.3s ease, background 0.3s ease;
}
.keyword:hover { border-color: rgba(34, 211, 238, 0.45); background: var(--surface); }
.keyword .en {
  display: block; font-family: var(--font-en); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--amber); margin-bottom: 4px;
}
.keyword .jp { display: block; font-size: 1.02rem; color: var(--cream); }

@media (max-width: 640px) {
  .keyword-stack { grid-template-columns: 1fr; }
}

/* Constrained text block */
.text-block { max-width: 720px; margin: 0 auto 56px; color: var(--cream-dim); text-align: center; }
.text-block p + p { margin-top: 1.1em; }

/* Big centered statement */
.statement {
  text-align: center; max-width: 900px; margin: 0 auto;
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.5;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
}

/* Animated gradient (very subtle, used sparingly) */
.grad-flow {
  background: linear-gradient(100deg, #22d3ee, #4f7bff, #a855f7, #4f7bff, #22d3ee);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradFlow 9s linear infinite;
}
@keyframes gradFlow { to { background-position: 200% center; } }

/* Cards with multiple paragraphs (stance / value) */
.card p + p { margin-top: 0.9em; }
.card .card-en {
  display: block; font-family: var(--font-en); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; color: var(--amber); margin-bottom: 14px;
}

/* Company table hover + responsive stacking */
.info-table tr { transition: background 0.25s ease; }
.info-table tbody tr:hover { background: var(--surface); }
.info-table td .biz-list { list-style: none; display: grid; gap: 8px; }
.info-table td .biz-list li { position: relative; padding-left: 20px; }
.info-table td .biz-list li::before {
  content: ""; position: absolute; left: 0; top: 0.85em; width: 6px; height: 6px;
  background: var(--amber); transform: rotate(45deg);
}
.info-table td.tbd { color: var(--cream-dim); }
.info-table td a { color: var(--amber); text-decoration: none; word-break: break-all; }
.info-table td a:hover { text-decoration: underline; opacity: 1; }

/* ===== Representative ===== */
.rep-grid {
  display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center;
}
.rep-photo {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1 / 1; background: var(--ink-2);
}
.rep-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rep-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; }
.rep-name span {
  display: inline-block; margin-left: 14px; font-family: var(--font-en);
  font-size: 0.9rem; font-weight: 500; color: var(--cream-dim); letter-spacing: 0.08em;
}
.rep-role {
  color: var(--amber); font-family: var(--font-en); font-size: 0.82rem;
  letter-spacing: 0.14em; margin-top: 8px; margin-bottom: 26px;
}
.rep-message p { color: var(--cream-dim); }
.rep-message p + p { margin-top: 1em; }

@media (max-width: 760px) {
  .rep-grid { grid-template-columns: 1fr; gap: 32px; }
  .rep-photo { max-width: 320px; }
}

@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .info-table th, .info-table td { border-bottom: 0; padding: 8px 10px; }
  .info-table th { width: 100%; padding-bottom: 2px; }
}

/* ===== Gimmicks (Apple-like motion) ===== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(79, 123, 255, 0.6);
  transition: width 0.1s linear;
}

/* Hero particle canvas */
.hero { position: relative; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero .scroll-cue { z-index: 2; }

/* Card cursor spotlight */
.card { --mx: 50%; --my: 50%; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(79, 123, 255, 0.18), transparent 62%);
  transition: opacity 0.45s ease;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* Marquee gradient sparkle */
.marquee span { font-family: var(--font-en); letter-spacing: 0.12em; text-transform: uppercase; }

/* ===== Reveal animation (calm) ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(11, 11, 15, 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease; align-items: stretch;
  }
  .nav-list.open { max-height: 460px; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list a { display: block; padding: 18px 24px; }
  .nav-list .nav-cta a { border: 0; border-radius: 0; }
  .section { padding: 100px 0; }
  .work-card { padding: 32px; }
  .btn-ghost { margin-left: 0; margin-top: 14px; }
  .scroll-cue { left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue, .marquee__track, .hero-lantern, .grad-flow { animation: none; }
}
