
:root {
  --bg: #ffffff;
  --fg: #000000;
  --accent-green: #15803d;
  --accent-blue: #1d4ed8;
  --border: 1px solid #000000;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: -0.02em;
}
.border-b { border-bottom: var(--border); }
.border-r { border-right: var(--border); }
.p-md { padding: 1.5rem; }
.p-sm { padding: 0.75rem; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.grid-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  min-height: 100vh;
}
header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 350px 1fr;
  border-bottom: var(--border);
}
.title-block { padding: 1.5rem; border-right: var(--border); }
.title-block h1 {
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.summary-block { padding: 1.5rem; max-width: 700px; }
.status-bar {
  grid-column: 1 / -1;
  background: var(--bg);
  border-bottom: var(--border);
  overflow: hidden;
  white-space: nowrap;
  height: 32px;
  display: flex;
  align-items: center;
}
.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 30s linear infinite;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.sidebar {
  border-right: var(--border);
  display: flex;
  flex-direction: column;
}
.main-content { display: flex; flex-direction: column; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.video-feed {
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: var(--border);
  position: relative;
}
.video-feed video,
.video-feed iframe,
.video-feed img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.video-help-link {
  display: inline-block;
  margin-top: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  border-bottom: 1px solid var(--fg);
  padding-bottom: 1px;
}
.video-help-link:hover { opacity: 0.65; }
.archive-table {
  width: 100%;
  border-collapse: collapse;
}
.archive-table th {
  text-align: left;
  border-bottom: var(--border);
  padding: 10px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.archive-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.archive-table tr:hover td { background: #f4f4f4; }
.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--accent-green);
  margin-right: 5px;
  border-radius: 50%;
  vertical-align: middle;
}
.nav-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 10px 1.5rem;
  border-bottom: var(--border);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  background: var(--fg);
  color: var(--bg);
}
.metadata-label {
  font-size: 10px;
  color: #666;
  margin-bottom: 4px;
  display: block;
}
.blueprint-bg {
  background-image:
    linear-gradient(#f0f0f0 1px, transparent 1px),
    linear-gradient(90deg, #f0f0f0 1px, transparent 1px);
  background-size: 20px 20px;
}
.page-copy h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.03em;
}
.page-copy p, .page-copy li {
  font-size: 15px;
  line-height: 1.6;
}
.page-copy p + p { margin-top: 1rem; }
.page-copy ul { margin: 1rem 0 0 1.2rem; }
.page-card {
  min-height: calc(100vh - 180px);
}
.placeholder-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 0.65rem;
  border: var(--border);
  background: #fff;
}
.headshot-container {
  flex: 1;
  border: var(--border);
  overflow: hidden;
  min-height: 500px;
}
.headshot-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdf-viewer-container {
  flex: 1;
  position: relative;
  min-height: 500px;
  border: var(--border);
  display: flex;
  flex-direction: column;
}
.pdf-viewer {
  width: 100%;
  flex: 1;
  border: 0;
  min-height: 500px;
}
.pdf-download-overlay {
  display: block;
  text-align: center;
  padding: 8px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.pdf-download-overlay:hover {
  opacity: 0.8;
}
footer { gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  header, .grid-container, .feature-grid { display: block; }
  .title-block, .sidebar, .border-r { border-right: none; }
  .sidebar { border-bottom: var(--border); }
}


.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  min-height: calc(100vh - 180px);
}

.list-section {
  border-right: var(--border);
  background: #fff;
}

.writing-header-card {
  background: #fff;
}

.writing-header-card h2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.text-repository {
  width: 100%;
  border-collapse: collapse;
}

.text-repository th {
  text-align: left;
  border-bottom: var(--border);
  padding: 10px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}

.text-repository td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.preview-row {
  cursor: pointer;
}

.preview-row:hover td,
.preview-row.is-active td {
  background: #f0f0f0;
}

.preview-row:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: -2px;
}

