@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-italic.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "DM Mono";
  src: url("./assets/dm-mono-400.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "DM Mono";
  src: url("./assets/dm-mono-500.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
}
:root {
  --paper: #f7f5f1;
  --white: #fff;
  --ink: #171411;
  --brown: #74462f;
  --muted: #6a6056;
  --pale: #eee9e2;
  --rule: #cfc6bb;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", "Courier New", monospace;
  --text-body: 1.125rem;
  --text-control: 1rem;
  --text-meta: .9375rem;
  --text-note: .875rem;
  --title-role: 2.25rem;
  --title-location: 3.25rem;
  --title-section: clamp(3rem, 4.5vw, 4rem);
  --gutter: clamp(24px, 5vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: var(--text-body)/1.65 var(--mono);
  scrollbar-color: var(--brown) var(--pale);
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
::selection { background: var(--brown); color: var(--white); }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 5px; }
.spontaneous :focus-visible { outline-color: var(--white); }
a, button { touch-action: manipulation; }
a:hover { text-decoration-thickness: 1px; text-underline-offset: 5px; }
em { color: var(--brown); font-weight: 400; }
button:disabled { cursor: not-allowed; opacity: .55; }
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 12px;
  background: var(--paper);
  z-index: 10;
}
.skip:focus { transform: none; }
.topline {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px var(--gutter);
  background: var(--brown);
  color: var(--white);
  font-size: var(--text-note);
  line-height: 1.5;
  text-align: center;
}
.header {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  padding: 20px var(--gutter);
}
.brand { flex-shrink: 0; }
.brand img { width: 184px; height: auto; }
.header-label {
  border-left: 1px solid var(--rule);
  padding-left: 24px;
  font-size: var(--text-meta);
  white-space: nowrap;
}
.header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
  font-size: var(--text-control);
  line-height: 1.4;
}
.header nav a { padding-block: 12px; }
.header nav a:hover, .store-link:hover, .footer-top > a:last-child:hover { text-decoration: underline; }
.store-link {
  display: flex;
  gap: 12px;
  align-items: center;
  border-left: 1px solid var(--rule);
  padding: 12px 0 12px 24px;
  font-size: var(--text-meta);
  white-space: nowrap;
}
.store-link svg { width: 20px; height: 20px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  padding: 64px var(--gutter) 68px;
}
.hero-copy { padding-top: 6px; }
.hero h1 {
  font: clamp(4.5rem, 7.5vw, 6rem)/1 var(--serif);
  letter-spacing: -.025em;
  margin-bottom: 28px;
}
.hero-copy > p:first-of-type { max-width: 42ch; font-size: 1.25rem; line-height: 1.6; }
.hero-description { max-width: 48ch; color: var(--muted); margin-top: 20px; }
.button {
  min-height: 56px;
  padding: 16px 22px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--brown);
  font-size: var(--text-control);
  line-height: 1.5;
  font-weight: 500;
  transition: background-color .18s, color .18s;
}
.button.primary { background: var(--brown); color: var(--white); }
.button.primary:hover { background: #59341f; }
.button.outline:hover { background: var(--brown); color: var(--white); }
.hero .button { margin-top: 30px; }
.hero-photo { min-width: 0; display: flex; flex-direction: column; }
.hero-photo img { width: 100%; height: 100%; min-height: 420px; max-height: 540px; object-fit: cover; object-position: 45% center; }
.hero-photo figcaption { font-size: var(--text-note); line-height: 1.5; color: var(--muted); padding-top: 14px; }
.opportunities { padding: 60px var(--gutter) 0; border-top: 1px solid var(--rule); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.section-heading h2 { font: var(--title-section)/1.08 var(--serif); letter-spacing: -.02em; }
.section-heading > p { font-size: var(--text-control); line-height: 1.6; color: var(--muted); max-width: 31ch; padding-bottom: 4px; }
.filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; border-bottom: 1px solid var(--rule); padding-bottom: 28px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1px solid var(--rule); background: transparent; min-height: 48px; padding: 12px 18px; font-size: var(--text-control); line-height: 1.4; transition: background-color .18s; }
.filter.active { background: var(--brown); color: var(--white); border-color: var(--brown); }
.filter:not(.active):hover { background: var(--pale); }
.results { font-size: var(--text-note); color: var(--muted); }
.location { display: grid; grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr); gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--rule); }
.location-intro { display: flex; flex-direction: column; align-items: flex-start; }
.location-meta { font-size: var(--text-meta); line-height: 1.6; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.location-meta svg { height: 19px; width: 19px; margin-top: 3px; }
.location h3 { font: var(--title-location)/1.1 var(--serif); letter-spacing: -.02em; }
.location-index { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: var(--text-meta); color: var(--brown); }
.location-index:before { content: ''; width: 28px; height: 1px; background: var(--brown); flex-shrink: 0; }
.job-list { list-style: none; padding: 0; margin: 0; min-width: 0; }
.job-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 124px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.job-row > span:first-child { min-width: 0; }
.job-list li:first-child .job-row { padding-top: 0; min-height: 100px; }
.job-list li:last-child .job-row { border-bottom: 0; padding-bottom: 0; min-height: 100px; }
.job-name { display: block; font: var(--title-role)/1.15 var(--serif); text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
.job-category { display: block; color: var(--muted); font-size: var(--text-meta); line-height: 1.6; margin-top: 8px; }
.job-action { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.job-status { color: var(--brown); font-size: var(--text-note); line-height: 1.5; border: 1px solid #bfa896; padding: 4px 9px; white-space: nowrap; }
.arrow { display: grid; place-items: center; width: 44px; height: 44px; transition: background-color .18s, color .18s; }
.job-row:hover .arrow { background: var(--brown); color: var(--white); }
.job-row:hover .job-name { color: var(--brown); }
.shared { display: grid; grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr); gap: 36px; margin: 40px 0 64px; padding: 36px; background: var(--pale); }
.shared-intro h3 { font: 2.5rem/1.1 var(--serif); }
.shared-intro p { font-size: var(--text-control); line-height: 1.6; color: var(--muted); margin-top: 18px; max-width: 26ch; }
.shared-job { display: flex; align-items: center; min-width: 0; }
.shared-job .job-row { width: 100%; border: 0; min-height: 110px; }
.spontaneous { background: var(--brown); color: var(--white); padding: 60px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.spontaneous h2 { font: var(--title-section)/1.06 var(--serif); letter-spacing: -.02em; }
.spontaneous em { color: #e7d2bf; }
.spontaneous p { line-height: 1.7; margin-top: 24px; max-width: 48ch; color: #f0e6dc; }
.spontaneous .button { color: var(--white); border-color: #c9a38a; flex-shrink: 0; }
.spontaneous .button:hover { background: var(--paper); color: var(--brown); }
.process { padding: 64px var(--gutter); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; }
.steps li { display: flex; gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.step-index { font-size: var(--text-control); color: var(--brown); padding-top: 5px; }
.steps h3 { font: 2rem/1.2 var(--serif); margin-bottom: 16px; text-wrap: pretty; }
.steps p { font-size: var(--text-body); line-height: 1.65; color: var(--muted); max-width: 42ch; }
.footer-top { padding: 44px var(--gutter); border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-top img { width: 200px; height: auto; }
.footer-top p { font-size: var(--text-control); color: var(--muted); }
.footer-top > a:last-child { display: flex; gap: 20px; align-items: center; font-size: var(--text-control); padding-block: 10px; }
.footer-top > a:last-child svg { width: 22px; }
.footer-bottom { margin: 0 var(--gutter); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; padding: 24px 0 30px; font-size: var(--text-note); color: var(--muted); }
.detail { padding: 40px var(--gutter) 64px; border-bottom: 1px solid var(--rule); }
.back { display: inline-flex; gap: 12px; align-items: center; font-size: var(--text-control); color: var(--brown); padding-block: 10px; margin-bottom: 32px; }
.back svg { transform: rotate(180deg); width: 22px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 350px); gap: clamp(36px, 6vw, 88px); }
.detail h1 { font: clamp(3.25rem, 6vw, 4.75rem)/1.06 var(--serif); letter-spacing: -.02em; max-width: 800px; margin: 18px 0 28px; overflow-wrap: anywhere; hyphens: auto; }
.detail-lead { max-width: 60ch; line-height: 1.75; }
.detail h2 { font: 2.5rem/1.15 var(--serif); margin: 40px 0 20px; }
.detail ul { padding-left: 24px; max-width: 60ch; line-height: 1.75; }
.detail li + li { margin-top: 14px; }
.detail > .button { margin-top: 28px; }
.role-summary { background: var(--pale); padding: 30px; align-self: start; }
.role-summary dl { margin: 24px 0 28px; font-size: var(--text-control); }
.role-summary dt { color: var(--muted); margin-top: 20px; font-size: var(--text-meta); }
.role-summary dd { margin: 6px 0 0; }
.role-summary h2 { margin: 0; font: 2.125rem/1.15 var(--serif); }
.role-summary p { font-size: var(--text-meta); line-height: 1.75; color: var(--muted); margin-top: 22px; }
.role-summary .button { width: 100%; gap: 12px; }
.detail .suggested { font-size: var(--text-meta); line-height: 1.75; color: var(--muted); margin-top: 32px; max-width: 60ch; }
.location-options { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.location-options .button { gap: 14px; }
.location-options .button[aria-current=true] { background: var(--brown); color: var(--white); }
@media (min-width: 1600px) {
  main, footer, .header { max-width: 1600px; margin-inline: auto; }
}
@media (max-width: 1250px) {
  .store-link { display: none; }
  .header { gap: 20px; }
  .hero { gap: 36px; }
  .location, .shared { grid-template-columns: minmax(200px, .4fr) minmax(0, 1fr); gap: 32px; }
  .job-status .status-prefix { display: none; }
  .job-status { text-transform: capitalize; }
  .job-action { gap: 10px; }
  .shared { padding: 28px; }
}
@media (max-width: 950px) {
  .header { flex-wrap: wrap; }
  .header-label { margin-left: auto; border: 0; padding: 0; }
  .header nav { width: 100%; margin: 0; padding-top: 8px; border-top: 1px solid var(--rule); gap: 8px 28px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px; }
  .hero-copy > p:first-of-type, .hero-description { max-width: 60ch; }
  .hero h1 { font-size: 5rem; }
  .hero-photo img { min-height: 0; height: 340px; max-height: none; }
  .hero-photo { max-width: none; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; max-width: 50ch; }
  .filterbar { flex-direction: column; align-items: flex-start; gap: 20px; }
  .location, .shared { grid-template-columns: minmax(0, 1fr); }
  .location-intro { gap: 0; }
  .location-index { margin-top: 16px; }
  .shared-intro p { max-width: 100%; }
  .shared-intro h3 br { display: none; }
  .shared .job-row { padding-bottom: 0; }
  .spontaneous { align-items: flex-start; flex-direction: column; gap: 28px; }
  .spontaneous .button { flex-shrink: 1; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps h3 { margin-bottom: 12px; }
  .steps p { max-width: 65ch; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .detail-lead, .detail ul { max-width: 65ch; }
  .role-summary { width: 100%; max-width: 680px; }
  .role-summary .button { max-width: 340px; }
  .footer-top { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  :root { --text-body: 1.0625rem; --text-meta: .875rem; --title-role: 2rem; --title-location: 2.75rem; --title-section: 2.875rem; }
  .topline { font-size: var(--text-note); }
  .header { padding-block: 18px; gap: 16px; }
  .brand img { width: 148px; }
  .header-label { max-width: 11ch; white-space: normal; text-align: right; font-size: var(--text-note); line-height: 1.5; }
  .header nav { gap: 4px 20px; font-size: .9375rem; }
  .hero { padding-block: 36px; gap: 30px; }
  .hero h1 { font-size: clamp(3.5rem, 16vw, 4.5rem); margin-bottom: 24px; }
  .hero-copy > p:first-of-type { font-size: 1.125rem; }
  .hero-description { margin-top: 18px; }
  .hero .button { margin-top: 26px; }
  .hero-photo img { height: 260px; object-position: 45% 60%; }
  .hero-photo figcaption { padding-top: 12px; }
  .button { padding: 15px 18px; gap: 20px; max-width: 100%; }
  .opportunities { padding-top: 38px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { text-wrap: pretty; }
  .section-heading > p { margin-top: 16px; }
  .filters { gap: 8px; }
  .filter { padding: 12px 14px; }
  .filterbar { padding-bottom: 24px; }
  .location { padding-block: 32px; gap: 28px; }
  .location-meta { margin-bottom: 10px; }
  .location-index { margin-top: 14px; }
  .job-row { min-height: 124px; padding-block: 24px; gap: 14px; }
  .job-list li:first-child .job-row { min-height: 100px; }
  .job-list li:last-child .job-row { min-height: 100px; }
  .job-category { margin-top: 7px; }
  .job-status { display: none; }
  .job-action { gap: 0; }
  .shared { margin: 32px 0 40px; padding: 24px; gap: 20px; }
  .shared-intro h3 { font-size: 2.125rem; }
  .shared-intro p { margin-top: 16px; }
  .shared .job-row { padding-top: 0; }
  .shared .job-name { font-size: 1.875rem; text-wrap: pretty; }
  .spontaneous { padding-block: 40px; }
  .spontaneous p { margin-top: 20px; }
  .process { padding-block: 40px; }
  .steps { gap: 26px; }
  .steps li { gap: 16px; padding-top: 22px; }
  .steps h3 { font-size: 1.875rem; }
  .footer-top { padding-block: 32px; gap: 24px; }
  .footer-top img { width: 170px; }
  .footer-top > a:last-child { width: 100%; justify-content: space-between; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .detail { padding-top: 24px; padding-bottom: 40px; }
  .back { margin-bottom: 24px; }
  .detail h1 { font-size: clamp(2.5rem, 11vw, 3.25rem); text-wrap: pretty; }
  .detail h2 { font-size: 2.125rem; margin-top: 32px; }
  .role-summary { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
