@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English:ital@0;1&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');


.noto-serif {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

@font-face {
    font-family: 'Nebulica';
    src: url('Nebulica-Light.woff2') format('woff2'),
        url('Nebulica-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nebulica';
    src: url('Nebulica-Thin.woff2') format('woff2'),
        url('Nebulica-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nebulica';
    src: url('Nebulica-ExtraLight.woff2') format('woff2'),
        url('Nebulica-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

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

:root {
  --bg: #ffffff;
  --ink: #1a1a18;
  --muted: #6b6560;
  --rule: #c8c0b4;
  --accent: #8b3a2a;
  --black: #000000;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nebulica', sans-serif;
  font-size: 93.75%;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1000;
  width:100%;
}

.header-logo{
  font-size: clamp(3.5rem, 8vw , 12rem);
  margin-left:-1rem;
  text-transform: uppercase;
  text-decoration: none;
  line-height:90%;
  color: var(--black);
  font-family: 'Liquify', sans-serif;
  font-style: italic;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 0.5rem;
  padding-bottom: 1rem;
  /* border-bottom: 1px solid var(--rule); */
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.nav-links {
  display: flex;
  /* gap: 2rem; */
  list-style: none;
  /* font-family: 'Nebulica', sans-serif; */
  font-family: 'Liquify', sans-serif;
  /* font-weight: 100; */
  justify-items: center;
  text-transform: lowercase;

}

.nav-links a {
  background-color: var(--cream);
  opacity: 1;
  font-size: clamp(1rem, 1.5vw, 2rem);
  padding: 0.5rem;
  width: min(10vw, 10vh);
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transform: translate(-50%, -50%);
  /* box-shadow: #2a1f1822 2px 0px 0px 2px; */
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover{
  font-weight: 700;
}

.nav-links li a.active {
  display:none;
  text-decoration: underline;
}

li:has(a.active) {
  display: none;
}

/* ── MAIN ── */
main {
  width: 90%;
  
}

footer{
  display: flex;
  width: 100%;
  bottom: 0;
  height: 2rem;
  font-size: 0.5rem;
  align-content: center;
  justify-content: right;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: 'Liquify', sans-serif;
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

h2 {
  font-family: 'Liquify', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

h3 {
  font-family: 'Nebulica', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  margin-top: 2.5rem;
}

p {
  margin-bottom: 1.2rem;
  max-width: 62ch;
}

p:last-child {
  margin-bottom: 0;
}

em {
  font-family: 'Nebulica', sans-serif;
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

/* ── RULE HEADER ── */
.page-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ── EVENT DETAIL BLOCK ── */
.event-details {
  /* margin-top: 2.5rem; */
  /* padding: 1.5rem; */
  /* border: 1px solid var(--rule); */
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
}

.event-details .detail-row {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.event-details .detail-label {
  color: var(--muted);
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  padding-top: 0.1em;
}

.event-details .detail-value {
  color: var(--ink);
}

.ada-note {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.25rem;
}

/* ── BACK LINK ── */
.back-link {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--ink);
}

/* ── LANDING ── */
.landing-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  text-align: center;
  padding: 3rem 2rem;
}

.landing-slice {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  margin-bottom: 3rem;
  animation: spin 28s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.landing-title {
  font-family: 'IM Fell English', serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.landing-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 3rem;
}

.landing-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.landing-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.event-image {
  width: 100%;
  height: auto;
  margin-top: 1.5rem;
}

@media (max-width: 520px) {
  nav { flex-wrap: wrap; gap: 0.75rem; }
  .nav-links { gap: 1.2rem; }
  /* main { padding: 2.5rem 1.25rem 4rem; } */
}
