/* ------------------------------------------------------------------
   Marc Apple — site styles
   37signals-inspired editorial system: one bold grotesque (Archivo),
   warm cream paper, flat full-bleed color blocks, huge tight headlines,
   confident whitespace. Forward Push blue carried as the lead accent.
   ------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&display=swap');

:root {
  --paper:        #f4f1e9;   /* warm cream */
  --paper-soft:   #eae4d6;   /* deeper sand band */
  --paper-tint:   #efebe1;
  --ink:          #1b1a17;   /* near-black */
  --ink-soft:     #3a382f;
  --ink-mute:     #6f6c5f;
  --rule:         #d8d2c2;
  --rule-soft:    #e6e0d2;

  --blue:         #1f53e0;   /* bold flat blue (lead accent) */
  --blue-deep:    #1742bd;
  --blue-bright:  #3d6cff;
  --blue-tint:    #d9e2fb;

  --red:          #e6502e;   /* warm flat red */
  --green:        #1f8a4c;   /* flat green */
  --yellow:       #f5c518;   /* flat yellow */

  --accent:       var(--blue);
  --black:        #161512;

  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;

  --measure: 60ch;
  --col:     1220px;
  --gutter:  clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

::selection { background: var(--blue); color: #fff; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, opacity .15s ease, background .15s ease;
}
a:hover { color: var(--blue-deep); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 820px; }

/* ---------- site header ---------- */
.site-header {
  border-bottom: 2px solid var(--ink);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  white-space: nowrap;
}
.brand:hover { color: var(--blue); }
.brand .brand__mark {
  display: inline-block;
  width: 11px; height: 11px;
  background: var(--blue);
  border-radius: 50%;
}
.brand em { font-style: normal; color: var(--ink-mute); font-weight: 600; }

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.nav a {
  color: var(--ink);
  padding: 4px 0;
  position: relative;
}
.nav a:hover { color: var(--blue); }
.nav a.is-active { color: var(--blue); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--blue);
}

/* ---------- hamburger toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
body.nav-open .nav-toggle { background: var(--yellow); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 16px 30px rgba(27,26,23,.14);
    padding: 6px var(--gutter) 14px;
    font-size: 20px;
    /* collapsed */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease;
  }
  body.nav-open .nav {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 16px 2px;
    border-bottom: 1px solid var(--rule);
    font-weight: 700;
    letter-spacing: -.02em;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--blue); }
}

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin: 0 0 18px;
}
h1, h2, h3, h4 { font-weight: 800; margin: 0; letter-spacing: -.03em; }

.display {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(52px, 8.5vw, 124px);
  line-height: .92;
  letter-spacing: -.045em;
  margin: 0;
}
.display em { font-style: normal; color: var(--blue); }

