:root {
  --void: #0d1014;
  --bed: #151a20;
  --surface: #10141a;
  --line: #232a32;
  --kerf: #3a434d;
  --signal: #e8ecef;
  --muted: #a9b2bb;
  --dim: #8a949e;
  --laser: #ff3b2f;
  --laser-hover: #ff5a4f;
  --laser-soft: #ff8a82;
  --font-sans: "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--signal);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--laser-hover);
}

a:hover {
  color: var(--laser-soft);
}

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

.ph {
  background-color: var(--bed);
  background-image:
    radial-gradient(ellipse 85% 65% at 12% 8%, rgba(255, 59, 47, 0.09), transparent 52%),
    radial-gradient(ellipse 70% 55% at 92% 88%, rgba(232, 236, 239, 0.05), transparent 48%),
    repeating-linear-gradient(
      -11deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.018) 3px,
      rgba(255, 255, 255, 0.018) 4px
    );
}

/* Photo frames — full-bleed crop, depth, readable captions */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bed);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(13, 16, 20, 0.78) 0%, rgba(13, 16, 20, 0.12) 42%, transparent 62%),
    linear-gradient(125deg, rgba(255, 59, 47, 0.07) 0%, transparent 46%);
  opacity: 0.55;
  transition: opacity 0.35s ease;
}

.media-frame.has-media::after {
  background:
    linear-gradient(to top, rgba(13, 16, 20, 0.55) 0%, transparent 28%),
    linear-gradient(125deg, rgba(255, 59, 47, 0.04) 0%, transparent 40%);
  opacity: 0.65;
}

.media-frame.has-media:not(:has(.hero__media-label, .featured-project__label, .case-hero__label))::after {
  opacity: 0.22;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  filter: contrast(1.02) saturate(1.04);
}

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

a:hover .media-frame img,
.media-frame--hoverable:hover img {
  transform: scale(1.045);
}

.media-frame .hero__media-label,
.media-frame .featured-project__label,
.media-frame .case-hero__label {
  z-index: 3;
  text-shadow: 0 1px 12px rgba(13, 16, 20, 0.85);
}

.media-frame.has-media .hero__media-label,
.media-frame.has-media .featured-project__label,
.media-frame.has-media .case-hero__label {
  opacity: 0.92;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container--narrow {
  max-width: 920px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--signal);
}

.logo__mark {
  flex-shrink: 0;
}

.logo__text {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3em;
}

@media (min-width: 768px) {
  .logo {
    gap: 12px;
  }

  .logo__text {
    font-size: 22px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 16, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 24px 0;
  }
}

.site-header__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  display: none;
}

@media (min-width: 768px) {
  .site-header__meta {
    display: block;
  }
}

.menu-toggle {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--signal);
  padding: 0;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  color: var(--signal);
  text-decoration: none;
  font-size: 15px;
}

.nav-desktop a:hover {
  color: var(--laser-hover);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 8px 0 16px;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: var(--signal);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  padding: 16px 24px;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  color: var(--void);
  background: var(--laser);
}

.btn--primary:hover {
  color: var(--void);
  background: var(--laser-hover);
}

.btn--ghost {
  color: var(--signal);
  background: transparent;
  border: 1px solid var(--kerf);
}

.btn--ghost:hover {
  color: var(--signal);
  border-color: var(--muted);
}

.btn--block {
  display: block;
  width: 100%;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .btn-row {
    flex-direction: row;
  }

  .btn-row .btn {
    flex: 1;
  }
}

/* Hero */
.hero {
  padding: 40px 0 32px;
}

@media (min-width: 900px) {
  .hero {
    padding: 72px 0 48px;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  margin: 0 0 20px;
}

@media (min-width: 768px) {
  .eyebrow {
    font-size: 13px;
  }
}

.hero__title {
  margin: 0 0 20px;
  font-weight: 300;
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero__title strong {
  font-weight: 600;
  color: var(--laser);
}

.laser-rule {
  position: relative;
  height: 2px;
  background: var(--line);
  margin-bottom: 20px;
}

.laser-rule__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 62%;
  background: var(--laser);
}

.laser-rule__dot {
  position: absolute;
  left: 62%;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--laser);
  transform: translateX(-5px);
}

