

/* Minimal organic reset/overrides */
@font-face {
  font-family: "Coolvetica";
  src: url("assets/fonts/coolvetica rg.woff2") format("woff2"),
       url("assets/fonts/coolvetica rg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("assets/fonts/coolvetica rg it.woff2") format("woff2"),
       url("assets/fonts/coolvetica rg it.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #1b1b1b;
  --paper: #ffffff;
  --muted: #5a5a5a;
  --accent: #0a7c5b;
}

/* Minimal organic overrides (final precedence) */
body {
  color: #1b1b1b;
  background: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

a { color: #0a7c5b; }

.intro { padding: 0; }
.wrap { text-align: center; }
.brand-name { 
  font-size: 240px; 
  font-weight: 700; 
  letter-spacing: .2px; 
  margin: 0 0 16px; 
  font-family: "Coolvetica", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: url("assets/img/lhbg_alt.webp") center/cover no-repeat fixed;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  line-height: 0.9;
}

.links { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 8px; 
  max-width: 400px; 
  margin: 0 auto; 
  justify-items: center;
}
.links a { display: inline-block; padding: 10px 14px; border-radius: 10px; border: 1px solid #e6e6e6; background: #f9faf9; color: #1b1b1b; text-decoration: none; }
.links a:hover { background: #f1f5f1; }

/* Disable any old CRT overlay effects just in case */
body[data-crt]::before,
body[data-crt]::after { display: none !important; content: none !important; }

html, body { height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.intro { display: grid; place-items: center; padding: 64px 20px; }
.wrap { text-align: center; }
.brand-image { object-fit: contain; margin: 0 auto 16px; filter: none; }

.links { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 8px; 
  max-width: 400px; 
  margin: 0 auto; 
  justify-items: center;
}
.links a { display: inline-block; padding: 10px 14px; border-radius: 10px; border: 1px solid #e6e6e6; background: #f9faf9; color: var(--ink); text-decoration: none; }
.links a:hover { background: #f1f5f1; }

/* Remove old CRT effects */
body[data-crt]::before,
body[data-crt]::after { display: none !important; content: none !important; }

:root {
  --bg: #010803;
  --bg-soft: #03130a;
  --green: #0aff72;
  --green-dim: #48ffae;
  --text: #c6ffd6;
  --text-dim: #76e7a4;
  --grid: rgba(10, 255, 114, 0.08);
  --card: rgba(4, 25, 16, 0.7);
  --border: rgba(10, 255, 114, 0.18);
  --shadow: rgba(10, 255, 114, 0.12);
  --focus: #8bffd0;
  --glow: 0.55; /* intensity 0..1 */
}

/* Reset and base */
* { box-sizing: border-box; }
html, body { height: 100vh; }
body {
  margin: 0;
  color: var(--text);
  background: url("assets/img/lhbg.webp") center/cover no-repeat, radial-gradient(1200px 800px at 50% 0%, var(--bg-soft) 0%, var(--bg) 60%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  display: flex;
  align-items: center;
  justify-content: center;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: 0.5rem 0.75rem; background: #002b15; color: var(--text);
  outline: 2px solid var(--focus); outline-offset: 2px;
}

/* Layout */
.container { width: min(100%, 1120px); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(6px);
  background: linear-gradient(to bottom, rgba(1,8,3,0.9), rgba(1,8,3,0.65));
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }

.branding { display: flex; align-items: center; gap: 12px; }
.branding .logo { width: 48px; height: 48px; image-rendering: pixelated; filter: saturate(0) hue-rotate(80deg); }
.brand-text .site-title { margin: 0; font-size: 1.15rem; letter-spacing: 0.02em; text-shadow: 0 0 10px rgba(10,255,114,0.25); }
.brand-text .tagline { margin: 0; color: var(--text-dim); font-size: 0.9rem; }

.site-nav ul { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0; align-items: center; }
.site-nav a { padding: 6px 8px; border-radius: 6px; }
.site-nav a:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.fx-toggle label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

.hero { padding: 64px 0 32px; border-bottom: 1px solid var(--border); background: linear-gradient(to bottom, rgba(10,255,114,0.04), transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.hero-text h2 { font-size: 2.25rem; margin: 0 0 8px; text-shadow: 0 0 12px rgba(10,255,114,0.25); }
.hero-text p { margin: 0 0 16px; color: var(--text-dim); }

.monitor { position: relative; aspect-ratio: 4/3; border-radius: 18px; background: #02140a; border: 2px solid var(--border); box-shadow: inset 0 0 80px rgba(10,255,114,0.08), 0 30px 60px var(--shadow); overflow: hidden; }
.monitor img { width: 100%; height: 100%; object-fit: contain; padding: 24px; filter: contrast(1.05) brightness(1.05) saturate(0.2) hue-rotate(80deg) drop-shadow(0 0 12px rgba(10,255,114,0.15)); }
.monitor::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 100% at 50% 10%, rgba(255,255,255,0.13), rgba(255,255,255,0) 40%), linear-gradient(to bottom, rgba(255,255,255,0.06), rgba(255,255,255,0)); mix-blend-mode: overlay; opacity: 0.5; }

.cta { display: flex; gap: 12px; }
/* From Uiverse.io by Yaya12085 */ 
.button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  font-size: 13px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 8px;
  height: 65px;
  padding: 12px;
  border-radius: 15px 15px 12px 12px;
  cursor: pointer;
  position: relative;
  will-change: transform;
  transition: all .1s ease-in-out 0s;
  user-select: none;
  width: 100%;
  max-width: 160px;
  /* Add gradient shading to each side */
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  background-position: bottom right, bottom right;
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  box-shadow: inset -4px -10px 0px rgba(255, 255, 255, 0.4),
    inset -4px -8px 0px rgba(0, 0, 0, 0.3),
    0px 2px 1px rgba(0, 0, 0, 0.3),
    0px 2px 1px rgba(255, 255, 255, 0.1);
  transform: perspective(70px) rotateX(5deg) rotateY(0deg);
}

.button::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.5));
  z-index: -1;
  border-radius: 15px;
  box-shadow: inset 4px 0px 0px rgba(255, 255, 255, 0.1),
    inset 4px -8px 0px rgba(0, 0, 0, 0.3);
  transition: all .1s ease-in-out 0s;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  background-position: bottom right, bottom right;
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
  border-radius: 15px;
  transition: all .1s ease-in-out 0s;
}

.button:active {
  will-change: transform;
  transform: perspective(80px) rotateX(5deg) rotateY(1deg) translateY(3px) scale(0.96);
  height: 64px;
  border: 0.25px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset -4px -8px 0px rgba(255, 255, 255, 0.2),
    inset -4px -6px 0px rgba(0, 0, 0, 0.8),
    0px 1px 0px rgba(0, 0, 0, 0.9),
    0px 1px 0px rgba(255, 255, 255, 0.2);
  transition: all .1s ease-in-out 0s;
}

.button::after:active {
  background-image: linear-gradient(to bottom,rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.2));
}

.button:active::before {
  content: "";
  display: block;
  position: absolute;
  top: 5%;
  left: 20%;
  width: 50%;
  height: 80%;
  background-color: rgba(255, 255, 255, 0.1);
  animation: overlay 0.1s ease-in-out 0s;
  pointer-events: none;
}

.button svg {
  width: 15px;
  height: 15px;
}

@keyframes overlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.button:focus {
  outline: none;
}

.music, .about, .contact { padding: 56px 0; }
.section-lead { color: var(--text-dim); margin-top: -2px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.card { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(10,255,114,0.05), rgba(10,255,114,0.02)); box-shadow: 0 20px 50px var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.02); }
.card h4 { margin: 0 0 6px; }
.card p { margin: 0 0 12px; color: var(--text-dim); }


.site-footer { border-top: 1px solid var(--border); padding: 18px 0 40px; color: var(--text-dim); background: linear-gradient(to top, rgba(1,8,3,0.9), rgba(1,8,3,0.5)); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.social-icon { color: var(--green); display: inline-flex; padding: 8px; border-radius: 10px; border: 1px solid var(--border); background: rgba(10,255,114,0.06); }
.social-icon:hover { text-decoration: none; filter: brightness(1.15); }

/* CRT overlays and animation */
/* Apply overlays to the viewport for an authentic feel. */
body[data-crt="on"]::before,
body[data-crt="on"]::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
}
/* scanlines */
body[data-crt="on"]::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02) 0px,
    rgba(0, 0, 0, 0.02) 2px,
    rgba(0, 0, 0, 0.15) 3px,
    rgba(0, 0, 0, 0.15) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.65;
  animation: scan-flicker 3.2s infinite steps(60, end);
}
/* glow/vignette */
body[data-crt="on"]::after {
  background:
    radial-gradient(120% 100% at 50% -10%, rgba(10,255,114,0.18), rgba(10,255,114,0) 40%),
    radial-gradient(100% 120% at 50% 50%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
  box-shadow: inset 0 0 120px rgba(10,255,114, calc(var(--glow) * 0.45));
  opacity: 0.85;
}

@keyframes scan-flicker {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.72; }
}

/* Accessibility: focus and reduced motion */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .monitor { order: 2; }
  .hero-text { order: 1; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-crt="on"]::before { animation: none; opacity: 0.4; }
}


