/* ============================================================
   RUSHKOFF.COM — STYLES
   ============================================================
   Fonts: Inter (sans) + Oswald (headings) via Google Fonts
   Colors: dark theme, warm white text, crimson accent
   ============================================================ */

/* ========================
   CUSTOM PROPERTIES
======================== */
:root {
  /* Colors */
  --bg: #080808;
  --bg-alt: #111111;
  --bg-card: #181818;
  --text: #e6ddd0;
  --text-muted: #606060;
  --text-sub: #999;
  --accent: #c0392b;
  --accent-light: #e74c3c;
  --border: #1c1c1c;
  --border-light: #282828;
  --nav-bg: rgba(8, 8, 8, 0.92);

  /* Typography */
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Oswald", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Layout */
  --max-width: 1140px;
  --nav-height: 72px;
  --pad-x: clamp(20px, 5vw, 80px);
  --section-pad: clamp(48px, 6vw, 80px);

  /* Effects */
  --radius: 3px;
  --radius-lg: 8px;
  --shadow: 0 6px 32px rgba(0, 0, 0, 0.5);
  --t: 0.18s ease;
  --t-slow: 0.36s ease;
}

/* ========================
   RESET
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.72;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t);
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ========================
   TYPOGRAPHY
======================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
h4 {
  font-size: 1.05rem;
  font-family: var(--font-sans);
}

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

.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.8;
}

.label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

em {
  font-style: italic;
}
strong {
  font-weight: 600;
}

/* ========================
   LAYOUT UTILITIES
======================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--section-pad) 0;
}
.section + .section {
  border-top: 1px solid var(--border);
}

.accent-line {
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ========================
   BUTTONS
======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* ========================
   NAVIGATION
======================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--t);
}

.site-nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a,
.nav-dropdown > button {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  transition:
    color var(--t),
    background var(--t);
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover,
.nav-dropdown > button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--text);
  position: relative;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-external::after {
  content: " ↗";
  font-size: 0.85em;
  opacity: 0.55;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > button::after {
  content: "▾";
  font-size: 0.65em;
  transition: transform var(--t);
}
.nav-dropdown.open > button::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t);
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition:
    color var(--t),
    background var(--t);
}
.dropdown-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Theme picker */
.dropdown-menu--right {
  right: 0;
  left: auto;
}

