:root {
  --bg-top: #17100d;
  --bg-bottom: #0b0908;
  --text: #efe2c8;
  --muted: #cab99a;
  --line: rgba(214, 188, 148, 0.2);
  --line-strong: rgba(214, 188, 148, 0.34);
  --accent: #d0a164;
  --accent-deep: #b47b41;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(155, 90, 45, 0.18), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(196, 147, 73, 0.08), transparent 18%),
    linear-gradient(180deg, var(--bg-top) 0%, #0d0a09 55%, var(--bg-bottom) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 20% 20%, rgba(255, 244, 214, 0.03), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(255, 244, 214, 0.02), transparent 20%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 1.25rem;
}

.studio-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.studio-mark {
  width: 2.65rem;
  height: 2.65rem;
  object-fit: contain;
}

.studio-name-wrap {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.studio-name,
.studio-tagline,
.studio-separator,
.header-links a,
.hero-intro,
.festival-tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.studio-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.studio-separator {
  width: 1px;
  height: 0.95rem;
  margin: 0 0.1rem;
  background: rgba(202, 185, 154, 0.45);
  align-self: center;
}

.studio-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
  padding-top: 0.25rem;
}

.header-links a {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 180ms ease;
}

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

main {
  padding-bottom: 5rem;
}

.hero {
  min-height: calc(100vh - 5.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.98fr);
  align-items: center;
  gap: 2.5rem;
  padding: 4.25rem 0 2.5rem;
}

.hero-copy {
  max-width: 39rem;
}

.hero-intro {
  margin: 0 0 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}

.festival-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  margin: 0 0 1.2rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(208, 161, 100, 0.38);
  border-radius: 999px;
  background: rgba(92, 44, 23, 0.28);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-wordmark {
  width: min(100%, 36rem);
  margin-bottom: 1rem;
  filter: invert(0.92) sepia(0.18) saturate(0.46) hue-rotate(353deg) brightness(1.04);
}

.hero-lead {
  margin: 0;
  max-width: 30rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.02;
  font-weight: 500;
  color: var(--text);
}

.hero-summary,
.section-note,
.studio-brief,
.closing-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.hero-summary {
  max-width: 33rem;
  margin-top: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 1.7rem;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.cta-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #1a130f;
  box-shadow: 0 14px 32px rgba(142, 88, 41, 0.3);
}

.cta-primary:hover,
.cta-primary:focus-visible,
.cta-secondary:hover,
.cta-secondary:focus-visible {
  transform: translateY(-1px);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(142, 88, 41, 0.42);
}

.cta-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: var(--text);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-art-frame {
  width: min(100%, 36rem);
}

.hero-art {
  width: 100%;
  border-radius: 1.1rem;
  border: 1px solid rgba(214, 188, 148, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.section {
  margin-top: 4.5rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.2rem;
}

.section-heading h2,
.closing-section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
  font-weight: 600;
}

.section-note {
  max-width: 32rem;
  margin-top: 0.8rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
  max-width: 720px;
}

.visual-panel {
  margin: 0;
  height: 8.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.visual-panel-wide {
  height: 8.5rem;
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(0.94) opacity(0.92);
}

.studio-brief,
.closing-copy {
  max-width: 36rem;
}

.closing-section {
  margin-top: 4.75rem;
  padding-top: 0.4rem;
}

.closing-copy {
  margin-top: 0.9rem;
}

.site-footer {
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--muted);
}

.footer-brand p {
  margin: 0;
}

.footer-mark {
  width: 2.15rem;
  height: 2.15rem;
}

.social-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

.social-icons a {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.staff-main {
  min-height: calc(100vh - 5rem);
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.staff-panel {
  width: min(100%, 46rem);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.staff-panel-wide {
  width: min(100%, 72rem);
}

.staff-dashboard {
  width: min(100%, 72rem);
}

.staff-panel h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
}

.staff-panel-copy {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.staff-login-panel {
  max-width: 32rem;
}

.staff-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.staff-form label {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-form input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.18);
  font: inherit;
}

.staff-form select,
.staff-form textarea,
.staff-filter-form input,
.staff-filter-form select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.18);
  font: inherit;
}

.staff-form textarea {
  resize: vertical;
}

.staff-form label:has(input[type="checkbox"]),
.staff-filter-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.staff-form label input[type="checkbox"],
.staff-filter-form input[type="checkbox"] {
  width: auto;
  min-height: auto;
}

.staff-form input:focus {
  border-color: var(--accent);
  outline: 1px solid var(--accent);
}

.staff-form .cta-primary {
  border: 0;
  margin-top: 0.8rem;
  cursor: pointer;
}

.staff-return {
  display: inline-flex;
  margin-top: 1.25rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.staff-return:hover,
.staff-return:focus-visible {
  color: var(--text);
}

.staff-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.staff-panel-heading .staff-return {
  margin-top: 0;
}

.form-errors {
  color: #e2a985;
  font-size: 0.9rem;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.staff-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.staff-stat-grid div,
.staff-table-panel,
.report-message-card,
.report-meta-card {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.14);
}

.staff-stat-grid div {
  padding: 0.9rem;
}

.staff-stat-action {
  margin-top: 0.5rem;
}

.staff-stat-action .staff-return {
  margin-top: 0;
  font-size: 0.78rem;
}

.staff-stat-grid strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.staff-stat-grid span,
.staff-field-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-filter-form {
  display: grid;
  grid-template-columns: minmax(14rem, 1.4fr) minmax(8rem, 0.8fr) repeat(2, minmax(7rem, 0.7fr)) auto auto auto auto;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.staff-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.32fr);
  gap: 1rem;
  margin-top: 1rem;
}

.staff-table-panel {
  padding: 1rem;
}

.staff-table-panel h2 {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
}

.staff-table-wrap {
  overflow-x: auto;
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.staff-table th,
.staff-table td {
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.staff-table th {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staff-table a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(208, 161, 100, 0.45);
}

.staff-row-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.staff-star-button {
  border: 0;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.issue-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.issue-list span {
  color: var(--muted);
}

.report-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.34fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.report-message-card,
.report-meta-card {
  padding: 1rem;
}

.report-message-full {
  margin-top: 0.5rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.7;
}

.report-meta-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.report-meta-card strong {
  color: var(--text);
}

.staff-inline-action {
  margin-top: 0.5rem;
}

.triage-form {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .hero,
  .visual-grid,
  .staff-dashboard-grid,
  .report-detail-grid {
    grid-template-columns: 1fr;
  }

  .staff-filter-form,
  .staff-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    gap: 2rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-art-frame {
    width: min(100%, 32rem);
  }

  .visual-panel,
  .visual-panel-wide {
    height: 7.5rem;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-links {
    justify-content: flex-start;
  }

  .studio-name-wrap {
    display: grid;
    gap: 0.15rem;
  }

  .studio-separator {
    display: none;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

  .staff-filter-form,
  .staff-stat-grid {
    grid-template-columns: 1fr;
  }
}
