/* Bloomsbury Pulse — editorial creative-careers platform */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --paper:   #F4F1EA;
  --paper-2: #FBF9F4;
  --cream:   #EAE6D6;
  --ink:     #1A1814;
  --ink-2:   #3A352D;
  --muted:   #6B655A;
  --muted-2: #948B7C;
  --hair:    #D9D2C4;
  --hair-2:  #E6E0D2;
  /* Accents — olive (primary, for italic display), blush (secondary, for dots / separators / hovers) */
  --olive:   #9C9152;
  --olive-2: #7E7440;
  --blush:   #E4C8CC;
  --blush-2: #C9A6AC;
  /* Legacy alias — preserved so existing rules keep working. Maps to olive. */
  --oxblood: #9C9152;
  --oxblood-2: #7E7440;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Geist", "Söhne", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  --max: 1440px;
  --gutter: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button { font-family: inherit; cursor: pointer; }

/* ------- Layout primitives ------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.hair {
  height: 1px;
  background: var(--hair);
  border: 0;
  margin: 0;
}

.hair-thick {
  height: 1px;
  background: var(--ink);
  border: 0;
  margin: 0;
}

/* ------- Type ------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.serif       { font-family: var(--serif); font-weight: 400; }
.serif-it    { font-family: var(--serif); font-style: italic; font-weight: 400; }

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.h-display .it {
  font-style: italic;
  color: var(--oxblood);
}

.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.015em;
}

.h-card {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.body-l {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.mono { font-family: var(--mono); }

/* ------- Top nav ------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--hair);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blush);
  border-radius: 999px;
  transform: translateY(-3px);
}
.brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--hair);
  padding-left: 10px;
  margin-left: 4px;
  align-self: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--oxblood); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}
.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta:hover { background: var(--oxblood); border-color: var(--oxblood); }

/* ------- Buttons ------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ------- Hero ------- */

.hero {
  padding: clamp(64px, 12vw, 160px) 0 clamp(48px, 8vw, 120px);
  position: relative;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-meta .eyebrow span {
  display: inline-block;
  margin-right: 16px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 13vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 400;
}
.hero-title .row1, .hero-title .row2 {
  display: block;
}
.hero-title .it {
  font-style: italic;
  color: var(--oxblood);
}
.hero-foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  align-items: end;
}
.hero-foot .lede {
  grid-column: 1 / span 2;
  max-width: 640px;
}
.hero-foot .actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: end;
  flex-wrap: wrap;
}

/* ------- Marquee ------- */

.marquee {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marq 60s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee-track span.sep {
  color: var(--blush-2);
}
@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------- Section heading ------- */

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head .label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--blush-2);
}
.section-head .more {
  justify-self: end;
}

/* ------- Featured opportunities (list) ------- */

.feat {
  border-top: 1px solid var(--ink);
}
.feat-row {
  display: grid;
  grid-template-columns: 80px 1.6fr 1fr 0.7fr 0.7fr 36px;
  gap: 24px;
  align-items: center;
  padding: 28px 12px;
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
  cursor: pointer;
}
.feat-row:hover {
  background: var(--paper-2);
  padding-left: 24px;
  padding-right: 24px;
}
.feat-row .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.feat-row .role {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.feat-row .role .studio {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 8px;
  font-style: normal;
}
.feat-row .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.feat-row .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--hair);
  padding: 6px 10px;
  width: max-content;
  color: var(--ink-2);
}
.feat-row .deadline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.feat-row .deadline strong {
  color: var(--oxblood);
  font-weight: 500;
}
.feat-row .open {
  text-align: right;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.feat-row:hover .open { transform: translateX(4px); color: var(--oxblood); }

/* ------- Categories ------- */

.cats {
  background: var(--paper-2);
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--hair);
}
.cat {
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  position: relative;
  background: var(--paper-2);
  transition: background 0.4s var(--ease);
  cursor: pointer;
}
.cat:hover { background: var(--paper); }
.cat .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cat .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.cat .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
.cat .name {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-top: auto;
}
.cat:hover .name { font-style: italic; color: var(--oxblood); }
.cat .name { transition: color 0.3s var(--ease); }
.cat .desc {
  font-size: 13px;
  color: var(--muted);
  max-width: 22ch;
  line-height: 1.4;
}

/* ------- Why ------- */

.why {
  padding: clamp(80px, 10vw, 140px) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-points {
  display: flex;
  flex-direction: column;
}
.why-point {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
}
.why-point:last-child { border-bottom: 1px solid var(--hair); }
.why-point .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.why-point h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  line-height: 1.1;
}
.why-point p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 48ch;
}

