/* Patrick McFarland: night street palette, taken from the banner photographs */
:root {
  --night: #0B1422;
  --navy: #0F1A2C;
  --panel: #14223A;
  --line: #24344F;
  --lamp: #F3E9D6;
  --steel: #9FB0C4;
  --amber: #F2A04A;
  --ember: #D9822B;
  --amber-soft: rgba(242, 160, 74, 0.12);
  --amber-line: rgba(242, 160, 74, 0.38);
  --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: #2B3E5E var(--night); }
body {
  margin: 0; background: var(--night); color: var(--lamp);
  font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--amber); color: var(--night); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
h2 { font-family: var(--slab); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 0 0 12px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 20, 34, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--slab); font-weight: 600; font-size: 1.25rem; text-decoration: none; color: var(--lamp); }
.nav nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.nav nav a {
  text-decoration: none; font-size: 0.95rem; color: var(--steel);
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav nav a:hover { color: var(--lamp); }
.nav nav a.active { color: var(--amber); border-bottom-color: var(--amber); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 4px;
  border: 1.5px solid var(--lamp); color: var(--lamp); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--lamp); color: var(--night); }
.btn.primary { background: var(--amber); border-color: var(--amber); color: var(--night); }
.btn.primary:hover { background: var(--ember); border-color: var(--ember); color: var(--night); box-shadow: 0 0 28px rgba(242, 160, 74, 0.35); }
.read { font-weight: 600; font-size: 0.92rem; color: var(--amber); text-decoration: none; }
a.read:hover { text-decoration: underline; }

/* Home: hero */
.hero { position: relative; padding: 112px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -18%; right: -8%; width: 720px; height: 560px;
  background: radial-gradient(closest-side, rgba(242, 160, 74, 0.2), rgba(242, 160, 74, 0));
  pointer-events: none; animation: glow 2.4s ease-out both;
}
.hero .wrap { position: relative; }
.hero h1 {
  font-family: var(--slab); font-weight: 600; font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 26px; max-width: 19ch;
}
.lede { color: var(--steel); font-size: 1.15rem; max-width: 58ch; margin: 0 0 36px; }
.lede em { color: var(--lamp); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Home: photo tiles */
.tiles { padding: 24px 0 88px; }
.tiles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tile {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; isolation: isolate;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s ease; }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11, 20, 34, 0.94) 0%, rgba(11, 20, 34, 0.55) 38%, rgba(11, 20, 34, 0) 70%);
}
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; }
.tile h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin: 0 0 6px; }
.tile p { margin: 0 0 12px; color: var(--steel); max-width: 36ch; }
.tile:hover { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber-soft), 0 18px 50px rgba(242, 160, 74, 0.14); }
.tile:hover img { transform: scale(1.04); }

/* Home: about and contact */
.band { background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 88px 0; }
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.about-copy p { margin: 0 0 18px; color: var(--steel); font-size: 1.05rem; }
.topics { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topics li {
  padding: 7px 16px; border: 1px solid var(--amber-line); background: var(--amber-soft);
  color: var(--lamp); border-radius: 99px; font-size: 0.88rem; font-weight: 500;
}
.contact { padding: 96px 0; text-align: center; }
.contact .sub { color: var(--steel); max-width: 52ch; margin: 0 auto 30px; font-size: 1.05rem; }

/* Sub-pages: photo banner */
.banner { position: relative; }
.banner-media { position: relative; height: clamp(250px, 34vw, 440px); overflow: hidden; background: var(--navy); }
.banner-media img { display: block; width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.banner-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 20, 34, 0.3) 0%, rgba(11, 20, 34, 0) 30%, rgba(11, 20, 34, 0.55) 68%, var(--night) 100%);
}
.banner-text { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; }
.banner-line {
  font-family: var(--slab); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.2; margin: 0; max-width: 26ch; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.65);
  animation: rise 1.1s 0.6s ease-out both;
}

