@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Emoji&family=Noto+Sans+Symbols:wght@100..900&display=swap');


/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  scroll-behavior: smooth;
}


/* =========================
   VARIABLES
========================= */
:root {
  --color-text: #eeeeee;
  --color-primary: #ff29d7;
  --color-accent: #33ff11;
  --color-bg: #111111;

  /* Body font */
  --font-body: 'Rethink Sans', sans-serif;

  /* Heading / display font stays PerpetuaTitlingMT */
  --font-heading: 'PerpetuaTitlingMT', serif;

  /* Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;


  --space: clamp(0.4rem, 2vw + 0.1rem, 1rem);
  --max-width: 1200px;
}

/* =========================
   BASE
========================= */
/* Light weight */
@font-face {
  font-family: 'PerpetuaTitlingMT';
  src: url('../assets/fonts/PerpetuaTitlingMT-Light.woff2') format('woff2'),
       url('../assets/fonts/PerpetuaTitlingMT-Light.woff') format('woff');
  font-weight: 300;  /* light */
  font-style: normal;
  font-display: swap;
}

/* Bold weight */
@font-face {
  font-family: 'PerpetuaTitlingMT';
  src: url('../assets/fonts/PerpetuaTitlingMT-Bold.woff2') format('woff2'),
       url('../assets/fonts/PerpetuaTitlingMT-Bold.woff') format('woff');
  font-weight: 700;  /* bold */
  font-style: normal;
  font-display: swap;
}

.noto-sans-symbols-symbol {
  font-family: "Noto Sans Symbols", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  
}

main {
  background-color: var(--color-bg);
  position: relative; /* for positioning child elements if needed */
  z-index: 0;

  background: var(--color-bg);
  /* Creates a black shadow that extends infinitely to the sides */
  box-shadow: 0 0 0 100vw var(--color-bg);
  /* Clips the vertical spread so it doesn't cover the whole page */
  clip-path: inset(0 -100vw -100vh);
}

h1 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: clamp(3.2rem, 6.4vw, 5.25rem);
  text-transform: uppercase; /* optional for hero-style headings */
  line-height: 1;
  letter-spacing: 0.02em;   /* optional for condensed feel */
  display: inline-block;
  transform: scaleX(0.64);
  transform-origin: left;
  width: calc(100% / 0.64); /* ≈ 156.25% */
  margin: 0.6rem 0;
}

h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: var(--font-weight-light);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  text-transform: uppercase; /* optional for hero-style headings */
  line-height: 1.2;
  margin:1rem 0;
}

.hero-heading {
  font-family: 'PerpetuaTitlingMT', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 6.4vw, 5.25rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-block;
  transform: scaleX(0.64);
  transform-origin: left;
  width: calc(100% / 0.64); /* ≈ 156.25% */
}

.hero-font {
  font-family: 'PerpetuaTitlingMT', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.8vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-block;
  transform: scaleX(0.64);
  transform-origin: left;
  width: calc(100% / 0.64); /* ≈ 156.25% */
  margin: 0.6rem 0;

}

.heading-font {
  font-family: var(--font-body);
  font-weight: var(--font-weight-light);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  text-transform: uppercase; /* optional for hero-style headings */
  line-height: 1.2;
}

.font-size-mid{
  font-size: clamp(2.4rem, 4.8vw, 3.5rem);
}

strong, .highlight {
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
}

p, span, label {
  font-weight: var(--font-weight-b);
  font-size: clamp(0.86rem, 1.5vw, 1rem);
  margin: 0.6rem inherit;

}

small, figcaption, .caption  {
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  margin: 0.2rem 0;
  opacity: 0.8;
}

a {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: clamp(0.86rem, 1.5vw, 0.9rem);

  text-transform: uppercase; /* optional for hero-style headings */
  color: inherit;
  text-decoration: none;
}

.text-link {
  /* width: 50px; */
  /* height: 50px; */
  text-decoration: underline;
  text-transform: uppercase;
  color: var(--color-text);
  /* border-radius: 99px; */
  border: none;
  background: none;
  cursor: pointer;
  /* font-size: 20px; */
  transition: 0.4s ease;
}

.text-link:hover {
  color: var(--color-primary);

}

.link-accent {
  color: inherit; /* keeps normal text color initially */
  transition: color 0.3s ease; /* smooth color transition */
  text-decoration: underline;  /* adds underline on hover */
  text-transform: none;        /* overrides allcaps */

}

.link-accent:hover {
  color: var(--color-accent); /* changes to your accent color */
}


img {
  max-width: 100%;
  display: block;
}

ul {
  /* list-style: none;  */
  /* removes bullets */
  padding: 0;       /* optional: removes default padding */
  margin: 0;        /* optional: removes default margin */
}

/* Remove bullets ONLY from the very top list */
.list > li {
  list-style-type: none;
}

/* Start the hierarchy inside any nested list */
.list ul {
  list-style-type: disc; /* Level 2 becomes the "new" top level */
}

.list ul ul {
  list-style-type: circle; /* Level 3 */
}

ul>ul{
  padding-left: 1.2rem;
  padding-top: 0;
}
ul>li>ul{
padding-left: 1.2rem;
padding-top: 0;
}


svg {
  fill: var(--color-text);
}



footer >* {
  z-index: 99999;
}

.hover-accent, .hover-primary {
  transition: color 0.3s ease;
}

.hover-accent svg:hover {
  fill: currentColor;
  transition: fill 0.3s ease;
}

.hover-accent:hover {
  color: var(--color-accent);
}
.hover-primary:hover {
  color: var(--color-primary);
}

.text-shadow{
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.svg-shadow{
  filter: drop-shadow(0 0px 6px rgba(0, 0, 0, 0.3))
}

input, textarea {
  background-color: var(--color-text);
  border-radius: 0.2rem;
  padding: 0.2rem 0.4rem;
  border: 0;
  font-family: var(--font-body)
}

/* 1. Define the area */
::-webkit-scrollbar {
  width: 10px;
  /* display: block; */
  position: absolute;
}

/* 2. Make the track transparent (or a light grey to see it) */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05); 
}

/* 3. The Nub (This is what's missing) */
::-webkit-scrollbar-thumb {
  background-color: var(--color-primary); /* Ensure this variable is defined! */
  border-radius: 10px;
}

audio {
  width: 100%;
  max-width: 400px; /* Limits the size so it doesn't look stretched */
  height: 40px;
  filter: invert(100%); /* Quick trick to make the default player "dark mode" */
  
}

.round-corners{
  border-radius: 1rem;
}

.opacity-50{
  opacity: 0.5;
}


@media (max-width: 500px) {
  .m-hide{
    display: none;
  }
}


/* Optimized class for off-screen rendering */
.optimize-render {
  /* Skip rendering when off-screen */
  content-visibility: auto;

  /* CRITICAL: Tells the browser the estimated height of the section.
     Adjust '1000px' to match the average height of your content 
     to prevent scrollbar jumping.
  */
  contain-intrinsic-size: auto auto;
}

/* Optional: If the section contains images, ensure they 
   don't overflow their "invisible" container.
*/
.optimize-render img {
  max-width: 100%;
  height: auto;
}