.why-aside {
  position: sticky;
  top: 90px;
}
.why-aside .lede { max-width: 28ch; }

/* ------- Quote slab ------- */

.quote-slab {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--ink);
  color: var(--paper);
}
.quote-slab .wrap > .eyebrow { color: var(--muted-2); }
.quote-slab .q {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 32px 0 40px;
  max-width: 22ch;
  font-weight: 400;
}
.quote-slab .q em { color: var(--blush); }
.quote-slab .cite {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.quote-slab .cite strong { color: var(--paper); font-weight: 500; }

/* ------- Newsletter ------- */

.news {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--hair);
}
.news-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
}
.news h2 {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 400;
}
.news h2 .it { font-style: italic; color: var(--oxblood); }
.news form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ink);
  margin-top: 32px;
}
.news input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 0;
  color: var(--ink);
  outline: none;
}
.news input::placeholder { color: var(--muted); }
.news button {
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 0 14px 16px;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.news button:hover { color: var(--oxblood); }
.news .fine {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 16px;
}
.news-aside {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.6;
}
.news-aside .stat {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}
.news-aside .stat:last-child { border-bottom: 1px solid var(--hair); }
.news-aside .stat strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ------- Footer ------- */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
}
.foot .top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid #2A2620;
}
.foot .brand {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.foot .brand .it { font-style: italic; color: var(--blush); }
.foot h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  margin: 0 0 20px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot ul a {
  font-size: 14px;
  color: var(--paper);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.foot ul a:hover { opacity: 1; color: var(--blush); }
.foot .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 16px;
}
.foot .bottom .right { display: flex; gap: 24px; }

/* ------- Listings page ------- */

.page-head {
  padding: clamp(72px, 9vw, 140px) 0 56px;
}
.page-head .meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 400;
}
.page-head h1 .it { font-style: italic; color: var(--oxblood); }
.page-head p.lede {
  max-width: 38ch;
  margin: 32px 0 0;
}

.toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 64px;
  z-index: 40;
  background: var(--paper);
}
.toolbar .cell {
  padding: 18px 20px;
  border-right: 1px solid var(--hair);
  display: flex;
  align-items: center;
  gap: 12px;
}
.toolbar .cell:last-child { border-right: 0; }
.toolbar .cell label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.toolbar input, .toolbar select {
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  cursor: pointer;
}
.toolbar input { cursor: text; }
.toolbar select { appearance: none; padding-right: 18px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%231A1814' fill='none' stroke-width='1'/></svg>"); background-repeat: no-repeat; background-position: right center; }

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}
.filterbar .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--ink-2);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.results-meta {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.results-meta .count strong { color: var(--ink); font-weight: 500; }

/* Listings rows */
.listings {
  border-top: 1px solid var(--ink);
}
.listing {
  display: grid;
  grid-template-columns: 80px 2fr 1.2fr 1fr 0.9fr 0.9fr 36px;
  gap: 24px;
  align-items: center;
  padding: 28px 12px;
  border-bottom: 1px solid var(--hair);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
  cursor: pointer;
}
.listing:hover {
  background: var(--paper-2);
  padding-left: 24px;
}
.listing .num { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.listing .role {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.listing .role .studio {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.listing .col { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.listing .col .small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; letter-spacing: 0.08em; }
.listing .deadline { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.listing .deadline strong { color: var(--oxblood); font-weight: 500; display: block; }
.listing .deadline.soon strong { color: var(--oxblood); }
.listing .open { text-align: right; font-family: var(--mono); font-size: 18px; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.listing:hover .open { transform: translateX(4px); color: var(--oxblood); }

.empty {
  padding: 80px 24px;
  text-align: center;
  border-bottom: 1px solid var(--hair);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
}

/* ------- Job detail page ------- */

.job-head {
  padding: clamp(64px, 9vw, 140px) 0 56px;
}
.job-crumb {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
}
.job-crumb a { color: var(--muted); }
.job-crumb a:hover { color: var(--ink); }

.job-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 24px 0;
  margin-bottom: 48px;
}
.job-meta .it {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.job-meta .it .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.job-meta .it .v {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.job-meta .it .v.deadline-soon { color: var(--oxblood); font-style: italic; }

.job-h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 400;
}
.job-h1 .it { font-style: italic; color: var(--oxblood); }
.job-studio {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.job-logo {
  width: 56px;
  height: 56px;
  border: 1px solid var(--hair);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 24px;
  background: var(--paper-2);
}
.job-studio .name {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.job-studio .where {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.job-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 48px 0 80px;
}
.job-body .side {
  position: sticky;
  top: 96px;
  align-self: start;
}
.side-card {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.side-card .row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  gap: 16px;
}
.side-card .row .k { color: var(--muted); }
.side-card .apply { margin-top: 24px; width: 100%; justify-content: center; }
.side-card .share {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-card .share a:hover { color: var(--ink); }

.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 64ch;
}
.prose h2 {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 56px 0 16px;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .it { font-style: italic; color: var(--oxblood); }
.prose p { margin: 0 0 16px; }
.prose ul {
  padding: 0;
  list-style: none;
  margin: 0 0 24px;
}
.prose ul li {
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--oxblood);
}
.prose ul li:first-child { border-top: 1px solid var(--hair); }

.related {
  background: var(--paper-2);
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--hair);
}

/* ------- Admin page ------- */

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 64px);
}
.admin-side {
  background: var(--paper-2);
  border-right: 1px solid var(--hair);
  padding: 32px 24px;
}
.admin-side h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 24px 0 12px;
  font-weight: 400;
}
.admin-side a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.admin-side a.active {
  color: var(--oxblood);
  font-style: italic;
  font-family: var(--serif);
  font-size: 17px;
}
.admin-side .count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.admin-main {
  padding: 40px 48px;
}
.admin-main .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-main h1 {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 400;
}
.admin-main h1 .it { font-style: italic; color: var(--oxblood); }
.admin-table {
  border-top: 1px solid var(--ink);
}
.admin-row {
  display: grid;
  grid-template-columns: 32px 2fr 1.4fr 1fr 1fr 110px 80px;
  gap: 16px;
  align-items: center;
  padding: 18px 12px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.admin-row.head { color: var(--muted); padding-top: 12px; padding-bottom: 12px; }
.admin-row:hover:not(.head) { background: var(--paper-2); }
.admin-row .role-cell {
  font-family: var(--serif);
  font-size: 20px;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.admin-row .role-cell .s { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.admin-row .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 10px;
}
.admin-row .pill.published { color: #1f6e2f; border-color: #c9d8c4; background: #ecf3e8; }
.admin-row .pill.draft { color: var(--muted); }
.admin-row .pill.featured { color: var(--olive-2); border-color: var(--blush-2); background: var(--blush); }
.admin-row .actions { display: flex; gap: 4px; justify-content: flex-end; }
.admin-row .ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.admin-row .ico:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.editor {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-top: 24px;
}
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field .help { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); margin-top: 6px; }
.field .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.editor-side {
  border-left: 1px solid var(--hair);
  padding-left: 32px;
}
.editor-side h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 400;
}
.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.toggle:first-of-type { border-top: 1px solid var(--hair); }
.toggle .lbl { font-size: 14px; }
.switch {
  width: 36px; height: 20px;
  border-radius: 999px;
  background: var(--hair);
  position: relative;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.switch::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--paper);
  top: 2px; left: 2px;
  transition: transform 0.25s var(--ease);
}
.switch.on { background: var(--oxblood); }
.switch.on::after { transform: translateX(16px); }

/* ------- Logo placeholder swatches ------- */

.logo {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  background: var(--paper-2);
  border: 1px solid var(--hair);
  width: 48px;
  height: 48px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo.lg { width: 96px; height: 96px; font-size: 40px; }

/* ------- Reveal animation ------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ------- Responsive ------- */

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot .lede { grid-column: 1; }
  .hero-foot .actions { justify-content: flex-start; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .more { justify-self: start; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .news-inner, .job-body, .editor, .admin-shell { grid-template-columns: 1fr; }
  .why-aside { position: static; margin-bottom: 16px; }
  .admin-side { border-right: 0; border-bottom: 1px solid var(--hair); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .cell { border-bottom: 1px solid var(--hair); }
  .feat-row { grid-template-columns: 50px 1fr 36px; }
  .feat-row .meta, .feat-row .tag, .feat-row .deadline { display: none; }
  .listing { grid-template-columns: 40px 1fr 36px; }
  .listing .col, .listing .deadline { display: none; }
  .foot .top { grid-template-columns: 1fr 1fr; }
  .job-meta { grid-template-columns: 1fr 1fr; }
  .admin-row { grid-template-columns: 1fr 100px; font-size: 10px; }
  .admin-row > *:nth-child(3), .admin-row > *:nth-child(4), .admin-row > *:nth-child(5), .admin-row > *:nth-child(6) { display: none; }
}

@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
  .foot .top { grid-template-columns: 1fr; }
}
