/* ==========================================================================
   Slytherin, House of the Serpent
   ========================================================================== */

@font-face {
  font-family: "harryp";
  src: url("../assets/fonts/HARRYP__.TTF") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../assets/fonts/cinzel-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --black: #030604;
  --near-black: #060a08;
  --stone: #0c1410;
  --stone-light: #131f19;
  --green-deep: #04150c;
  --green: #0d3b24;
  --green-mid: #165c37;
  --green-bright: #1f9d5c;
  --green-neon: #37ffa0;
  --silver: #b9c6bd;
  --silver-dim: #7c8a82;
  --text: #d7e4da;
  --blood: #7a0c0c;
  --blood-bright: #b3121b;
  --gold: #9c8a4e;

  --font-display: "harryp", "Cinzel", serif;
  --font-heading: "Cinzel", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

body.locked { overflow: hidden; height: 100vh; }

::selection { background: var(--green-mid); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--green-mid), var(--green-deep));
  border-radius: 6px;
}

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

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

h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: 0.04em; font-weight: 600; }

.display {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-weight: 400;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 1rem;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section { position: relative; padding: 8rem 0; }

/* ---------- texture / atmosphere layers ---------- */

#fog-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 18vw 4vw rgba(0,0,0,0.85);
}

#ember-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #eafff2 0%, rgba(55,255,160,0.95) 35%, rgba(55,255,160,0) 72%);
  box-shadow: 0 0 14px 3px rgba(55,255,160,0.6);
  pointer-events: none;
  z-index: 10010;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
  #ember-cursor.active { opacity: 1; }
}

/* ---------- entrance gate ---------- */

#gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(ellipse at center, #060f0a 0%, #010301 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  transition: opacity 1.4s var(--ease), visibility 1.4s;
}

#gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.gate-eyes {
  display: flex;
  gap: 2.2rem;
  margin-bottom: 2.5rem;
}

.gate-eye {
  width: 14px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 25px 6px rgba(55,255,160,0.75);
  animation: blink 5.5s infinite;
}
.gate-eye:nth-child(2) { animation-delay: 0.15s; }

@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.08); }
}

#gate h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  color: var(--silver);
  text-shadow: 0 0 30px rgba(55,255,160,0.35);
  letter-spacing: 0.08em;
}

#gate p.tagline {
  margin-top: 1rem;
  color: var(--silver-dim);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

#enter-btn {
  margin-top: 3rem;
  padding: 0.9rem 2.6rem;
  background: transparent;
  border: 1px solid var(--green-mid);
  color: var(--green-neon);
  font-family: var(--font-heading);
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: all 0.4s var(--ease);
}

#enter-btn:hover {
  background: rgba(31,157,92,0.12);
  box-shadow: 0 0 30px rgba(55,255,160,0.35);
  letter-spacing: 0.3em;
}

.gate-hint {
  margin-top: 1.4rem;
  font-size: 0.75rem;
  color: var(--silver-dim);
  opacity: 0.55;
  letter-spacing: 0.05em;
}

/* ---------- nav ---------- */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(3,6,4,0.92), rgba(3,6,4,0));
  backdrop-filter: blur(2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}

.brand svg { width: 34px; height: 34px; }

.brand span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--silver);
}

.navlinks {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  list-style: none;
}

.navlinks a {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
  transition: color 0.3s;
}
.navlinks a:hover { color: var(--green-neon); }

#mute-btn {
  background: none;
  border: 1px solid var(--green-mid);
  color: var(--silver-dim);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
#mute-btn:hover { color: var(--green-neon); border-color: var(--green-neon); }

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url("../assets/images/back.jpg") center 20% / cover no-repeat;
  padding-top: 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2,5,3,0.55) 0%, rgba(2,5,3,0.35) 40%, rgba(2,5,3,0.9) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 12vw, 8.5rem);
  color: var(--silver);
  line-height: 0.95;
  text-shadow: 0 0 40px rgba(55,255,160,0.3), 0 0 80px rgba(0,0,0,0.8);
  animation: flicker 7s infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 55% { opacity: 0.82; }
}

.hero .sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--silver-dim);
  margin-top: 1.2rem;
  letter-spacing: 0.03em;
}

.scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0);} 50% { transform: translate(-50%, 10px);} }

/* ---------- section headers ---------- */

.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--silver);
}
.section-head p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--silver-dim);
  font-size: 1.1rem;
}

.divider-snake { width: 90px; margin: 1.6rem auto; opacity: 0.7; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- house values ---------- */

#values { background: linear-gradient(var(--black), var(--stone) 40%, var(--black)); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.value-card {
  border: 1px solid rgba(31,157,92,0.2);
  background: linear-gradient(160deg, rgba(13,59,36,0.15), rgba(3,6,4,0.4));
  padding: 2.4rem 1.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--green-neon);
}
.value-card svg {
  width: 42px; height: 42px;
  margin-bottom: 1.1rem;
  stroke: var(--green-neon);
  filter: drop-shadow(0 0 8px rgba(55,255,160,0.5));
  opacity: 0.85;
}
.value-card h3 {
  font-size: 1.1rem;
  color: var(--silver);
  margin-bottom: 0.6rem;
}
.value-card p { color: var(--silver-dim); font-size: 1rem; }

