/* ============================================================
   GLOBIS MBA Field Manuals — shared design system
   Trond Varlid reference hub
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@1,8..60,400;1,8..60,500;0,8..60,600&display=swap');

/* ---- Tokens ---- */
:root {
  --navy:        #1b2a56;
  --navy-deep:   #141f3e;
  --navy-soft:   #2a3a6e;
  --blue:        #1f33c9;
  --blue-bright: #2a40e6;
  --ink:         #1c1e26;
  --ink-soft:    #3a3e4c;
  --muted:       #6a7184;
  --paper:       #ffffff;
  --paper-warm:  #f6f5f0;
  --paper-warm2: #efede5;
  --line:        #e3e1d8;
  --line-strong: #cbc8bb;
  --yellow:      #ffe24a;
  --yellow-soft: #fff7cf;

  /* per-manual accents (shared chroma/lightness, varied hue) */
  --c-profile: oklch(0.46 0.16 264);
  --c-leader:  oklch(0.46 0.16 264);
  --c-nego:    oklch(0.50 0.16 25);
  --c-facil:   oklch(0.46 0.11 156);
  --c-hrm:     oklch(0.55 0.13 70);
  --c-bup:     oklch(0.47 0.16 300);

  --accent: var(--blue);
  --accent-tint: color-mix(in oklab, var(--accent) 10%, white);

  --maxw: 1060px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(20,31,62,.06), 0 1px 3px rgba(20,31,62,.05);
  --shadow-md: 0 4px 14px rgba(20,31,62,.08), 0 2px 6px rgba(20,31,62,.05);

  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-quote: 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.1; margin: 0; font-weight: 700; }

::selection { background: var(--yellow); color: var(--ink); }

/* ============================================================
   TOP NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  height: 64px; padding: 0 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav__brand:hover { text-decoration: none; }
.nav__logo {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .14em;
  font-size: 20px; color: var(--navy);
}
.nav__logoimg { height: 26px; width: auto; display: block; }
.nav__sub { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav__links { display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: nowrap; min-width: 0; }
.nav__link {
  position: relative; padding: 7px 9px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
}
.nav__link:hover { background: var(--paper-warm); text-decoration: none; color: var(--navy); }
.nav__link.is-active { color: var(--navy); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__search {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 7px 12px 7px 11px; color: var(--muted); font-size: 12.5px; font-weight: 600;
  background: var(--paper); transition: border-color .15s; white-space: nowrap; flex-shrink: 0; margin-left: 6px;
}
.nav__search:hover { border-color: var(--accent); color: var(--navy); }
.nav__search kbd {
  font-family: var(--font-body); font-size: 11px; background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--muted);
}

/* mobile nav toggle */
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

@media (max-width: 1240px) {
  .nav { gap: 14px; }
  .nav__link { font-size: 12.5px; padding: 7px 7px; }
  .nav__logo { font-size: 17px; letter-spacing: .1em; }
}
@media (max-width: 980px) {
  .nav { gap: 14px; padding: 0 16px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px; gap: 2px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__search { order: -1; }
  .nav__search kbd { display: none; }
}

/* ============================================================
   HERO / COVER BAND
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 64px 28px 58px;
}
.hero::before {
  /* subtle blueprint grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px; opacity: .5; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--accent);
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.hero__eyebrow {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: color-mix(in oklab, var(--accent) 50%, white);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); display: inline-block; }
.hero__title {
  color: #fff; font-weight: 700; font-size: clamp(38px, 6.2vw, 72px); line-height: 1.0;
  letter-spacing: -.01em; margin: 0 0 22px; white-space: nowrap;
}
.hero__quote {
  font-family: var(--font-quote); font-style: italic; font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.45; color: rgba(255,255,255,.92); max-width: 50ch; margin: 0 0 8px;
}
.hero__quote cite { display: block; font-style: normal; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: color-mix(in oklab, var(--accent) 45%, white); margin-top: 10px; }
.hero__meta {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.62);
}
.hero__meta b { color: #fff; font-weight: 600; }

/* decorative motif slot top-right of hero */
.hero__motif { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); opacity: .9; }
@media (max-width: 760px){ .hero__motif { display: none; } }

/* ============================================================
   PAGE SHELL
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section__head { margin-bottom: 30px; }
.section__kicker {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.section__title { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.01em; }
.section__lead { color: var(--ink-soft); font-size: 18px; max-width: 64ch; margin-top: 12px; }

/* ============================================================
   FRAMEWORK CARDS
   ============================================================ */
