/* APEX Journal stylesheet — formatted for easy editing */

:root {
  color-scheme: dark;
  --serif: "Bodoni Moda",Didot,"Bodoni 72",Georgia,serif;
  --sans: Archivo,"Helvetica Neue",Arial,sans-serif;
  --ink: #f1efea;
  --green: #1d2228;
  --lime: #dbad72;
  --paper: #15181c;
  --muted: #b0b5bd;
  --line: #383e46;
  --panel: #1c2026;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 6px;
}

header {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 5%;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 52px;
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -2px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  line-height: 1;
}

.brand span {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 500;
  writing-mode: vertical-rl;
  color: var(--lime);
}

.header-note {
  font-size: 12px;
  letter-spacing: 2px;
  margin-left: auto;
  color: var(--muted);
}

.about-link {
  font-size: 14px;
  padding: 10px 0 10px 30px;
  border-left: 1px solid var(--line);
}

.main-nav {
  display: flex;
  gap: 34px;
  margin: 0 5%;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  flex-wrap: wrap;
  color: #c7cbd0;
}

.main-nav a:hover,
.main-nav [aria-current] {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 9px;
}

.edition {
  margin: 0 5%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 28px 0;
  color: var(--muted);
}

.hero {
  margin: 0 5%;
  display: flex;
  flex-direction: column;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 35px;
  align-items: center;
  padding: 18px 0 40px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 1.8px;
  display: block;
  color: var(--lime);
  line-height: 1.6;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(62px,7.9vw,126px);
  letter-spacing: -.025em;
  line-height: 1.02;
  margin: 26px 0 6px;
  font-weight: 600;
}

.hero h1 em {
  font-weight: 400;
  color: var(--lime);
}

.hero-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--lime);
  color: #1b1b1c;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s;
}

.button:hover {
  background: #f2c994;
}

.button span {
  font-size: 23px;
}

.hero-meta {
  display: block;
  font-size: 10px;
  letter-spacing: .6px;
  line-height: 1.7;
  margin-top: 14px;
  color: var(--muted);
}

.hero-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.35;
  background: var(--panel);
}

.hero-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 57%;
  display: block;
  transition: transform .6s;
}

.hero-image:hover img {
  transform: scale(1.015);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 28px 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: white;
  background: linear-gradient(transparent,#101318dc);
  pointer-events: none;
}

.cover-credit {
  font-size: 12px;
  margin: 12px 5%;
  color: var(--muted);
  line-height: 1.5;
}

.cover-credit a:hover,
.card-credit a:hover,
figcaption a:hover {
  text-decoration: underline;
}

.manifesto {
  margin: 30px 5% 0;
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto>span:first-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--lime);
}

.manifesto p {
  font-family: var(--serif);
  font-size: 21px;
  margin: 0;
  color: #d3d4d5;
}

.manifesto-star {
  font-size: 32px;
  margin-left: auto;
  color: var(--lime);
}

.stories {
  margin: 70px 5% 80px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 9px 0 0;
}

.text-link {
  font-size: 14px;
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 5px;
  line-height: 1.8;
  flex-shrink: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px;
}

.story-grid:has(>.story-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.story-card {
  min-width: 0;
  background: var(--panel);
  padding: 0 24px 22px;
  border: 1px solid #30353d;
  transition: border-color .2s;
}

.story-card:hover {
  border-color: #76634e;
}

.card-photo {
  aspect-ratio: 1.6;
  display: block;
  overflow: hidden;
  position: relative;
  background: #262c34;
  margin: 0 -24px;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.card-photo:hover img {
  transform: scale(1.03);
}

.photo-category {
  position: absolute;
  left: 15px;
  bottom: 14px;
  background: #15181cf0;
  color: #e8c394;
  padding: 7px 10px;
  font-size: 12px;
  letter-spacing: .5px;
  border: 1px solid #6c6256;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 23px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--lime);
}

.card-meta span:last-child {
  color: var(--muted);
}

.story-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -.5px;
  margin: 15px 0;
}

.story-card h3 span {
  font-family: var(--sans);
  font-size: 19px;
  color: var(--lime);
}

.story-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.story-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.card-credit {
  font-size: 12px;
  line-height: 1.6;
  color: #9fa6af;
  margin-top: 21px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.wide-feature {
  display: grid;
  grid-template-columns: 58% 42%;
  background: #22262c;
  color: var(--ink);
  margin: 0 5%;
  border: 1px solid var(--line);
}

.wide-photo {
  min-height: 460px;
  position: relative;
}

.wide-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.wide-copy {
  padding: 46px 38px;
}

.wide-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 49px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 25px 0;
}

.wide-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.wide-copy small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 30px;
}

.editor-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 70px;
  background: #202329;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 8%;
}

.editor-note>.eyebrow {
  grid-column: 1/-1;
}

.editor-note h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0;
}

.editor-note p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
}

footer {
  margin: 0 5%;
  padding: 50px 0 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
}

footer p {
  font-family: var(--serif);
  font-size: 24px;
  margin: 20px 0 0;
  line-height: 1.7;
}

.footer-purpose {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 18px 25px;
  font-size: 14px;
  line-height: 1.6;
  color: #c8cbd0;
}