.value-card .eye-glow {
  position: absolute;
  top: -20px; right: -20px;
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(55,255,160,0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.value-card:hover .eye-glow { opacity: 1; }

/* ---------- founder ---------- */

#founder {
  background: var(--stone);
  border-top: 1px solid rgba(55,255,160,0.08);
  border-bottom: 1px solid rgba(55,255,160,0.08);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.founder-portrait {
  aspect-ratio: 3/4;
  border: 1px solid rgba(55,255,160,0.25);
  background:
    radial-gradient(circle at 50% 30%, rgba(31,157,92,0.18), transparent 60%),
    repeating-linear-gradient(135deg, #0a1410 0 2px, #060b08 2px 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.founder-portrait svg { width: 55%; opacity: 0.85; filter: drop-shadow(0 0 20px rgba(55,255,160,0.35)); }

.founder-text h2 { font-family: var(--font-display); font-size: 2.4rem; color: var(--silver); margin-bottom: 1.2rem; }
.founder-text p { color: var(--silver-dim); font-size: 1.15rem; margin-bottom: 1rem; line-height: 1.6; }
.founder-text blockquote {
  margin-top: 1.6rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--green-mid);
  font-style: italic;
  color: var(--green-neon);
  font-size: 1.2rem;
}

@media (max-width: 800px) {
  .founder-grid { grid-template-columns: 1fr; }
}

/* ---------- legends / clues ---------- */

#legends { background: linear-gradient(var(--black), #030906); }

.clue-list { display: flex; flex-direction: column; gap: 1px; max-width: 780px; margin: 0 auto; }

.clue {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.6rem;
  padding: 1.8rem 1rem;
  border-bottom: 1px solid rgba(185,198,189,0.08);
  position: relative;
}

.clue .mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--silver-dim);
  transition: color 0.4s, text-shadow 0.4s;
}
.clue:hover .mark { color: var(--green-neon); text-shadow: 0 0 12px rgba(55,255,160,0.6); }

.clue h4 { color: var(--silver); font-size: 1.15rem; margin-bottom: 0.3rem; }
.clue p { color: var(--silver-dim); }

.clue .glitch-word {
  cursor: help;
  border-bottom: 1px dotted var(--green-mid);
  position: relative;
}
.clue .glitch-word:hover { color: var(--green-neon); }

/* ---------- chamber ---------- */

#chamber {
  background: radial-gradient(ellipse at 50% 0%, #08130d 0%, #010302 65%);
  padding-bottom: 10rem;
  min-height: 100vh;
}

.chamber-door {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(55,255,160,0.2);
  padding: 4rem 2rem;
  position: relative;
  background: linear-gradient(180deg, rgba(13,59,36,0.08), transparent);
}

.chamber-door.hidden { display: none; }

.chamber-seal {
  width: 120px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgba(55,255,160,0.4));
  animation: seal-breathe 4s ease-in-out infinite;
}
@keyframes seal-breathe {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(55,255,160,0.3)); }
  50% { filter: drop-shadow(0 0 26px rgba(55,255,160,0.6)); }
}

.chamber-door h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--silver);
  margin-bottom: 1rem;
}
.chamber-door p { color: var(--silver-dim); font-size: 1.1rem; margin-bottom: 0.5rem; }
.chamber-door .parsel {
  margin-top: 1.4rem;
  font-style: italic;
  color: var(--green-neon);
  opacity: 0.8;
  font-size: 1rem;
}

#speak-btn {
  margin-top: 2.2rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  border: 1px solid var(--green-mid);
  color: var(--green-neon);
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
#speak-btn:hover { background: rgba(31,157,92,0.15); box-shadow: 0 0 24px rgba(55,255,160,0.3); }

/* terminal */

.terminal-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: none;
}
.terminal-wrap.show { display: block; }

.terminal {
  border: 1px solid rgba(55,255,160,0.35);
  background: rgba(2,6,4,0.9);
  box-shadow: 0 0 40px rgba(0,0,0,0.6), inset 0 0 60px rgba(0,50,25,0.15);
  font-family: "Fira Code", "Consolas", monospace;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(55,255,160,0.2);
  color: var(--silver-dim);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}
.terminal-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-mid); }