.preview-panel {
  padding: 1.5rem;
  background-image:
    linear-gradient(#f0f0f0 1px, transparent 1px),
    linear-gradient(90deg, #f0f0f0 1px, transparent 1px);
  background-size: 20px 20px;
}

.preview-panel h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.preview-meta {
  font-size: 10px;
  margin-bottom: 25px;
  color: #666;
  border-bottom: var(--border);
  padding-bottom: 10px;
}

.article-body p {
  margin-bottom: 1.2rem;
  font-size: 15px;
  line-height: 1.6;
}

.article-body p:first-child {
  font-weight: 700;
}

.preview-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 20px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  width: 100%;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.preview-button:hover {
  opacity: 0.85;
}

.preview-button.is-disabled {
  background: #888;
  cursor: default;
  pointer-events: none;
}

.status-tag {
  display: inline-block;
  padding: 4px 8px;
  border: var(--border);
  font-size: 10px;
  line-height: 1.3;
}

.status-tag.published,
.status-tag.performed {
  background: #fff;
}

.status-tag.soft {
  opacity: 0.7;
}

.status-tag.archived {
  background: #f7f7f7;
}

.status-tag.award {
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .list-section {
    border-right: none;
    border-bottom: var(--border);
  }
}


/* Final writing status styles */
.status-tag { display:inline-block; padding:4px 8px; border: var(--border); font-size:10px; line-height:1.3; background: var(--fg); color: var(--bg); }
.status-tag.published, .status-tag.performed, .status-tag.archived { background: var(--fg); color: var(--bg); }
.status-tag.soft { opacity: 1; }
.status-tag.award { background: var(--bg); color: var(--fg); font-weight:700; }

/* Hamm Collective — clean photo archive */
.hamm-intro h2 {
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: 0.35rem 0 1.25rem;
}

.hamm-intro p {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.hamm-hero {
  background: #000;
  overflow: hidden;
}

.hamm-hero img {
  display: block;
  width: 100%;
  height: min(78vh, 900px);
  object-fit: cover;
  object-position: center 48%;
}

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

.hamm-shot {
  margin: 0;
  border: var(--border);
  background: #000;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.hamm-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 350ms ease, opacity 250ms ease;
}

.hamm-shot:hover img {
  transform: scale(1.01);
  opacity: 0.95;
}

/* Use wide photographs as calm full-width pauses in the grid. */
.hamm-shot:nth-child(3),
.hamm-shot:nth-child(7) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

/* Keep the food image slightly wider so the full table reads clearly. */
.hamm-shot:nth-child(4) {
  aspect-ratio: 4 / 5;
}

.hamm-instagram {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hamm-instagram-link {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  width: 100%;
  margin-top: 0.7rem;
  padding: 1.25rem 0;
  border-top: var(--border);
  border-bottom: var(--border);
  text-decoration: none;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  transition: padding 200ms ease, background 200ms ease, color 200ms ease;
}

.hamm-instagram-link:hover,
.hamm-instagram-link:focus-visible {
  padding-left: 1rem;
  padding-right: 1rem;
  background: var(--fg);
  color: var(--bg);
  outline: none;
}

@media (max-width: 900px) {
  .hamm-hero img { height: 68vh; }
  .hamm-gallery { grid-template-columns: 1fr; gap: 0.8rem; }
  .hamm-shot:nth-child(n) {
    grid-column: 1;
    aspect-ratio: auto;
  }
  .hamm-shot img { height: auto; }
  .hamm-instagram-link { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hamm-shot img,
  .hamm-instagram-link { transition: none; }
}

.hamm-instagram-heading { margin-bottom: 0.75rem; }

/* On Set — editorial production archive */
.on-set-title h2 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  font-weight: 900;
  margin-top: 0.45rem;
}

.on-set-hero {
  background: #000;
  overflow: hidden;
}

.on-set-hero img {
  display: block;
  width: 100%;
  height: min(82vh, 980px);
  object-fit: cover;
  object-position: center 42%;
}

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

.on-set-frame {
  margin: 0;
  border: var(--border);
  background: #000;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.on-set-frame.wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.on-set-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 350ms ease, opacity 250ms ease;
}

.on-set-frame:hover img {
  transform: scale(1.01);
  opacity: 0.96;
}

.on-set-grid-prep .on-set-frame:nth-child(2) img { object-position: center 28%; }

@media (max-width: 900px) {
  .on-set-hero img { height: 68vh; }
  .on-set-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .on-set-frame,
  .on-set-frame.wide { grid-column: 1; aspect-ratio: auto; }
  .on-set-frame img { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .on-set-frame img { transition: none; }
}
