/* Oscalyden: base, header, poster hero, home sections, footer. Mobile-first (min-width only). */
:root {
  --slate: #3f4e61; --slate-d: #2a3646; --slate-dd: #1c2530; --slate-l: #dfe6ee; --slate-m: #6b7a8c;
  --peach: #f2a888; --peach-d: #b4532c; --peach-l: #fbe3d6;
  --bone: #f5efe6; --paper: #fbf8f4; --ink: #232b35; --muted: #566270; --line: #ddd5c8;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hind', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.jop-lock { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
body.jop-inner { padding-top: var(--bar); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--peach-d); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; color: inherit; }
h2 { font-size: clamp(2.2rem, 7vw, 3.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.jop-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.jop-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--peach); color: var(--slate-dd); padding: 12px 18px; font-weight: 600; }
.jop-skip:focus { left: 8px; }
.jop-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.jop-i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.jop-i--lg { width: 2rem; height: 2rem; }
.jop-i--xl { width: 3rem; height: 3rem; }

/* header */
.jop-bar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: var(--bar); background: transparent; transition: background-color .25s, box-shadow .25s; }
body.jop-inner .jop-bar, .jop-bar--solid { background: var(--slate-dd); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.18); }
.jop-bar__in { height: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jop-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: 44px; }
.jop-brand:hover { color: #fff; }
.jop-mark { width: 40px; height: 40px; flex: none; }
.jop-brand__name { font-family: var(--serif); font-size: 1.7rem; line-height: 1; letter-spacing: .01em; }
.jop-menubtn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; min-width: 44px; padding: 0 18px 0 20px; border: 2px solid rgba(255,255,255,.75); border-radius: 999px; background: transparent; color: #fff; font: 600 1.2rem/1 var(--sans); letter-spacing: .02em; cursor: pointer; }
.jop-menubtn:hover { background: var(--peach); border-color: var(--peach); color: var(--slate-dd); }
.jop-menubtn__bars { display: inline-flex; flex-direction: column; gap: 5px; }
.jop-menubtn__bars i { display: block; width: 22px; height: 2px; background: currentColor; }
.jop-menubtn--close { border-color: rgba(255,255,255,.6); }

.jop-menu { position: fixed; inset: 0; z-index: 100; background: var(--slate-dd); color: #fff; overflow-y: auto; }
.jop-menu[hidden] { display: none; }
.jop-menu__in { max-width: 1180px; margin: 0 auto; padding: 0 20px 40px; min-height: 100%; display: flex; flex-direction: column; }
.jop-menu__top { height: var(--bar); display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.jop-menu__nav { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.jop-menu__nav a { display: flex; align-items: baseline; gap: 18px; min-height: 64px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; text-decoration: none; font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 3.2rem); line-height: 1.1; }
.jop-menu__nav a:hover, .jop-menu__nav a[aria-current] { color: var(--peach); }
.jop-menu__n { font: 600 .9rem/1 var(--sans); color: var(--peach); letter-spacing: .12em; min-width: 2rem; }
.jop-menu__foot { margin: 28px 0 0; color: var(--slate-l); font-size: .95rem; }
.jop-menu__foot a { color: #fff; padding: 12px 4px; display: inline-block; min-height: 44px; }

/* buttons */
.jop-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border: 2px solid var(--peach); border-radius: 999px; background: var(--peach); color: var(--slate-dd); font: 600 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.jop-btn:hover { background: var(--slate-dd); border-color: var(--slate-dd); color: #fff; }
.jop-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.jop-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--slate-dd); }
.jop-linkbtn { background: none; border: 0; padding: 0 6px; min-height: 44px; min-width: 44px; color: var(--peach-d); font: 600 1rem var(--sans); text-decoration: underline; cursor: pointer; }
.jop-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }

/* poster hero */
.jop-hero { background: radial-gradient(120% 80% at 80% 0%, #42546a 0%, var(--slate-d) 45%, var(--slate-dd) 100%); color: #fff; padding: calc(var(--bar) + 36px) 0 56px; overflow: hidden; }
.jop-hero__kicker { margin: 0 0 6px; font: 600 .85rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.jop-hero__title { margin: 0; font-weight: 400; }
.jop-hero__big { display: block; font-family: var(--serif); font-size: clamp(3.5rem, 22vw, 15rem); line-height: .92; letter-spacing: -.02em; color: #fff; }
.jop-hero__sub { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 7.4vw, 4.4rem); line-height: 1.2; color: var(--peach); padding: .05em 0 .1em; }
.jop-hero__lede { max-width: 56ch; margin: 18px 0 22px; font-size: 1.15rem; color: var(--slate-l); }
.jop-hero__go { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 36px; }
.jop-strip { display: flex; gap: 8px; align-items: flex-start; }
.jop-strip figure { margin: 0; flex: 1 1 0; min-width: 0; }
.jop-strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; background: var(--slate); }
.jop-strip figcaption { margin-top: 8px; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }

/* sections */
.jop-sec { padding-top: 56px; padding-bottom: 56px; }
.jop-sec--tight { padding-top: 28px; padding-bottom: 56px; }
.jop-sec--bone { background: var(--bone); }
.jop-sec--slate { background: var(--slate); color: #fff; }
.jop-sec--night { background: var(--slate-dd); color: #fff; }
.jop-sec--peach { background: var(--peach-l); }
.jop-sec--slate a, .jop-sec--night a { color: var(--peach); }
.jop-sec--slate a:hover, .jop-sec--night a:hover { color: #fff; }
.jop-kicker { margin: 0 0 8px; font: 600 .85rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--peach-d); }
.jop-sec--slate .jop-kicker, .jop-sec--night .jop-kicker { color: var(--peach); }
.jop-lead { font-size: 1.25rem; line-height: 1.55; color: inherit; }
.jop-lead--wide { max-width: 68ch; }
.jop-prose { max-width: 68ch; }
.jop-prose--wide { max-width: 78ch; margin-top: 28px; }
.jop-prose h3 { margin-top: 1.1em; }
.jop-cols { display: grid; gap: 28px; margin-top: 24px; }
.jop-note { padding: 14px 18px; border-left: 4px solid var(--peach); background: rgba(242,168,136,.18); margin: 20px 0; border-radius: 0 4px 4px 0; }
.jop-note--wide { max-width: 78ch; }
.jop-fine { font-size: .95rem; color: var(--muted); max-width: 70ch; }
.jop-sec--slate .jop-fine, .jop-sec--night .jop-fine { color: var(--slate-l); }
.jop-ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.jop-ticks li { position: relative; padding: 0 0 .7em 30px; }
.jop-ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px rgba(242,168,136,.3); }

.jop-facts { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--peach); border-radius: 4px; padding: 20px; align-self: start; }
.jop-facts h3 { font-size: 1.5rem; }
.jop-facts dl, .jop-kv { margin: 0; }
.jop-facts dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.jop-facts dt { font: 600 .8rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jop-facts dd { margin: 2px 0 0; }

.jop-ways { display: grid; gap: 16px; margin: 30px 0; }
.jop-way { background: var(--slate-d); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 22px; }
.jop-way__ico { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--peach); color: var(--slate-dd); margin-bottom: 12px; }
.jop-way__cost { font-size: .98rem; color: var(--slate-l); border-top: 1px solid rgba(255,255,255,.15); padding-top: 10px; margin-top: 12px; margin-bottom: 0; }
.jop-banner, .jop-split__fig { margin: 0; }
.jop-banner img, .jop-split__fig img { width: 100%; height: auto; border-radius: 6px; }
.jop-banner figcaption, .jop-split__fig figcaption { margin-top: 10px; font-size: .95rem; font-style: italic; color: inherit; opacity: .85; }
.jop-banner { margin: 8px 0 8px; }

.jop-rules { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.jop-rules li { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.jop-rules li:last-child { border-bottom: 1px solid var(--line); }
.jop-rules__n { flex: 0 0 44px; font-family: var(--serif); font-size: 3.4rem; line-height: .9; color: var(--peach-d); }
.jop-rules h3 { font-size: 1.55rem; margin-bottom: .25em; }
.jop-rules p { margin: 0; max-width: 62ch; }

.jop-split { display: grid; gap: 24px; margin: 24px 0 8px; }
.jop-cards3 { display: grid; gap: 14px; margin: 28px 0 0; }
.jop-cards3 article { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 20px; }
.jop-sec:not(.jop-sec--night):not(.jop-sec--slate) .jop-cards3 article { background: #fff; border-color: var(--line); }
.jop-cards3 h3 { font-size: 1.45rem; }
.jop-cards3 p { margin: 0; }
.jop-chain { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: chain; }
.jop-chain li { counter-increment: chain; position: relative; padding: 0 0 16px 52px; }
.jop-chain li::before { content: counter(chain); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--slate); color: #fff; font: 600 1rem/36px var(--sans); text-align: center; }
.jop-chain li::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line); }
.jop-chain li:last-child::after { display: none; }

.jop-gates { display: grid; gap: 18px; margin: 28px 0 0; }
.jop-gate { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.jop-gate img { width: 100%; height: auto; }
.jop-gate__body { padding: 22px; }
.jop-gate__body--solo { border-left: 8px solid var(--peach); height: 100%; }
.jop-forks { display: grid; gap: 16px; margin-top: 28px; }
.jop-fork { border: 1px solid var(--line); border-radius: 6px; padding: 22px; background: #fff; }
.jop-fork p { margin: 0 0 .7em; padding-left: 14px; border-left: 4px solid var(--slate-l); }
.jop-fork__a { border-left-color: var(--peach) !important; }
.jop-fork__b { border-left-color: var(--slate) !important; }
.jop-checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.jop-checks li { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; }
.jop-checks .jop-i { color: var(--peach-d); margin-top: 3px; }
.jop-featured-h { margin: 36px 0 14px; color: #fff; }

/* inner page head and prose */
.jop-pagehead { background: var(--bone); padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.jop-pagehead h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); max-width: 22ch; margin-bottom: .3em; }
.jop-pagehead__lede { max-width: 62ch; font-size: 1.2rem; color: var(--muted); margin: 0; }
.jop-prose--page { padding-top: 36px; padding-bottom: 64px; }
.jop-prose--page h2 { font-size: 2.2rem; margin-top: 1.4em; }
.jop-prose--page ul { padding-left: 1.2em; }
.jop-prose--page li { margin-bottom: .5em; }
.jop-bigmail { font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.6rem); word-break: break-all; }

/* footer */
.jop-foot { background: var(--slate-dd); color: var(--slate-l); padding: 56px 0 28px; }
.jop-foot a { color: #fff; text-decoration: none; }
.jop-foot a:hover { color: var(--peach); text-decoration: underline; }
.jop-foot__grid { display: grid; gap: 30px; }
.jop-brand--foot .jop-mark { width: 56px; height: 56px; }
.jop-brand--foot .jop-brand__name { font-size: 2.2rem; }
.jop-foot__col p { max-width: 42ch; margin-top: 14px; }
.jop-foot__row { display: flex; flex-direction: column; gap: 0; margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
.jop-foot__hail { font: 600 .85rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-l); }
.jop-foot a.jop-foot__mail { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; font-weight: 600; font-size: 1.2rem; overflow-wrap: anywhere; }
.jop-at { color: var(--peach); font-weight: 700; padding: 0 .12em; }
.jop-foot__h { font: 600 .85rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin: 0 0 8px; }
.jop-foot nav { display: flex; flex-direction: column; }
.jop-foot nav a { display: flex; align-items: center; min-height: 44px; }
.jop-foot__legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.jop-foot__legal small { display: block; max-width: 110ch; line-height: 1.6; color: var(--slate-m); color: #aab6c4; }

@media (min-width: 600px) {
  .jop-strip { gap: 16px; }
  .jop-strip figure:nth-child(2) { margin-top: 36px; }
  .jop-foot__grid { grid-template-columns: repeat(2, 1fr); }
  .jop-foot__row { flex-direction: row; align-items: center; gap: 18px; }
  .jop-foot a.jop-foot__mail { font-size: 1.4rem; }
  .jop-checks { grid-template-columns: 1fr 1fr; }
  .jop-forks { grid-template-columns: 1fr 1fr; }
  .jop-cards3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .jop-wrap, .jop-bar__in, .jop-menu__in { padding-left: 32px; padding-right: 32px; }
  .jop-sec { padding-top: 96px; padding-bottom: 96px; }
  .jop-sec--tight { padding-top: 40px; padding-bottom: 80px; }
  .jop-hero { padding-bottom: 88px; }
  .jop-hero__big { font-size: clamp(14rem, 23vw, 20rem); }
  .jop-hero__sub { font-size: clamp(3rem, 5vw, 4.6rem); }
  .jop-strip { gap: 24px; }
  .jop-strip figure:nth-child(2) { margin-top: 64px; }
  .jop-strip img { aspect-ratio: 3 / 4; }
  .jop-cols { grid-template-columns: 1.5fr 1fr; gap: 56px; }
  .jop-cols--even { grid-template-columns: 1fr 1fr; }
  .jop-ways { grid-template-columns: repeat(3, 1fr); }
  .jop-split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .jop-split--flip .jop-split__fig { order: 2; }
  .jop-split--small { grid-template-columns: 5fr 6fr; }
  .jop-gates { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .jop-rules li { gap: 24px; padding: 26px 0; }
  .jop-rules__n { flex-basis: 72px; font-size: 4.6rem; }
  .jop-menu__nav { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .jop-foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.jop-sec[id] { scroll-margin-top: 72px; }