#nav-theme-picker > button::after { display: none; } /* hide caret */
#nav-theme-picker > button {
  padding: 4px 7px;
}
.theme-picker-icon {
  display: block;
  opacity: 0.55;
  transition: opacity var(--t);
}
#nav-theme-picker > button:hover .theme-picker-icon,
#nav-theme-picker.open > button .theme-picker-icon {
  opacity: 1;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
  transition: color var(--t), background var(--t);
}
.theme-option:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.theme-option.active {
  color: var(--text);
}
.theme-option::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-muted);
  opacity: 0.4;
  transition: opacity var(--t);
}
.theme-option[data-theme="cyber"]::before  { background: #00ff41; opacity: 0.7; }
.theme-option[data-theme="magick"]::before { background: #c9a84c; opacity: 0.7; }
.theme-option[data-theme="ftp"]::before     { background: #55aaff; opacity: 0.7; }
.theme-option[data-theme="minimal"]::before { background: #111111; opacity: 0.45; }
.theme-option.active::before { opacity: 1; }
.theme-option.active::after {
  content: '✓';
  margin-left: auto;
  font-size: 0.75em;
  color: var(--accent);
}

/* Mobile theme buttons */
.mobile-theme-btn {
  display: block;
  width: 100%;
  padding: 12px var(--pad-x);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  transition: color var(--t);
}
.mobile-theme-btn:hover,
.mobile-theme-btn.active { color: var(--text); }


/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}
.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 2.5rem var(--pad-x);
  overflow-y: auto;
}
.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.nav-mobile a:hover {
  color: var(--accent);
}

.nav-mobile .mobile-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 1.5rem 0 0.4rem;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .mobile-sub {
  font-size: 1.15rem;
  padding-left: 1rem;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* ========================
   PAGE TOP SPACER
======================== */
.page-top {
  padding-top: var(--nav-height);
}

/* ========================
   PAGE HEADER (interior pages)
======================== */
.page-header {
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  margin-bottom: 0.6rem;
}
.page-header .lead {
  max-width: 560px;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ========================
   HOME — HERO
======================== */
.hero {
  padding: clamp(90px, 14vw, 180px) 0 clamp(64px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 72% 40%,
    rgba(192, 57, 43, 0.07) 0%,
    rgba(192, 57, 43, 0) 68%
  );
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  /*object-position: right center;*/
  border-radius: var(--radius);
  filter: grayscale(15%);
  box-shadow: var(--shadow);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  pointer-events: none;
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image {
    max-width: 260px;
  }
}

/* ========================
   HOME — BIO STRIP
======================== */
.bio-strip {
  background: var(--bg-alt);
}

.roles-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.role-pill {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: var(--text-sub);
  white-space: nowrap;
}

/* ========================
   HOME — FEATURED WORK
======================== */
.featured-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.featured-card img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

.featured-card h3 {
  margin-bottom: 0.75rem;
}
.featured-card p {
  color: var(--text-sub);
  margin-bottom: 1.5rem;
}
.featured-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.featured-card--video {
  grid-template-columns: 1fr 1fr;
}

.featured-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.featured-video-thumb {
  position: absolute;
  inset: 0;
  display: block;
}
.featured-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter var(--t-slow);
}
.featured-video-thumb:hover img {
  filter: brightness(0.75);
}
.featured-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  transition: transform var(--t), color var(--t);
}
.featured-video-thumb:hover .featured-video-play {
  transform: scale(1.12);
  color: #fff;
}
.featured-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 720px) {
  .featured-card--video {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card img {
    max-width: 150px;
  }
}

/* ========================
   HOME — EVENTS
======================== */
.event-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.event-item:first-child {
  border-top: 1px solid var(--border);
}

.event-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.event-name {
  font-weight: 500;
}
a.event-name {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-light);
  transition: color var(--t), text-decoration-color var(--t);
}
a.event-name:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.event-venue {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all var(--t);
}
.event-link:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

@media (max-width: 640px) {
  .event-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .event-link {
    display: none;
  }
}

/* ========================
   BOOKS
======================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 2.5rem 1.5rem;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-decoration: none;
  transition: transform var(--t);
}
.book-card:hover {
  transform: translateY(-5px);
}

.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  transition:
    box-shadow var(--t),
    filter var(--t);
}
.book-card:hover .book-cover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
  filter: brightness(1.07);
}

.book-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.book-year {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================
   FILMS
======================== */
.films-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.film-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.film-item:first-child {
  border-top: 1px solid var(--border);
}

.film-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.film-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.film-thumb-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.film-thumb-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.film-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.film-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  transition: background var(--t);
}
.film-thumb-link:hover .film-thumb-play {
  background: rgba(0, 0, 0, 0.58);
}

.film-meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.film-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.film-desc {
  color: var(--text-sub);
}

.film-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1.25rem;
  transition: color var(--t);
}
.film-link:hover {
  color: var(--text);
}
.film-link::after {
  content: "↗";
}

@media (max-width: 820px) {
  .film-item {
    grid-template-columns: 1fr;
  }
}

/* ========================
   PRESS
======================== */
.press-list {
  display: flex;
  flex-direction: column;
}

.press-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--t);
}
.press-item:hover {
  background: rgba(255, 255, 255, 0.025);
}

.press-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.press-pub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.press-title {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}
.press-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.press-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  color: var(--text-muted);
  white-space: nowrap;
  align-self: center;
}
.press-badge.video {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.25);
}

@media (max-width: 640px) {
  .press-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .press-badge {
    display: none;
  }
}

