/* =================================================================
   TERABAY — UPGRADED STYLESHEET
   Design System: v2.0 (Deep Navy / Accurate Red / Minimalistic Gold)
   ================================================================= */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Navy */
  --navy-950:#05080F;
  --navy-900:#0A0F1E;
  --navy-800:#0D1528;
  --navy-700:#111D35;
  --navy-600:#162848;
  --navy-500:#1B3A6B;
  --navy-400:#2A5298;
  --navy-300:#4A7CC7;
  --navy-200:#7BA3D9;
  --navy-100:#B8D0EC;
  --navy-50: #E8EFF8;

  /* Red */
  --red-700:#8B1A1A;
  --red-600:#A52222;
  --red-500:#C33A2E;
  --red-400:#D94F3F;

  /* Gold */
  --gold-700:#8B6914;
  --gold-600:#A88420;
  --gold-500:#C9A23C;
  --gold-400:#D4B45A;
  --gold-300:#E0C97E;
  --gold-dim: rgba(201,162,60,0.12);

  /* Neutrals */
  --white:#FFFFFF;
  --text: #F3F4F6;
  --muted:#9CA3AF;
  --dim:  #4B5563;

  /* Surfaces */
  --surface-0: #05080F;
  --surface-1: #0A0F1E;
  --surface-2: #0D1528;
  --surface-3: #111D35;
  --surface-card: #0F1A32;
  --border:   rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.1);
  --hairline: rgba(201,162,60,0.2);

  /* Shape */
  --r-sm: 2px;
  --r-md: 3px;
  --r-lg: 4px;
  --nav-h: 72px;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(255,255,255,0.03) inset, 0 10px 30px -15px rgba(0,0,0,0.6);
  --shadow-hover: 0 0 0 1px var(--gold-500), 0 20px 40px -20px rgba(201,162,60,0.25);
  --shadow-red: 0 10px 30px -10px rgba(195,58,46,0.45);

  /* Easing */
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ================================================================
   RESET
   ================================================================ */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; scrollbar-width: thin; scrollbar-color: var(--navy-600) var(--surface-0); }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--surface-0); }
html::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 10px; }

body {
  background: var(--surface-0);
  color: var(--text);
  font-family: 'Inter','Pretendard',-apple-system,BlinkMacSystemFont,sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5 { font-family:'Inter',sans-serif; font-weight:800; line-height:1.12; letter-spacing:-0.02em; color:#fff; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { max-width:100%; display:block; }
button { cursor:pointer; font-family:inherit; border:none; background:none; color:inherit; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--red-500); color: #fff; }

/* Mono utility */
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: 'tnum'; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

.section {
  position: relative;
  padding: 120px 0;
}
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--surface-1); }

/* Section header — subtle left-hairline */
.section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 36px;
  margin-bottom: 72px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.section-header-left { min-width: 0; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold-500);
}
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.section-sub {
  font-family: 'Pretendard', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  max-width: 380px;
  text-align: right;
  justify-self: end;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .section-header { grid-template-columns: 1fr; gap: 16px; }
  .section-sub { text-align: left; justify-self: start; max-width: none; }
}

