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

:root {
  --bg: #080807;
  --surface: rgba(21, 20, 18, 0.72);
  --surface-hover: rgba(31, 28, 22, 0.82);
  --border: rgba(231, 216, 185, 0.18);
  --text: #e3ded4;
  --text-muted: #aaa397;
  --accent: #e3aa38;
  --accent-soft: rgba(227, 170, 56, 0.2);
  --shell-width: 960px;
  --content-width: 840px;
}

html {
  min-height: 100%;
  background: var(--bg);
  font-size: 16px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse 42rem 34rem at -6rem -4rem, rgba(239, 177, 60, 0.38), rgba(164, 103, 18, 0.13) 42%, transparent 72%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 350;
  line-height: 1.65;
}

/* A soft diagonal shaft keeps the spotlight visible without competing with copy. */
body::before {
  position: fixed;
  top: -2rem;
  left: -15rem;
  z-index: 0;
  width: 52rem;
  height: 9rem;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 183, 66, 0.4), rgba(222, 145, 29, 0.12) 64%, transparent);
  filter: blur(20px);
  transform: rotate(38deg);
  transform-origin: left center;
  content: "";
}

/* === Layout === */
header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

nav {
  width: calc(100% - 3rem);
  max-width: var(--shell-width);
  min-height: 7rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

main {
  position: relative;
  z-index: 1;
  width: calc(100% - 3rem);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 5rem 0 6rem;
  flex: 1;
}

footer {
  position: relative;
  z-index: 1;
  width: calc(100% - 3rem);
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #928a7e;
  font-size: 0.75rem;
}

footer p {
  margin: 0;
}

/* === Type & shared content === */
h1,
h2,
h3 {
  color: var(--text);
  font-weight: 300;
  line-height: 1.2;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 5vw, 2.6rem);
  letter-spacing: -0.025em;
}

h2 {
  margin: 3.5rem 0 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

main > h2:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

main a {
  text-decoration-thickness: 1px;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* === Homepage === */
.hero {
  max-width: 42rem;
}

.hero p {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.home-section {
  max-width: 40rem;
  margin-top: 4rem;
}

.home-section h2 {
  margin-top: 0;
}

/* === Show listings === */
.show-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.show {
  position: relative;
  padding: 1.2rem 1.5rem 1.25rem 1.8rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  transition: border-color 160ms ease, background 160ms ease;
}

.show::before {
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 5px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(#f0bd50, #cf8917);
  content: "";
}

.show:hover {
  border-color: rgba(227, 170, 56, 0.35);
  background: var(--surface-hover);
}

.show-date {
  color: #c8c1b6;
  font-size: 0.95rem;
}

.show-title {
  margin: 0.15rem 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 450;
}

.show-details {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.more-shows {
  align-self: flex-end;
  color: var(--accent);
  font-size: 0.85rem;
}

/* === Editorial content === */
blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 5px 5px 0;
  background: var(--surface);
}

blockquote p {
  margin-bottom: 0.6rem;
  font-style: italic;
}

blockquote cite {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: normal;
}

.post-list {
  list-style: none;
}

.post-list li {
  margin-bottom: 1.5rem;
}

.post-list a {
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

.post-list .date,
article .meta {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.post-list .description {
  color: var(--text-muted);
  font-size: 0.9rem;
}

article h1 {
  margin-bottom: 0.25rem;
}

article .meta {
  margin-bottom: 1.5rem;
}

/* === Embeds === */
.embed-container {
  position: relative;
  height: 0;
  margin: 1.75rem 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #050505;
}

.embed-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* === Work & contact === */
.work-page,
.contact-page {
  max-width: 46rem;
}

.work-page p,
.contact-page > p {
  color: var(--text-muted);
  font-size: 1rem;
}

.work-role {
  margin-bottom: 1.5rem;
  color: var(--text) !important;
  font-size: 1.12rem !important;
  font-weight: 450;
}

.work-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
}

.work-links a {
  font-size: 0.9rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 36rem;
  margin-top: 2.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: #c0b8aa;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  background: rgba(15, 15, 14, 0.68);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  min-width: 6.5rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid #edbb55;
  border-radius: 4px;
  color: #171107;
  background: linear-gradient(#ebb94d, #d99828);
  font: inherit;
  font-weight: 550;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.contact-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* === Responsive === */
@media (max-width: 600px) {
  nav {
    width: calc(100% - 2.5rem);
    min-height: 6rem;
  }

  .site-title {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  main {
    width: calc(100% - 2.5rem);
    padding-top: 3.75rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .home-section {
    margin-top: 3.5rem;
  }

  .show {
    padding: 1rem 1rem 1.05rem 1.4rem;
  }

  footer {
    width: calc(100% - 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
