/* nostrategicvalue.com — colours sampled from the cover: night-blue sky and road, mist, persimmon */
:root {
  --bg: #1c2433;
  --surface: #232d40;
  --text: #ebe7df;
  --muted: #a7b0c1;
  --rule: #36425b;
  --accent: #e08a5e;          /* persimmon, lightened for contrast on --bg */
  --accent-ink: #1c2433;
  --leaf: #8bb39a;            /* terraces and leaves in the stock photographs */
  --mist: #8fb0d6;            /* river and dusk sky */
  --red: #d9654b;             /* the perimeter */
  --saffron: #e3b25a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 38rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--text); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--text); color: var(--bg); padding: .4rem .8rem; z-index: 2; }

/* header */
.site-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1.5rem;
  max-width: 64rem; margin: 0 auto; padding: 1.4rem 1rem 1rem; border-bottom: 1px solid var(--rule);
}
.mark { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: .01em; color: var(--text); text-decoration: none; }
.mark span { font-style: italic; font-weight: normal; color: var(--accent); }
.mark:hover { color: var(--text); } .mark:hover span { color: var(--text); }
.site-head nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-head nav a { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--text); }

main { max-width: 64rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }

/* home */
.hero { display: grid; gap: 2.5rem; align-items: start; }
.cover { width: min(70vw, 340px); height: auto; justify-self: center; box-shadow: 0 1.2rem 3rem rgba(0,0,0,.45); }
.title { font-family: var(--sans); font-weight: 700; letter-spacing: .14em; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.15; margin: 0; }
.byline { font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--muted); margin: .7rem 0 1.8rem; }
.hero-text p { max-width: var(--measure); }
.tagline { font-style: italic; color: var(--muted); margin: -1rem 0 1.8rem; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 2rem; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: .9rem; letter-spacing: .06em; padding: .8rem 1.3rem; border-radius: 3px;
}
.button:hover { background: var(--text); color: var(--bg); }
.formats { font-family: var(--sans); font-size: .82rem; color: var(--muted); letter-spacing: .05em; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 340px 1fr; gap: 3.5rem; }
  .cover { justify-self: start; }
}

/* prose pages */
.prose { max-width: var(--measure); margin: 0 auto; }
.prose h1 { font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 1.35rem; margin: 0 0 2rem; }
.prose h2 { font-family: var(--sans); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; color: var(--accent); margin: 3.2rem 0 .9rem; }
.prose h2::before { content: ""; display: inline-block; width: 1.6rem; height: 2px; background: currentColor; vertical-align: middle; margin-right: .7rem; }
.prose h3 { font-size: 1.15rem; font-style: italic; font-weight: normal; margin: 2rem 0 .5rem; }
.prose p, .prose li { hyphens: auto; }
blockquote { margin: 1.8rem 0; padding: .9rem 1.2rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 4px 4px 0; color: var(--text); }
blockquote p { margin: .6rem 0; }
.break { text-align: center; color: var(--muted); margin: 2rem 0; letter-spacing: .5em; }
ul { padding-left: 1.2rem; }
.timeline li { margin: .3rem 0; }
.note { color: var(--muted); font-size: .95rem; }

/* banners: full-width photograph between the header and the page, fading into the background */
.banner { margin: 0; position: relative; height: clamp(150px, 24vw, 340px); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner::after { content: ""; position: absolute; inset: 0 0 -2px 0; background: linear-gradient(to bottom, rgba(28,36,51,0) 50%, var(--bg) 97%); }

/* figures */
.diagram, .photo { margin: 2rem 0; }
.diagram svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.photo img { width: 100%; height: auto; display: block; border-radius: 6px; }
figcaption { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: .6rem; letter-spacing: .02em; }

/* timeline */
.tl { list-style: none; padding: 0; margin: 1.5rem 0; border-left: 2px solid var(--rule); }
.tl li { position: relative; padding: 0 0 1.1rem 1.6rem; }
.tl li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--muted)); box-shadow: 0 0 0 3px var(--bg); }
.tl b { display: block; font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; color: var(--c, var(--muted)); }
.t-people { --c: var(--mist); } .t-econ { --c: var(--accent); } .t-wall { --c: var(--red); } .t-sys { --c: var(--leaf); }

/* footer */
.site-foot { max-width: 64rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; border-top: 1px solid var(--rule); color: var(--muted); font-family: var(--sans); font-size: .82rem; }
.site-foot p { margin: .3rem 0; }
.site-foot a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) { a, .button { transition: color .15s, background-color .15s; } }
@media (max-width: 700px) {
  .diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .diagram svg { min-width: 640px; }
  .diagram figcaption::after { content: " Swipe to see the whole diagram."; }
}