footer a:hover:not(.brand) {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer small {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.back-top {
  text-align: right;
  font-size: 14px;
  color: var(--lime);
}

.skip {
  position: absolute;
  left: 10px;
  top: -80px;
  background: var(--lime);
  color: #15181c;
  padding: 15px;
  z-index: 10;
}

.skip:focus {
  top: 10px;
}

.listing {
  margin: 0 5% 80px;
}

.listing-head {
  padding: 65px 0 50px;
  max-width: 960px;
}

.listing-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px,6vw,80px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 26px 0;
}

.listing-head>p {
  font-size: 21px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 0;
}

.article {
  max-width: 1340px;
  margin: auto;
  padding: 32px 5% 0;
}

.breadcrumb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: var(--lime);
}

.article-head {
  max-width: 930px;
  margin: 55px auto 40px;
}

.article-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px,6vw,78px);
  line-height: 1.07;
  letter-spacing: -2px;
  margin: 24px 0;
}

.dek {
  font-size: 23px;
  line-height: 1.6;
  color: #c7cbd1;
  font-weight: 400;
}

.byline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--muted);
}

figure {
  margin: 0 0 40px;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
}

.spec-panel {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  background: var(--panel);
  border: 1px solid #514738;
  padding: 29px;
}

.spec-panel span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--lime);
  margin-bottom: 12px;
}

.spec-panel strong {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 400;
}

.spec-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 14px 0 48px;
}

.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0,690px);
  justify-content: space-between;
  gap: 45px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 35px;
  padding-top: 12px;
}

.toc .eyebrow {
  margin-bottom: 22px;
}

.toc a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: var(--muted);
}

.toc a:hover {
  color: var(--lime);
}

.prose {
  min-width: 0;
}

.prose p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.85;
  font-variant-numeric: oldstyle-nums;
  margin: 21px 0;
  color: #d1d3d7;
}

.prose .intro {
  font-size: 26px;
  line-height: 1.6;
  margin-top: 0;
  color: var(--ink);
}

.prose h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.5px;
  line-height: 1.3;
  margin: 45px 0 13px;
  color: var(--ink);
}

.end-mark {
  font-size: 37px;
  padding: 20px 0;
  color: var(--lime);
}

.source-notes {
  border-top: 1px solid var(--line);
  padding: 5px 0 20px;
}

.source-notes h2 {
  font-size: 22px;
  margin-top: 25px;
}

.source-notes p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.source-notes ul {
  padding-left: 20px;
  line-height: 1.8;
  font-size: 14px;
  color: var(--muted);
}

.source-notes li {
  padding: 4px 0;
}

.source-notes a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related {
  border-top: 1px solid var(--line);
  margin: 65px 0;
  padding: 22px 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 32px;
}

.gallery figure {
  margin-bottom: 18px;
}

.gallery h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.4px;
  margin: 15px 0;
}

.gallery p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 70px;
  max-width: 1080px;
}

.about-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
}

.about-body p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted);
}

.licence-note {
  font-size: 17px;
  line-height: 1.85;
  max-width: 850px;
  margin: 0 0 40px;
  color: var(--muted);
}

.credit-item {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.credit-item img {
  width: 100%;
  height: auto;
}

.credit-item h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 12px;
}

.credit-item p {
  font-size: 16px;
  line-height: 1.7;
  margin: 7px 0;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.credit-item a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.credit-item small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.inline-photo {
  margin: 35px 0;
}

.inline-photo figcaption {
  font-family: var(--sans);
}

.faq-section {
  margin: 65px 5%;
}

.faq-list {
  max-width: 960px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 22px 4px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.faq-list summary::marker {
  color: var(--lime);
}

.faq-list details[open] summary {
  color: var(--lime);
}

.faq-list p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 25px;
  padding: 0 4px;
  max-width: 850px;
}

.faq-terms {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 25px;
  color: var(--muted);
}

.faq-terms a,
.terms-body a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-body {
  max-width: 850px;
}

.terms-body h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  margin: 35px 0 12px;
}

.terms-body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin: 14px 0;
}

.listing-head .terms-date {
  font-size: 14px;
  margin-top: 22px;
}

.terms-body section:first-child h2 {
  margin-top: 0;
}