.hero__lead {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 36em;
}

.hero__media {
  height: 280px;
  margin-top: 32px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__media:not(.has-media) svg[data-h-hero-media-fallback] {
  opacity: 0.55;
}

@media (min-width: 900px) {
  .hero__media {
    height: 360px;
    margin-top: 0;
  }
}

.hero__media-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

/* Services */
.services {
  padding: 48px 0 8px;
}

.service-list {
  margin: 0;
  padding: 0;
}

.service-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-item:last-child {
  border-bottom: 1px solid var(--line);
}

.service-item__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
}

.service-item__title {
  margin: 0;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.service-item__desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Projects grid */
.section-projects {
  padding: 48px 0;
}

.section-title {
  margin: 0 0 16px;
  font-weight: 300;
  font-size: clamp(1.75rem, 5vw, 2.125rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-title strong {
  font-weight: 600;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.project-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-card__img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}

.project-card:hover .media-frame img {
  transform: scale(1.05);
}

.project-card figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Process */
.process {
  padding: 8px 0 48px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  padding: 16px 0;
  border-top: 1px solid var(--kerf);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.process-step:first-child {
  border-top: 2px solid var(--laser);
}

.process-step:last-child {
  border-bottom: 1px solid var(--kerf);
}

.process-step__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.process-step:first-child .process-step__label {
  color: var(--laser);
}

.process-step__text {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
  flex: 1;
  min-width: 140px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 2.625rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.footer__title strong {
  font-weight: 600;
  color: var(--laser);
}

.footer__contact {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.footer__contact a {
  color: var(--dim);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--laser-hover);
}

/* Inquiry page */
.page-inquiry {
  min-height: 100vh;
}

.inquiry-intro {
  padding: 64px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inquiry-intro h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.inquiry-intro h1 strong {
  font-weight: 600;
  color: var(--laser);
}

.inquiry-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 600px;
}

.progress {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.progress__bar {
  display: block;
  height: 2px;
  background: var(--kerf);
}

.progress__bar.is-done {
  background: var(--laser);
}

.progress__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 10px;
  display: block;
}

@media (min-width: 480px) {
  .progress__label {
    font-size: 12px;
  }
}

.progress li.is-active .progress__label {
  color: var(--signal);
}

.inquiry-panel {
  margin: 40px 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 20px;
}

@media (min-width: 768px) {
  .inquiry-panel {
    padding: 40px;
  }
}

.inquiry-panel fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.inquiry-panel legend,
.inquiry-panel h2 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  padding: 0;
  margin: 0 0 16px;
}

.inquiry-panel h2 {
  margin-bottom: 20px;
}

.legend-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  font-weight: 400;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.type-option {
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 20px;
  min-height: 44px;
  border: 1px solid var(--kerf);
  background: transparent;
  color: var(--signal);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.type-option:hover {
  border-color: var(--muted);
}

.type-option.is-selected {
  border-color: var(--laser);
  background: #1a1012;
}

.type-option__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.type-option.is-selected .type-option__code {
  color: var(--laser);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.check-card {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: var(--signal);
  border: 1px solid var(--kerf);
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  cursor: pointer;
}

.check-card input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--laser);
  flex-shrink: 0;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

.form-label:first-child {
  margin-top: 0;
}

.form-label input,
.form-label textarea,
.form-label select {
  font: inherit;
  color: var(--signal);
  background: var(--bed);
  border: 1px solid var(--kerf);
  padding: 14px 16px;
  width: 100%;
}

.form-label input:focus,
.form-label textarea:focus,
.form-label select:focus {
  outline: 2px solid var(--laser);
  outline-offset: 1px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.inquiry-summary {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.inquiry-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 28px;
}

.inquiry-nav__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.request-received {
  padding: 48px 0 32px;
  align-items: flex-start;
  text-align: left;
}

.request-received__title {
  margin: 0 0 16px;
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.request-received__title strong {
  font-weight: 600;
  color: var(--laser);
}

.request-received__lead {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 36em;
}

.request-received__meta {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  width: 100%;
}

.request-received__meta dt {
  color: var(--dim);
  margin: 0;
}

.request-received__meta dd {
  margin: 6px 0 0;
  color: var(--signal);
}

.request-received__note {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}

.inquiry-done {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inquiry-done h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.inquiry-done h2 strong {
  font-weight: 600;
  color: var(--laser);
}

.inquiry-aside {
  margin: 0 0 64px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}

.inquiry-aside a {
  color: var(--dim);
}

.inquiry-step[hidden] {
  display: none !important;
}

/* Site nav (projects layout) */
.nav-desktop--mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

.nav-desktop--mono a {
  color: var(--signal);
}

.nav-desktop--mono a.is-current {
  color: var(--laser);
}

.nav-cta {
  color: var(--signal) !important;
  border: 1px solid var(--laser);
  padding: 12px 18px;
  text-decoration: none;
}

.nav-cta:hover {
  color: var(--laser-hover) !important;
}

.nav-staff {
  color: var(--muted) !important;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid var(--kerf);
  padding: 10px 14px;
  white-space: nowrap;
}

.nav-staff:hover {
  color: var(--laser-hover) !important;
  border-color: var(--muted);
}

/* Always visible on phones; desktop uses nav-desktop link */
.nav-staff--bar {
  display: inline-flex;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-staff--bar {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1080px) {
  .nav-desktop--mono {
    gap: 14px;
    font-size: 11px;
  }

  .nav-desktop--mono .nav-staff,
  .nav-desktop--mono .nav-cta {
    padding: 8px 10px;
  }
}

.text-laser {
  color: var(--laser);
  font-weight: 600;
}

.text-ok {
  color: var(--laser-soft);
}

.text-dim {
  color: var(--dim);
}

/* Projects index */
.page-wide {
  font-size: 17px;
}

.projects-hero {
  padding: 48px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .projects-hero {
    padding: 72px 0 40px;
  }
}

.projects-hero__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.projects-hero__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.75rem, 10vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.projects-hero__lead {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
}

.laser-rule--short .laser-rule__fill {
  width: 38%;
}

.laser-rule--short .laser-rule__dot {
  left: 38%;
}

.projects-toolbar {
  padding: 0 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  padding: 12px 16px;
  min-height: 44px;
  border: 1px solid var(--kerf);
  background: transparent;
  color: var(--signal);
}

.filter-btn.is-active {
  border-color: var(--laser);
  background: var(--laser);
  color: var(--void);
}

.projects-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}

.featured-project {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--signal);
  margin-bottom: 48px;
}

.featured-project:hover h2 {
  color: var(--laser-hover);
}

.featured-project__media {
  flex: 1.5 1 560px;
  min-height: 280px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-project__media:not(.has-media) svg {
  opacity: 0.5;
}

@media (min-width: 900px) {
  .featured-project__media {
    height: 520px;
  }
}

.featured-project__label {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.featured-project__body {
  flex: 1 1 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .featured-project__body {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 40px;
  }
}

.featured-project__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
}

.featured-project__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.featured-project__summary {
  margin: 0;
  color: var(--muted);
}

.spec-mini {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.spec-mini div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 6px;
  margin-top: 6px;
}

.spec-mini dd {
  margin: 0;
}

.featured-project__link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--laser);
}

.project-grid-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 96px;
}

.project-card-link {
  background: var(--void);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--signal);
}

.project-card-link:hover h3 {
  color: var(--laser-hover);
}

.project-card-link__img {
  aspect-ratio: 4 / 3;
}

.project-card-link__img img,
.project-card__img img {
  object-position: 50% 42%;
}

.project-card-link__img:not(.has-media) {
  display: flex;
  align-items: flex-end;
  padding: 14px;
  box-sizing: border-box;
}

.project-card-link__photo {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.project-card-link__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card-link__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
}

.project-card-link__code {
  color: var(--laser);
}

.project-card-link__year {
  color: var(--dim);
}

.project-card-link__title {
  margin: 0;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.project-card-link__spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.projects-empty {
  margin: 0;
  padding: 48px 0;
  font-family: var(--font-mono);
  color: var(--dim);
}

.footer-cta {
  border-top: 1px solid var(--line);
  padding: 64px 0;
}

.footer-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-cta__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Case study */
.page-case {
  font-size: 18px;
  line-height: 1.7;
}

.case-intro {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-back {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  text-decoration: none;
}

.case-back:hover {
  color: var(--laser-hover);
}

.case-title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.5rem, 10vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 1100px;
}

.case-lead {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.case-hero {
  height: min(640px, 70vw);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-hero:not(.has-media) .case-hero__placeholder {
  opacity: 0.5;
}

.case-hero__img {
  z-index: 0;
}

.case-hero__label {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.case-spec-row {
  padding: 48px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.case-spec-sheet {
  flex: 1 1 320px;
}

.case-spec-sheet dl {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
}

.case-spec-sheet div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.case-spec-sheet div:last-child {
  border-bottom: 1px solid var(--line);
}

.case-spec-sheet dt {
  color: var(--dim);
}

.case-spec-sheet dd {
  margin: 0;
}

.case-narrative {
  flex: 2 1 560px;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
}

.case-h2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.case-body {
  margin: 0;
  color: var(--muted);
}

.case-build {
  padding: 64px 0 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.build-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.build-steps li {
  background: var(--void);
  display: flex;
  flex-direction: column;
}

.build-steps .ph,
.build-steps .media-frame {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}

.build-steps__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.build-steps__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
}

.build-steps__code.is-dim {
  color: var(--dim);
}

.build-steps__text {
  font-size: 15px;
  color: var(--muted);
}

.case-quote {
  margin: 64px 0 0;
  border-top: 2px solid var(--laser);
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}

.case-quote blockquote {
  margin: 0;
  flex: 1 1 640px;
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case-quote figcaption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}

.case-result {
  padding: 64px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.case-result__copy {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-gallery {
  flex: 1.4 1 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-gallery .ph {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  box-sizing: border-box;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.case-gallery .ph--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.case-gallery__cell {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}

.case-gallery__cell--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.case-gallery__cell img {
  z-index: 0;
}

.case-nav {
  margin: 64px auto 0;
  display: flex;
  justify-content: center;
}

.case-nav__grid {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-nav__grid a {
  background: var(--void);
  color: var(--signal);
  text-decoration: none;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 100%;
}

.case-nav__grid a:hover {
  color: var(--laser-hover);
}

.case-nav__prev,
.case-nav__next {
  text-align: center;
  align-items: center;
}

.case-nav__current {
  background: var(--bed);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.case-nav__title--current {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
}

.case-nav__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.case-nav__current .case-nav__code {
  color: var(--laser);
  font-size: 13px;
}

.case-nav__title {
  font-size: 22px;
}

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

  .case-nav__current {
    order: -1;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

}

/* Admin */
body.admin-body {
  background: #0a0d10;
  font-size: 15px;
  line-height: 1.55;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--void);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.admin-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--laser);
  border: 1px solid var(--laser);
  padding: 2px 8px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  max-width: 100%;
}

.admin-nav a {
  color: var(--dim);
  text-decoration: none;
}

.admin-nav a.is-current {
  color: var(--signal);
  border-bottom: 1px solid var(--laser);
}

.admin-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.admin-top__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.admin-top h1 {
  margin: 6px 0 0;
  font-weight: 300;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--kerf);
  padding: 9px 12px;
}

.admin-panel {
  background: var(--void);
  border: 1px solid var(--line);
}

.admin-panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-panel__head h2 {
  margin: 0;
  font-weight: 400;
  font-size: 20px;
}

.admin-panel__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.admin-status {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-status__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.admin-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 900px) {
  .admin-pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .admin-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-pipeline__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.admin-pipeline__seg {
  height: 3px;
  background: var(--line);
  border-radius: 1px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.admin-pipeline__seg.is-filled {
  background: var(--laser);
}

.admin-pipeline__seg.is-current {
  box-shadow: 0 0 10px rgba(255, 59, 47, 0.55);
}

.stage-btn {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
}

.stage-btn.is-done,
.stage-btn.is-current {
  color: var(--signal);
}

.stage-btn.is-done {
  border-color: var(--kerf);
}

.stage-btn.is-current {
  border-color: var(--laser);
  background: #1a1012;
}

.stage-btn:focus-visible {
  outline: 2px solid var(--laser);
  outline-offset: 2px;
}

.admin-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.admin-main {
  flex: 999 1 640px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-aside {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-dl {
  margin: 0;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.admin-dl dt {
  color: var(--dim);
}

.admin-dl dd {
  margin: 4px 0 0;
}

.admin-dl .span-all {
  grid-column: 1 / -1;
}

.admin-file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-file-chips span {
  border: 1px solid var(--kerf);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  min-width: 560px;
}

.admin-table th {
  text-align: left;
  color: var(--dim);
  font-size: 12px;
  font-weight: 400;
  padding: 10px 20px;
}

.admin-table td {
  padding: 6px 20px;
  border-top: 1px solid #1b2128;
  color: var(--muted);
}

.admin-table td:first-child {
  color: var(--signal);
}

.admin-table__actions {
  text-align: right;
}

.admin-add-row {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.admin-add-row label {
  flex: 2 1 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.admin-add-row input,
.admin-add-row textarea,
.admin-panel textarea,
.admin-panel input[type="text"] {
  font: inherit;
  font-size: 14px;
  color: var(--signal);
  background: var(--void);
  border: 1px solid var(--kerf);
  padding: 10px 12px;
  width: 100%;
}

.admin-log-form {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-log-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.admin-log-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.admin-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-log__item {
  padding: 12px 20px;
  border-top: 1px solid #1b2128;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: flex-start;
}

.admin-log__date {
  flex: 0 0 96px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
}

.admin-log__body {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-log__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.admin-photo-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.admin-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-photo__img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  padding: 8px;
  box-sizing: border-box;
}

.admin-photo__img.is-cover {
  border-color: var(--laser);
}

.admin-photo__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--laser);
  color: var(--void);
  padding: 3px 7px;
}

.admin-photo__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.admin-photo__actions {
  display: flex;
  gap: 6px;
}

.admin-photo__btn {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--kerf);
  padding: 8px 6px;
  cursor: pointer;
  min-height: 44px;
}

.admin-photo__btn.is-public {
  color: var(--void);
  background: var(--laser);
  border-color: var(--laser);
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  min-height: 44px;
  padding: 0;
}

.toggle__track {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--kerf);
  display: block;
}

.toggle__track.is-on {
  background: var(--laser);
}

.toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--signal);
  transition: left 0.15s;
}

.toggle__track.is-on .toggle__knob {
  left: 20px;
}

.toggle__label {
  width: 56px;
  text-align: left;
}

.admin-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-checklist li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #1b2128;
  padding-top: 8px;
}

.admin-aside-panel {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-aside-panel--accent {
  border-color: var(--laser);
}

.admin-writeup {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-case-tabs {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--void);
}

.admin-case-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.admin-case-tabs__tab {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 18px;
  cursor: pointer;
  min-height: 44px;
}

.admin-case-tabs__tab.is-active {
  color: var(--signal);
  border-bottom-color: var(--laser);
  background: #121820;
}

.admin-case-tabs__tab:focus-visible {
  outline: 2px solid var(--laser);
  outline-offset: -2px;
}

.admin-case-tabs__panel {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-case-tabs__panel[hidden] {
  display: none !important;
}

.admin-build-steps {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-build-steps__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.admin-build-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-build-step {
  display: grid;
  grid-template-columns: 36px 120px 1fr minmax(120px, 160px) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--void);
}

.admin-build-step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
}

.admin-build-step__code,
.admin-build-step__text,
.admin-build-step__photo {
  font: inherit;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--signal);
  background: var(--bed);
  border: 1px solid var(--kerf);
  padding: 8px 10px;
  width: 100%;
}

.admin-build-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

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

  .admin-build-step__num {
    grid-row: 1;
  }
}

.admin-writeup label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.admin-home-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 960px;
}

.admin-home-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-home-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-home-grid fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-home-grid legend {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
  padding: 0 6px;
}

.admin-home-upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-home-thumb {
  width: 120px;
  height: 80px;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}

.admin-home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-home-media {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.admin-home-media__item {
  min-width: 0;
}

.admin-home-media__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.admin-home-media__delete {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  padding: 5px 7px;
  border: 1px solid var(--line);
  background: rgba(13, 16, 20, 0.88);
  color: var(--laser-soft);
  cursor: pointer;
}

.admin-home-media__delete:hover {
  border-color: var(--laser);
  color: var(--laser);
  background: var(--void);
}

.admin-home-media__btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--void);
  cursor: pointer;
  text-align: left;
}

.admin-home-media__btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.admin-home-media__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  padding: 4px 6px 6px;
  line-height: 1.3;
}

.hero__media img[data-h-hero-media-img] {
  z-index: 0;
}

/* Staff login */
.login-page {
  padding: 64px 0 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-page__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.login-page__lead {
  margin: 0 0 8px;
  color: var(--muted);
  max-width: 520px;
}

.login-panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .login-panel {
    padding: 40px;
  }
}

.login-page__error {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--laser-soft);
}

.login-page__foot {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
}

.login-page__foot a {
  color: var(--dim);
  text-decoration: none;
}

.login-page__foot a:hover {
  color: var(--laser-hover);
}

/* Admin inbox */
.admin-inbox {
  margin-bottom: 8px;
}

.admin-shell--requests .admin-top h1 {
  margin: 6px 0 0;
  font-weight: 300;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.admin-inbox--page .admin-inbox-list {
  max-height: none;
}

.admin-inbox-empty {
  margin: 0;
  padding: 24px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.admin-job-picker {
  margin: 0 0 20px;
  padding: 20px;
  border: 1px dashed var(--kerf);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
}

#jobs-list {
  margin-bottom: 16px;
}

.admin-inbox-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
}

.admin-inbox__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid #1b2128;
}

.admin-inbox__main {
  flex: 1 1 240px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
}

.admin-inbox__main .admin-inbox__meta {
  grid-column: 1 / -1;
}

.admin-inbox__accept {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 18px;
}

.admin-inbox__link {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid #1b2128;
  text-decoration: none;
  color: var(--signal);
  font-size: 14px;
}

.admin-inbox__link:hover {
  background: #121820;
}

.admin-inbox__link.is-current {
  background: #1a1012;
  border-left: 2px solid var(--laser);
}

.admin-inbox__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--laser);
}

.admin-inbox__title {
  font-weight: 400;
}

.admin-inbox__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  text-align: right;
}

@media (max-width: 640px) {
  .admin-inbox__link {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-inbox__main {
    grid-template-columns: 1fr;
  }

  .admin-inbox__accept {
    width: 100%;
  }

  .admin-inbox__meta {
    text-align: left;
  }
}