/* ========================
   ARCHIVE
======================== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.archive-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition:
    border-color var(--t),
    transform var(--t);
}
.archive-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-3px);
}

.archive-icon {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.archive-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.archive-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
}

.archive-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================
   CONTACT
======================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.contact-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.contact-card .label {
  margin-bottom: 1rem;
}

.contact-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.contact-org {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.contact-email {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-light);
  transition:
    color var(--t),
    border-color var(--t);
  word-break: break-all;
}
.contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-phone {
  display: block;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--t);
}
.social-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================
   PHOTOS
======================== */
.photo-grid {
  columns: 3;
  column-gap: 12px;
}

.photo-grid figure {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.photo-grid img {
  width: 100%;
  display: block;
  filter: grayscale(12%);
  transition:
    transform var(--t-slow),
    filter var(--t);
}
.photo-grid figure:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
  padding: 1.5rem 0.9rem 0.75rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transition: opacity var(--t);
}
.photo-grid figure:hover .photo-caption {
  opacity: 1;
}

@media (max-width: 720px) {
  .photo-grid {
    columns: 2;
  }
}
@media (max-width: 480px) {
  .photo-grid {
    columns: 1;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: min(90vw, 1000px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  line-height: 1;
  transition: color var(--t);
  background: none;
  border: none;
}
.lightbox-close:hover {
  color: #fff;
}

.lightbox-download {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-family: sans-serif;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color var(--t);
}
.lightbox-download:hover { color: #fff; }

/* ========================
   ABOUT
======================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: grayscale(10%);
}

.creds-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cred-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-sub);
}
.cred-item::before {
  content: "—";
  color: var(--accent);
  flex-shrink: 0;
}

.sub-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1;
    max-width: 300px;
  }
}

/* ========================
   BOOK DETAIL PAGE
======================== */
.book-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}

.book-detail-cover {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.book-detail-cover img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
}

.book-detail-buy {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.book-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.book-meta-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: var(--text-muted);
}

.book-meta-tag.accent {
  border-color: rgba(192, 57, 43, 0.4);
  color: var(--accent);
}

.book-detail-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.book-detail-body p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.book-blurbs {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.book-blurb {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.book-blurb blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.book-blurb cite {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

.book-also {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.book-also h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.book-also-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.book-also-grid .book-card {
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .book-detail {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .book-detail-cover {
    position: static;
    max-width: 220px;
  }
  .book-also-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .book-also-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================
   PRESS — TOC + SECTIONS
======================== */
.press-toc-wrap {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}
.press-toc {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.press-toc a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
}
.press-toc a:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.04);
}
.press-toc .toc-count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.65;
}

.press-section {
  border-bottom: 1px solid var(--border);
}
.press-section-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
}
.press-section-summary::-webkit-details-marker { display: none; }
.press-section-summary::marker { display: none; }
.press-section-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.press-section-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.press-section-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.15rem 0.55rem;
}
.press-chevron {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform var(--t);
}
.press-section[open] .press-chevron { transform: rotate(180deg); }

.press-badge.audio {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.3);
}
.press-year-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.4rem 0 0.5rem;
}
.press-list .press-year-label:first-child { padding-top: 0.75rem; }

/* Search */
.press-search-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.55rem var(--pad-x) 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.press-search {
  flex: 1;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.press-search::placeholder { color: var(--text-muted); }
.press-search:focus {
  border-color: var(--text-muted);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.05);
}
.press-search-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.press-item[hidden] { display: none; }
.press-year-label[hidden] { display: none; }
.press-section[hidden] { display: none; }
.press-no-results {
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}


/* ========================
   CYBERPUNK TOGGLE BUTTON
======================== */
#cyber-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-right: 0.4rem;
  color: var(--text-muted);
  opacity: 0.28;
  transition: opacity var(--t), color var(--t);
}
#cyber-toggle:hover {
  opacity: 1;
  color: var(--text);
}


/* ========================
   FOOTER
======================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 5rem 0 0;
  margin-top: 8rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem 4rem;
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-sub);
  transition: color var(--t);
}
.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding: 1.5rem var(--pad-x);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-bottom a {
  color: var(--text-sub);
}
.footer-bottom a:hover {
  color: var(--text);
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