@media(min-width:1600px) {
  header,
  .main-nav,
  .edition,
  .hero,
  .cover-credit,
  .manifesto,
  .stories,
  .wide-feature,
  .listing,
  footer,
  .faq-section {
    max-width: 1450px;
    margin-left: auto;
    margin-right: auto;
  }

}
@media(max-width:1100px) {
  .header-note {
    display: none;
  }

  .about-link {
    margin-left: auto;
  }

  .hero-copy {
    grid-template-columns: minmax(0,1fr) 260px;
    gap: 25px;
  }

  .hero h1 {
    font-size: 74px;
    letter-spacing: -.02em;
  }

  .main-nav {
    gap: 25px;
  }

  .wide-copy {
    padding: 32px;
  }

  .wide-copy h2 {
    font-size: 42px;
  }

  .article-layout {
    grid-template-columns: 165px minmax(0,690px);
    gap: 30px;
  }

  .spec-panel strong {
    font-size: 18px;
  }

  .manifesto {
    gap: 22px;
  }

  .story-grid {
    gap: 24px 20px;
  }

  .story-card {
    padding: 0 18px 20px;
  }

  .card-photo {
    margin: 0 -18px;
  }

  .story-card h3 {
    font-size: 25px;
  }

}
@media(max-width:760px) {
  header {
    min-height: 90px;
    padding: 19px 0;
    gap: 15px;
  }

  .brand {
    font-size: 41px;
  }

  .brand span {
    font-size: 10px;
  }

  .about-link {
    font-size: 12px;
    padding-left: 18px;
  }

  .main-nav {
    gap: 17px 24px;
    font-size: 14px;
    padding: 18px 0;
  }

  .edition {
    font-size: 10px;
    letter-spacing: .4px;
    line-height: 1.6;
    padding: 23px 0;
  }

  .hero-copy {
    display: block;
    padding: 10px 0 28px;
  }

  .hero h1 {
    font-size: clamp(53px,12.5vw,89px);
    letter-spacing: -.02em;
    margin: 21px 0 24px;
    line-height: 1.07;
  }

  .hero-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    align-items: center;
  }

  .hero-intro p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
  }

  .hero-intro .button {
    font-size: 13px;
    gap: 12px;
    padding: 13px 15px;
  }

  .hero-meta {
    grid-column: 1/-1;
    margin-top: 0;
    font-size: 10px;
  }

  .hero-image {
    aspect-ratio: 1.45;
  }

  .image-caption {
    font-size: 10px;
    padding: 35px 16px 17px;
  }

  .cover-credit {
    font-size: 12px;
  }

  .manifesto {
    flex-wrap: wrap;
    gap: 11px;
    padding: 20px 0;
    margin-top: 23px;
  }

  .manifesto p {
    font-size: 18px;
    line-height: 1.5;
    width: 100%;
  }

  .manifesto-star {
    display: none;
  }

  .stories {
    margin-top: 45px;
    margin-bottom: 50px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .section-heading .text-link {
    font-size: 13px;
    margin-top: 24px;
  }

  .story-grid,
  .story-grid:has(>.story-card:nth-child(2):last-child) {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-card {
    padding: 0 22px 23px;
  }

  .card-photo {
    margin: 0 -22px;
  }

  .story-card h3 {
    font-size: 29px;
  }

  .wide-feature {
    display: flex;
    flex-direction: column;
  }

  .wide-photo {
    min-height: 0;
    aspect-ratio: 1.5;
  }

  .wide-copy {
    padding: 32px 26px;
  }

  .wide-copy h2 {
    font-size: 43px;
  }

  .editor-note {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 42px 6%;
  }

  .editor-note h2 {
    font-size: 46px;
  }

  .editor-note p {
    font-size: 17px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 35px 0;
    gap: 25px;
  }

  .footer-links {
    justify-content: start;
  }

  .back-top {
    text-align: left;
  }

  .listing {
    margin-bottom: 50px;
  }

  .listing-head {
    padding: 40px 0 35px;
  }

  .listing-head h1 {
    font-size: 47px;
    letter-spacing: -1.5px;
  }

  .listing-head>p {
    font-size: 19px;
  }

  .article {
    padding-top: 23px;
  }

  .article-head {
    margin-top: 35px;
    margin-bottom: 20px;
  }

  .article-head h1 {
    font-size: 46px;
    letter-spacing: -1.5px;
  }

  .dek {
    font-size: 21px;
  }

  .byline {
    flex-direction: column;
    gap: 12px;
  }

  .spec-panel {
    grid-template-columns: 1fr 1fr;
    padding: 22px;
    gap: 28px 20px;
  }

  .article-layout {
    display: block;
  }

  .toc {
    position: static;
    padding: 0;
    margin: 0 0 35px;
  }

  .toc a {
    padding: 10px 0;
  }

  .toc .eyebrow {
    margin-bottom: 15px;
  }

  .prose p {
    font-size: 19px;
  }

  .prose .intro {
    font-size: 24px;
  }

  .prose h2 {
    font-size: 27px;
  }

  .related {
    margin-top: 40px;
  }

  .gallery,
  .about-body {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .credit-item {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .credit-item img {
    max-width: 500px;
  }

  .source-notes a {
    overflow-wrap: anywhere;
  }

  .spec-note {
    margin-bottom: 30px;
  }

  .about-body h2 {
    margin-top: 0;
  }

  .faq-list summary {
    font-size: 18px;
    padding: 18px 4px;
  }

  .faq-list p {
    font-size: 16px;
  }

  .terms-body h2 {
    font-size: 23px;
  }

  .faq-section {
    margin-top: 40px;
    margin-bottom: 45px;
  }

}
@media(max-width:420px) {
  .hero-intro {
    grid-template-columns: 1fr;
  }

  .hero-intro .button {
    max-width: 240px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .spec-panel {
    padding: 18px;
  }

  .spec-panel strong {
    font-size: 17px;
  }

}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none!important;
  }

}
img {
  max-width: 100%;
}

