/* NULLBYTE.SCH — terminal SIGNATURE
 * CRT phosphor green + matrix rain bg + scanline overlay + boot sequence
 */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --bg-base:   #050505;
  --bg-deep:   #000000;
  --bg-card:   #0a0f0a;
  --bg-card-hover: #0f180f;

  --green:       #00ff66;
  --green-soft:  rgba(0, 255, 102, 0.18);
  --green-dim:   #008833;
  --amber:       #ffaa00;
  --amber-soft:  rgba(255, 170, 0, 0.18);
  --danger:      #ff3030;

  --text:        #00ff66;
  --text-soft:   #88aa88;
  --text-mute:   #4a6a4a;

  --border:      rgba(0, 255, 102, 0.25);
  --border-strong: rgba(0, 255, 102, 0.55);

  --mono:    'JetBrains Mono', 'Fira Code', 'D2 Coding', ui-monospace, monospace;
  --korean:  'D2 Coding', 'JetBrains Mono', 'Pretendard', monospace;

  --gap: 16px;

  --z-matrix: 1;
  --z-scanline: 2;
  --z-content: 10;
  --z-cursor: 50;
  --z-nav: 80;
  --z-overlay: 100;
  --z-banner: 120;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
body::after {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: var(--z-scanline);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 2px,
    rgba(0, 255, 102, 0.025) 2px,
    rgba(0, 255, 102, 0.025) 3px
  );
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea {
  font: inherit; color: var(--text); font-family: var(--mono);
  background: var(--bg-deep);
  border: 1px solid var(--green-dim);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 1px solid var(--green); outline-offset: 0;
  border-color: var(--green);
  box-shadow: 0 0 12px var(--green-soft) inset;
}

/* ── Matrix rain canvas ───────────────────────────── */
.matrix-canvas {
  position: fixed; inset: 0; z-index: var(--z-matrix);
  pointer-events: none;
  opacity: 0.18;
}

/* ── Demo banner ──────────────────────────────────── */
.demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-banner);
  background: var(--green); color: var(--bg-deep);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  padding: 6px 16px; text-align: center; letter-spacing: 0.04em;
}
.demo-banner a { color: var(--bg-deep); text-decoration: underline; font-weight: 700; }
body.has-banner { padding-top: 28px; }

/* ── Top Terminal-style Bar ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--green-dim);
}
body.has-banner .nav { top: 28px; }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 13px;
}
.nav-prompt {
  color: var(--green);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-prompt .user { color: var(--text-soft); }
.nav-prompt .at { color: var(--text-soft); }
.nav-prompt .host { color: var(--green); }
.nav-prompt .path { color: var(--text-soft); }
.nav-prompt .dollar { color: var(--green); margin: 0 6px; }
.nav-prompt .typed { color: var(--green); }
.nav-prompt .cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--green); margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-family: var(--mono); font-size: 12px;
  color: var(--text-soft); padding: 6px 12px;
  border: 1px solid transparent;
  letter-spacing: 0.02em;
  transition: color .15s, border-color .15s, background .15s;
}
.nav-link:hover { color: var(--green); border-color: var(--green-dim); background: var(--bg-card); }
.nav-cta {
  font-family: var(--mono); font-weight: 600; font-size: 12px;
  background: var(--green); color: var(--bg-deep);
  padding: 6px 14px; border: 1px solid var(--green);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.nav-cta:hover { background: var(--bg-deep); color: var(--green); }
.nav-burger {
  display: none; width: 32px; height: 32px;
  border: 1px solid var(--green-dim); align-items: center; justify-content: center;
  color: var(--green); font-size: 14px;
}

/* ── Section base — terminal window ───────────────── */
.section { padding: 60px 24px; position: relative; z-index: var(--z-content); }
.container { max-width: 1280px; margin: 0 auto; }