.terminal-body {
  height: 260px;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #b7f3cf;
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal-body .line-in::before { content: ">>> "; color: var(--green-mid); }
.terminal-body .line-err { color: #ff7b7b; }
.terminal-body .line-sys { color: var(--silver-dim); font-style: italic; }
.terminal-body .line-out { color: #eafff2; }

.terminal-input-row {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid rgba(55,255,160,0.2);
  padding: 0.7rem 1.1rem;
  gap: 0.5rem;
}
.terminal-input-row .prompt { color: var(--green-neon); font-size: 0.85rem; padding-top: 2px; }
.terminal-input-row textarea {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  resize: none;
  color: #eafff2;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.55;
}
.terminal-input-row textarea::placeholder { color: #3d5c4b; }

.terminal-hint {
  text-align: center;
  color: var(--silver-dim);
  font-size: 0.78rem;
  margin-top: 1rem;
  opacity: 0.65;
  font-family: var(--font-body);
  font-style: italic;
}

/* unlocked chamber content */

.chamber-revealed {
  display: none;
  margin-top: 5rem;
  animation: fade-in 1.6s var(--ease);
}
.chamber-revealed.show { display: block; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.chamber-warning {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  color: var(--blood-bright);
  text-shadow: 0 0 20px rgba(179,18,27,0.7);
  letter-spacing: 0.05em;
  margin-bottom: 4rem;
  animation: drip-in 2s var(--ease);
}
@keyframes drip-in {
  from { opacity: 0; transform: translateY(-30px) scaleY(0.7); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); }
}

.basilisk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-bottom: 4rem;
}

.trace-card {
  border: 1px solid rgba(179,18,27,0.25);
  background: linear-gradient(160deg, rgba(122,12,12,0.1), rgba(3,6,4,0.5));
  padding: 1.8rem;
}
.trace-card svg { width: 100%; height: 110px; margin-bottom: 1rem; }
.trace-card h4 { color: var(--silver); margin-bottom: 0.4rem; font-size: 1.05rem; }
.trace-card p { color: var(--silver-dim); font-size: 0.95rem; }

.pipe-eyes {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
}
.pipe-eye {
  width: 16px; height: 30px;
  border-radius: 50%;
  background: #ffcf4d;
  box-shadow: 0 0 20px 6px rgba(255,207,77,0.6);
  animation: eye-blink 6s infinite;
}
.pipe-eye:nth-child(2) { animation-delay: 0.2s; }
@keyframes eye-blink {
  0%, 90%, 100% { transform: scaleY(1); opacity: 1; }
  93% { transform: scaleY(0.1); opacity: 0.6; }
}

/* diary */

.diary {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(122,12,12,0.4);
  background: linear-gradient(160deg, #170707, #060302);
  padding: 2.4rem;
  position: relative;
}
.diary h3 {
  font-family: var(--font-display);
  color: var(--silver);
  text-align: center;
  margin-bottom: 0.4rem;
}
.diary .diary-sub {
  text-align: center;
  color: var(--silver-dim);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}
.diary-log {
  min-height: 90px;
  color: var(--blood-bright);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}
.diary form { display: flex; gap: 0.6rem; }
.diary input {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(122,12,12,0.5);
  color: var(--text);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
.diary input:focus { border-color: var(--blood-bright); }
.diary button {
  background: transparent;
  border: 1px solid rgba(122,12,12,0.6);
  color: var(--blood-bright);
  padding: 0.7rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}
.diary button:hover { background: rgba(122,12,12,0.2); }

/* screen shake for basilisk moment */
.shake { animation: shake 0.6s; }
@keyframes shake {
  0%, 100% { transform: translate(0,0); }
  20% { transform: translate(-6px, 3px); }
  40% { transform: translate(5px, -4px); }
  60% { transform: translate(-4px, 4px); }
  80% { transform: translate(6px, -2px); }
}

/* ---------- footer ---------- */

footer {
  padding: 4rem 0 2.5rem;
  text-align: center;
  background: var(--black);
  border-top: 1px solid rgba(55,255,160,0.08);
}
footer .brand-line {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--silver);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
footer p { color: var(--silver-dim); font-size: 0.85rem; }
footer .secret-dot {
  display: inline-block;
  width: 4px; height: 4px;
  opacity: 0.3;
  cursor: default;
}

/* ---------- konami overlay ---------- */

#konami-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(3,20,10,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 2rem;
}
#konami-overlay.show { display: flex; }
#konami-overlay h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4rem);
  color: var(--green-neon);
  text-shadow: 0 0 40px rgba(55,255,160,0.8);
}
#konami-overlay p { color: var(--silver-dim); margin-top: 1rem; font-style: italic; }

/* ---------- horcrux modal ---------- */

#secret-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(1,3,2,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#secret-modal.show { display: flex; }
.secret-box {
  max-width: 460px;
  text-align: center;
  border: 1px solid rgba(55,255,160,0.3);
  padding: 3rem 2rem;
  background: linear-gradient(160deg, rgba(13,59,36,0.15), transparent);
}
.secret-box h3 { font-family: var(--font-display); color: var(--silver); margin-bottom: 1rem; font-size: 1.6rem; }
.secret-box p { color: var(--silver-dim); font-style: italic; margin-bottom: 1.6rem; }
.secret-box button {
  background: none;
  border: 1px solid var(--green-mid);
  color: var(--green-neon);
  padding: 0.6rem 1.6rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

/* ---------- misc ---------- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  section { padding: 5rem 0; }
  .navlinks { display: none; }
}