/* 12-col grid */
.grid-12 { display: grid; grid-template-columns: repeat(12,1fr); gap: 32px; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-12{ grid-column: span 12; }
@media (max-width: 1024px) { .grid-12 { gap: 24px; } }
@media (max-width: 900px) {
  .grid-12 { display: flex; flex-direction: column; gap: 40px; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn .btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--red-500);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset;
}
.btn-primary:hover {
  background: var(--red-600);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(201,162,60,0.04);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.navbar.scrolled {
  background: rgba(5,8,15,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--border);
}

.nav-container { display: flex; align-items: center; height: 100%; }

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  color: #fff;
  text-transform: uppercase;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 22px; height: 22px;
  border: 1.5px solid var(--red-500);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content:'';
  position: absolute;
  inset: 3px;
  background: var(--red-500);
  border-radius: 1px;
}
.logo .logo-accent { color: var(--red-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-right: 28px;
}
.nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-link .nav-num {
  color: var(--dim);
  margin-right: 6px;
  font-weight: 400;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: #fff; }
.nav-link.active .nav-num { color: var(--gold-500); }

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red-500);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--r-md);
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--red-600); box-shadow: var(--shadow-red); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: all 0.25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--surface-0);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-overlay .nav-link { font-size: 1.25rem; letter-spacing: 0.1em; }
.mobile-overlay .nav-cta { font-size: 0.95rem; padding: 14px 32px; margin-top: 12px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ================================================================
   SCROLL PROGRESS & SIDE RAIL
   ================================================================ */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red-500), var(--gold-500));
  z-index: 101;
  transition: width 0.1s linear;
}

.side-rail {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 50;
}
.side-rail a {
  position: relative;
  width: 10px;
  height: 10px;
  display: block;
}
.side-rail a::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--navy-500);
  transition: all 0.25s var(--ease);
}
.side-rail a.active::before {
  background: var(--gold-500);
  inset: 0;
  box-shadow: 0 0 0 2px rgba(201,162,60,0.2);
}
.side-rail a:hover::before { background: var(--gold-400); }
.side-rail a span {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s var(--ease);
}
.side-rail a:hover span,
.side-rail a.active span { opacity: 1; transform: translateY(-50%) translateX(0); color: #fff; }
@media (max-width: 1100px) { .side-rail { display: none; } }

/* ================================================================
   1. HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--surface-0);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(42,82,152,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(195,58,46,0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--surface-0) 0%, var(--surface-1) 60%, var(--surface-2) 100%);
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
  mix-blend-mode: screen;
}
.hero-grid {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201,162,60,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,60,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  pointer-events: none;
}
.hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(255,255,255,0.008) 3px,
    rgba(255,255,255,0.008) 4px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: var(--gold-dim);
  border: 1px solid rgba(201,162,60,0.25);
  padding: 7px 14px;
  border-radius: var(--r-md);
  margin-bottom: 32px;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201,162,60,0.25);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 3px rgba(201,162,60,0.25); }
  50%     { opacity: 0.5; box-shadow: 0 0 0 7px rgba(201,162,60,0.05); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 28px;
}
.hero-title .accent {
  color: var(--red-500);
  font-style: italic;
  font-weight: 800;
}
.hero-title .line-2 {
  display: block;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-family: 'Pretendard', sans-serif;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta-row {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-meta-item { min-width: 0; }
.hero-meta-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.hero-meta-val {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
@media (max-width: 600px) {
  .hero-meta-row { gap: 24px; flex-wrap: wrap; }
}

/* Hero live panel */
.hero-panel {
  background: linear-gradient(180deg, rgba(15,26,50,0.7), rgba(10,15,30,0.7));
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.4;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-2);
}
.panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34D399;
}
.panel-status .status-dot {
  width: 6px; height: 6px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34D399;
  animation: pulse-g 1.6s var(--ease) infinite;
}
@keyframes pulse-g {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.5; }
}
.panel-list { display: flex; flex-direction: column; gap: 14px; }
.panel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
}
.panel-row-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-row-val {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.panel-row-val .unit { color: var(--muted); font-size: 0.8em; font-weight: 500; margin-left: 2px; }
.panel-row-val.red { color: var(--red-400); }
.panel-row-val.gold { color: var(--gold-400); }

.panel-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-2);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.scroll-cue span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -20px; left: 0;
  width: 100%; height: 20px;
  background: var(--gold-300);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -20px; }
  100% { top: 40px; }
}
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* ================================================================
   2. ABOUT
   ================================================================ */
.about-section { background: var(--surface-0); }