.term-window {
  background: var(--bg-card);
  border: 1px solid var(--green-dim);
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.08);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--green-dim);
  font-family: var(--mono); font-size: 11px; color: var(--text-soft);
  letter-spacing: 0.04em;
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot.r { background: var(--danger); }
.term-dot.y { background: var(--amber); }
.term-dot.g { background: var(--green); }
.term-title { margin-left: 8px; }
.term-body { padding: 24px; }

.sec-prompt {
  font-family: var(--mono); font-size: 14px;
  color: var(--green); margin-bottom: 24px;
  display: flex; align-items: baseline; gap: 4px;
}
.sec-prompt .dollar { color: var(--text-soft); }
.sec-prompt .cmd { color: var(--green); font-weight: 600; }
.sec-prompt .out { color: var(--text-soft); margin-left: 12px; }
.sec-title {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.02em; line-height: 1.15;
  color: var(--green);
  text-shadow: 0 0 12px var(--green-soft);
  margin-bottom: 12px;
}
.sec-deck {
  font-family: var(--mono); font-size: 13px; color: var(--text-soft);
  max-width: 720px; line-height: 1.7;
  margin-bottom: 24px;
}

/* ── Boot Hero ────────────────────────────────────── */
#hero { padding: 0; min-height: 100vh; position: relative; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.22;
}
.hero-stack {
  position: relative; z-index: 1;
  min-height: 100vh; padding: 100px 24px 80px;
  max-width: 1100px; margin: 0 auto;
}
.boot-output {
  font-family: var(--mono); font-size: 13px;
  color: var(--green); line-height: 1.6;
  white-space: pre-wrap;
  margin-bottom: 32px;
  min-height: 280px;
}
.boot-line { opacity: 0; animation: bootLine .35s ease-out forwards; }
@keyframes bootLine { from { opacity: 0; } to { opacity: 1; } }
.boot-line.ascii { color: var(--green); text-shadow: 0 0 8px var(--green-soft); font-size: 14px; line-height: 1.1; }

.hero-prompt {
  font-family: var(--mono); font-size: 16px;
  color: var(--green); margin-top: 16px;
}
.hero-prompt .typed { color: var(--green); font-weight: 600; }
.hero-prompt .cursor {
  display: inline-block; width: 10px; height: 16px;
  background: var(--green); margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  padding: 12px 24px;
  border: 1px solid var(--green); border-radius: 0;
  background: transparent; color: var(--green);
  letter-spacing: 0.04em;
  transition: background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--green); color: var(--bg-deep); }
.btn-primary:hover { background: var(--bg-deep); color: var(--green); box-shadow: 0 0 16px var(--green-soft); }
.btn-ghost:hover { background: var(--bg-card); box-shadow: 0 0 12px var(--green-soft); }

/* ── About — cat about.md output ──────────────────── */
.about-output {
  font-family: var(--mono); font-size: 14px;
  color: var(--text); line-height: 1.85;
  white-space: pre-wrap;
  padding: 24px; background: var(--bg-card);
  border: 1px solid var(--green-dim);
}
.about-output strong { color: var(--amber); }

/* ── Mentors — ls -la /mentors/ ──────────────────── */
.mentors-list {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-card); padding: 24px;
  border: 1px solid var(--green-dim);
}
.mentor-row {
  display: grid; grid-template-columns: 100px 80px 1fr 100px 60px;
  gap: 16px; padding: 14px 0;
  border-bottom: 1px dashed var(--green-dim);
  align-items: center;
  cursor: pointer;
  transition: background .15s;
}
.mentor-row:last-child { border-bottom: 0; }
.mentor-row:hover { background: var(--bg-card-hover); }
.mentor-perms { color: var(--text-soft); }
.mentor-handle { color: var(--green); font-weight: 600; }
.mentor-info { display: flex; flex-direction: column; gap: 4px; }
.mentor-role { color: var(--amber); font-size: 12px; }
.mentor-expertise { color: var(--text); font-size: 12px; line-height: 1.5; }
.mentor-prev { color: var(--text-mute); font-size: 11px; }
.mentor-img-thumb {
  width: 60px; height: 60px;
  background-size: cover; background-position: center;
  border: 1px solid var(--green-dim);
}
.mentor-arrow { color: var(--text-soft); text-align: right; }

