/* Shared styles for the generated pages (/unhyped, the issues, /course, /case, /playbook).
   Same Patina tokens, nav and footer as / and /mentoring. Built pages: tools/pages/build.js */
:root {
  --iron: #1E2B2F; --iron-2: #2A3A3F; --verdigris: #2D7466; --verdigris-dark: #235C51; --patina: #D3E4DD;
  --saffron: #E2A93B; --mist: #F1F4F2; --white: #FFFFFF; --text: #1E2B2F; --text-muted: #55666A;
  --text-on-iron: #E4ECE8; --muted-on-iron: #A9BBB5; --rule: #D6DFDB;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 70rem; --narrow: 44rem; --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--mist); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verdigris); text-underline-offset: .18em; }
a:hover { color: var(--verdigris-dark); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.lede { color: var(--text-muted); margin: 0 0 2rem; font-size: 1.1rem; }

/* Header, copied verbatim from / and /mentoring so every page has the same header */
.mark { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; text-decoration: none; color: inherit; }
.band { background: var(--iron); color: var(--text-on-iron); }
.band a { color: var(--text-on-iron); }
nav { padding: 1.5rem 0; }
nav .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; padding: 0; }
nav ul a { text-decoration: none; font-weight: 500; font-size: .98rem; }
nav ul a:hover { color: var(--white); text-decoration: underline; }
.nav-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 1px solid #5C6E72; border-radius: var(--radius); color: var(--text-on-iron); font: 500 .95rem var(--sans); padding: .55rem .8rem; cursor: pointer; }
.nav-toggle:hover { border-color: var(--text-on-iron); }
.burger { position: relative; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s, opacity .2s, top .2s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 5px; } .burger i:nth-child(3) { top: 10px; }
nav.open .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
nav.open .burger i:nth-child(2) { opacity: 0; }
nav.open .burger i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.hero { padding: 4.5rem 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-grid:has(figure) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.4rem); color: var(--white); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; }
.hero h1 > span { display: block; }
.hero-copy .eyebrow { margin: 0 0 1.25rem; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron); max-width: none; }
.hero-copy p { font-size: 1.2rem; margin: 2rem 0 2.25rem; color: var(--text-on-iron); }
.hero figure { margin: 0; }
.hero figure img { width: 100%; max-width: 22rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-left: auto; filter: saturate(.9); }
.mark { display: inline-flex; align-items: center; gap: .8rem; }
.tile { width: 2.5rem; height: 2.5rem; flex: none; border-radius: var(--radius); background: var(--verdigris); color: var(--white); display: inline-flex; align-items: flex-end; justify-content: center; padding-bottom: .42rem; font: 600 1.6rem/1 var(--serif); letter-spacing: 0; }
.tile i { width: .3rem; height: .3rem; border-radius: 50%; background: var(--saffron); margin: 0 0 .08rem .1rem; }
.mark-text { display: flex; flex-direction: column; line-height: 1.05; }
.mark-text small { font: 500 .8rem/1.2 var(--sans); letter-spacing: .01em; margin-top: .2rem; opacity: .75; }
.band .tile { background: var(--saffron); color: var(--iron); }
.band .tile i { background: var(--iron); }
.hero-rule { border: 0; border-top: 1px solid #3D4F53; margin: 4.5rem 0 0; }
.credentials { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; padding: 1.5rem 0 2.5rem; margin: 0; list-style: none; color: var(--muted-on-iron); font-size: .98rem; }
.credentials strong { color: var(--white); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-block; padding: .85rem 1.4rem; border-radius: var(--radius); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--verdigris); color: var(--white); }
.btn-primary:hover { background: var(--verdigris-dark); color: var(--white); }
.btn-outline { border-color: var(--verdigris); color: var(--verdigris); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--verdigris-dark); }
.band .btn-signal, .btn-signal { background: var(--saffron); color: var(--iron); }
.band .btn-signal:hover, .btn-signal:hover { background: #EDBB55; color: var(--iron); }
.band .btn-quiet { border-color: #5C6E72; color: var(--text-on-iron); }
.band .btn-quiet:hover { border-color: var(--text-on-iron); color: var(--white); }
nav ul { align-items: center; }
nav li.switch { margin-left: .5rem; padding-left: 1.75rem; border-left: 1px solid #46585C; }
.seg { display: inline-flex; gap: 1.4rem; }
nav .seg a { padding: .35rem 0; font-weight: 500; white-space: nowrap; color: var(--muted-on-iron); border-top: 2px solid transparent; border-bottom: 2px solid transparent; }
nav .seg a:hover { text-decoration: none; color: var(--white); }
nav .seg a[aria-current="page"], nav .seg a[aria-current="page"]:hover { color: var(--white); border-bottom-color: var(--saffron); }
.hero-sub h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.mark { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.mark .stop { color: var(--saffron); }
.mark-text small { text-transform: none; letter-spacing: .01em; }
.tile { background: var(--iron); padding: 0; border-radius: .55rem; display: inline-block; }
.tile svg { display: block; width: 100%; height: 100%; }
.band .tile { background: var(--verdigris); }
footer .mark .stop { color: #B07A12; }
footer { padding: 3rem 0 4rem; color: var(--text-muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
footer .mark { color: var(--iron); }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
@media (max-width: 1080px) {
    nav { padding: 1.1rem 0; }
    nav .wrap { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; }
    nav ul { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: .5rem; }
    nav.open ul { display: flex; }
    nav ul li { border-top: 1px solid #34454A; }
    nav ul a { display: block; padding: .9rem 0; font-size: 1.05rem; }
    nav li.switch { order: -1; margin: .25rem 0 .75rem; padding: 0; border: 0; }
    nav li.switch .seg { display: flex; gap: 1.5rem; }
    nav li.switch .seg a { padding: .5rem 0; font-size: .98rem; }
  }
@media (max-width: 720px) {
  .hero { padding-top: 2.5rem; }
  .hero-rule { margin-top: 3rem; }
}
.credentials a { color: var(--white); }
.hero.art .hero-copy p { margin-bottom: 0; }
.hero.art .hero-rule { margin-top: 3rem; }
.col { max-width: var(--narrow); }
.hero-copy p { text-wrap: balance; }
nav ul > li:not(.switch) a[aria-current] { color: var(--white); text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: .4em; }

/* Article */
.article { padding: 3rem 0 5rem; }

.prose { font-size: 1.1rem; line-height: 1.72; }
.prose p { margin: 0 0 1.25rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 2.75rem 0 1rem; scroll-margin-top: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem; padding-left: 1.35rem; }
.prose li { margin: 0 0 .55rem; padding-left: .25rem; }
.prose li::marker { color: var(--verdigris); font-weight: 600; }
.prose strong { font-weight: 600; }
.prose .over { margin-top: 2rem; padding: 1.1rem 1.25rem; background: var(--white); border-left: 4px solid var(--saffron); border-radius: var(--radius); }
.save { margin: 2rem auto 2.25rem; max-width: 26rem; }
.save img { border-radius: var(--radius); box-shadow: 0 8px 24px rgba(30,43,47,.15); }
.save figcaption { margin-top: .6rem; text-align: center; font-size: .92rem; color: var(--text-muted); }
.orig { margin: 3rem 0 0; padding: 1.5rem 0 0; border-top: 2px solid var(--iron); }
.orig p { margin: 0 0 1rem; color: var(--text-muted); }
.orig p:last-child { display: flex; flex-wrap: wrap; gap: .75rem; }
.sources { margin: 2.5rem 0 0; }
.sources h2 { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 .75rem; }
.sources ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; color: var(--text-muted); }
.sources li { margin: 0 0 .45rem; overflow-wrap: anywhere; }
.cta-prog { margin: 2.75rem 0 0; padding: 1.5rem 1.6rem; background: var(--white); border-top: 3px solid var(--verdigris); border-radius: var(--radius); }
.cta-prog .k { margin: 0 0 .35rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--verdigris); }
.cta-prog h3 { font-size: 1.45rem; }
.cta-prog h3 a { color: var(--text); text-decoration: none; }
.cta-prog h3 a:hover { color: var(--verdigris-dark); text-decoration: underline; }
.cta-prog p:last-child { margin: .5rem 0 0; color: var(--text-muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.75rem 0 0; }
.pager a { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--white); }
.pager a:hover { border-color: var(--verdigris); }
.pager span { font-size: .82rem; color: var(--text-muted); }
.pager strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; line-height: 1.25; }
.pager .next { text-align: right; grid-column: 2; }

/* Unhyped index */
.index { padding: 1rem 1.5rem 5rem; }
.series-block { padding: 3rem 0 0; }
.series-block h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .4rem; }
.series-block .lede { margin-bottom: 1.5rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.cards a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding-bottom: 1rem; color: var(--text); text-decoration: none; }
.cards img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: .6rem; transition: transform .2s; }
.cards a:hover img { transform: translateY(-2px); }
.cards .meta { font-size: .85rem; color: var(--text-muted); }
.cards strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.22; }
.cards a:hover strong { color: var(--verdigris-dark); text-decoration: underline; text-underline-offset: .18em; }
.cards .d { color: var(--text-muted); font-size: .97rem; }

/* Resource pages */
.res-body { padding: 4rem 0 3rem; }
.res-body .prose h2:first-child { margin-top: 0; }
.resources { background: var(--iron); color: var(--text-on-iron); padding: 4rem 0; scroll-margin-top: 0; }
.resources h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .6rem; }
.resources .lede { color: var(--muted-on-iron); }
form.signup { display: flex; flex-direction: column; gap: .6rem; max-width: 34rem; }
form.signup label { font-weight: 500; font-size: .95rem; }
form.signup .row { display: flex; gap: .6rem; }
form.signup .row input { flex: 1; min-width: 0; }
input[type="email"] { padding: .85rem 1rem; border-radius: var(--radius); border: 1px solid transparent; font: inherit; }
form.signup button[disabled] { opacity: .6; cursor: wait; }
.fine { font-size: .9rem; color: var(--muted-on-iron); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: .25rem 0 0; font-weight: 500; color: var(--white); }
.form-msg.err { color: #F2B8A8; }
form.signup.sent > :not(.form-msg) { display: none; }
.form-msg.ok { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: start; margin: 0; background: var(--patina); color: var(--iron); border-left: 4px solid var(--saffron); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-weight: 400; }
.form-msg.ok .tick { grid-row: span 3; width: 2rem; height: 2rem; border-radius: 50%; background: var(--verdigris); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.form-msg.ok strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.form-msg.ok span { font-size: .95rem; color: var(--text-muted); }
.form-msg.ok button { justify-self: start; background: none; border: 0; padding: 0; margin-top: .35rem; font: 500 .92rem var(--sans); color: var(--verdigris-dark); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.faq { padding: 4rem 0 1rem; }
.faq h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.faq h3 { font-size: 1.3rem; margin: 1.5rem 0 .4rem; }
.faq p { margin: 0; color: var(--text-muted); }
.more { padding: 3rem 0 5rem; }
.more h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.more-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--iron); }
.more-list a { display: flex; flex-direction: column; padding: .9rem 0; border-bottom: 1px solid var(--rule); color: var(--text); text-decoration: none; }
.more-list strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.more-list span { color: var(--text-muted); font-size: .95rem; }
.more-list a:hover strong { color: var(--verdigris-dark); text-decoration: underline; text-underline-offset: .18em; }


@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .prose { font-size: 1.05rem; }
  .cards { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  form.signup .row { flex-direction: column; }
}

/* Breadcrumbs: sit where the gold eyebrow sits on the main pages */
.crumbs { margin: 0 0 1.25rem; padding: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 0; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin: 0 .6rem; color: #5C6E72; }
.band .crumbs a { color: var(--muted-on-iron); text-decoration: none; }
.band .crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--saffron); }
.credentials a strong { color: var(--white); }
.credentials li a { text-decoration-color: #5C6E72; }
