:root {
  --ozj-ink: #06121a;
  --ozj-panel: #0b1b25;
  --ozj-panel-2: #102632;
  --ozj-paper: #f5f2e9;
  --ozj-paper-2: #fffdf7;
  --ozj-line: rgba(219, 232, 241, 0.15);
  --ozj-teal: #31d8b6;
  --ozj-amber: #f5b44d;
  --ozj-coral: #ff6b4a;
  --ozj-blue: #4b7cff;
}

.blog .wp-site-blocks,
.single-post .wp-site-blocks,
.category .wp-site-blocks {
  background:
    radial-gradient(circle at 8% 4%, rgba(49,216,182,0.11), transparent 28rem),
    linear-gradient(180deg, #071017 0%, #0b1821 52%, #0a151d 100%);
}

.ozj-home,
.ozj-single,
.ozj-category {
  width: min(1500px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(5rem, 9vw, 9rem);
}

.ozj-masthead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
  min-height: min(48rem, calc(100vh - 6rem));
  border-bottom: 1px solid var(--ozj-line);
  padding: clamp(1.5rem, 5vw, 5rem) 0;
}

.ozj-masthead h1 {
  max-width: 11ch;
  margin: 0.9rem 0 1.2rem;
  color: #fffdf7;
  font-size: clamp(4rem, 7vw, 8.4rem);
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.ozj-masthead__copy > p:not(.oz-kicker) {
  max-width: 47rem;
  color: rgba(229,238,242,0.78);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.52;
}

.ozj-masthead__image {
  position: relative;
  min-height: 39rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(219,232,241,0.18);
  background: var(--ozj-panel);
  box-shadow: 0 3rem 8rem rgba(0,0,0,0.3);
}

.ozj-masthead__image::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,18,26,0.92) 100%);
  content: "";
  pointer-events: none;
}

.ozj-masthead__image img {
  width: 100%;
  height: 100%;
  min-height: 39rem;
  object-fit: cover;
}

.ozj-masthead__image picture { display: block; height: 100%; }

.ozj-masthead__image figcaption {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 1rem;
}