/* ── Programs — tree /curriculum/ ─────────────────── */
.tree-container {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-card); padding: 28px;
  border: 1px solid var(--green-dim);
}
.tree-root { color: var(--amber); margin-bottom: 12px; font-weight: 600; }
.tree-row {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 12px; padding: 10px 0;
  align-items: baseline;
  border-bottom: 1px dotted var(--green-dim);
  cursor: pointer;
  transition: background .15s;
}
.tree-row:last-child { border-bottom: 0; }
.tree-row:hover { background: var(--bg-card-hover); }
.tree-prefix { color: var(--text-mute); }
.tree-info { display: flex; flex-direction: column; gap: 4px; }
.tree-name { color: var(--green); font-weight: 600; }
.tree-name .code { color: var(--amber); margin-right: 8px; }
.tree-desc { color: var(--text-soft); font-size: 12px; line-height: 1.55; }
.tree-meta { color: var(--text-mute); font-size: 11px; white-space: nowrap; }

/* ── Live demo — terminal real-time ───────────────── */
.live-term {
  background: var(--bg-deep); border: 1px solid var(--green);
  padding: 24px;
  font-family: var(--mono); font-size: 13px;
  color: var(--green); line-height: 1.7;
  min-height: 280px;
  white-space: pre-wrap;
  box-shadow: 0 0 24px var(--green-soft);
}
.live-cmd { color: var(--green); font-weight: 600; }
.live-line { color: var(--text); }
.live-ok { color: var(--amber); }
.live-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: var(--green); margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* ── CTF Scoreboard ───────────────────────────────── */
.scoreboard {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-card); padding: 24px;
  border: 1px solid var(--green-dim);
}
.score-row {
  display: grid; grid-template-columns: 50px 1fr 80px 80px 40px;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px dotted var(--green-dim);
  align-items: center;
}
.score-row.head {
  color: var(--amber); font-weight: 600;
  border-bottom: 1px solid var(--green);
  padding-bottom: 8px; margin-bottom: 4px;
}
.score-row:last-child { border-bottom: 0; }
.score-rank { color: var(--amber); font-weight: 600; text-align: right; }
.score-team { color: var(--green); }
.score-team.us { color: var(--green); font-weight: 700; text-shadow: 0 0 8px var(--green-soft); }
.score-flags { color: var(--text); text-align: right; }
.score-points { color: var(--text-soft); text-align: right; }
.score-cc { color: var(--amber); font-size: 11px; text-align: right; }

/* ── Process — ps aux pipeline ────────────────────── */
.process-pipe {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-card); padding: 24px;
  border: 1px solid var(--green-dim);
  display: flex; flex-direction: column; gap: 16px;
}
.process-row {
  display: grid; grid-template-columns: 50px 100px 1fr;
  gap: 16px; padding: 14px 0;
  border-bottom: 1px dotted var(--green-dim);
  align-items: baseline;
}
.process-row:last-child { border-bottom: 0; }
.process-pid { color: var(--amber); font-weight: 600; }
.process-name { color: var(--green); font-weight: 600; }
.process-body { color: var(--text-soft); font-size: 12px; line-height: 1.55; }