.fw {
  scroll-margin-top: 86px;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 26px 30px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.fw__num { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .14em; }
.fw__title { font-size: 23px; margin: 4px 0 6px; }
.fw__src { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.fw__src a { font-style: normal; }
.fw p { margin: 10px 0; }
.fw p:first-of-type { margin-top: 8px; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px){ .grid--2, .grid--3 { grid-template-columns: 1fr; } }

/* numbered / checklist lists */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 14px 0 0; }
ol.steps li {
  counter-increment: s; position: relative; padding: 10px 0 10px 52px; border-bottom: 1px solid var(--line);
}
ol.steps li:last-child { border-bottom: 0; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 9px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
}
ol.steps li b { color: var(--navy); }

ul.checks { list-style: none; padding: 0; margin: 14px 0 0; }
ul.checks li { position: relative; padding: 8px 0 8px 32px; }
ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 700;
}
ul.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
ul.ticks li { position: relative; padding: 6px 0 6px 22px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; }

/* ============================================================
   CALLOUT / QUOTE
   ============================================================ */
.callout {
  background: var(--yellow-soft); border: 1px solid color-mix(in oklab, var(--yellow) 55%, #d8c54a);
  border-radius: var(--radius); padding: 22px 26px; margin: 22px 0;
  position: relative;
}
.callout--solid { background: var(--yellow); border-color: #e8cf2e; }
.callout b, .callout strong { color: #7a5b00; }
.callout--solid b, .callout--solid strong { color: var(--navy); }

.pullquote {
  font-family: var(--font-quote); font-style: italic; font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.4; color: var(--navy); margin: 6px 0; padding: 6px 0 6px 24px;
  border-left: 4px solid var(--accent);
}
.pullquote cite { display: block; font-style: normal; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 12px; }

/* small chip / tag */
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent);
}

/* ============================================================
   COLLAPSIBLE (details)
   ============================================================ */
details.acc {
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: var(--paper);
  overflow: hidden;
}
details.acc > summary {
  list-style: none; cursor: pointer; padding: 16px 22px; font-family: var(--font-display);
  font-weight: 600; font-size: 18px; color: var(--navy); display: flex; align-items: center; gap: 12px;
  background: var(--paper-warm);
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::before {
  content: "+"; font-size: 20px; color: var(--accent); width: 20px; text-align: center; transition: transform .2s;
}
details.acc[open] > summary::before { content: "−"; }
details.acc > summary:hover { background: var(--paper-warm2); }
.acc__inner { padding: 6px 22px 22px; }

/* ============================================================
   FIGURES (rebuilt diagrams)
   ============================================================ */
.figure {
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; margin: 20px 0; text-align: center;
}
.figure figcaption { font-size: 13px; color: var(--muted); margin-top: 16px; font-style: italic; }
.figure svg { max-width: 100%; height: auto; }

/* golden circle */
.golden { display: grid; place-items: center; }

/* chevron flow */
.flow { display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; justify-content: center; }
.flow__step {
  position: relative; background: var(--yellow-soft); border: 1px solid #e3d27a;
  padding: 16px 26px 16px 34px; min-width: 150px; text-align: left;
}
.flow__step:first-child { padding-left: 22px; border-radius: var(--radius) 0 0 var(--radius); }
.flow__step::after {
  content: ""; position: absolute; right: -15px; top: 50%; transform: translateY(-50%);
  border-left: 15px solid var(--yellow-soft); border-top: 28px solid transparent; border-bottom: 28px solid transparent; z-index: 2;
}
.flow__step::before {
  content: ""; position: absolute; right: -17px; top: 50%; transform: translateY(-50%);
  border-left: 15px solid #e3d27a; border-top: 30px solid transparent; border-bottom: 30px solid transparent; z-index: 1;
}
.flow__step:last-child::after, .flow__step:last-child::before { display: none; }
.flow--allarrows .flow__step::after, .flow--allarrows .flow__step::before { display: block !important; }

/* Five Keys funnel */
.keys { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.key { display: flex; align-items: center; gap: 16px; color: #fff; padding: 14px 30px 14px 16px; border-radius: 3px; width: 100%; }
.key__n { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.key__t { text-align: left; }
.key__t b { font-size: 16px; display: block; font-family: var(--font-display); }
.key__t span { font-size: 12.5px; opacity: .94; display: block; margin-top: 1px; line-height: 1.35; }

/* Manager vs Leader cylinders */
.mvl { position: relative; max-width: 700px; margin: 0 auto; padding-bottom: 26px; }
.mvl__base { position: absolute; left: 2%; right: 2%; bottom: 0; height: 120px; background: radial-gradient(ellipse at 50% 35%, #f1d24e, #d9b836); border-radius: 50%; z-index: 1; }
.mvl__base span { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #1b2a56; }
.mvl__cyls { position: relative; z-index: 2; display: flex; gap: 30px; justify-content: center; align-items: stretch; padding: 0 6%; }
.cyl { flex: 1; max-width: 290px; position: relative; border-radius: 50% / 26px; padding: 40px 22px 34px; color: #fff; text-align: center; margin-bottom: 34px; box-shadow: 0 10px 22px rgba(20,31,62,.18); }
.cyl::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px; border-radius: 50%; }
.cyl--mgmt { background: linear-gradient(90deg, #25356b 0%, #6c7cb6 50%, #25356b 100%); }
.cyl--mgmt::before { background: #8a98c8; }
.cyl--lead { background: linear-gradient(90deg, #a83f29 0%, #e89a6a 50%, #a83f29 100%); }
.cyl--lead::before { background: #efb088; }
.cyl h4 { color: #fff; font-size: 19px; position: relative; }
.cyl .cyl-sub { display: block; font-size: 12.5px; font-weight: 600; opacity: .9; margin-top: 2px; }
.cyl .cyl-tag { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 15px; margin: 12px 0 14px; position: relative; }
.cyl ul { list-style: none; margin: 0; padding: 0; position: relative; text-align: left; display: inline-block; }
.cyl li { font-size: 13px; font-weight: 600; padding: 5px 0 5px 20px; position: relative; line-height: 1.3; }
.cyl li::before { content: "✓"; position: absolute; left: 0; }
@media (max-width: 600px){ .mvl__cyls { flex-direction: column; align-items: center; } .cyl { max-width: 320px; width: 90%; } .mvl__base { display: none; } }
.flow__step h4 { font-size: 16px; }
.flow__step p { font-size: 13px; margin: 4px 0 0; color: var(--ink-soft); line-height: 1.4; }

/* two-column compare (manager vs leader) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px){ .compare { grid-template-columns: 1fr; } }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare__col h4 { color: #fff; padding: 16px 20px; font-size: 19px; }
.compare__col--mgmt h4 { background: #3a4a86; }
.compare__col--lead h4 { background: #b5472f; }
.compare__col .compare__sub { font-size: 12px; font-weight: 600; opacity: .85; display: block; letter-spacing: .04em; }
.compare__col ul { list-style: none; margin: 0; padding: 16px 20px; }
.compare__col li { padding: 6px 0 6px 22px; position: relative; font-size: 15px; }
.compare__col li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* hub-spoke (7S) handled in svg */

/* SCARF */
.scarf { display: flex; gap: 30px; align-items: center; justify-content: center; flex-wrap: wrap; }
.scarf__letters { display: grid; gap: 8px; text-align: left; }
.scarf__row { display: flex; align-items: center; gap: 12px; }
.scarf__row b { font-family: var(--font-display); font-size: 20px; color: var(--navy); width: 130px; }
.scarf__row span { font-size: 14px; color: var(--muted); }

/* gradient bars (five keys) */
.bars { display: grid; gap: 8px; max-width: 560px; margin: 0 auto; text-align: left; }
.bars__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius); color: #fff; }
.bars__n { font-family: var(--font-display); font-weight: 700; font-size: 20px; opacity: .8; width: 24px; }
.bars__t b { font-size: 16px; display: block; }
.bars__t span { font-size: 13px; opacity: .9; }

/* thinking hats */
.hats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px){ .hats { grid-template-columns: repeat(2,1fr); } }
.hat { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: left; background: #fff; }
.hat__cap { width: 100%; height: 8px; border-radius: 6px; margin-bottom: 12px; }
.hat__icon { display:block; width:52px; height:auto; margin:0 0 10px; }
.hat h4 { font-size: 20px; }
.hat p { font-size: 16px; color: var(--ink-soft); margin: 8px 0 0; line-height: 1.5; }

/* clock face (negotiation) */
.clockwrap { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; justify-content: center; text-align: left; }
.clock-legend { display: grid; gap: 10px; max-width: 320px; }
.clock-legend div { font-size: 14px; }
.clock-legend b { color: var(--navy); }

/* people / type cards */
.types { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 760px){ .types { grid-template-columns: 1fr; } }
.type { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; background: #fff; }
.type h4 { font-size: 19px; letter-spacing: .02em; }
.type p { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; }

/* ============================================================
   PROFILE / CV
   ============================================================ */
.cv { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px){ .cv { grid-template-columns: 1fr; gap: 28px; } }
.cv__photo { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.cv__photo img { width: 100%; }
.cv__aside { position: sticky; top: 86px; }
.cv__facts { margin-top: 22px; display: grid; gap: 2px; }
.cv__facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 14px; }
.cv__facts dd { margin: 2px 0 0; font-size: 15px; color: var(--ink); }
.cv__block { margin-bottom: 34px; }
.cv__block h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.role { padding: 12px 0; border-bottom: 1px solid var(--line); }
.role:last-child { border-bottom: 0; }
.role b { color: var(--navy); font-size: 17px; }
.role .role__org { font-weight: 600; }
.role .role__meta { color: var(--muted); font-size: 14px; display: block; margin-top: 2px; }
.role ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }

/* ============================================================
   HOME / INDEX
   ============================================================ */
.home-hero { background: var(--navy); color: #fff; padding: 90px 28px 80px; position: relative; overflow: hidden; }
.home-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .55;
}
.home-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.home-hero h1 { color: #fff; font-size: clamp(44px, 8vw, 92px); line-height: .96; letter-spacing: -.015em; max-width: 16ch; }
.home-hero p { font-size: clamp(18px,2.2vw,22px); color: rgba(255,255,255,.8); max-width: 56ch; margin-top: 22px; }
.home-hero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--blue-bright); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--navy); text-decoration: none; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; text-decoration: none; background: rgba(255,255,255,.08); }

.manuals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 560px){ .manuals { grid-template-columns: 1fr; } }
.manual-card {
  position: relative; display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
  text-decoration: none; color: inherit;
}
.manual-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; border-color: var(--line-strong); }
.manual-card__band { height: 8px; background: var(--mc, var(--blue)); }
.manual-card__body { padding: 26px 28px 30px; }
.manual-card__num { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--mc, var(--blue)); }
.manual-card h3 { font-size: 28px; margin: 6px 0 10px; }
.manual-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.manual-card__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.manual-card__tags span { font-size: 12px; color: var(--muted); background: var(--paper-warm); border: 1px solid var(--line); border-radius: 4px; padding: 3px 9px; }
.manual-card__go { margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--mc, var(--blue)); display: inline-flex; align-items: center; gap: 8px; }
.manual-card:hover .manual-card__go { gap: 12px; }

/* ============================================================
   SEARCH MODAL
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; background: rgba(20,31,62,.4); backdrop-filter: blur(3px);
  z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 80px 20px;
}
.search-overlay.is-open { display: flex; }
.search-box { width: 100%; max-width: 640px; background: #fff; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.3); overflow: hidden; }
.search-box__input { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.search-box__input input { flex: 1; border: 0; outline: 0; font-family: var(--font-body); font-size: 19px; color: var(--ink); background: transparent; }
.search-box__input svg { flex-shrink: 0; }
.search-results { max-height: 56vh; overflow-y: auto; padding: 8px; }
.search-empty { padding: 40px 22px; text-align: center; color: var(--muted); }
.search-hit { display: block; padding: 13px 16px; border-radius: 6px; text-decoration: none; color: inherit; }
.search-hit:hover, .search-hit.is-active { background: var(--paper-warm); text-decoration: none; }
.search-hit__page { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.search-hit__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--navy); margin: 1px 0; }
.search-hit__blurb { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-box__foot { padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; gap: 16px; }
mark { background: var(--yellow); color: inherit; padding: 0 1px; border-radius: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.66); padding: 48px 28px; margin-top: 0; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-end; }
.footer__brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; color: #fff; font-size: 22px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; }
.footer__links a:hover { color: #fff; }
.footer__note { font-size: 12.5px; line-height: 1.6; max-width: 42ch; }
.footer__lock { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 12px; color: rgba(255,255,255,.8); margin-bottom: 10px; }

/* on-page sub nav (jump links) */
.subnav { position: sticky; top: 64px; z-index: 40; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.subnav__inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 6px; padding: 10px 28px; overflow-x: auto; }
.subnav a { font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.subnav a:hover { background: #fff; text-decoration: none; color: var(--navy); }
.subnav a.is-active { background: var(--accent); color: #fff; }

/* utility */
.lead-anim { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.lead-anim.in { opacity: 1; transform: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ============================================================
   TROND'S BLOG
   ============================================================ */
.blog-grid { display: grid; gap: 22px; }
.post { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; }
.post:has(.post__body:only-child) { grid-template-columns: 1fr; }
.post__img { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.post__img img { display: block; width: 100%; height: auto; }
.post__date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.post__title { font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--navy); margin: 0 0 10px; }
.post__text { font-size: 16px; line-height: 1.65; color: var(--ink); }
.post__text p { margin: 0 0 11px; }
.post__text p:last-child { margin-bottom: 0; }
.post__text.clamp { display: block; max-height: calc(1.65em * 5); overflow: hidden; }
.post__more { margin-top: 9px; font-size: 13px; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.post__more:hover { text-decoration: underline; }
.post__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 14px; }
.post__shot { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.post__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.post__file { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; background: var(--paper); color: var(--navy); text-decoration: none; }
.post__file:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.post__share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.post__sharebtn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; font-family: inherit; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; background: none; color: var(--muted); cursor: pointer; text-decoration: none; }
.post__sharebtn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.post--linked { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--radius); }
.nav__cohort { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #fff; background: rgba(255,255,255,.16); border-radius: 999px; padding: 5px 11px; align-self: center; white-space: nowrap; }
.blog-empty { font-size: 15px; color: var(--muted); padding: 28px 26px; margin: 0; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
@media (max-width: 720px) { .post { grid-template-columns: 1fr; } }

/* ============================================================
   BOOK RECOMMENDATIONS
   ============================================================ */
.books-filters {
  display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end;
  padding: 20px 0 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
  position: sticky; top: 64px; background: var(--paper); z-index: 30;
}
.bf__group { display: flex; flex-direction: column; gap: 5px; }
.bf__group label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.bf__select {
  appearance: none; -webkit-appearance: none; font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--navy); background: var(--paper-warm); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 9px 38px 9px 16px; cursor: pointer; min-width: 210px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a7184' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.bf__select:focus { outline: none; border-color: var(--accent); }
.bf__ac { position: relative; }
.bf__ac .bf__select { min-width: 220px; background-image: none; padding-right: 16px; }
.bf__aclist { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: 168px; overflow-y: auto; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 10px 28px rgba(16,24,48,.14); padding: 5px; }
.bf__aclist[hidden] { display: none; }
.bf__acopt { font-size: 13.5px; font-weight: 600; color: var(--navy); padding: 7px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf__acopt:hover, .bf__acopt.is-active { background: var(--paper-warm); color: var(--accent); }
.bf__acempty { font-size: 13px; color: var(--muted); padding: 8px 10px; }
.bf__count { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 600; align-self: center; }
.bf__reset { font-size: 13px; font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 8px 4px; align-self: center; }
.bf__reset:hover { text-decoration: underline; }

.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin-top: 24px; }
.book {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s, border-color .18s;
}
.book:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-strong); }
.book__coverwrap {
  background: linear-gradient(135deg, var(--paper-warm), var(--paper-warm2));
  padding: 22px 22px 0; display: flex; justify-content: center; align-items: flex-end; min-height: 210px;
}
.book__cover { width: auto; max-width: 150px; max-height: 220px; box-shadow: 0 8px 22px rgba(20,31,62,.22); border-radius: 2px; }
/* typographic fallback cover */
.book__fallback {
  width: 150px; height: 218px; border-radius: 2px 5px 5px 2px; color: #fff; position: relative;
  display: flex; flex-direction: column; justify-content: center; padding: 18px 16px 18px 22px;
  box-shadow: 0 8px 22px rgba(20,31,62,.22); overflow: hidden;
  border-left: 5px solid rgba(255,255,255,.35);
}
.book__fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 60%); }
.book__fallback .bf-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.12; }
.book__fallback .bf-rule { width: 30px; height: 2px; background: rgba(255,255,255,.6); margin: 9px 0; }
.book__fallback .bf-author { font-size: 11.5px; opacity: .9; font-weight: 600; }
.book__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.book__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.book__chip { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.book__chip--course { color: #fff; }
.book__chip--theme { background: var(--paper-warm2); color: var(--ink-soft); border: 1px solid var(--line); }
.book__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.15; color: var(--navy); }
.book__author { font-size: 13px; color: var(--muted); font-weight: 600; margin: 3px 0 10px; }
.book__blurb { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.book__blurb.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.book__more { align-self: flex-start; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0; }
.book__more:hover { text-decoration: underline; }
.books-empty { padding: 50px 0; text-align: center; color: var(--muted); }

.writing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin-top: 22px; }

/* manual-style chevron storyline */
.storyflow { display: flex; gap: 10px; align-items: stretch; overflow-x: auto; padding: 6px 2px 10px; }
.storyflow__col { flex: 1 1 0; min-width: 150px; display: flex; flex-direction: column; }
.storyflow__chev {
  position: relative; background: #fff; border: 2.5px solid var(--navy); color: var(--navy);
  height: 78px; display: flex; align-items: center; padding-left: 18px;
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(20px, 2.4vw, 30px);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
}
.storyflow__col:first-child .storyflow__chev { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); padding-left: 22px; }
.storyflow__cap { font-style: italic; font-size: 14px; color: var(--ink-soft); text-align: center; padding: 0 10px 12px; line-height: 1.45; }
.story-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
@media (max-width: 640px){ .story-caps { grid-template-columns: repeat(2, 1fr); } }
.story-caps > div { display: flex; flex-direction: column; }
.storyflow__bn {
  display: inline-flex; align-items: stretch; margin: 0 auto; border: 1.5px solid var(--navy);
  border-radius: 7px; overflow: hidden; font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: .03em;
}
.storyflow__bn b { padding: 7px 13px; display: flex; align-items: center; }
.storyflow__bn b:first-child { color: var(--navy); background: #fff; }
.storyflow__bn b:last-child { color: #fff; background: var(--navy); }

/* SCARF social threats & rewards illustration */
.scarffig { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.scarffig__away {
  background: #d8392b; color: #fff; width: 230px; min-height: 200px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 20px 18px 20px 30px;
  clip-path: polygon(40% 0, 40% 18%, 100% 18%, 100% 82%, 40% 82%, 40% 100%, 0 50%); margin-right: -34px;
}
.scarffig__away b { font-family: var(--font-display); font-size: 30px; letter-spacing: .02em; }
.scarffig__away span { font-style: italic; font-size: 15px; line-height: 1.3; margin-top: 2px; }
.scarffig__circle {
  width: 240px; height: 240px; border-radius: 50%; background: #fff; border: 6px solid #111;
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 30px; position: relative; z-index: 2;
}
.scarffig__circle .sc-row { font-family: var(--font-display); font-weight: 700; font-size: 25px; line-height: 1.16; color: #111; text-align: center; }
.scarffig__circle .sc-row span { color: #1f6fd6; font-size: 1.18em; }
.scarffig__toward {
  background: #2c8a3d; color: #fff; width: 150px; min-height: 120px; display: flex; align-items: center; justify-content: center;
  clip-path: polygon(0 18%, 60% 18%, 60% 0, 100% 50%, 60% 100%, 60% 82%, 0 82%); margin-left: -34px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; padding-right: 26px;
}
.scarffig__caption { text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 18px; margin-bottom: 10px; }

/* Path-to-Action emotion chevrons */
.emoflow { box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.emoflow__step {
  position: relative; flex: 1; min-width: 0; color: #1c1306; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(14px, 1.6vw, 19px); text-align: center; line-height: 1.15;
  display: flex; align-items: center; justify-content: center; padding: 20px 10px 20px 26px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  margin-right: -10px;
}
.emoflow__step:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-left: 16px; }
.emoflow__step--last { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 18px 50%); padding-right: 22px; }

/* full Facilitation Process matrix (manual reproduction) */
.facproc { overflow-x: auto; }
.facproc__inner { min-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.fp-zone { position: relative; border: 2px dashed; border-radius: 8px; padding: 30px 16px 16px; }
.fp-zone--prep { border-color: #2a40e6; background: #f5f7ff; }
.fp-zone--act { border-color: #c0392b; background: #fdf4f2; }
.fp-ztag { position: absolute; top: -12px; left: 18px; background: var(--paper); padding: 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; white-space: nowrap; }
.fp-heads { display: grid; grid-template-columns: 150px repeat(3, 1fr); gap: 10px; font-family: var(--font-display); font-weight: 700; color: #2a40e6; font-size: 14px; letter-spacing: .06em; margin-bottom: 8px; }
.fp-heads > :nth-child(4) { grid-column: span 1; }
.fp-boxes { display: grid; grid-template-columns: 150px repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.fp-ybox { background: #fff3a8; border: 1px solid #e3cf3e; border-radius: 4px; padding: 11px 12px; font-family: var(--font-display); font-weight: 700; color: var(--navy); text-align: center; font-size: 13.5px; line-height: 1.2; display: flex; align-items: center; justify-content: center; }
.fp-wbox { background: #fff; border: 2px solid var(--navy); border-radius: 4px; padding: 11px 12px; font-family: var(--font-display); font-weight: 700; color: var(--navy); text-align: center; font-size: 13.5px; line-height: 1.2; display: flex; align-items: center; justify-content: center; }
.fp-matrix { display: grid; grid-template-columns: 150px repeat(3, 1fr); gap: 10px; align-items: stretch; margin-bottom: 10px; }
.fp-rowlabel { font-style: italic; font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; font-weight: 600; }
.fp-cell { background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; padding: 10px; text-align: center; font-weight: 600; font-size: 13px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.fp-chev { position: relative; background: #fff; border: 1.5px solid var(--navy); color: var(--navy); padding: 10px 8px 10px 14px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); }
.fp-act-wrap { display: flex; gap: 12px; align-items: stretch; }
.fp-vert { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .06em; color: var(--navy); display: flex; align-items: center; justify-content: center; padding: 0 2px; }
.fp-matrix2 { flex: 1; display: grid; grid-template-columns: 200px repeat(3, 1fr); gap: 10px; align-items: stretch; }
.fp-callouts { width: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.fp-actlabel { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 18px; text-align: center; border: 1px solid var(--line-strong); border-radius: 4px; padding: 12px; background: #fff; }

/* Preparing Discussion Issues — Example table */
.prepissues { overflow-x: auto; }
.pi-grid {
  min-width: 820px; display: grid; gap: 10px; align-items: stretch;
  grid-template-columns: 88px 220px 1fr 1fr;
  grid-template-areas:
    ".   .       facH    partH"
    ".   forwhat f1      p1"
    "grp whatis  f2      p2"
    "grp whereis f3      p3";
}
.pi-head { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 15px; align-self: end; padding-bottom: 4px; }
.pi-head--fac { grid-area: facH; } .pi-head--part { grid-area: partH; }
.pi-stage { background: #fbef5a; border: 1px solid #e3cf3e; padding: 16px 42px 16px 22px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%); }
.pi-stage h4 { font-size: 19px; color: #1a1a1a; margin-bottom: 10px; }
.pi-stage ul { list-style: none; margin: 0; padding: 0; }
.pi-stage li { position: relative; padding: 5px 0 5px 16px; font-size: 14px; color: #1a1a1a; }
.pi-stage li::before { content: "·"; position: absolute; left: 2px; top: 2px; font-weight: 700; color: #1a1a1a; font-size: 20px; line-height: 1; }
.pi-cell { background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; padding: 14px 16px; font-size: 13.5px; color: var(--ink); line-height: 1.55; }
.pi-cell p { margin: 0 0 6px; } .pi-cell p:last-child { margin-bottom: 0; }
.pi-vert { grid-area: grp; background: #fbef5a; border: 1px solid #e3cf3e; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #1a1a1a; font-size: 15px; text-align: center; padding: 10px 8px; line-height: 1.25; }

/* Essential Facilitator Behaviors chevrons */
.behflow { display: flex; gap: 12px; }
.behflow__col { flex: 1 1 0; min-width: 0; }
.behchev {
  background: #fff; border: 2.5px solid var(--navy); height: 92px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; line-height: 1; padding-left: 14px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}
.behchev b { color: #d8392b; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px,2.2vw,25px); }
.behchev span { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #111; }
.behcol { margin-top: 16px; }
.behcol h4 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 14px 0 6px; }
.behcol h4:first-child { margin-top: 0; }
.behcol ul { list-style: none; margin: 0; padding: 0; }
.behcol li { position: relative; padding: 5px 0 5px 16px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.behcol li::before { content: "•"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* ============================================================
   PAGE LAYOUT HELPERS (Trond's Corner)
   ============================================================ */
.section--rule { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 44px; }
.section__title--sm { font-size: clamp(24px, 3vw, 30px); }
.section__lead--full { max-width: none; margin-bottom: 6px; }
.grid--top { align-items: start; }
.mt-8  { margin-top: 8px; }
.mt-20 { margin-top: 20px; }
.mt-28 { margin-top: 28px; }

/* ============================================================
   MOBILE — phones from 320px (iPhone SE/4) to ~440px (Pro Max)
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }
button, [role="button"], .subnav a, .nav__link, .post__more, .book__more, .bf__reset { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* notched phones: keep content out of the rounded corners */
.nav { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
.footer { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }

/* hover effects are meaningless on touch and can stick after a tap */
@media (hover: none) {
  .book:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
  .manual-card:hover { transform: none; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 16px; line-height: 1.6; }

  /* top nav: shorter bar, full-height tap targets, scrollable menu */
  .nav { height: 56px; gap: 10px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .nav__logo { font-size: 16px; letter-spacing: .1em; }
  .nav__brand { min-height: 44px; align-items: center; }
  .nav__toggle { min-width: 44px; min-height: 44px; display: grid; place-items: center; margin-right: -8px; }
  .nav__toggle span { margin: 0; }
  .nav__toggle span + span { margin-top: 5px; }
  .nav__links { top: 56px; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow-y: auto; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); }
  .nav__link { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; font-size: 15.5px; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--paper-warm); }
  .nav__search { min-height: 46px; font-size: 14.5px; margin: 0 0 6px; justify-content: center; }
  .nav__cohort { align-self: flex-start; margin: 6px 12px 0; }

  /* hero */
  .hero { padding: 40px 18px 32px; }
  .hero__eyebrow { font-size: 12px; letter-spacing: .18em; margin-bottom: 14px; }
  .hero__eyebrow::before { width: 24px; }
  .hero__title { white-space: normal; font-size: clamp(34px, 11.5vw, 46px); line-height: 1.04; margin-bottom: 16px; }
  .hero__quote { font-size: 17px; }
  .hero__meta { margin-top: 22px; padding-top: 14px; gap: 6px 16px; font-size: 13px; }

  /* sub nav: horizontal swipe, no visible scrollbar, bigger pills */
  .subnav { top: 56px; }
  .subnav__inner { padding: 8px 12px; gap: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .subnav__inner::-webkit-scrollbar { display: none; }
  .subnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; font-size: 14px; }

  /* page shell and type */
  .wrap { padding: 0 18px; }
  .section { padding: 36px 0; }
  .section--rule { margin-top: 36px; padding-top: 32px; }
  .section__head { margin-bottom: 22px; }
  .section__kicker { font-size: 12px; letter-spacing: .16em; }
  .section__title { font-size: clamp(25px, 7.4vw, 32px); }
  .section__title--sm { font-size: clamp(22px, 6.4vw, 26px); }
  .section__lead { font-size: 16.5px; margin-top: 10px; }
  .grid { gap: 14px; }
  .mt-28 { margin-top: 20px; }

  .fw { padding: 18px 16px; margin-bottom: 16px; }
  .fw__title { font-size: 20px; }
  ol.steps li { padding: 10px 0 10px 42px; }
  ol.steps li::before { width: 30px; height: 30px; font-size: 14px; top: 10px; }
  ul.ticks li { padding-left: 20px; }
  .callout { padding: 16px 18px; margin: 18px 0; }
  .pullquote { font-size: 19px; padding-left: 16px; }
  details.acc > summary { padding: 14px 16px; font-size: 17px; min-height: 52px; }
  .acc__inner { padding: 4px 16px 18px; }

  /* book recommendations */
  .books-filters { position: static; padding: 14px 0 18px; gap: 12px; }
  .bf__group { width: 100%; }
  .bf__group label { font-size: 12px; }
  .bf__select, .bf__ac .bf__select { width: 100%; min-width: 0; font-size: 16px; padding-top: 12px; padding-bottom: 12px; }
  .bf__aclist { max-height: 200px; }
  .bf__acopt { padding: 11px 12px; font-size: 15px; }
  .bf__reset { min-height: 44px; padding: 8px 12px; font-size: 15px; align-self: center; }
  .bf__count { font-size: 14px; }
  .books-grid, .writing-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
  .book__coverwrap { min-height: 200px; padding: 18px 18px 0; }
  .book__body { padding: 16px 16px 18px; }
  .book__chip { font-size: 12px; letter-spacing: .02em; }
  .book__title { font-size: 19px; }
  .book__author { font-size: 14px; }
  .book__blurb { font-size: 15px; line-height: 1.55; }
  .book__more { min-height: 44px; padding: 10px 0; font-size: 15px; }

  /* blog */
  .blog-grid { gap: 16px; }
  .post { padding: 16px; border-radius: 12px; gap: 14px; }
  .post__title { font-size: 21px; }
  .post__text { font-size: 16px; }
  .post__more { min-height: 44px; padding: 10px 0; font-size: 15px; }
  .post__gallery { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .post__file, .post__sharebtn { min-height: 44px; font-size: 14px; }
  .blog-empty { padding: 22px 16px; font-size: 15px; }

  /* about / cv */
  .cv { gap: 24px; }
  .cv__aside { position: static; }
  .cv__photo { max-width: 220px; }
  .cv__facts dt { font-size: 12px; }
  .cv__facts dd { font-size: 16px; }
  .cv__facts dd a { display: inline-block; padding: 6px 0; }
  .cv__block { margin-bottom: 28px; }
  .cv__block h3 { font-size: 13px; }
  .role b { font-size: 17px; }
  .role .role__meta { font-size: 15px; }
  .role ul { font-size: 15px; }

  /* footer */
  .footer { padding: 36px 18px calc(40px + env(safe-area-inset-bottom)); }
  .footer__inner { gap: 20px; }
  .footer__brand { font-size: 19px; }
  .footer__note { font-size: 13px; }
  .footer__lock { font-size: 12.5px; padding: 7px 12px; }

  /* search modal */
  .search-overlay { padding: max(12px, env(safe-area-inset-top)) 10px 10px; }
  .search-box { border-radius: 12px; }
  .search-box__input { padding: 14px 16px; }
  .search-box__input input { font-size: 17px; }
  .search-results { max-height: 62vh; }
  .search-hit { padding: 12px 14px; }
  .search-box__foot { display: none; }
}

/* the very narrowest phones (320px) */
@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 34px 16px 28px; }
  .hero__title { font-size: 34px; }
  .section__title { font-size: 24px; }
  .fw { padding: 16px 14px; }
  .callout { padding: 14px 16px; }
  .book__coverwrap { min-height: 180px; }
}

/* short landscape phones: don't let sticky bars eat the screen */
@media (max-height: 480px) and (orientation: landscape) {
  .subnav { position: static; }
  .books-filters { position: static; }
  .cv__aside { position: static; }
}

/* ============================================================
   OWNER PREVIEW BAR (shown to Trond after logging in)
   ============================================================ */
.owner-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px max(18px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: var(--navy-deep); color: rgba(255,255,255,.85); font-size: 13.5px; line-height: 1.4;
  box-shadow: 0 -6px 20px rgba(20,31,62,.25);
}
.owner-bar--cohort { background: #7a5b00; }
.owner-bar__dot { width: 9px; height: 9px; border-radius: 50%; background: #5fd38d; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(95,211,141,.25); }
.owner-bar--cohort .owner-bar__dot { background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,226,74,.25); }
.owner-bar__text { flex: 1 1 260px; min-width: 0; }
.owner-bar__text b { color: #fff; font-weight: 700; }
.owner-bar__link {
  color: #fff; font-weight: 700; font-size: 13px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 14px; min-height: 36px;
  display: inline-flex; align-items: center;
}
.owner-bar__link:hover { background: rgba(255,255,255,.12); text-decoration: none; color: #fff; }
body.has-owner-bar { padding-bottom: 72px; }
body.has-owner-bar .footer { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
@media (max-width: 600px) {
  .owner-bar { font-size: 13px; gap: 8px 10px; }
  .owner-bar__link { min-height: 40px; }
  body.has-owner-bar { padding-bottom: 110px; }
}
