/* Grey Oakes — site styles */
:root {
  --ink: #12140E;
  --paper: #F2EFE6;
  --muted: #C9C5B7;
  --neon: #A3E635;
  --line: rgba(242, 239, 230, 0.35);
  --overlay: rgba(14, 15, 11, 0.55);
  --font: 'Space Mono', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
/* Camo backdrop pinned to the viewport (works on iOS, unlike background-attachment: fixed) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: var(--ink) url('../assets/img/camo.jpg') center / cover no-repeat;
}

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

a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease;
}
a:hover, a:focus-visible, a[aria-current="page"] { text-decoration-color: currentColor; }
:focus-visible { outline: 1px dashed var(--paper); outline-offset: 4px; }

.icon {
  display: inline-flex;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
  text-decoration: none;
}
.icon:hover, .icon:focus-visible { border-bottom-color: currentColor; }
.icon svg { width: 20px; height: 20px; }

.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;
}

.shell {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--overlay);
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.social { display: flex; gap: 18px; align-items: center; }

.site-footer {
  font-size: 11px; text-transform: uppercase; color: var(--muted);
  text-align: center; padding: 0 28px 24px;
}

/* ---------- Home ---------- */
.home {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-items: center;
  padding: 24px 28px;
}
.home > div:first-of-type { align-self: start; }
.home h1 { margin: 0; width: min(820px, 92vw); }
.home h1 img { width: 100%; height: auto; }
.home .below {
  width: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 32px; padding-top: 44px;
}
.home .nav { gap: 12px 56px; font-size: 15px; }
.home .site-footer { padding: 0; }

/* ---------- Inner pages ---------- */
.header {
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px 28px;
  display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center;
}
.header .home-link { width: 92px; border: 0; padding: 0; }
.header .nav { gap: 12px 40px; font-size: 14px; }

.page-main {
  flex-grow: 1; width: 100%; max-width: 1040px; margin: 0 auto;
  padding: 56px 28px 80px; display: flex; flex-direction: column; gap: 40px;
}
.page-title { margin: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; }

/* Shows */
.shows-scroll { overflow-x: auto; }
.shows { list-style: none; margin: 0; padding: 0; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.shows li {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr) 100px;
  gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line);
}
.shows .muted, .muted { color: var(--muted); }
.shows .end { justify-self: end; }
.small { font-size: 11px; text-transform: uppercase; }

/* Watch */
.video { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
}
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--paper);
  background: var(--overlay); color: var(--paper); display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; transition: transform .15s ease;
}
.player .play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video.big .play { width: 76px; height: 76px; }
.player .play svg { width: 34%; height: 34%; }
.video figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-transform: uppercase; }
.video .t { font-weight: 700; }
.video.big .t { font-size: 15px; }
.video .sub { color: var(--muted); font-size: 11px; display: block; margin-top: 4px; }

@media (max-width: 640px) {
  .home .social { justify-self: center; }
  .home .nav { gap: 10px 28px; font-size: 14px; }
  .header { justify-content: center; }
  .page-main { padding-top: 32px; }
}

/* Music (clean list) */
.spotify-frame { border: 0; border-radius: 12px; overflow: hidden; background: transparent; }
.spotify-frame iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
.releases li { grid-template-columns: 120px minmax(0, 1fr) auto; }
.rel-title { font-weight: 700; display: block; }
.rel-sub { font-size: 11px; display: block; margin-top: 4px; }
.rel-links { display: flex; gap: 20px; justify-self: end; }
.releases { min-width: 0; }
@media (max-width: 640px) {
  .releases li { grid-template-columns: 80px minmax(0, 1fr); }
  .releases .rel-links { grid-column: 2; justify-self: start; }
}

/* Video frames: plain black matte */
.video { gap: 0; background: #050604; padding: 8px; }
.video figcaption { padding: 10px 4px 2px; }

/* Watch slider */
.slider { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.slider-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.slider-arrows { display: flex; gap: 8px; }
.arrow {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: #050604; color: var(--paper); border: 0; padding: 0; cursor: pointer;
}
.arrow svg { width: 18px; height: 18px; }
.arrow:hover { color: var(--neon); }
.arrow:disabled { opacity: .35; cursor: default; }
.slider-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 2px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 calc((100% - 32px) / 3); min-width: 220px; scroll-snap-align: start;
  background: #050604; padding: 8px; border: 0; color: var(--paper); font: inherit;
  text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 10px;
}
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.slide-cap { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 2px; text-transform: uppercase; }
.slide .t { font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .15s ease; }
.slide:hover .t, .slide:focus-visible .t { text-decoration-color: currentColor; }
.slide .sub { color: var(--muted); font-size: 11px; }
@media (max-width: 640px) { .slide { flex-basis: 78%; } }
.slide[hidden] { display: none; }

@media (max-width: 640px) {
  .shows li { grid-template-columns: 80px minmax(0, 1fr); row-gap: 6px; }
  .shows li > :nth-child(n+3) { grid-column: 2; }
  .shows .end { justify-self: start; }
}