/* ── Alumni — whoami + grep ───────────────────────── */
.alumni-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: var(--bg-card); padding: 24px;
  border: 1px solid var(--green-dim);
}
.alumni-card {
  border: 1px solid var(--green-dim);
  background: var(--bg-deep);
  padding: 12px;
  display: grid; grid-template-columns: 60px 1fr;
  gap: 12px; align-items: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.alumni-card:hover { background: var(--bg-card-hover); border-color: var(--green); }
.alumni-img {
  width: 60px; height: 60px;
  background-size: cover; background-position: center;
  border: 1px solid var(--green-dim);
}
.alumni-info { display: flex; flex-direction: column; gap: 2px; }
.alumni-handle { color: var(--green); font-size: 13px; font-weight: 600; }
.alumni-cohort { color: var(--amber); font-size: 11px; }
.alumni-role { color: var(--text-soft); font-size: 11px; line-height: 1.4; }

/* ── Press — cat press.log ────────────────────────── */
.press-log {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-card); padding: 24px;
  border: 1px solid var(--green-dim);
}
.press-row {
  display: grid; grid-template-columns: 80px 1fr 60px;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px dashed var(--green-dim);
  align-items: start;
}
.press-row:last-child { border-bottom: 0; }
.press-img {
  width: 80px; height: 80px;
  background-size: cover; background-position: center;
  border: 1px solid var(--green-dim);
}
.press-content { display: flex; flex-direction: column; gap: 6px; }
.press-source { color: var(--amber); font-weight: 600; font-size: 12px; }
.press-quote { color: var(--text); font-size: 13px; line-height: 1.65; }
.press-tag { color: var(--green); font-size: 11px; text-align: right; font-weight: 600; }

/* ── Studio — ls /lab/ ────────────────────────────── */
.studio-list {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-card); padding: 24px;
  border: 1px solid var(--green-dim);
}
.studio-row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 16px; padding: 12px 0;
  border-bottom: 1px dotted var(--green-dim);
  align-items: center;
}
.studio-row:last-child { border-bottom: 0; }
.studio-img {
  width: 100px; height: 60px;
  background-size: cover; background-position: center;
  border: 1px solid var(--green-dim);
}
.studio-label { color: var(--green); font-size: 13px; font-weight: 500; }

/* ── CTA — vim form ───────────────────────────────── */
.vim-window {
  background: var(--bg-deep); border: 1px solid var(--green);
  font-family: var(--mono);
  box-shadow: 0 0 24px var(--green-soft);
}
.vim-statusline {
  background: var(--green); color: var(--bg-deep);
  padding: 4px 14px; font-size: 11px;
  font-weight: 700; letter-spacing: 0.04em;
  display: flex; justify-content: space-between;
}
.vim-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.vim-line { display: flex; gap: 16px; align-items: baseline; }
.vim-line-num {
  color: var(--text-mute); font-size: 12px;
  width: 30px; text-align: right; flex-shrink: 0;
}
.vim-line-content { flex: 1; }
.vim-line-content .key { color: var(--amber); font-size: 12px; }
.vim-modeline {
  background: var(--green); color: var(--bg-deep);
  padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  display: flex; justify-content: space-between;
}
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-label {
  display: block;
  font-family: var(--mono); font-size: 11px; color: var(--amber);
  letter-spacing: 0.06em; margin-bottom: 6px; font-weight: 600;
}
.cta-submit {
  width: 100%; padding: 14px;
  background: var(--green); color: var(--bg-deep);
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  border: 1px solid var(--green);
  letter-spacing: 0.06em;
  transition: background .2s, color .2s, box-shadow .2s;
}
.cta-submit:hover { background: var(--bg-deep); color: var(--green); box-shadow: 0 0 16px var(--green-soft); }

