:root {
  color-scheme: dark;
  --paper: #100606;
  --ink: #f8f6f2;
  --muted: #bdb5aa;
  --accent: #decbb0;
  --line: #43332f;
  --gutter: clamp(20px, 5.5vw, 88px);
  --gap: clamp(16px, 2.1vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 48% 0, #281716 0, transparent 730px), var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
figure, p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); line-height: 1.6; font-size: 15px; max-width: 43ch; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.skip { position: absolute; top: 8px; left: 12px; padding: 12px; background: var(--paper); z-index: 2; transform: translateY(-150%); }
.skip:focus { transform: none; }
.frame { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.mast {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: block; width: clamp(94px, 11vw, 155px); mix-blend-mode: screen; }
.wordmark img { height: auto; }
nav, .tools { display: flex; align-items: center; gap: clamp(16px, 2.7vw, 42px); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
nav a, .tools button { color: var(--muted); transition: color .2s; }
nav a:hover, .tools button:hover, .footer a:hover, .about-foot a:hover { color: var(--accent); }
.tools { justify-self: end; gap: clamp(13px, 2vw, 30px); }
.tools button { border: 0; padding: 9px 2px; background: transparent; letter-spacing: inherit; }
.join-link { white-space: nowrap; color: var(--accent); }

.ruled {
  border-top: 1px solid var(--line);
  padding-top: clamp(22px, 3vw, 42px);
  margin-top: clamp(64px, 8.2vw, 124px);
  scroll-margin-top: 20px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: var(--gap);
  margin-top: clamp(23px, 4.2vw, 58px);
}
.hero-copy { display: flex; flex-direction: column; padding: clamp(12px, 3vw, 47px) 0 23px; }
.micro { color: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; line-height: 1.5; }
.origin { font-family: "Times New Roman", serif; font-size: clamp(15px, 1.6vw, 22px); text-transform: none; letter-spacing: .03em; }
h1, h2, h3 { text-transform: uppercase; overflow-wrap: break-word; }
h1 {
  font-size: clamp(34px, 4.62vw, 75px);
  line-height: .99;
  letter-spacing: -.055em;
  margin-top: clamp(18px, 3vw, 42px);
  max-width: 12em;
  text-wrap: balance;
}
.hero-note { margin: clamp(18px, 2.1vw, 32px) 0 25px; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; }
.detail { width: clamp(104px, 14vw, 192px); aspect-ratio: 1.55; }
.detail img { object-position: 50% 68%; }
.round {
  display: inline-grid;
  place-items: center;
  text-align: center;
  flex: none;
  width: clamp(68px, 6.8vw, 92px);
  aspect-ratio: 1;
  border: 1px solid #8c7765;
  border-radius: 50%;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.round:hover { background: var(--accent); color: var(--paper); }
.cover { aspect-ratio: .94; }
.cover img { object-position: center 74%; }
.photo { overflow: hidden; background: #231a18; }
.photo img { transition: transform .4s ease; }
@media (hover: hover) { .photo:hover img { transform: scale(1.028); } }
figcaption { padding-top: 10px; }
h2 { font-size: clamp(28px, 3.75vw, 53px); letter-spacing: -.043em; line-height: 1.04; }
h3 { font-size: clamp(18px, 2vw, 29px); letter-spacing: -.025em; line-height: 1.1; }
section h2 + p, section h3 + p { margin-top: 14px; }

.projects, .crew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 1.7vw, 24px); }
.project-photo { aspect-ratio: .79; }
.project-grid h3 { font-size: clamp(13px, 1.45vw, 21px); margin-top: 13px; }
.project-grid p { margin-top: 6px; font-size: 13px; line-height: 1.45; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: var(--gap); }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.about-foot { display: flex; gap: 14px; align-items: center; margin-top: 24px; font-size: 13px; }
.about-foot a { border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.about-photo { aspect-ratio: 1.27; }
.about-photo img { object-position: 54% 60%; }
.crew-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(12px, 1.7vw, 24px); }
.crew-feature .photo { aspect-ratio: .94; }
.crew-portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.65vw, 23px); align-content: start; }
.crew-portraits .photo { aspect-ratio: 1; }
.crew-portraits figcaption { font-size: 9px; letter-spacing: .09em; }
.vision h2 { font-size: clamp(33px, 6.1vw, 83px); max-width: 16ch; margin: 12px 0 clamp(18px, 2.5vw, 35px); }
.vision-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gap); }
.vision-copy { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; }
.vision-photo { aspect-ratio: 1.85; }

.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 68px); }
.join-photo { width: min(285px, 100%); aspect-ratio: 1.9; margin-top: 22px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 22px 0 15px; }
label { display: grid; gap: 8px; font-size: 11px; letter-spacing: .045em; text-transform: uppercase; }
input, select, textarea { background: #1d1110; border: 1px solid var(--line); border-radius: 0; padding: 10px; width: 100%; min-width: 0; }
.action, .result-actions a, .result-actions button { background: transparent; border: 1px solid #8c7765; color: var(--accent); padding: 11px 13px; text-transform: uppercase; font-size: 11px; }
.action:hover, .result-actions a:hover, .result-actions button:hover { background: #30211e; }
#result { margin-top: 15px; }
.result-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
#status { margin-top: 7px; }
.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 0 33px; font-size: 12px; }
.footer .wordmark { width: 95px; }
.footer div { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 850px) {
  .projects, .crew { grid-template-columns: 1fr; }
  .section-intro p { margin-top: 8px; }
}
@media (max-width: 630px) {
  .mast { grid-template-columns: 1fr auto; row-gap: 0; padding-top: 8px; }
  .mast nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid var(--line); padding: 14px 0; margin-top: 8px; gap: 9px; }
  .hero, .about, .join { grid-template-columns: 1fr; }
  .hero { gap: 18px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(32px, 8.7vw, 50px); }
  .hero-bottom { justify-content: flex-start; }
  .hero-bottom figure { display: none; }
  .hero-bottom .round { width: 67px; }
  .cover { aspect-ratio: .92; }
  .project-grid { gap: 9px; }
  .project-grid p { font-size: 11px; }
  .about-foot { margin-top: 13px; }
  .crew-grid, .vision-grid, .fields { grid-template-columns: 1fr; }
  .crew-feature .photo { aspect-ratio: 1.2; }
  .crew-portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .crew-portraits figcaption { font-size: 8px; }
  .vision-grid figure { grid-row: 1; }
  .vision-copy { align-items: center; flex-direction: row; }
  .vision-photo { aspect-ratio: 1.5; }
  .footer { flex-wrap: wrap; }
  .footer div { order: 3; width: 100%; }
}
@media (max-width: 350px) {
  .project-grid, .crew-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img, .round, nav a, .tools button { transition: none; }
}

.cover { position: relative; }
.cover-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .32s ease, transform .4s ease;
}
.cover-slide.is-current { opacity: 1; }
.cover-slide:not(:first-child) { object-position: center 48%; }
.slide-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border: 1px solid #f8f6f280;
  background: #100606df;
  color: var(--ink);
  font-size: 11px;
}
.ruled.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}
.ruled.reveal-ready {
  transition: opacity .55s ease, transform .55s ease;
}
@media (prefers-reduced-motion: reduce) {
  .cover-slide, .ruled.reveal-ready { transition: none; }
  .ruled.reveal-pending { opacity: 1; transform: none; }
}
