:root {
  --deep: #0e1613;
  --forest: #2b3a34;
  --ivory: #f3f1ec;
  --stone: #c7b6a1;
  --charcoal: #22221f;
  --gold: #cdaa63;
  --gold-deep: #b8924a;
  --muted: #5c5a54;
  --line: #d9d2c6;
  --display: "Playfair Display", Georgia, serif;
  --sans: Inter, "Segoe UI", sans-serif;
  --text-display: clamp(2.35rem, 1.1rem + 3.6vw, 4.5rem);
  --text-h1: clamp(2.1rem, 1.1rem + 2.6vw, 4rem);
  --text-h2: clamp(1.75rem, 1rem + 1.8vw, 3rem);
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }

.jm-wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
@media (min-width: 1024px) { .jm-wrap { width: min(72rem, calc(100% - 4rem)); } }

.jm-kicker { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }
.jm-kicker--gold { color: var(--gold); }
.jm-lede { margin-top: 1.25rem; max-width: 32rem; line-height: 1.6; }
.jm-muted { color: var(--muted); }
.jm-stone { color: var(--stone); }
.jm-fine { margin-top: 1rem; font-size: 0.8rem; color: color-mix(in srgb, var(--stone) 80%, transparent); }

.jm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.5rem 1.25rem; border: 0; border-radius: 2px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
}
.jm-btn--gold { background: var(--gold); color: var(--deep); }
.jm-btn--gold:hover { background: var(--gold-deep); color: var(--ivory); }
.jm-textlink { color: color-mix(in srgb, var(--ivory) 85%, transparent); }
.jm-textlink:hover { color: var(--gold); }

.jm-header { background: var(--deep); color: var(--ivory); }
.jm-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; }
.jm-logo { font-family: var(--display); letter-spacing: 0.18em; text-transform: uppercase; font-size: 1.05rem; }
.jm-nav { display: none; gap: 0.25rem; }
.jm-nav a { padding: 0.5rem 0.75rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--ivory) 80%, transparent); }
.jm-nav a:hover { color: var(--gold); }
.jm-header .jm-btn { display: none; }
.jm-menu-toggle { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; color: var(--ivory); }
@media (min-width: 1024px) {
  .jm-nav, .jm-header .jm-btn { display: flex; }
  .jm-menu-toggle { display: none; }
}
.jm-mobile { display: none; border-top: 1px solid color-mix(in srgb, var(--ivory) 10%, transparent); padding: 1rem 1.25rem 1.25rem; }
.jm-mobile.is-open { display: flex; flex-direction: column; gap: 0.75rem; }
.jm-mobile a { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }

.jm-hero { background: var(--deep); color: var(--ivory); }
.jm-hero__grid { display: grid; }
@media (min-width: 1024px) { .jm-hero__grid { grid-template-columns: 1fr 1fr; max-width: 72rem; margin-inline: auto; } }
.jm-hero__copy { padding: 3.5rem 1.25rem; }
@media (min-width: 1024px) { .jm-hero__copy { padding: 6rem 2rem; } }
.jm-hero h1 { font-size: var(--text-display); line-height: 1.12; margin-top: 1.5rem; max-width: 36rem; }
.jm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.25rem; }
.jm-hero img { width: 100%; height: 22rem; object-fit: cover; object-position: center 18%; }
@media (min-width: 1024px) { .jm-hero img { height: 36rem; } }

.jm-band { background: var(--ivory); padding: 5rem 0; }
.jm-band--line { border-top: 1px solid var(--line); }
.jm-with-index { position: relative; }
.jm-index { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
@media (min-width: 1024px) {
  .jm-index { position: absolute; left: 0; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
  .jm-with-index > :not(.jm-index) { padding-left: 4rem; }
}
.jm-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .jm-split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.jm-split h2, .jm-band h2 { font-size: var(--text-h1); }
.jm-split img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }

.jm-grid-3, .jm-grid-2, .jm-grid-4 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .jm-grid-2, .jm-grid-3 { grid-template-columns: 1fr 1fr; } .jm-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .jm-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .jm-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .jm-themes { gap: 0; }
  .jm-themes article { padding: 0 2rem; text-align: center; }
  .jm-themes article + article, .jm-grid-4 article + article { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}
.jm-icon { width: 4rem; height: 4rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--stone) 70%, transparent); display: inline-flex; align-items: center; justify-content: center; color: var(--forest); margin-bottom: 1rem; }
.jm-themes h3, .jm-grid-4 h3 { font-size: 1.35rem; margin-top: 0.5rem; }
.jm-themes p, .jm-grid-4 p { margin-top: 0.75rem; font-size: 0.9rem; }
.jm-grid-4 a, .jm-row a { color: var(--forest); font-size: 0.9rem; display: inline-block; margin-top: 1rem; }
.jm-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; }
.jm-grid-3 img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.jm-grid-3 h3 { margin-top: 0.5rem; font-size: 1.25rem; }

.jm-guide { background: var(--forest); color: var(--ivory); padding: 4rem 0; }
.jm-guide__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .jm-guide__grid { grid-template-columns: 0.9fr 1.2fr 0.9fr; } }
.jm-guide img { max-height: 20rem; width: auto; margin-inline: auto; object-fit: contain; }
.jm-guide h2 { font-size: var(--text-h1); margin-top: 0.75rem; }
.jm-guide ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.jm-guide li { margin-top: 0.75rem; font-size: 0.9rem; padding-left: 1rem; position: relative; }
.jm-guide li::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 999px; position: absolute; left: 0; top: 0.55rem; }

.jm-about { background: var(--deep); color: var(--ivory); padding: 4rem 0; }
.jm-about__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .jm-about__grid { grid-template-columns: 0.9fr 1.1fr; } }
.jm-about img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.jm-about h2 { font-size: var(--text-h1); margin-top: 0.75rem; }
.jm-about ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.jm-about li { margin-top: 0.75rem; font-size: 0.9rem; padding-left: 1rem; position: relative; }
.jm-about li::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 999px; position: absolute; left: 0; top: 0.55rem; }

.jm-topics { margin: 1rem 0 0; padding: 0; list-style: none; color: var(--muted); }
.jm-topics li { margin-top: 0.5rem; font-size: 0.95rem; }

.jm-form { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .jm-form { flex-direction: row; } }
.jm-form input {
  height: 2.75rem; flex: 1; border: 0; border-radius: 2px; padding: 0 0.9rem; font: inherit;
  background: color-mix(in srgb, var(--deep) 40%, transparent); color: var(--ivory);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ivory) 22%, transparent);
}
.jm-form input::placeholder { color: color-mix(in srgb, var(--stone) 70%, transparent); }

.jm-footer { background: var(--deep); color: var(--ivory); }
.jm-footer__top { display: grid; gap: 2rem; padding: 4rem 0; }
@media (min-width: 1024px) { .jm-footer__top { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.jm-footer h2 { font-size: var(--text-h1); }
.jm-footer p { color: var(--stone); font-size: 0.9rem; }
.jm-legal { border-top: 1px solid color-mix(in srgb, var(--ivory) 10%, transparent); padding: 1.25rem 0; font-size: 0.75rem; color: var(--stone); display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: space-between; }

.jm-page { background: var(--ivory); padding: 4rem 0; }
.jm-page h1 { font-size: var(--text-h1); margin-top: 0.75rem; }
.jm-essay img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.jm-essay h2 { margin-top: 0.5rem; font-size: 1.5rem; }
