:root {
  --ink: #eee8dc;
  --muted: #c9bdac;
  --coal: #101014;
  --night: #17131f;
  --violet: #2b203c;
  --gold: #d7b46a;
  --rose: #c9828a;
  --blue: #7fb6c7;
  --card: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(127, 182, 199, 0.22), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(215, 180, 106, 0.18), transparent 28rem),
    linear-gradient(145deg, var(--coal), var(--night) 45%, #0d1016);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 75%);
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus {
  color: #f1d590;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--gold);
  color: #17110a;
  padding: 0.5rem 0.75rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

header {
  padding: 1.2rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 20, 0.72);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.site-bar {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--ink);
  text-decoration: none;
}

.logo strong {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a:focus,
nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 4rem;
}

.hero {
  max-width: 870px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border-radius: 28px;
  box-shadow: 0 24px 80px var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(215,180,106,0.38), transparent 68%);
}


.hero-window {
  margin: 0 0 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: #050509;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  position: relative;
  z-index: 1;
}

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

.hero > p,
.hero > h1,
.hero > div {
  position: relative;
  z-index: 1;
}

.kicker {
  color: var(--blue);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-top: 3rem;
}

h3 {
  font-size: 1.35rem;
  color: #f5d995;
  margin-top: 2rem;
}

p {
  margin: 0 0 1.2rem;
}

.lede {
  color: var(--ink);
  font-size: clamp(1.18rem, 2.5vw, 1.55rem);
  line-height: 1.55;
  max-width: 760px;
}

.muted {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #19130a;
  background: var(--gold);
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.card,
.callout {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.card h3 {
  margin-top: 0;
}

.callout {
  border-color: rgba(215, 180, 106, 0.42);
  background: linear-gradient(145deg, rgba(215,180,106,0.12), rgba(255,255,255,0.04));
  margin: 2rem 0;
}

.rule-list,
.simple-list {
  padding-left: 1.2rem;
}

.rule-list li,
.simple-list li {
  margin-bottom: 0.85rem;
}

.credit-example {
  padding: 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 0 14px 14px 0;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
}

.archive-item {
  display: block;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.small {
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  header {
    position: static;
  }

  .site-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav ul {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    border-radius: 20px;
    padding: 1.25rem;
  }

  .hero-window {
    margin-bottom: 1.4rem;
    border-radius: 14px;
  }
}


.poem-section {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 2.5rem;
}

.poem-byline {
  color: var(--gold);
  font-style: italic;
  margin-top: -0.4rem;
  margin-bottom: 1.6rem;
}

.poem-text {
  max-width: 760px;
  padding: 1.4rem;
  border-left: 3px solid var(--gold);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 18px 18px 0;
  color: var(--ink);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.poem-text p {
  margin: 0 0 1.25rem;
}

.poem-text p:last-child {
  margin-bottom: 0;
}

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


.work-text {
  max-width: 800px;
  padding: 1.4rem;
  border-left: 3px solid var(--gold);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 18px 18px 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.75;
}

.work-text h3 {
  margin-top: 1.8rem;
}

.work-text h3:first-child {
  margin-top: 0;
}
