/* glass.css — .glass, .eyebrow, .btn, section heads, .reveal.
   Generated from reference/styles.css. */

/* ---- GLASS PRIMITIVE (118-146) ---- */
/* ========== GLASS PRIMITIVE ========== */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 60px -30px rgba(0,0,0,0.8);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.02) 30%, transparent 60%, rgba(255,255,255,0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.glass-strong {
  background: var(--glass-bg-strong);
  border-color: var(--line-strong);
}


/* ---- EYEBROW + PULSE (254-284) ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-1);
  margin-bottom: 28px;
}
.eyebrow .tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--ink-0);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ---- BUTTONS + RIPPLE (321-378) ---- */
/* ========== BUTTONS ========== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .25s var(--ease-out), box-shadow .3s;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180px 120px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn.primary {
  background: var(--ink-0);
  color: var(--bg-0);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px -15px rgba(255,255,255,0.3);
}
.btn.ghost {
  background: rgba(255,255,255,0.05);
  color: var(--ink-0);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--line-strong); }
.btn .arrow {
  transition: transform .25s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple .7s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: translate(-50%,-50%) scale(6); opacity: 0; }
}


/* ---- SECTION HEADS (506-547) ---- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.section-label::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--ink-2);
}
h2.section-title {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  text-wrap: balance;
}
h2.section-title em {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-2);
}
.section-sub {
  font-size: 18px;
  color: var(--ink-1);
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
}


/* ---- REVEAL ON SCROLL (1349-1362) ---- */
/* ========== REVEAL ON SCROLL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
