:root {
  color: #243434;
  background: #f2eee4;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  font-synthesis: none;
  --ink: #243434;
  --green: #315f57;
  --rust: #a84f35;
  --gold: #b99552;
  --paper: #fffdf7;
  --line: #c9c0ae;
  --muted: #6d746f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 300px;
  background: radial-gradient(circle at 12% 5%, #fffdf7 0, transparent 28%), #f2eee4;
  color: var(--ink);
  line-height: 1.7;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.primary-button,
.quiet-button,
.danger-button {
  min-height: 44px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  transform: translateY(-160%);
  padding: 0.5rem 0.8rem;
  background: #fff;
}
.skip-link:focus {
  transform: none;
}
.site-header,
footer {
  max-width: 1180px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}
.logo-mark {
  position: relative;
  width: 32px;
  height: 30px;
  display: inline-block;
  border: 2px solid var(--green);
  background: var(--paper);
}
.logo-mark i {
  position: absolute;
  bottom: 4px;
  width: 5px;
  background: var(--green);
}
.logo-mark i:nth-child(1) {
  left: 5px;
  height: 12px;
}
.logo-mark i:nth-child(2) {
  left: 13px;
  height: 19px;
}
.logo-mark i:nth-child(3) {
  left: 21px;
  height: 8px;
  background: var(--rust);
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 2rem;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(1.75rem, 3.2vw, 2rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.45;
}
.eyebrow,
.section-kicker {
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 3rem;
  padding-block: 3rem;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--muted);
}
.hero-actions,
.dialog-actions,
.form-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.primary-button,
.quiet-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--green);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}
.primary-button {
  color: #fff;
  background: var(--green);
}
.quiet-button {
  color: var(--green);
  background: var(--paper);
}
.danger-button {
  color: #fff;
  background: var(--rust);
  border-color: var(--rust);
}
.gallery-scene {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid #bdb39e;
  background: linear-gradient(90deg, transparent 49.7%, #dfd7c7 50%, transparent 50.3%), #e7dfd0;
  box-shadow: 0 18px 50px #51483421;
}
.gallery-scene::before {
  content: "";
  position: absolute;
  inset: 0 0 16% 0;
  background:
    radial-gradient(circle at 30% 0, #fff8df 0 2%, transparent 25%),
    radial-gradient(circle at 72% 0, #fff8df 0 2%, transparent 25%);
}
.frame {
  position: absolute;
  display: grid;
  align-content: center;
  padding: 1rem;
  background: var(--paper);
  border: 10px solid #8a6b4b;
  outline: 1px solid #4e4337;
  box-shadow: 0 10px 20px #4d40352b;
}
.frame small {
  color: var(--rust);
  font-weight: 800;
}
.frame b {
  font-size: 1.12rem;
}
.frame i {
  justify-self: end;
  margin-top: 0.7rem;
  padding: 0.15rem 0.5rem;
  color: #fff;
  background: var(--rust);
  font-style: normal;
}
.frame-one {
  left: 8%;
  top: 18%;
  width: 38%;
  height: 44%;
  transform: rotate(-1deg);
}
.frame-two {
  right: 7%;
  top: 10%;
  width: 35%;
  height: 34%;
  transform: rotate(1.2deg);
}
.museum-door {
  position: absolute;
  right: 17%;
  bottom: 16%;
  width: 24%;
  height: 40%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #315f57;
  border: 8px solid #8a6b4b;
}
.museum-door i {
  position: absolute;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.museum-door b {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}
.floor-line {
  position: absolute;
  inset: auto 0 15% 0;
  height: 2px;
  background: #b5a993;
}
.label-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
}
.label-strip span {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  border-right: 1px solid var(--line);
}
.post-section {
  margin-top: 4rem;
  padding: 2rem;
  background: #e7dfd0;
  border: 1px solid var(--line);
}
.section-heading,
.directory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.deadline-stamp {
  width: 105px;
  padding: 0.7rem;
  border: 3px double var(--rust);
  color: var(--rust);
  text-align: center;
  transform: rotate(2deg);
}
.deadline-stamp b,
.deadline-stamp span {
  display: block;
}
.job-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.job-form label,
.filter-bar label,
dialog label,
.report-box label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.job-form input,
.job-form select,
.job-form textarea,
.filter-bar input,
.filter-bar select,
dialog input,
.report-box select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #aaa18f;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}
.span-two {
  grid-column: 1 / -1;
}
.specialty-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0;
  padding: 0;
}
.specialty-picker legend {
  width: 100%;
  font-size: 0.85rem;
  font-weight: 700;
}
.check-chip input {
  position: absolute;
  opacity: 0;
}
.check-chip span {
  display: block;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.check-chip input:checked + span {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.form-state {
  min-height: 1.5em;
  color: var(--rust);
}
dialog {
  width: min(560px, calc(100% - 2rem));
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #14211fc2;
}
.dialog-close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}
.result-wall {
  height: 100px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 1rem;
  border-bottom: 5px solid #b99552;
}
.result-wall i {
  width: 80px;
  height: 65px;
  border: 8px solid #8a6b4b;
  background: #fff;
}
.result-wall span {
  width: 52px;
  height: 90px;
  background: var(--green);
}
.page-intro {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.page-symbol {
  position: relative;
  flex: 0 0 78px;
  height: 78px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.page-symbol i {
  position: absolute;
  width: 24px;
  height: 32px;
  border: 3px solid var(--green);
}
.page-symbol i:nth-child(1) {
  left: 10px;
  top: 12px;
}
.page-symbol i:nth-child(2) {
  left: 27px;
  top: 25px;
}
.page-symbol i:nth-child(3) {
  right: 8px;
  top: 8px;
  border-color: var(--rust);
}
.filter-bar {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 0.8rem;
  padding: 1rem;
  background: #e7dfd0;
  border: 1px solid var(--line);
}
.filter-bar .check-line {
  display: flex;
  align-items: center;
}
.filter-bar .check-line input {
  width: auto;
}
.filter-bar button {
  align-self: end;
}
.directory-heading {
  margin-top: 2rem;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.job-card {
  position: relative;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 7px 18px #51483413;
}
.card-rail {
  display: flex;
  justify-content: space-between;
  margin: -1.25rem -1.25rem 1rem;
  padding: 0.45rem 1.25rem;
  color: #fff;
  background: var(--green);
  font-size: 0.78rem;
}
.museum-kind {
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.job-card h2 {
  margin-bottom: 0.25rem;
}
.organization {
  color: var(--muted);
}
.job-card dl,
.job-facts dl {
  margin: 1rem 0;
}
.job-card dl div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ded7c9;
  padding: 0.35rem 0;
}
dt {
  color: var(--muted);
  font-size: 0.78rem;
}
dd {
  margin: 0;
  font-weight: 700;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag-row span {
  padding: 0.2rem 0.45rem;
  background: #e8eee9;
  color: var(--green);
  font-size: 0.72rem;
}
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--green);
  font-weight: 800;
}
.empty-wall {
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px dashed var(--line);
  background: #e7dfd0;
}
.detail-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
}
.detail-label {
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 0.8rem;
  padding: 1.2rem;
  border: 12px solid #8a6b4b;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 12px 25px #4d40352b;
}
.detail-label span {
  color: var(--rust);
  font-weight: 800;
}
.detail-label b {
  font-size: 1.25rem;
}
.detail-label time {
  padding: 0.3rem;
  color: #fff;
  background: var(--rust);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.job-facts,
.source-panel,
.privacy-grid section,
.step-wall section {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.job-facts dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.job-facts dl div {
  padding: 0.7rem;
  border: 1px solid #ded7c9;
}
.source-panel {
  text-align: center;
}
.source-door {
  width: 100px;
  height: 125px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 7px solid #8a6b4b;
  font-size: 0.75rem;
}
.report-box {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.edit-page {
  max-width: 880px;
}
.editor-status {
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.danger-zone {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.step-wall,
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.step-wall b {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--rust);
}
.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
}
.empty-frame {
  width: 160px;
  height: 130px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 12px solid #8a6b4b;
  background: var(--paper);
}
footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}
footer p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 860px) {
  .hero,
  .detail-hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .gallery-scene {
    min-height: 360px;
  }
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    grid-column: 1 / -1;
  }
  .job-grid,
  .step-wall,
  .privacy-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 580px) {
  .site-header,
  footer,
  main {
    padding-inline: 1rem;
  }
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    padding-top: 1rem;
    gap: 1.5rem;
  }
  .gallery-scene {
    min-height: 320px;
  }
  .frame-one {
    width: 45%;
  }
  .frame-two {
    width: 40%;
  }
  .label-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .post-section {
    margin-inline: -1rem;
    padding: 1rem;
  }
  .job-form,
  .filter-bar,
  .job-grid,
  .step-wall,
  .privacy-grid,
  .job-facts dl {
    grid-template-columns: 1fr;
  }
  .span-two,
  .search-field {
    grid-column: auto;
  }
  .page-intro {
    align-items: flex-start;
  }
  .page-symbol {
    flex-basis: 60px;
    height: 60px;
  }
  .detail-label {
    min-height: 210px;
  }
}
@media print {
  .site-header,
  footer,
  .hero-actions,
  .filter-bar,
  .report-box,
  .danger-zone,
  script {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main {
    max-width: none;
    padding: 0;
  }
  .job-card,
  .job-facts,
  .source-panel {
    break-inside: avoid;
    box-shadow: none;
  }
}