.ozj-masthead__image figcaption span {
  color: var(--ozj-teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ozj-masthead__image figcaption strong {
  justify-self: end;
  color: #fff;
  font-size: 0.9rem;
}

.ozj-hero-search {
  max-width: 47rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(49,216,182,0.28);
  padding: 0.85rem;
  background: rgba(7,16,23,0.66);
}

.ozj-hero-search label {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.ozj-hero-search > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 0.5rem;
}

.ozj-hero-search input,
.ozj-library__head input {
  min-width: 0;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(219,232,241,0.22);
  border-radius: 3px;
  padding: 0.72rem 0.82rem;
  background: #fffdf7;
  color: var(--ozj-ink);
  font: inherit;
}

.ozj-hero-search button,
.ozj-library__head button,
.ozj-share button {
  min-height: 50px;
  border: 1px solid var(--ozj-teal);
  border-radius: 3px;
  padding: 0.72rem 1rem;
  background: var(--ozj-teal);
  color: var(--ozj-ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ozj-masthead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.ozj-masthead__actions a,
.ozj-endcap > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid rgba(219,232,241,0.24);
  padding: 0.75rem 1rem;
  color: #fff !important;
  font-weight: 850;
  text-decoration: none;
}

.ozj-masthead__actions a:first-child {
  border-color: rgba(49,216,182,0.58);
  background: rgba(49,216,182,0.1);
}

.ozj-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  border: 1px solid var(--ozj-line);
  background: var(--ozj-line);
}

.ozj-stats > div {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 7rem;
  padding: 1.1rem;
  background: rgba(7,16,23,0.84);
}

.ozj-stats strong {
  color: #fff;
  font-size: clamp(2.2rem,4vw,4rem);
  line-height: 1;
}

.ozj-stats span {
  max-width: 13rem;
  color: rgba(219,232,241,0.62);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.ozj-paths {
  display: grid;
  grid-template-columns: minmax(0,0.82fr) repeat(4,minmax(0,1fr));
  gap: 1px;
  margin: clamp(3rem,7vw,7rem) 0;
  border: 1px solid var(--ozj-line);
  background: var(--ozj-line);
}

.ozj-paths__intro,
.ozj-path-card {
  min-height: 15rem;
  background: rgba(7,16,23,0.86);
}

.ozj-paths__intro { padding: clamp(1.1rem,2vw,1.5rem); }

.ozj-paths h2,
.ozj-desks h2,
.ozj-library__head h2,
.ozj-related > div:first-child h2,
.ozj-endcap h2,
.ozj-category-hero .wp-block-query-title {
  max-width: 14ch;
  margin: 0.6rem 0 0;
  color: #fffdf7;
  font-size: clamp(2.25rem,4.5vw,5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.ozj-paths h2 { font-size: clamp(2.25rem,3vw,3.3rem); line-height: 0.95; }

.ozj-path-card > a {
  display: block;
  min-height: 100%;
  box-sizing: border-box;
  padding: clamp(1.1rem,2vw,1.5rem);
  color: inherit;
  text-decoration: none;
  transition: background-color 170ms ease, transform 170ms ease;
}

.ozj-path-card > a:hover,
.ozj-path-card > a:focus-visible {
  background: rgba(49,216,182,0.09);
  transform: translateY(-3px);
}

.ozj-path-card > a > span:first-child,
.ozj-desk-card > a > span:first-child {
  color: var(--ozj-amber);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ozj-paths a > strong,
.ozj-desk-card > a > strong {
  display: block;
  margin-top: 1.4rem;
  color: #fff;
  font-size: clamp(1.35rem,2vw,1.9rem);
  line-height: 1.05;
}

.ozj-path-description,
.ozj-desk-description,
.ozj-desks__intro > p:not(.oz-kicker) {
  display: block;
  color: rgba(219,232,241,0.66);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ozj-desks {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  margin: clamp(3rem,7vw,7rem) 0;
  border: 1px solid var(--ozj-line);
  background: var(--ozj-line);
}

.ozj-desks__intro {
  grid-row: span 2;
  min-height: 27rem;
  padding: clamp(1.5rem,4vw,3rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(49,216,182,0.16), transparent 20rem),
    var(--ozj-panel);
}

.ozj-desk-card {
  min-height: 13rem;
  background: rgba(7,16,23,0.86);
}

.ozj-desk-card > a {
  display: flex;
  height: 100%;
  min-height: 13rem;
  box-sizing: border-box;
  flex-direction: column;
  padding: 1.3rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 170ms ease;
}

.ozj-desk-card > a:hover,
.ozj-desk-card > a:focus-visible { background: rgba(49,216,182,0.09); }
.ozj-desk-card > a > strong { margin-top: 0.7rem; }
.ozj-desk-description { margin-bottom: 1rem; }
.ozj-desk-card > a em { margin-top: auto; color: var(--ozj-teal); font-size: 0.78rem; font-style: normal; font-weight: 850; }

.ozj-promo {
  display: grid;
  grid-template-columns: auto minmax(0,1.2fr) minmax(0,1fr) auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 10rem;
  margin: clamp(2rem,5vw,5rem) 0;
  border: 1px solid rgba(245,180,77,0.32);
  padding: clamp(1.2rem,3vw,2rem);
  background:
    linear-gradient(105deg, rgba(245,180,77,0.12), transparent 42%),
    rgba(7,16,23,0.84);
}

.ozj-promo__label span {
  color: var(--ozj-amber);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.ozj-promo__title strong { color: #fff; font-size: clamp(1.4rem,2.6vw,2.5rem); line-height: 1.05; }
.ozj-promo__copy,
.ozj-promo__action { margin: 0; }
.ozj-promo__copy { color: rgba(219,232,241,0.68); line-height: 1.5; }
.ozj-promo__action a { display: inline-flex; min-height: 48px; align-items: center; color: var(--ozj-amber) !important; font-weight: 850; text-decoration: none; white-space: nowrap; }
.ozj-promo--sponsor { min-height: 12rem; border-style: dashed; opacity: 0.9; }

.ozj-hub-anchor { scroll-margin-top: 1rem; }

.ozj-library {
  margin: clamp(4rem,8vw,8rem) 0;
}

.ozj-library__head {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(22rem,1.1fr);
  gap: clamp(1.5rem,4vw,4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.ozj-library__head form {
  border: 1px solid var(--ozj-line);
  padding: 1rem;
  background: rgba(7,16,23,0.74);
}

.ozj-library__head form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
}

.ozj-library__head form > .ozj-search-controls {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 0.5rem;
}

.ozj-lead {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(20rem,0.65fr);
  gap: 1px;
  margin-bottom: 1rem;
  border: 1px solid rgba(49,216,182,0.25);
  background: rgba(49,216,182,0.25);
}

.ozj-story {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ozj-line);
  background: linear-gradient(155deg, rgba(16,38,50,0.96), rgba(7,16,23,0.98));
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.ozj-story:hover,
.ozj-story:focus-within {
  border-color: rgba(49,216,182,0.54);
  transform: translateY(-4px);
  box-shadow: 0 2rem 5rem rgba(0,0,0,0.25);
}

.ozj-story__image {
  display: block;
  min-height: 14rem;
  margin: 0;
  overflow: hidden;
  background: var(--ozj-panel);
}

.ozj-story__image > a { display: block; height: 100%; }

.ozj-story__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  max-height: 18rem;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(.16,1,.3,1);
}

.ozj-story:hover .ozj-story__image img { transform: scale(1.025); }

.ozj-story__body {
  display: flex;
  min-height: 15rem;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.ozj-story__meta {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.ozj-story__meta a,
.ozj-story__meta span {
  color: var(--ozj-teal) !important;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.ozj-story__meta a { display: inline-flex; min-height: 44px; align-items: center; padding: 0.15rem 0; }

.ozj-story__meta span { color: rgba(219,232,241,0.48) !important; }
.ozj-story h2 { margin: 0.8rem 0; font-size: clamp(1.6rem,2.5vw,2.35rem); letter-spacing: -0.055em; line-height: 0.98; }
.ozj-story h2 a { color: #fff !important; text-decoration: none; }
.ozj-story__body > p { margin: 0 0 1rem; color: rgba(219,232,241,0.68); line-height: 1.55; }
.ozj-story__body > .ozj-story__read-row { margin-top: auto; margin-bottom: 0; }
.ozj-story__read { display: inline-flex; min-height: 44px; align-items: center; color: var(--ozj-teal) !important; font-weight: 850; text-decoration: none; }

.ozj-story--lead {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(20rem,0.9fr);
  border: 0;
}

.ozj-story--lead .ozj-story__image,
.ozj-story--lead .ozj-story__image img { min-height: 34rem; max-height: none; }
.ozj-story--lead .ozj-story__body { justify-content: center; min-height: 34rem; padding: clamp(1.5rem,4vw,3rem); }
.ozj-story--lead h2 { font-size: clamp(2.6rem,4.7vw,5.5rem); line-height: 0.9; }
.ozj-story--lead .ozj-story__body > p { font-size: 1.08rem; }

.ozj-edition-note {
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem,3vw,2.2rem);
  background:
    radial-gradient(circle at 100% 0, rgba(245,180,77,0.17), transparent 20rem),
    var(--ozj-panel);
}

.ozj-edition-note__label { margin: 0; color: var(--ozj-amber); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.ozj-edition-note > h3 { margin: 1rem 0 0; color: #fff; font-size: clamp(1.6rem,2.8vw,2.8rem); line-height: 1; }
.ozj-edition-note ol { display: grid; gap: 0.8rem; margin: 2rem 0; padding: 0; list-style: none; }
.ozj-edition-note li { display: flex; gap: 0.7rem; color: rgba(219,232,241,0.72); }
.ozj-edition-note li b { color: var(--ozj-teal); }
.ozj-edition-note__action { margin: auto 0 0; }
.ozj-edition-note__action a { display: inline-flex; min-height: 48px; align-items: center; color: var(--ozj-amber) !important; font-weight: 850; text-decoration: none; }

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

.ozj-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--ozj-line);
  padding-top: 1rem;
}

.ozj-pagination .page-numbers {
  display: inline-flex;
  min-width: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ozj-line);
  padding: 0.6rem;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.ozj-pagination .current { border-color: var(--ozj-teal); background: var(--ozj-teal); color: var(--ozj-ink) !important; }

.ozj-empty {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border: 1px dashed rgba(219,232,241,0.28);
  padding: clamp(1.4rem,3vw,2.2rem);
  background: rgba(7,16,23,0.74);
}

.ozj-empty h3,
.ozj-empty p { flex-basis: 100%; }
.ozj-empty h3 { margin: 0; color: #fff; font-size: 1.6rem; }
.ozj-empty p { color: rgba(219,232,241,0.68); }
.ozj-empty__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ozj-empty a { display: inline-flex; min-height: 46px; align-items: center; border: 1px solid var(--ozj-line); padding: 0.7rem 0.9rem; color: var(--ozj-teal) !important; font-weight: 850; text-decoration: none; }

.ozj-endcap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(20rem,0.8fr) auto;
  gap: clamp(1.2rem,4vw,3rem);
  align-items: center;
  margin: clamp(4rem,8vw,8rem) 0;
  border: 1px solid rgba(49,216,182,0.25);
  padding: clamp(1.5rem,4vw,3rem);
  background:
    linear-gradient(135deg, rgba(49,216,182,0.12), transparent 35%),
    var(--ozj-panel);
}

.ozj-endcap p:not(.oz-kicker) { max-width: 50rem; color: rgba(219,232,241,0.68); }
.ozj-endcap__proof { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--ozj-line); }
.ozj-endcap__proof span { min-height: 4rem; padding: 0.8rem; background: var(--ozj-ink); color: rgba(219,232,241,0.72); font-size: 0.78rem; font-weight: 800; }

/* Article experience */
.ozj-reading-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.ozj-reading-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg,var(--ozj-teal),var(--ozj-amber));
}

.ozj-article-hero {
  display: grid;
  grid-template-columns: minmax(0,0.92fr) minmax(30rem,1.08fr);
  gap: clamp(1.5rem,5vw,5rem);
  align-items: center;
  min-height: 42rem;
  border-bottom: 1px solid var(--ozj-line);
  padding: clamp(2rem,6vw,6rem) 0;
}

.ozj-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  color: rgba(219,232,241,0.68) !important;
  font-weight: 800;
  text-decoration: none;
}

.ozj-article-category { margin: 1rem 0 0; color: var(--ozj-teal); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.ozj-article-category a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit !important;
  text-decoration: none;
}

.ozj-article-hero .wp-block-post-title {
  max-width: 13ch;
  margin: 0.9rem 0 1rem;
  color: #fffdf7;
  font-size: clamp(3.4rem,6.6vw,7.5rem);
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.ozj-article-deck {
  max-width: 50rem;
  margin: 0;
  color: rgba(219,232,241,0.78);
  font-size: clamp(1.18rem,2vw,1.55rem);
  line-height: 1.5;
}

.ozj-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.5rem;
}

.ozj-article-meta span { color: rgba(219,232,241,0.57); font-size: 0.82rem; font-weight: 750; }
.ozj-article-meta span + span::before { margin-right: 1rem; color: var(--ozj-teal); content: "/"; }

.ozj-article-hero__image {
  width: 100% !important;
  max-width: 100%;
  min-height: 38rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ozj-line);
  box-shadow: 0 2.5rem 7rem rgba(0,0,0,0.28);
}

.ozj-article-hero__image picture { display: block; width: 100%; height: 100%; }
.ozj-article-hero__image img { width: 100%; height: 100%; min-height: 38rem; object-fit: cover; }

.oz-blog-next__label { margin: 0; }

.ozj-reader {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(17rem,0.34fr);
  gap: clamp(2rem,5vw,5rem);
  align-items: start;
  width: min(1180px,100%);
  margin: clamp(3rem,7vw,7rem) auto 0;
}

.ozj-reader__main { min-width: 0; }

.ozj-toc {
  margin: 0 auto clamp(2rem,5vw,4rem);
  border: 1px solid var(--ozj-line);
  padding: 0;
  background: rgba(7,16,23,0.76);
}

.ozj-toc summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.ozj-toc summary em { color: rgba(219,232,241,0.52); font-size: 0.76rem; font-style: normal; }
.ozj-toc nav { border-top: 1px solid var(--ozj-line); padding: 0.7rem 1rem 1rem; }
.ozj-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.ozj-toc li { border-bottom: 1px solid rgba(219,232,241,0.09); }
.ozj-toc a { display: grid; grid-template-columns: 2rem minmax(0,1fr); gap: 0.5rem; min-height: 50px; align-items: center; padding: 0.5rem; color: rgba(219,232,241,0.75) !important; font-size: 0.9rem; text-decoration: none; }
.ozj-toc a span { color: var(--ozj-teal); font-size: 0.68rem; font-weight: 900; }
.ozj-toc a[aria-current="location"] { background: rgba(49,216,182,0.09); color: #fff !important; }

.ozj-article-body {
  color: rgba(236,242,244,0.89);
  font-size: clamp(1.1rem,1.5vw,1.25rem);
  line-height: 1.76;
}

.ozj-article-body > * { max-width: 68ch; margin-right: auto; margin-left: auto; }
.ozj-article-body > .oz-journal-article { max-width: none; }
.ozj-article-body h2 { max-width: 17ch; scroll-margin-top: 4rem; margin-top: clamp(3.5rem,8vw,7rem); color: #fffdf7; font-size: clamp(2.4rem,4.8vw,5.2rem); letter-spacing: -0.065em; line-height: 0.94; }
.ozj-article-body h3 { margin-top: 2.8rem; color: #fff; font-size: clamp(1.55rem,2.8vw,2.4rem); line-height: 1.04; }
.ozj-article-body p,
.ozj-article-body li { color: rgba(236,242,244,0.84); }
.ozj-article-body a { color: var(--ozj-teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.ozj-article-body strong { color: #fff; }
.ozj-article-body blockquote { border-left: 4px solid var(--ozj-amber); padding: 0.4rem 0 0.4rem 1.3rem; color: #fff; font-size: 1.18em; }
.ozj-article-body img { height: auto; border: 1px solid var(--ozj-line); }
.ozj-article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.ozj-article-body th,.ozj-article-body td { border: 1px solid var(--ozj-line); padding: 0.7rem; text-align: left; }

.ozj-reader__aside {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
}

.ozj-sidecar {
  border: 1px solid var(--ozj-line);
  background: rgba(7,16,23,0.8);
}

.ozj-sidecar > div { padding: 1.2rem; }
.ozj-sidecar > div + div { border-top: 1px solid var(--ozj-line); }
.ozj-sidecar dl { margin: 0; }
.ozj-sidecar dl > div { padding: 0.75rem 0; border-bottom: 1px solid rgba(219,232,241,0.09); }
.ozj-sidecar dt { color: rgba(219,232,241,0.46); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.ozj-sidecar dd { margin: 0.25rem 0 0; color: #fff; font-size: 0.92rem; line-height: 1.4; }
.ozj-sidecar a { display: flex; min-height: 50px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(219,232,241,0.09); color: var(--ozj-teal) !important; font-size: 0.85rem; font-weight: 850; text-decoration: none; }

.ozj-reader__aside .ozj-promo {
  display: flex;
  min-height: 23rem;
  flex-direction: column;
  align-items: start;
  margin: 0;
}

.ozj-reader__aside .ozj-promo__label span { writing-mode: initial; }
.ozj-reader__aside .ozj-promo__copy { margin-top: 0; }
.ozj-reader__aside .ozj-promo__action { margin-top: auto; }
.ozj-reader__aside .ozj-promo__action a { white-space: normal; }

.ozj-share {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 0.6rem;
  align-items: center;
  margin: clamp(3rem,7vw,6rem) 0;
  border: 1px solid var(--ozj-line);
  padding: 1.1rem;
  background: rgba(7,16,23,0.8);
}

.ozj-share__copy { display: grid; }
.ozj-share__copy span { color: var(--ozj-amber); font-size: 0.7rem; font-weight: 900; text-transform: uppercase; }
.ozj-share__copy strong { color: #fff; }
.ozj-share__actions { display: flex; gap: 0.6rem; }
.ozj-share button + button { border-color: var(--ozj-line); background: transparent; color: #fff; }
.ozj-share__status { grid-column: 1 / -1; color: var(--ozj-teal); font-size: 0.8rem; }

.ozj-related {
  margin: clamp(5rem,9vw,9rem) 0 0;
  border-top: 1px solid var(--ozj-line);
  padding-top: clamp(2.5rem,5vw,5rem);
}

.ozj-related > div:first-child { margin-bottom: 1.5rem; }

/* Category archive */
.ozj-category-hero {
  min-height: 28rem;
  border: 1px solid var(--ozj-line);
  padding: clamp(2rem,6vw,5rem);
  background:
    linear-gradient(90deg,rgba(7,16,23,0.97),rgba(7,16,23,0.64)),
    url('/wp-content/themes/onezero-phase1/assets/images/onezero-journal-strategy-room-2026.jpg') center/cover no-repeat;
}

.ozj-category-hero .wp-block-term-description { max-width: 52rem; color: rgba(219,232,241,0.78); font-size: 1.15rem; }
.ozj-category-hero > div:last-child { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.3rem; }
.ozj-category-hero > div:last-child a { display: inline-flex; min-height: 48px; align-items: center; border: 1px solid var(--ozj-line); padding: 0.7rem 0.9rem; color: #fff !important; font-weight: 850; text-decoration: none; }

.ozj-category-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ozj-category-card { height: 100%; overflow: hidden; border: 1px solid var(--ozj-line); background: var(--ozj-panel); }
.ozj-category-card .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.ozj-category-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.ozj-category-card__body { display: flex; min-height: 17rem; flex-direction: column; padding: 1.2rem; }
.ozj-category-card__date { color: rgba(219,232,241,0.48); font-size: 0.72rem; font-weight: 850; }
.ozj-category-card .wp-block-post-title { margin: 0.6rem 0; font-size: clamp(1.6rem,2.4vw,2.3rem); line-height: 0.98; }
.ozj-category-card .wp-block-post-title a { color: #fff !important; text-decoration: none; }
.ozj-category-card .wp-block-post-excerpt { color: rgba(219,232,241,0.68); }
.ozj-category-card__read { display: inline-flex; min-height: 44px; align-items: center; margin-top: auto; color: var(--ozj-teal) !important; font-weight: 850; text-decoration: none; }
.ozj-category-query .wp-block-query-pagination { margin-top: 2rem; border-top: 1px solid var(--ozj-line); padding-top: 1rem; }
.ozj-category-query .wp-block-query-pagination a { color: var(--ozj-teal); }

.ozj-home a:focus-visible,
.ozj-home button:focus-visible,
.ozj-home input:focus-visible,
.ozj-single a:focus-visible,
.ozj-single button:focus-visible,
.ozj-single summary:focus-visible,
.ozj-category a:focus-visible {
  outline: 3px solid var(--ozj-amber);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .ozj-masthead,
  .ozj-article-hero { grid-template-columns: 1fr; }
  .ozj-masthead { min-height: 0; }
  .ozj-masthead__image,
  .ozj-masthead__image img { min-height: 32rem; }
  .ozj-paths { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ozj-paths__intro { grid-column: 1/-1; min-height: auto; }
  .ozj-lead { grid-template-columns: 1fr; }
  .ozj-story--lead { grid-template-columns: 1fr; }
  .ozj-story--lead .ozj-story__image,
  .ozj-story--lead .ozj-story__image img,
  .ozj-story--lead .ozj-story__body { min-height: 26rem; }
  .ozj-edition-note { min-height: 20rem; }
  .ozj-endcap { grid-template-columns: 1fr; }
  .ozj-endcap > a { justify-self: start; }
}

/* The Journal opt-in is intentionally self-contained so portal CSS/JS never ships to readers. */
.ozco-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  margin: clamp(3rem, 8vw, 7rem) 0;
  border: 1px solid rgba(49,216,181,0.34);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: radial-gradient(circle at 10% 5%, rgba(49,216,181,0.14), transparent 24rem), var(--ozj-panel);
  color: #d9e5ea;
}

.ozco-newsletter .ozco-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--ozj-teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ozco-newsletter h2 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.ozco-newsletter p { max-width: 44rem; color: #a9bbc4; }
.ozco-newsletter form { display: grid; gap: 0.8rem; }
.ozco-newsletter label { color: #fff; font-size: 0.98rem; font-weight: 800; line-height: 1.4; }
.ozco-newsletter input[type="email"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin-top: 0.38rem;
  border: 1px solid #aab9c0;
  border-radius: 5px;
  padding: 0.72rem 0.82rem;
  background: #fff;
  color: var(--ozj-ink);
  font: inherit;
  font-size: 1rem;
}

.ozco-newsletter .ozco-check {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: #c2d1d8;
  font-weight: 600;
}

.ozco-newsletter .ozco-check input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.08rem 0 0;
  accent-color: var(--ozj-teal);
}

.ozco-newsletter .ozco-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ozj-teal);
  border-radius: 5px;
  padding: 0.8rem 1.15rem;
  background: var(--ozj-teal);
  color: var(--ozj-ink);
  font: inherit;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.ozco-newsletter .ozco-button:hover { background: #45e9c7; transform: translateY(-1px); }
.ozco-newsletter a { color: var(--ozj-teal) !important; }
.ozco-newsletter form > p { margin: 0; font-size: 0.78rem; }
.ozco-newsletter a:focus-visible,
.ozco-newsletter button:focus-visible,
.ozco-newsletter input:focus-visible { outline: 3px solid var(--ozj-amber); outline-offset: 3px; }

@media (max-width: 900px) {
  .ozco-newsletter { grid-template-columns: 1fr; }
  .ozj-desks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ozj-desks__intro { grid-column: 1/-1; grid-row: auto; min-height: auto; }
  .ozj-story-grid,
  .ozj-category-query .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ozj-library__head { grid-template-columns: 1fr; }
  .ozj-promo { grid-template-columns: 1fr; align-items: start; }
  .ozj-promo__label span { writing-mode: initial; }
  .ozj-reader { grid-template-columns: 1fr; }
  .ozj-reader__aside { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ozj-toc ol { grid-template-columns: 1fr; }
  .ozj-share { grid-template-columns: 1fr 1fr; }
  .ozj-share__copy { grid-column: 1/-1; }
}

@media (max-width: 640px) {
  .ozj-home,
  .ozj-single,
  .ozj-category { width: min(100% - 1rem,1500px); }
  .ozj-masthead h1 { font-size: clamp(3.15rem,14vw,4.8rem); }
  .ozj-article-hero { min-height: 0; padding-top: 1.5rem; }
  .ozj-article-hero .wp-block-post-title { max-width: 14ch; font-size: clamp(2.75rem,11.5vw,4rem); line-height: 0.9; }
  .ozj-masthead__image,
  .ozj-masthead__image img,
  .ozj-article-hero__image { width: 100% !important; max-width: 100%; height: 18rem !important; min-height: 18rem; aspect-ratio: 16 / 10; }
  .ozj-article-hero__image img { width: 100% !important; height: 100% !important; min-height: 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
  .ozj-masthead__image figcaption { grid-template-columns: 1fr; }
  .ozj-masthead__image figcaption strong { justify-self: start; }
  .ozj-hero-search > div,
  .ozj-library__head form > div { grid-template-columns: 1fr; }
  .ozj-stats,
  .ozj-paths,
  .ozj-desks,
  .ozj-story-grid,
  .ozj-category-query .wp-block-post-template,
  .ozj-reader__aside { grid-template-columns: 1fr; }
  .ozj-paths__intro { grid-column: auto; }
  .ozj-story--lead .ozj-story__image,
  .ozj-story--lead .ozj-story__image img,
  .ozj-story--lead .ozj-story__body { min-height: 22rem; }
  .ozj-story--lead h2 { font-size: clamp(2.6rem,13vw,4rem); }
  .ozj-share { grid-template-columns: 1fr; }
  .ozj-share__copy,
  .ozj-share__status { grid-column: auto; }
  .ozj-share__actions { flex-direction: column; }
  .ozj-article-meta { display: grid; gap: 0.35rem; }
  .ozj-article-meta span + span::before { display: none; }
  .ozj-endcap__proof { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ozj-story,
  .ozj-story__image img,
  .ozj-path-card > a { transition: none; transform: none !important; }
}

@media (forced-colors: active) {
  .ozj-masthead__image::before { display: none; }
  .ozj-reading-progress i { background: Highlight; }
  .ozj-story,
  .ozj-promo,
  .ozj-sidecar,
  .ozj-toc { border: 2px solid CanvasText; background: Canvas; color: CanvasText; }
}

@media print {
  .ozj-reading-progress,
  .ozj-reader__aside,
  .ozj-share,
  .ozco-newsletter,
  .ozj-related,
  .oz-site-header,
  .oz-site-footer { display: none !important; }
  .ozj-single { width: 100%; padding: 0; }
  .ozj-article-hero { display: block; min-height: 0; }
  .ozj-article-hero__image { min-height: 0; max-height: 18rem; }
  .ozj-reader { display: block; width: 100%; }
  .ozj-article-body,
  .ozj-article-body p,
  .ozj-article-body li,
  .ozj-article-body h2,
  .ozj-article-hero .wp-block-post-title { color: #000; }
}
