/*
Theme Name: MARINA Journal
Theme URI: https://blog.marinasmart.app
Author: Marina Boat App
Author URI: https://apps.apple.com/rs/app/marina-boat-app/id6780864722
Description: MARINA — The Magazine of the Water. Editorial magazine theme for Marina Boat App: numbered issues, four languages (EN/SR/IT/ES), printable PDF editions, Special Edition requests, Instagram + reel share kit, and full SEO/AEO structured data.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: marina-journal
*/

:root {
  --ink: #0B0B0C;
  --paper: #FFFFFF;
  --stone: #F3F2EF;
  --rule: #E4E4E4;
  --grey: #6B6B6B;
  --grey2: #4A4A4A;
  --night: #080C11;
  --gold: #C9A66B;
  --brass: #7A5C24;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --text: 'Newsreader', Georgia, serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --gut: clamp(16px, 4vw, 60px);
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.dp { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; letter-spacing: -0.01em; }
.it { font-style: italic; }
.lb { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.4; }
.lb.gold { color: var(--brass); }
.lb.mute { color: var(--grey); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.rule { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 36px; }
.ph { position: relative; overflow: hidden; background: #0D1A22; }
.ph > img, .ph > picture > img, .ph > picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph > picture img { width: 100%; height: 100%; object-fit: cover; }
.zoom img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
a:hover .zoom img { transform: scale(1.04); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--ink); }
.linkline { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- ribbon + header ---------- */
.ribbon { display: block; background: var(--ink); color: #F5F5F5; }
.ribbon:hover { color: #fff; }
.ribbon .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.ribbon .t { font-family: var(--text); font-style: italic; font-size: 15px; color: #E6E6E6; }
.utility { border-bottom: 1px solid var(--rule); background: #fff; }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.langs { display: inline-flex; gap: 2px; }
.langs a { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; padding: 6px 8px; color: var(--grey); min-width: 34px; text-align: center; }
.langs a[aria-current] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.on-dark .langs a { color: rgba(255,255,255,.7); }
.on-dark .langs a[aria-current] { color: #fff; border-color: #fff; }

.masthead { text-align: center; }
.masthead .logo { display: block; font-family: var(--serif); font-weight: 400; letter-spacing: 0.05em; line-height: .8; }
.bar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); }
.bar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.bar .logo { font-family: var(--serif); font-size: 34px; letter-spacing: .06em; line-height: 1; text-align: center; }
.bar .end { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.nav-sections { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.nav-sections a { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.nav-scroll { display: flex; gap: 26px; overflow-x: auto; padding: 0 var(--gut); white-space: nowrap; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 16px 0; color: var(--grey); }
.nav-scroll a.on { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 20px var(--gut) 40px; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .45s cubic-bezier(.7,0,.2,1), visibility 0s .45s; }
.drawer.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.drawer .top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav a { display: block; font-family: var(--serif); font-size: clamp(34px, 7vw, 64px); line-height: 1.15; padding: 6px 0; color: #fff; }
.drawer nav a:hover { color: var(--gold); }
.drawer form { margin: 28px 0; display: flex; border-bottom: 1px solid rgba(255,255,255,.5); }
.drawer input[type=search] { flex: 1; background: none; border: 0; color: #fff; font-family: var(--text); font-size: 22px; padding: 12px 0; }
.drawer .langs a { color: rgba(255,255,255,.7); font-size: 13px; }
.drawer .langs a[aria-current] { color: #fff; border-color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: #fff; background: #02070D; overflow: hidden; }
@media (min-width: 761px) { .hero { min-height: max(760px, min(100svh, 1040px)); } }
.hero .bg, .hero picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img, .hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 38%; background: linear-gradient(180deg, rgba(1,5,12,.6), rgba(1,5,12,0)); z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1,5,12,.92) 0%, rgba(1,5,12,.55) 28%, rgba(1,5,12,0) 58%), linear-gradient(90deg, rgba(1,5,12,.55) 0%, rgba(1,5,12,0) 58%); z-index: 1; }
.hero .nav-sections a, .hero .tag, .hero .topbar { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero .head { position: relative; z-index: 2; text-align: center; padding-top: 22px; }
.hero .head .logo { font-family: var(--serif); font-size: clamp(76px, 17vw, 260px); line-height: .82; letter-spacing: .05em; color: #fff; }
.hero .head .tag { margin: 16px 0 22px; letter-spacing: .42em; }
.hero .nav-sections { border-color: rgba(255,255,255,.5); }
.hero .nav-sections a { color: #fff; }
.hero .copy { position: relative; z-index: 2; margin-top: auto; padding-top: 48px; padding-bottom: clamp(36px, 6vw, 84px); }
.hero .copy .wrap { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero .copy h2 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(42px, 5.4vw, 92px); line-height: .96; max-width: 17ch; color: #fff; text-wrap: balance; }
.hero .copy p { margin: 0; max-width: 34em; font-size: clamp(17px, 1.5vw, 21px); color: #E6E9EC; }
.hero .copy a:hover { color: #fff; }
.hero .topbar { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 0; }
.dash { display: inline-flex; align-items: center; gap: 14px; }
.dash::before { content: ""; width: 44px; height: 1px; background: currentColor; }

/* ---------- grids & cards ---------- */
.section { padding-top: clamp(72px, 9vw, 128px); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 48px 36px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px 28px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card .ph { aspect-ratio: 4 / 5; }
.card.land .ph { aspect-ratio: 3 / 2; }
.card.sq .ph { aspect-ratio: 1 / 1; }
.card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; }
.card p { margin: 0; color: var(--grey2); font-size: 17px; }
.toc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 48px; }
.toc-list li a { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--rule); }
.toc-list .n { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--brass); min-width: 44px; }
.toc-list .t { font-family: var(--serif); font-size: 22px; line-height: 1.18; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; background: #0D1A22; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tile .cap { position: relative; width: 100%; background: var(--ink); padding: 20px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tile .cap .dp { font-size: 30px; color: #fff; }
.tile .cap .sr { font-family: var(--text); font-style: italic; font-size: 15px; color: #C9CDD1; }
.tile:hover { color: #fff; }

.band { position: relative; color: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; min-height: clamp(520px, 52vw, 820px); margin-top: clamp(72px, 9vw, 128px); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(3,12,20,.55); }
.band .in { position: relative; z-index: 1; max-width: 980px; padding: 0 var(--gut); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.band q, .band .q { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 5.2vw, 78px); line-height: 1.06; quotes: none; }

.dark { background: var(--night); color: #F5F5F5; }
.dark a:hover { color: var(--gold); }
.dark .rule { border-color: #2E3238; }
.dark .card p { color: #C3C8CD; }
.stone { background: var(--stone); }

.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { min-width: 0; }

/* phones */
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.phone { width: 290px; height: 600px; border-radius: 46px; background: var(--ink); padding: 10px; flex: 0 0 auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
.phone .scr { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-family: var(--sans); color: var(--ink); }
.phone .scr .ph { flex: 0 0 auto; }
.phone figure { margin: 0; }
.phones figcaption { text-align: center; display: flex; flex-direction: column; gap: 6px; max-width: 290px; margin: 24px auto 0; }
.pill { font-size: 11px; font-weight: 600; padding: 7px 11px; border-radius: 99px; background: #F1F3F5; white-space: nowrap; }
.pill.on { background: var(--ink); color: #fff; }

/* host */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stats > div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--rule); }
.stats > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.stats > div:nth-child(even) { padding-left: 20px; }
.stats .big { display: block; font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.steps li:first-child { border-top-color: var(--ink); }
.steps .n { font-family: var(--serif); font-style: italic; font-size: 50px; line-height: .9; color: var(--brass); min-width: 40px; }
.steps .t { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.steps .d { color: var(--grey2); font-size: 17px; margin-top: 6px; }

/* atlas, lists */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.list li a { display: flex; align-items: baseline; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.list .big { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); flex: 1; }

/* issues */
.issue-card { display: flex; flex-direction: column; gap: 18px; }
.cover { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; background: #08131B; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.cover:hover img { transform: scale(1.04); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 52%, rgba(0,0,0,.78) 100%); }
.cover .m { position: absolute; z-index: 1; top: 6%; left: 0; right: 0; text-align: center; font-family: var(--serif); font-size: clamp(44px, 5.4vw, 72px); line-height: 1; letter-spacing: .05em; }
.cover .b { position: absolute; z-index: 1; top: 16px; right: 16px; background: #fff; color: var(--ink); }
.cover .b.lb { padding: 6px 10px; font-size: 10px; }
.cover .f { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.cover .f .dp { font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.cover:hover { color: #fff; }
.issue-card ol { list-style: none; margin: 0; padding: 0; }
.issue-card ol li a { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.issue-card ol li .lb { min-width: 22px; padding-top: 3px; }
.issue-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.issue-actions .btn { min-height: 44px; padding: 0 18px; }
.pdf-langs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pdf-langs a { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; border: 1px solid var(--ink); padding: 8px 10px; }
.pdf-langs a:hover { background: var(--ink); color: #fff; }

.swipe { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { flex: 0 0 min(78vw, 320px); scroll-snap-align: start; }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.field input[type=text], .field input[type=email], .field select, .field textarea { font-family: var(--text); font-size: 19px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 12px 2px; border-radius: 0; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; border: 1px solid var(--ink); padding: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #CFCFCF; padding: 10px 14px; font-family: var(--sans); font-size: 13px; cursor: pointer; }
.checks input { accent-color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px 36px; }
.hp { position: absolute; left: -9999px; }
.form-status { font-family: var(--text); font-size: 18px; padding: 14px 18px; border-left: 3px solid var(--brass); background: var(--stone); }
.form-status.err { border-color: #8A2E2A; }

/* ---------- article ---------- */
.a-hero { position: relative; }
.a-hero .ph { aspect-ratio: 16 / 9; max-height: 82vh; width: 100%; }
.a-head { max-width: 860px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gut) 0; text-align: center; }
.a-head h1 { margin: 18px 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; }
.dek { margin: 0 auto; max-width: 40em; font-family: var(--text); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--grey2); }
.byline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.notice { max-width: 720px; margin: 24px auto 0; padding: 12px 16px; background: var(--stone); font-family: var(--sans); font-size: 13px; color: var(--grey2); text-align: center; }
.article-body { max-width: 720px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gut) 0; font-family: var(--text); font-size: 20px; line-height: 1.7; color: #1A1A1A; }
.article-body > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 5.2em; line-height: .78; padding: .07em .1em 0 0; color: var(--brass); }
.article-body h2, .article-body h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 1.8em 0 .5em; color: var(--ink); }
.article-body h4, .article-body h5 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; margin: 1.6em 0 .4em; color: var(--ink); }
.article-body a { color: var(--brass); border-bottom: 1px solid rgba(122,92,36,.35); }
.article-body a:hover { border-color: var(--brass); }
.article-body blockquote { margin: 1.6em 0; padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--ink); }
.article-body blockquote p { margin: 0; }
.article-body img, .article-body figure { margin: 2em auto; height: auto; }
.article-body figure.wp-block-image, .article-body .wp-block-image { margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); }
.article-body figcaption { font-family: var(--text); font-style: italic; font-size: 15px; color: var(--grey); padding: 8px var(--gut) 0; }
.article-body ul, .article-body ol { padding-left: 1.2em; }
.article-body li { margin: .4em 0; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; margin: 2em 0; display: block; overflow-x: auto; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.article-body th { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; border-bottom-color: var(--ink); }
.end-mark { display: inline-block; width: .42em; height: .42em; background: var(--brass); margin-left: .3em; vertical-align: .05em; }

.earn { max-width: 720px; margin: 56px auto 0; padding: 0 var(--gut); }
.earn .box { border: 1px solid var(--ink); padding: clamp(24px, 4vw, 40px); }
.earn .box .dp { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; margin: 12px 0 18px; }
.earn ol { margin: 0 0 24px; padding-left: 1.2em; font-size: 18px; line-height: 1.8; }
.appcard { max-width: 720px; margin: 28px auto 0; padding: 0 var(--gut); }
.appcard a { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; background: var(--night); color: #fff; padding: 22px 24px; }
.appcard a:hover { color: #fff; }
.appcard .ic { width: 64px; height: 64px; border-radius: 15px; overflow: hidden; flex: 0 0 auto; background: #000; }
.appcard .tx { flex: 1 1 240px; }
.appcard .tx .dp { font-size: 24px; }

.sharekit { max-width: 980px; margin: 72px auto 0; padding: 0 var(--gut); }
.sharekit .in { border-top: 1px solid var(--ink); padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-links a, .share-links button { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border: 1px solid #CFCFCF; background: #fff; color: var(--ink); padding: 11px 14px; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; }
.share-links a:hover, .share-links button:hover { border-color: var(--ink); color: var(--ink); }
.kit { display: flex; gap: 20px; align-items: flex-start; background: var(--stone); padding: 22px; }
.kit .sk-qr canvas { width: 120px; height: 120px; display: block; }
.kit .acts { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kit progress { width: 100%; height: 4px; accent-color: var(--brass); }

.faq { max-width: 720px; margin: 56px auto 0; padding: 0 var(--gut); }

/* archive header */
.s-hero { position: relative; min-height: clamp(380px, 40vw, 560px); display: flex; align-items: flex-end; color: var(--ink); overflow: hidden; background: #0D1A22; }
.s-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero .box { position: relative; background: #fff; padding: clamp(24px, 4vw, 48px); max-width: 720px; margin: 0 0 48px; }
.s-hero h1 { margin: 12px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: .92; }
.pager { display: flex; justify-content: center; gap: 12px; padding: 64px 0 0; }

/* logbook + footer */
.logbook { max-width: 860px; margin: 0 auto; padding: clamp(80px, 9vw, 128px) var(--gut); text-align: center; }
.logbook form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.logbook input[type=email] { flex: 1 1 280px; max-width: 420px; min-height: 52px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-family: var(--text); font-size: 18px; padding: 0 4px; }
.site-footer { background: var(--night); color: #C3C8CD; }
.site-footer .logo { font-family: var(--serif); font-size: clamp(72px, 14vw, 200px); line-height: .85; letter-spacing: .05em; color: #F5F5F5; margin: 0 0 56px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; border-top: 1px solid #2E3238; padding-top: 32px; }
.site-footer .cols a { display: block; font-family: var(--text); font-size: 17px; color: #E6E9EC; padding: 4px 0; }
.site-footer .cols a:hover { color: var(--gold); }
.site-footer .lb.gold { color: var(--gold); }

/* sticky app bar on phones */
.appbar { display: none; }
@media (max-width: 760px) {
  body { font-size: 17px; }
  .appbar.on { display: flex; position: fixed; left: 10px; right: 10px; bottom: 12px; z-index: 50; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
  .appbar .dp { font-size: 17px; color: #fff; }
  .appbar small { display: block; font-family: var(--sans); font-size: 11px; color: #C3C8CD; }
  .appbar .btn { min-height: 44px; padding: 0 16px; }
  .hide-m { display: none !important; }
  .hero .copy h2 { font-size: 40px; }
  .hero::after { background: linear-gradient(0deg, rgba(1,5,12,.96) 0%, rgba(1,5,12,.82) 32%, rgba(1,5,12,.35) 56%, rgba(1,5,12,0) 72%); }
  .ribbon .t { display: none; }
  .article-body { font-size: 19px; }
  .tile { aspect-ratio: 1 / 1.05; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile .cap { padding: 10px 12px; }
  .tile .cap .dp { font-size: 19px; }
  .tile .cap .sr { display: none; }
}
@media (min-width: 761px) { .hide-d { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- print edition (Issue → Print / Save as PDF) ---------- */
.print-edition { display: none; }
@page { size: 8.5in 11in; margin: 0; }
@media print {
  body.print-mode > *:not(.print-edition) { display: none !important; }
  body.print-mode .print-edition { display: block; }
}
body.print-mode .print-edition { display: block; }
body.print-mode > *:not(.print-edition):not(script) { display: none !important; }
.pe-page { width: 8.5in; min-height: 11in; position: relative; overflow: hidden; break-after: page; page-break-after: always; background: #fff; margin: 0 auto; }
@media screen { body.print-mode { background: #555; } .pe-page { margin: 24px auto; box-shadow: 0 10px 40px rgba(0,0,0,.4); } .pe-toolbar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; padding: 12px; background: var(--ink); } }
@media print { .pe-toolbar { display: none !important; } .pe-page { margin: 0; box-shadow: none; } }
.pe-full img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pe-shade { position: absolute; inset: 0; }
.pe-text { padding: .85in .7in .9in; }
.pe-body { column-count: 2; column-gap: .32in; font-family: var(--text); font-size: 10.3pt; line-height: 1.52; color: #1A1A1A; }
.pe-body p { margin: 0 0 .11in; orphans: 3; widows: 3; }
.pe-body > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 52pt; line-height: .82; padding: 4pt 6pt 0 0; color: var(--brass); }
.pe-body h2, .pe-body h3, .pe-body h4 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 14.5pt; line-height: 1.15; margin: .2in 0 .08in; break-after: avoid; }
.pe-body img, .pe-body figure { display: none; }
.pe-body blockquote { margin: .16in 0; padding: .14in 0; border-top: .6pt solid #0B0B0C; border-bottom: .6pt solid #0B0B0C; font-family: var(--serif); font-style: italic; font-size: 15pt; line-height: 1.18; break-inside: avoid; }
.pe-foot { position: absolute; left: .7in; right: .7in; bottom: .45in; display: flex; justify-content: space-between; font-family: var(--sans); font-size: 6.5pt; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }

.pct { font-family: var(--text); font-weight: 300; font-size: .82em; margin-left: .04em; }
.a-head h1, .card h3, .cover .f .dp { text-wrap: balance; }

/* values strip + why page */
.values { background: var(--night); color: #F5F5F5; padding: clamp(64px, 8vw, 112px) 0; }
.values-head { max-width: 900px; margin-bottom: 48px; }
.values-head h2 { margin: 14px 0 0; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0; border-top: 1px solid #2E3238; }
.values-grid > div { padding: 28px 28px 28px 0; border-bottom: 1px solid #2E3238; }
.values-grid > div + div { padding-left: 28px; border-left: 1px solid #2E3238; }
.values-grid .lb { margin: 0 0 12px; }
.values-grid .vt { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; color: #fff; }
.values-grid .vd { margin: 0; font-size: 17px; line-height: 1.55; color: #C3C8CD; }
.values-cta { margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .values-grid > div + div { padding-left: 0; border-left: 0; } .values-grid > div { padding-right: 0; } }
.cmp { border-top: 1px solid var(--ink); }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.cmp-h span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.cmp-h span:last-child { color: var(--brass); }
.cmp-a { color: var(--grey2); font-size: 17px; }
.cmp-b { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 600px) { .cmp-row { grid-template-columns: 1fr 1fr; } .cmp-row > :first-child { grid-column: 1 / -1; } .cmp-h > :first-child { display: none; } }
.faq-item { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.faq-item summary { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 28px; line-height: 1; color: var(--brass); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { margin: 12px 0 0; font-size: 18px; line-height: 1.6; color: var(--grey2); max-width: 46em; }
@media (max-width: 760px) { .why-block .split > div:first-child { position: static !important; } }

/* touch targets & small-screen safety */
.langs a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.rule > a, .rule > .lb > a, .values-cta a, .band .linkline, .pager a { display: inline-flex; align-items: center; min-height: 44px; }
.rule > a { padding: 0 2px; margin: -14px 0; }
.faq-item summary { min-height: 44px; align-items: center; }
.pager .btn a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.search-form-big { flex-wrap: wrap; }
.search-form-big input { min-width: 0; }
img { max-width: 100%; }
html, body { overflow-x: clip; }
@media (max-width: 760px) {
  .rule { flex-wrap: wrap; row-gap: 4px; }
  .hero .topbar .langs a { min-width: 38px; padding: 0 4px; }
  .btn { min-height: 48px; }
}