.h-lg {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 84px);
  line-height: .96;
  letter-spacing: -.04em;
}
.h-md {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.0;
  letter-spacing: -.035em;
}
.h-sm {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* highlight under-fill */
.hi {
  display: inline;
  color: var(--blue);
  background-image: linear-gradient(to top, var(--yellow) 0, var(--yellow) .16em, transparent .16em);
  background-repeat: no-repeat;
  background-position: 0 .9em;
  background-size: 100% 100%;
  padding: 0 .02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.block-black .hi, .block-blue .hi {
  color: #fff;
  background-image: linear-gradient(to top, var(--blue) 0, var(--blue) .16em, transparent .16em);
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
.lede {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.02em;
}
.lede strong { color: var(--ink); font-weight: 800; }

.prose p { font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.prose p strong { color: var(--ink); font-weight: 700; }
.prose h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  margin: 56px 0 16px;
  color: var(--ink);
  letter-spacing: -.03em;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(56px, 9vw, 130px) 0;
}
.section + .section { border-top: 2px solid var(--ink); }
.section--tint { background: var(--paper-tint); }
.section--soft { background: var(--paper-soft); }

/* full-bleed flat color blocks — the 37signals signature */
.block-blue {
  background: var(--blue);
  color: #fff;
  padding: clamp(56px, 9vw, 130px) 0;
}
.block-blue.is-rounded { border-radius: 0; margin: 0; }
.block-blue h1, .block-blue h2, .block-blue h3 { color: #fff; }
.block-blue .kicker { color: rgba(255,255,255,.7); }
.block-blue p { color: rgba(255,255,255,.85); }
.block-blue .lede { color: #fff; }
.block-blue a { color: #fff; }
.block-blue a:hover { color: var(--yellow); }

.block-black {
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 9vw, 120px) 0;
}
.block-black h1, .block-black h2, .block-black h3 { color: #fff; }
.block-black .kicker { color: var(--yellow); }
.block-black p { color: rgba(255,255,255,.75); }

.row-2 {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 720px) {
  .row-2 { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--ink);
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--solid {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }

.btn--accent { border-color: var(--blue); color: var(--blue); }
.btn--accent:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.btn--ghost-white { border-color: #fff; color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn .arrow { display: inline-block; transform: translateY(-1px); font-size: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover { color: var(--blue-deep); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- placeholder image ---------- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--paper-soft) 0 14px,
      color-mix(in srgb, var(--paper-soft) 60%, var(--blue) 12%) 14px 15px
    );
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}
.placeholder--portrait { aspect-ratio: 3 / 4; }
.placeholder--square   { aspect-ratio: 1 / 1; }
.placeholder--wide     { aspect-ratio: 16 / 9; }
.placeholder--book     { aspect-ratio: 2 / 3; }

/* ---------- meta lists ---------- */
.meta-list {
  list-style: none;
  margin: 0; padding: 0;
}
.meta-list li {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.meta-list li:first-child { border-top: 2px solid var(--ink); }
.meta-list .meta-date {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue);
}
.meta-list .meta-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.025em;
}
.meta-list .meta-title small {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 5px;
  letter-spacing: -.01em;
}
.meta-list .meta-tag {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
@media (max-width: 640px) {
  .meta-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
  font-size: 15px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
.site-footer h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; font-weight: 500; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .footer-brand {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer .footer-brand::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 50%;
}
.site-footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- hero (home) ---------- */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
}
.hero--split { padding-bottom: clamp(48px, 7vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
.hero-grid__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-grid__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.hero__caption {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 7px 12px;
  border-radius: 999px;
}
.hero__role {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--yellow);
  border-radius: 999px;
}
.hero__sub {
  margin: 40px 0 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.4;
  color: var(--ink-soft);
  letter-spacing: -.02em;
  max-width: 30ch;
}
.hero__meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: -.01em;
}
.hero__meta b {
  color: var(--ink-mute);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .05em;
}

/* ---------- browser-frame website preview ---------- */
.browser-frame {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-soft);
  flex: 0 0 auto;
}
.browser-frame__dots {
  display: inline-flex;
  gap: 7px;
  flex: 0 0 auto;
}
.browser-frame__dots i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .75;
  display: block;
}
.browser-frame__url {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-mute);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 5px 14px;
  flex: 1 1 auto;
  text-align: center;
}
.browser-frame__shot {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.browser-frame__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
@media (max-width: 880px) {
  .browser-frame__shot { aspect-ratio: 16 / 11; }
}

/* ---------- books hero cover composition ---------- */
.hero-books {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 12px 0;
  min-height: 320px;
}
.hero-books__cover {
  width: 46%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 8px 16px 30px rgba(27,26,23,.26);
}
.hero-books__cover--back {
  transform: rotate(-6deg) translateX(14%);
  z-index: 1;
}
.hero-books__cover--front {
  transform: rotate(5deg) translateX(-14%);
  z-index: 2;
}
@media (max-width: 880px) {
  .hero-books { min-height: 0; padding: 8px 0 0; }
  .hero-books__cover { width: 40%; }
}

/* book covers inside the uniform hero frame */
.hero-grid__portrait--books { background: var(--paper-soft); }
.books-fan { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.books-fan img {
  position: absolute;
  width: 46%;
  height: auto;
  border-radius: 4px;
  box-shadow: 6px 12px 26px rgba(27,26,23,.30);
}
.books-fan__a { transform: rotate(-7deg) translateX(-30%); z-index: 1; }
.books-fan__b { transform: rotate(6deg) translateX(30%); z-index: 2; }

/* ---------- manifesto statement ---------- */
.manifesto {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 18ch;
  margin: 0;
  padding-bottom: .08em;
}
.manifesto .muted { color: var(--ink-mute); }
.manifesto em { font-style: normal; color: var(--blue); }

/* ---------- tile grid (flat bordered cards) ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.tile-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .tile-grid, .tile-grid--2 { grid-template-columns: 1fr; } }
.tile {
  background: var(--paper);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  color: var(--ink);
  position: relative;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: background .15s ease;
}
/* remove rightmost / bottom seams handled by container overflow */
.tile-grid:not(.tile-grid--2) > .tile:nth-child(3n) { border-right: 0; }
.tile-grid--2 > .tile:nth-child(2n) { border-right: 0; }
@media (max-width: 880px) {
  .tile-grid > .tile, .tile-grid--2 > .tile { border-right: 0; }
}
a.tile:hover { background: var(--yellow); color: var(--ink); }
.tile__num {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue);
}
a.tile:hover .tile__num { color: var(--ink); }
.tile__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--ink);
}
.tile__desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0;
  max-width: 34ch;
  line-height: 1.45;
}
.tile__arrow {
  position: absolute;
  top: 30px; right: 30px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-mute);
  transition: transform .2s ease, color .2s ease;
}
a.tile:hover .tile__arrow { transform: translate(3px, -3px); color: var(--ink); }