.philosophy-block { display: flex; flex-direction: column; gap: 24px; }
.philosophy-quote {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.1vw, 1.85rem);
  line-height: 1.35;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding-left: 24px;
  border-left: 2px solid var(--gold-500);
  margin-bottom: 12px;
}
.philosophy-quote em { color: var(--gold-400); font-style: normal; }

.philosophy-text {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.85;
}
.philosophy-text strong { color: var(--text); font-weight: 600; }

.membership-card {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,162,60,0.2);
  border-radius: var(--r-md);
  max-width: 440px;
}
.membership-card .m-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--gold-500);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: var(--gold-400);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.7rem;
}
.membership-card .m-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 2px;
}
.membership-card .m-desc {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

/* KPI cards */
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 100%;
  align-content: stretch;
}
.kpi-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.kpi-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(201,162,60,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.kpi-card:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.kpi-card:hover::after { opacity: 1; }
.kpi-card.highlight {
  background: linear-gradient(160deg, var(--surface-card) 0%, rgba(139,26,26,0.18) 100%);
  border-color: rgba(195,58,46,0.3);
}
.kpi-card.highlight:hover { border-color: var(--red-500); }

.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.kpi-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}
.kpi-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
}
.kpi-spark i {
  display: block;
  width: 3px;
  background: var(--gold-500);
  opacity: 0.8;
  border-radius: 1px;
}
.kpi-card.highlight .kpi-spark i { background: var(--red-500); }

.kpi-value {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.kpi-value.red { color: var(--red-400); }

.kpi-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 16px;
  margin-bottom: 4px;
}
.kpi-desc {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 560px) { .kpi-grid { grid-template-columns: 1fr; } }

/* ================================================================
   3. HISTORY — horizontal timeline
   ================================================================ */
.history-section { background: var(--surface-1); }

/* ================================================================
   2-B. HISTORY — Vertical Alternating Timeline
   ================================================================ */

/* Container with central vertical gold line */
.hist-timeline {
  position: relative;
  margin-top: 56px;
  padding-bottom: 8px;
}
.hist-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-500) 96%, transparent 100%);
  transform: translateX(-50%);
  z-index: 0;
}

/* Each timeline row — staggered overlap */
.hist-item {
  display: flex;
  justify-content: flex-end;
  padding: 0 calc(50% + 36px) 0 0;
  position: relative;
  margin-bottom: -44px;   /* ← overlap amount */
}
.hist-item.right {
  justify-content: flex-start;
  padding: 0 0 0 calc(50% + 36px);
  margin-bottom: -44px;
}
.hist-item:last-child { margin-bottom: 0; }

/* ── Dual row: milestone card LEFT + revenue card RIGHT (or reverse) ── */
.hist-dual {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 20px;
  position: relative;
}
.hist-dual::before {   /* central dot */
  content: '';
  position: absolute;
  left: calc(50% - 7px);
  top: 22px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 2px solid var(--red-500);
  box-shadow: 0 0 0 4px rgba(195,58,46,0.2);
  z-index: 2;
}
.hist-dual .hist-side {
  width: calc(50% - 36px);
  display: flex;
  flex-direction: column;
}
.hist-dual .hist-side.left  { margin-right: 36px; }
.hist-dual .hist-side.right { margin-left:  36px; }