/* ── Footer — man page ────────────────────────────── */
.footer {
  background: var(--bg-deep); border-top: 1px solid var(--green);
  padding: 40px 24px; margin-top: 60px;
  font-family: var(--mono);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.footer-brand-name {
  font-size: 18px; font-weight: 700; color: var(--green);
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.footer-tag { font-size: 12px; color: var(--text-soft); margin-top: 4px; line-height: 1.7; }
.footer-meta-row { font-size: 11px; color: var(--text-mute); margin-top: 12px; line-height: 1.7; }
.footer h4 {
  color: var(--amber); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 10px;
}
.footer-list { display: flex; flex-direction: column; gap: 6px; }
.footer-list a, .footer-list span { color: var(--text-soft); font-size: 12px; transition: color .15s; }
.footer-list a:hover { color: var(--green); }
.footer-meta {
  max-width: 1280px; margin: 24px auto 0; padding: 16px 24px 0;
  border-top: 1px solid var(--green-dim);
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-mute); letter-spacing: 0.04em;
}

/* ── Reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Drawer (mobile) ──────────────────────────────── */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg-deep);
  border-left: 1px solid var(--green);
  z-index: var(--z-overlay);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  padding: 80px 24px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-family: var(--mono); font-size: 16px; color: var(--green);
  padding: 12px 0; border-bottom: 1px solid var(--green-dim);
  letter-spacing: 0.04em;
}
.drawer-back {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  z-index: calc(var(--z-overlay) - 1); opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-back.show { opacity: 1; pointer-events: auto; }

/* PC nav user group + Drawer X close (T11 terminal green) */
.nav-user {
  display: inline-flex; gap: 6px; align-items: center;
  margin-left: 12px; padding-left: 14px;
  border-left: 1px solid var(--green-dim);
}
.nav-user-link {
  font-family: var(--mono); font-size: 12px;
  color: var(--green); padding: 6px 10px;
  letter-spacing: 0.04em;
  transition: background .2s, color .2s;
}
.nav-user-link:hover { background: var(--green-dim); }
.nav-user-cta {
  border: 1px solid var(--green);
  background: var(--green); color: var(--bg-deep) !important;
}
.nav-user-cta:hover { background: var(--green-bright, #00ff66); }
.drawer-close {
  position: absolute; top: 60px; right: 24px;
  width: 48px; height: 48px;
  background: var(--bg-deep); border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 24px; font-weight: 400;
  color: var(--green); line-height: 1; cursor: pointer;
  border: 1px solid var(--green); box-shadow: 0 0 16px rgba(0,255,102,.3);
  transition: transform .2s, background .2s; z-index: 2;
}
body.has-banner .drawer-close { top: 80px; }
.drawer-close:hover { background: var(--green); color: var(--bg-deep); transform: rotate(90deg); }
.drawer-divider { width: 60%; height: 1px; background: var(--green-dim); margin: 12px auto; }
.drawer-user-link {
  font-family: var(--mono); color: var(--amber, #ffba2c) !important;
  font-size: 14px !important;
  padding: 10px 0 !important; border-bottom: 1px solid var(--green-dim);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .alumni-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-prompt { font-size: 11px; }
  .mentor-row { grid-template-columns: 60px 1fr; }
  .mentor-perms, .mentor-prev, .mentor-img-thumb, .mentor-arrow { display: none; }
  .mentor-img-thumb { display: block; }
  .alumni-grid { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 40px 1fr 60px 30px; }
  .score-row .score-points { display: none; }
  .press-row { grid-template-columns: 1fr; }
  .press-img { width: 100%; height: 100px; }
  .press-tag { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 40px 16px; }
  .term-body { padding: 16px; }
  .boot-output { font-size: 11px; min-height: 200px; }
  .boot-line.ascii { font-size: 10px; }
  .hero-stack { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .matrix-canvas { display: none; }
}


/* ===========================================
   RETROFIT v1.27 — motionsites integration
   slug: terminal
   effects: N, X
   =========================================== */
/* === retrofit v1.27 motionsites liquid-glass (MIT) === */
.btn, .cta-btn, .nav-cta, [class*="-btn"], [class*="-cta"], button[type="submit"] {
  position: relative;
  overflow: hidden;
}
.btn::before, .cta-btn::before, .nav-cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 50%, rgba(255,255,255,0.12));
  opacity: 0.7; border-radius: inherit;
  transition: opacity 0.3s;
}
.btn:hover::before, .cta-btn:hover::before, .nav-cta:hover::before { opacity: 1; }/* === retrofit v1.27 motionsites bento-asymmetric (MIT) === */
@media (prefers-reduced-motion: no-preference) {
  .bento-cell, [class*="bento-"], .grid > * {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  }
  .bento-cell:hover, [class*="bento-"]:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
  }
}