/* tiles inside a blue block */
.block-blue .tile-grid { border-color: rgba(255,255,255,.5); }
.block-blue .tile {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.block-blue .tile__title { color: #fff; }
.block-blue .tile__desc { color: rgba(255,255,255,.8); }
.block-blue .tile__num { color: var(--yellow); }
.block-blue .tile__arrow { color: rgba(255,255,255,.6); }

/* ---------- numbered process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 10px;
}
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.5; font-weight: 500; }

/* ---------- pull quote / testimonial ---------- */
.pullquote {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -.04em;
  color: var(--ink);
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  max-width: 20ch;
}
.pullquote em { color: var(--blue); font-style: normal; }
.pullquote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.block-blue .pullquote { color: #fff; }
.block-blue .pullquote em { color: var(--yellow); }
.block-blue .pullquote cite { color: rgba(255,255,255,.7); }

/* ---------- books ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 28px);
}
@media (max-width: 760px) { .book-grid { grid-template-columns: 1fr; } }
.book {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
}
@media (max-width: 520px) { .book { grid-template-columns: 1fr; padding: 24px; } }
.book .placeholder--book { width: 180px; }
.book .book-cover { width: 100%; display: block; }
.book .book-cover img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(6px 12px 22px rgba(27,26,23,.22));
}
.book h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.0;
  margin: 0 0 8px;
  letter-spacing: -.035em;
}
.book .book-rank {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 6px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.book .book-rank::before {
  content: ""; width: 6px; height: 6px; background: var(--ink); border-radius: 50%;
}
.book p { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.55; font-weight: 500; }

/* ---------- about portrait band ---------- */
.about-portrait { padding: 0 0 clamp(40px, 6vw, 80px); }
.about-portrait figure {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--paper-soft);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.about-portrait figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(22,21,18,.85), transparent);
}
.about-portrait figcaption span:first-child {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.02em;
  text-transform: none;
}

/* ---------- awards ---------- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 880px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .awards-grid { grid-template-columns: 1fr; } }
.award {
  background: var(--paper);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}
.awards-grid > .award:nth-child(3n) { border-right: 0; }
@media (max-width: 880px) {
  .awards-grid > .award { border-right: 2px solid var(--ink); }
  .awards-grid > .award:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .awards-grid > .award { border-right: 0; }
}
.award h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.award ul {
  list-style: none;
  margin: 0; padding: 0;
  font-size: 14px;
  color: var(--ink-soft);
  display: grid;
  gap: 6px;
  font-weight: 500;
}
.award ul b {
  color: var(--blue);
  font-weight: 800;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}

/* ---------- social ---------- */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 640px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  background: var(--paper);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 22px;
  align-items: center;
  color: var(--ink);
  transition: background .15s ease;
}
.social-grid > .social-card:nth-child(2n) { border-right: 0; }
@media (max-width: 640px) { .social-grid > .social-card { border-right: 0; } }
.social-card:hover { background: var(--yellow); color: var(--ink); }
.social-card .social-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  border-radius: 10px;
}
.social-card:hover .social-num { background: var(--ink); }
.social-card h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  margin: 0 0 3px;
  letter-spacing: -.03em;
}
.social-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; max-width: 44ch; line-height: 1.45; font-weight: 500; }
.social-card .social-arrow {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-mute);
  transition: transform .2s ease, color .2s ease;
}
.social-card:hover .social-arrow { transform: translate(3px,-3px); color: var(--ink); }

/* ---------- social feed wall (Smash Balloon mockup) ---------- */
.feed-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .feed-head { grid-template-columns: 1fr; gap: 16px; } }
.feed-note {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
  line-height: 1.55;
}
.feed-plugin {
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
}
.feed-plugin__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.feed-grid {
  column-count: 3;
  column-gap: 20px;
}
@media (max-width: 900px) { .feed-grid { column-count: 2; } }
@media (max-width: 560px) { .feed-grid { column-count: 1; } }
.feed-card {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feed-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feed-badge {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  flex: 0 0 auto;
  line-height: 1;
}
.feed-badge--li { background: #0a66c2; }
.feed-badge--yt { background: #ff0000; font-size: 12px; }
.feed-badge--fb { background: #1877f2; }
.feed-badge--ig { background: #d6249f; }
.feed-card__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.feed-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}
.feed-card__media {
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--rule);
}
.feed-card__media.placeholder--square { aspect-ratio: 1 / 1; }
.feed-card__media.placeholder--wide { aspect-ratio: 16 / 9; }
.feed-card__foot {
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  padding-top: 4px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.contact-row:first-of-type { border-top: 2px solid var(--ink); }
.contact-row .label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-row .value {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -.03em;
}
.contact-row .value a { color: var(--blue); }

/* ---------- video embed ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--ink);
  margin: 28px 0;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- misc ---------- */
.kicker {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.divider { border: 0; border-top: 2px solid var(--ink); margin: 48px 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 12px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

/* ---------- stat cards ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--paper);
  border-right: 2px solid var(--ink);
  padding: 32px 28px;
}
.stat-row > .stat:last-child { border-right: 0; }
@media (max-width: 760px) {
  .stat-row > .stat { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stat-row > .stat:last-child { border-bottom: 0; }
}
.stat .stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.stat .stat-num {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 68px;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--ink);
  margin: 0;
}
.stat .stat-num em { color: var(--blue); font-style: normal; }
.stat .stat-foot { font-size: 14px; color: var(--ink-mute); margin: 14px 0 0; font-weight: 500; }