/* ── Revenue card: standalone blue timeline item ── */
.hist-revenue-card {
  width: 100%;
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.hist-revenue-card:hover {
  border-color: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.hist-revenue-card .rev-eyebrow {
  font-size: 0.65rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93c5fd;
  font-weight: 600;
  margin-bottom: 10px;
}
.hist-badge.blue {
  color: #3b82f6;
  background: rgba(59,130,246,0.10);
  border-color: rgba(59,130,246,0.28);
}
/* rev-amount / rev-label 클래스 제거됨 — hist-title / hist-desc 공용 클래스 사용 */

/* Dot on the central line */
.hist-item::before {
  content: '';
  position: absolute;
  left: calc(50% - 7px);
  top: 22px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201,162,60,0.15);
  z-index: 2;
}
.hist-item.milestone::before {
  border-color: var(--red-500);
  box-shadow: 0 0 0 4px rgba(195,58,46,0.2);
}

/* Horizontal connector: dot → card */
.hist-item::after {
  content: '';
  position: absolute;
  top: 28px;
  right: calc(50% - 36px);
  width: 30px; height: 1px;
  background: var(--gold-500);
  opacity: 0.6;
  z-index: 1;
}
.hist-item.right::after {
  right: auto;
  left: calc(50% - 36px);
}
.hist-item.milestone::after { background: var(--red-500); opacity: 0.5; }

/* Card */
.hist-card {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid rgba(201,162,60,0.28);   /* gold border for all */
  border-radius: var(--r-lg);
  padding: 24px 28px;
  transition: all 0.3s var(--ease);
}
.hist-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.hist-card.milestone {
  border-color: rgba(195,58,46,0.32);
  background: linear-gradient(160deg, var(--surface-card) 0%, rgba(139,26,26,0.10) 100%);
}
.hist-card.milestone:hover { border-color: var(--red-500); }

/* Year + badge on same line */
.hist-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.hist-year {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0;
}
.hist-card.milestone .hist-year { color: var(--red-400); }

.hist-title {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 8px;
}
.hist-desc {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* Award badge (red) */
.hist-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-400);
  padding: 5px 12px;
  background: rgba(195,58,46,0.10);
  border: 1px solid rgba(195,58,46,0.28);
  border-radius: var(--r-sm);
}
.hist-badge.neutral {
  color: var(--gold-400);
  background: var(--gold-dim);
  border-color: rgba(201,162,60,0.22);
}
.hist-badge .badge-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(195,58,46,0.65);
  padding-right: 6px;
  border-right: 1px solid rgba(195,58,46,0.3);
  margin-right: 2px;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}

/* Revenue block — full-width, prominent blue box */
.hist-revenue {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 12px 16px;
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--r-md);
  margin-top: 10px;
  box-sizing: border-box;
}
.hist-revenue-label {
  font-size: 0.65rem;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.hist-revenue-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: #60a5fa;
}

/* History controls: hidden */
.history-controls { display: none; }

/* Responsive: single column on mobile */
@media (max-width: 720px) {
  .hist-item,
  .hist-item.right {
    justify-content: flex-start;
    padding: 0 0 24px 36px;
  }
  .hist-timeline::before { left: 12px; transform: none; }
  .hist-item::before,
  .hist-item.right::before { left: 5px; }
  .hist-item::after,
  .hist-item.right::after { left: 19px; right: auto; width: 17px; }
}

/* ================================================================
   4. QUALITY CONTROL — 3-column cards
   ================================================================ */
.qc-section { background: var(--surface-0); }

.qc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

/* connector line behind QC step numbers */
.qc-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-500) 80%, transparent);
  z-index: 0;
}

@media (max-width: 900px) {
  .qc-grid { grid-template-columns: 1fr; }
  .qc-grid::before { display: none; }
}

.qc-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 56px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  z-index: 1;
}
.qc-card:hover { border-color: var(--gold-500); transform: translateY(-4px); }

.qc-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 48px;
  background: var(--surface-0);
  border: 1px solid var(--gold-500);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.1em;
  z-index: 2;
}
.qc-num::before, .qc-num::after {
  content: '';
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 16px; height: 1px;
  background: var(--gold-500);
}
.qc-num::before { left: -16px; }
.qc-num::after  { right: -16px; }

.qc-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: var(--surface-0);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.qc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.qc-card:hover .qc-photo img { transform: scale(1.04); }

.qc-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 14px,
      rgba(201,162,60,0.04) 14px,
      rgba(201,162,60,0.04) 28px
    ),
    var(--surface-0);
  color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qc-title {
  font-family: 'Pretendard', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.qc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.qc-list li {
  position: relative;
  padding-left: 20px;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}
.qc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--gold-500);
}
.qc-list li strong { color: var(--text); font-weight: 600; }