/* Sub-pages: article cards */
.work { padding: 44px 0 96px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 28px 26px; transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber-soft), 0 16px 46px rgba(242, 160, 74, 0.12); }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; font-size: 0.74rem; color: var(--steel); margin-bottom: 14px; }
.outlet { font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
.date { white-space: nowrap; }
.tag {
  align-self: flex-start; font-size: 0.74rem; font-weight: 600; padding: 3px 11px; border-radius: 99px;
  background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber-line); margin-bottom: 14px;
}
.card h3 { font-family: var(--slab); font-weight: 600; font-size: 1.4rem; line-height: 1.25; margin: 0 0 12px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--amber); }
.card p { color: var(--steel); margin: 0 0 20px; font-size: 0.98rem; flex-grow: 1; }
.card p em { color: var(--lamp); }
.card .read { margin-top: auto; }
.archive { margin: 40px 0 0; text-align: center; }
.archive a { color: var(--amber); font-weight: 600; text-decoration: none; }
.archive a:hover { text-decoration: underline; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.88rem; color: var(--steel); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--amber); }

/* Motion: one slow settle when a page loads */
@keyframes settle { from { transform: scale(1.07); filter: brightness(0.65); } to { transform: scale(1); filter: brightness(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes glow { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 760px) {
  .hero { padding: 72px 0 48px; }
  .band { padding: 64px 0; }
  .contact { padding: 72px 0; }
  .about { grid-template-columns: 1fr; gap: 28px; }
}

/* Satire page: neon red accent taken from the sign */
body.satire { --amber: #FF5A47; --ember: #E03A2B; --amber-soft: rgba(255, 90, 71, 0.13); --amber-line: rgba(255, 90, 71, 0.42); }
body.satire .card:hover { box-shadow: 0 0 0 1px var(--amber-soft), 0 16px 46px rgba(255, 90, 71, 0.16); }
body.satire .btn.primary:hover { box-shadow: 0 0 28px rgba(255, 90, 71, 0.4); }
.tile.neon { --amber: #FF5A47; --amber-soft: rgba(255, 90, 71, 0.13); }
.tile.neon:hover { box-shadow: 0 0 0 1px var(--amber-soft), 0 18px 50px rgba(255, 90, 71, 0.2); }
.empty { max-width: 560px; padding: 56px 0 24px; }
.empty p { color: var(--steel); font-size: 1.05rem; margin: 0 0 28px; }

/* Video page */
.hero.compact { padding: 88px 0 28px; }
.hero.compact h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; max-width: none; }
.videos { padding: 28px 0 96px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.vcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.vcard:hover { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber-soft), 0 16px 46px rgba(242, 160, 74, 0.12); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmeta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 16px 20px; }
.vmeta .outlet { font-size: 0.74rem; color: var(--steel); }

/* Video cards with a title and line of text */
.vcard { display: flex; flex-direction: column; }
.vtext { padding: 20px 20px 0; }
.vtext h3 { font-family: var(--slab); font-weight: 600; font-size: 1.3rem; line-height: 1.25; margin: 0 0 8px; }
.vtext p { margin: 0; color: var(--steel); font-size: 0.98rem; }
.vmeta { margin-top: auto; }

/* Home: featured piece banner */
.feature {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 6px;
  padding: 26px 30px; transition: border-color 0.3s, box-shadow 0.3s;
}
.feature:hover { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber-soft), 0 16px 46px rgba(242, 160, 74, 0.12); }
.feature-text { flex: 1 1 420px; min-width: 0; }
.feature-label { display: block; font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 8px; }
.feature h3 { font-family: var(--slab); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; margin: 0 0 6px; }
.feature h3 a { text-decoration: none; }
.feature h3 a:hover { color: var(--amber); }
.feature p { margin: 0; color: var(--steel); max-width: 62ch; }
.feature .btn { flex-shrink: 0; white-space: nowrap; }
.card-meta .wrap-ok { white-space: normal; }
.card-meta .wrap-ok em { font-style: italic; }

/* Satire page: written pieces on one row, videos on the next */
.grid.fit { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid + .grid { margin-top: 24px; }