/* ================================================================
   5. INVENTORY — split layout
   ================================================================ */
.inventory-section { background: var(--surface-1); }

.inv-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) {
  .inv-split { grid-template-columns: 1fr; gap: 40px; }
}

.inv-media {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 560px;
}
@media (max-width: 640px) { .inv-media { height: 440px; } }

.inv-media .m1 { grid-row: span 2; }
.inv-media .m2 {}
.inv-media .m3 {}

.inv-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border);
  position: relative;
}
.inv-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.inv-photo:hover img { transform: scale(1.05); }
.inv-photo-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,8,15,0.7);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.inv-photo .qc-placeholder { /* reuse placeholder look */ }

.inv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inv-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 4px;
  border-top: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.inv-item:last-child { border-bottom: 1px solid var(--border); }
.inv-item:hover { border-top-color: var(--gold-500); padding-left: 12px; }
.inv-item:hover + .inv-item { border-top-color: var(--gold-500); }

.inv-item-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  padding-top: 4px;
}
.inv-item-body .t {
  font-family: 'Pretendard', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.inv-item-body .d {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}
.inv-item-arrow {
  color: var(--dim);
  transition: all 0.3s var(--ease);
  padding-top: 2px;
}
.inv-item:hover .inv-item-arrow { color: var(--gold-400); transform: translateX(4px); }

/* ================================================================
   6. CONTACT
   ================================================================ */
.contact-section { background: var(--surface-0); }

.contact-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) {
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
}

/* form block */
.form-block {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  position: relative;
}
@media (max-width: 640px) { .form-block { padding: 28px 22px; } }

.form-block::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.5;
}

.form-header { margin-bottom: 32px; }
.form-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.form-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.form-heading .kr {
  font-family: 'Pretendard', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-label .req { color: var(--red-400); }

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--surface-0);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.9375rem;
  padding: 13px 16px;
  transition: all 0.2s var(--ease);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--dim); }
.form-input:hover, .form-textarea:hover, .form-select:hover { border-color: var(--border-2); background: rgba(255,255,255,0.02); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 0 0 3px rgba(201,162,60,0.08);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.hp-field { display: none !important; }

.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: var(--red-500);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover:not(:disabled) {
  background: var(--red-600);
  box-shadow: var(--shadow-red);
}
.form-submit:disabled { background: var(--dim); cursor: not-allowed; }

.form-status {
  text-align: center;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 16px;
  min-height: 22px;
}
.form-status.success { color: #34D399; }
.form-status.error   { color: #F87171; }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.3s var(--ease);
}
.contact-card:hover { border-color: var(--gold-500); }

.contact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.contact-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.contact-card-title::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,60,0.15);
}
.contact-card-region {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.contact-addr {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 4px;
}
.contact-addr-en {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  font-family: 'Pretendard', sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
}
.contact-row-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding-top: 2px;
}
.contact-row-v { color: var(--muted); }
.contact-row-v a:hover { color: var(--gold-400); }
.contact-row-v strong { color: #fff; font-weight: 500; }

.map-frame {
  width: 100%;
  height: 220px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 14px;
}
.map-frame iframe {
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(1) invert(0.92) contrast(0.82) hue-rotate(180deg) brightness(0.9);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--surface-0);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tag {
  font-family: 'Pretendard', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
}
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.footer-bottom a:hover { color: var(--gold-400); }

/* ================================================================
   FLOATING CTA (desktop)
   ================================================================ */
.float-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--red-500);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 8px 24px -8px rgba(195,58,46,0.5), 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease);
}
.float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: var(--red-600); transform: translateY(-2px); }
.float-cta .dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-w 1.5s infinite;
}
@keyframes pulse-w {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@media (max-width: 600px) { .float-cta { right: 16px; bottom: 16px; padding: 12px 16px; } }

/* ================================================================
   REVEAL ANIMATIONS
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
}
