/* Demand Accelerated. Two tracks.
   Paper is always the left ground and carries "Accelerate demand".
   Ink is always the right ground and carries "Deliver sustainable growth".
   One red line runs under every page title, crosses the seam, and exits right. */

:root {
  --paper: #F2F2F0; --ink: #0A0A0A; --red: #ED1C24;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display: "Anton", "Arial Narrow", sans-serif;
  --gutter: clamp(20px, 4.2vw, 64px); --wrap: 1240px;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --seam: clamp(28px, 3.9vw, 56px);
}

/* colors follow the ground an element sits on */
body, .on-paper { --ground: var(--paper); --fg: #0A0A0A; --body: #343432; --muted: #646461; --line: rgba(10,10,10,0.16); --hover: #D0141B; }
.on-ink, body.page-ink { --ground: var(--ink); --fg: #F2F2F0; --body: #C0C0BD; --muted: #929290; --line: rgba(242,242,240,0.2); --hover: #FF5A5F; }
.on-paper, .on-ink { background: var(--ground); color: var(--body); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--body); font: 400 17px/1.58 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
strong { font-weight: 650; color: var(--fg); }
:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* masthead: brand on paper, navigation on ink */
.top { display: grid; grid-template-columns: 1fr 1fr; }
.top__a { display: flex; align-items: center; gap: 20px; padding: 24px var(--seam) 24px var(--edge); }
.top__b { display: flex; align-items: center; justify-content: flex-end; gap: 34px; padding: 24px var(--edge) 24px var(--seam); font-size: 15px; color: var(--fg); }
.top__b a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.top__b a:hover, .top__b a[aria-current="page"] { border-color: var(--fg); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--fg); flex: none; }
.mark { width: 46px; height: auto; }
.wordmark { font: 400 20px/1 var(--display); letter-spacing: 0.045em; text-transform: uppercase; }
.descriptor { margin: 0; padding-left: 20px; border-left: 1px solid var(--line); font-size: 13px; line-height: 1.38; color: var(--body); max-width: 290px; }

/* the split: two top cells, the line, two bottom cells */
.split { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "ta tb" "ra rb" "ba bb"; background: linear-gradient(90deg, var(--paper) 50%, var(--ink) 50%); }
.cell { min-width: 0; }
.ta { grid-area: ta; } .tb { grid-area: tb; } .ba { grid-area: ba; } .bb { grid-area: bb; }
.ta, .ba { padding-left: var(--edge); padding-right: var(--seam); }
.tb, .bb { padding-left: var(--seam); padding-right: var(--edge); }
.ta, .tb { display: flex; flex-direction: column; justify-content: flex-end; padding-top: 34px; padding-bottom: 32px; }
.ba, .bb { padding-top: 40px; padding-bottom: 68px; }
.ra { grid-area: ra; height: 4px; background: var(--red); margin-left: var(--edge); }
.rb { grid-area: rb; height: 4px; background: var(--red); }

.label { margin: 0; font: 650 12px/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
a.label:hover { color: var(--fg); }
.say { margin: 14px 0 0; font: 480 min(3.95vw, 57px)/1.03 var(--sans); letter-spacing: -0.036em; color: var(--fg); }
.say--sub { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.16; letter-spacing: -0.024em; max-width: 21ch; margin-top: 0; }

/* links and buttons */
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 16px 0 0; font-size: 15px; font-weight: 650; color: var(--fg); }
.links a, .link { border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color 0.2s; }
.links a:hover, .link:hover { color: var(--hover); }
.links a.btn, .btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--fg); color: var(--ground); font-weight: 650; font-size: 15px; transition: opacity 0.2s; }
.links a.btn:hover, .btn:hover { color: var(--ground); opacity: 0.86; }
.pill { display: inline-block; font: 650 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); border: 1px solid var(--hover); border-radius: 999px; padding: 6px 10px; }

/* works on the home page */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.8vw, 40px); }
.work h3 { margin: 0; font: 650 20px/1.15 var(--sans); letter-spacing: -0.016em; color: var(--fg); }
.work h3 a:hover { color: var(--hover); }
.work .bk-stage { margin: 0 0 26px 10px; }
.work__sub { margin: 8px 0 0; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--fg); }
.work__desc { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.work--solo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 3vw, 46px); align-items: start; }
.work--solo .bk-stage { margin: 0 0 0 10px; }
.work--solo .pill { margin-bottom: 12px; }
.work--solo h3 { font-size: clamp(26px, 2.3vw, 32px); letter-spacing: -0.022em; }
.work--solo .work__sub { font-size: 17px; margin-top: 10px; }
.work--solo .work__desc { color: var(--body); margin-top: 12px; }
.work--solo .links { margin-top: 22px; }

/* the book as an object */
.bk-stage { display: inline-block; perspective: 1200px; }
.bk { --h: 232px; --ar: 0.648; --t: 22px; --w: calc(var(--h) * var(--ar));
  position: relative; display: block; width: var(--w); height: var(--h);
  transform-style: preserve-3d; transform: rotateY(-24deg); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work:hover .bk, .cover:hover .bk, .more__item:hover .bk { transform: rotateY(-6deg); }
.bk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateZ(calc(var(--t) / 2)); border-radius: 1px 3px 3px 1px; }
.bk::before { content: ""; position: absolute; left: 0; top: 1.2%; width: var(--t); height: 97.6%; transform: translateX(calc(var(--w) - var(--t) / 2 - 2px)) rotateY(90deg); background: linear-gradient(90deg, #d8d8d4, #fbfbf8 35%, #efefec 70%, #d6d6d2); }
.bk::after { content: ""; position: absolute; inset: 0; transform: translateZ(calc(var(--t) / -2)); background: #050505; border-radius: 1px 3px 3px 1px; box-shadow: -18px 22px 40px rgba(0,0,0,0.3); }
.bk--wide { --ar: 0.771; }
.bk--s { --h: 150px; --t: 16px; }
.bk--l { --h: 316px; --t: 28px; }
.bk--xl { --h: 440px; --t: 38px; }
.on-ink .bk img, .page-ink .bk img { outline: 1px solid rgba(255,255,255,0.14); outline-offset: -1px; }
.on-ink .bk::after, .page-ink .bk::after { box-shadow: -18px 22px 50px rgba(0,0,0,0.85); }
.on-paper .bk img { outline: 0; }
.on-paper .bk::after { box-shadow: -18px 22px 40px rgba(0,0,0,0.3); }

/* book page */
.cover { display: grid; place-items: center; overflow: hidden; }
.lead { margin: 0; font-size: 20px; line-height: 1.45; color: var(--fg); max-width: 34em; }
.lead + .lead { margin-top: 14px; }
.buy { margin-top: 28px; }
.for { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 34em; }
.for .label { margin-bottom: 10px; }
.for p:last-child { margin: 0; }

/* sections below the split */
.section { padding-top: clamp(64px, 7.5vw, 112px); }
.section--tight { padding-top: clamp(44px, 5vw, 72px); }
.strap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.strap__t { margin: 0; font: 480 clamp(25px, 2.8vw, 38px)/1.2 var(--sans); letter-spacing: -0.026em; color: var(--fg); }
.strap__c { margin: 0; }

.trio { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.trio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.trio .label { margin-bottom: 16px; }
.big { margin: 0; font-size: 20px; line-height: 1.45; color: var(--fg); }
.big + p { margin: 14px 0 0; }
.after { display: inline-block; margin-top: 20px; font-weight: 650; font-size: 15px; color: var(--fg); }
.creed { border-top: 4px solid var(--fg); padding-top: 18px; }
.bio { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(22px, 2.6vw, 36px); align-items: start; }
.bio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.bio .after { margin-top: 18px; }
.company { margin: 18px 0 0; max-width: 30em; }
.mini-list { margin-top: 44px; scroll-margin-top: 24px; }
.mini-list .label { margin-bottom: 6px; }
.inq-note { margin: -10px 0 22px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.mini-list .inq-note { margin: 0 0 14px; }
.mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.mini:last-child { border-bottom: 1px solid var(--line); }
.mini h3 { margin: 0; font: 650 17px/1.25 var(--sans); letter-spacing: -0.008em; color: var(--fg); }
.mini p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; }
.mini .link { font-weight: 650; font-size: 15px; color: var(--fg); white-space: nowrap; }
.creed__t { margin: 0; font: 480 clamp(21px, 2vw, 27px)/1.22 var(--sans); letter-spacing: -0.02em; color: var(--fg); }

.h2 { margin: 0 0 26px; font: 480 clamp(30px, 3.3vw, 46px)/1.05 var(--sans); letter-spacing: -0.034em; color: var(--fg); }
.row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h3, .row h2 { margin: 0; font: 650 20px/1.2 var(--sans); letter-spacing: -0.012em; color: var(--fg); }
.row p { margin: 0; }
.row .link { justify-self: start; font-weight: 650; font-size: 15px; color: var(--fg); }
.row--wide { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); padding: 30px 0; }
.row--wide .row__c { max-width: 44em; }
.row__c > p + p { margin-top: 12px; }
.row__c .big { margin-bottom: 4px; }

/* what is inside a book */
.phases { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.phases li { padding: 18px 0 20px 18px; border-left: 1px solid var(--line); font: 480 clamp(22px, 2.1vw, 30px)/1.1 var(--sans); letter-spacing: -0.024em; color: var(--fg); }
.phases li:first-child { border-left: 0; padding-left: 0; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.steps b { font: 480 28px/1 var(--sans); letter-spacing: -0.02em; color: var(--fg); }
.steps span b { font: inherit; font-weight: 650; letter-spacing: 0; }
.points { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.points li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.shops { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; padding: 0; list-style: none; font-weight: 650; font-size: 15px; color: var(--fg); }

/* other titles */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.more__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more__item .bk-stage { margin-left: 8px; }
.more__item .label { display: block; }
.more__item h3 { margin: 8px 0 0; font: 650 20px/1.15 var(--sans); letter-spacing: -0.016em; color: var(--fg); }
.more__item p { margin: 6px 0 0; font-size: 15px; line-height: 1.4; }
.more__item:hover h3 { color: var(--hover); }

.foot { margin-top: clamp(72px, 8vw, 120px); background: var(--ink); color: #B5B5B2; border-top: 1px solid rgba(242,242,240,0.2); }
.foot--flush { margin-top: 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; padding-top: 34px; padding-bottom: 44px; font-size: 13px; }
.foot .brand { color: var(--paper); }
.foot .mark { width: 38px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot a:hover { color: #fff; }

@media (max-width: 900px) {
  .top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "desc" "nav"; padding: 20px var(--gutter) 8px; row-gap: 12px; background: var(--paper); }
  .top__a { display: contents; }
  .top .brand { grid-area: brand; --fg: #0A0A0A; }
  .descriptor { grid-area: desc; border-left: 0; padding-left: 0; max-width: none; font-size: 15px; }
  .top__b { grid-area: nav; justify-content: flex-start; gap: 24px; padding: 4px 0 6px; background: transparent; --fg: #0A0A0A; font-weight: 600; }
  .split { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; background: var(--paper); }
  .split > * { grid-area: auto; }
  .ta, .tb, .ba, .bb { padding-left: var(--gutter); padding-right: var(--gutter); }
  .ta, .tb { padding-top: 26px; padding-bottom: 26px; }
  .tb.on-ink, .ta.m-ink { padding-top: 40px; }
  .ba, .bb { padding-top: 32px; padding-bottom: 48px; }
  .rb { margin-left: 0; }
  .ra { margin-left: var(--gutter); }
  .m1 { order: 1; } .m2 { order: 2; } .m3 { order: 3; } .m4 { order: 4; } .m5 { order: 5; } .m6 { order: 6; } .m-hide { display: none; }
  .m-paper { --ground: var(--paper); --fg: #0A0A0A; --body: #343432; --muted: #646461; --line: rgba(10,10,10,0.16); --hover: #D0141B; }
  .m-ink { --ground: var(--ink); --fg: #F2F2F0; --body: #C0C0BD; --muted: #929290; --line: rgba(242,242,240,0.2); --hover: #FF5A5F; }
  .m-flush { padding-top: 0; }
  .say { font-size: clamp(34px, 9.6vw, 52px); }
  .say--sub { font-size: 23px; line-height: 1.3; max-width: none; }
  .bk { --h: 196px; --t: 18px; }
  .bk--s { --h: 130px; --t: 14px; }
  .bk--l { --h: 260px; --t: 24px; }
  .bk--xl { --h: 320px; --t: 30px; }
  .work .bk-stage { margin-left: 6px; }
  .work h3 { font-size: 17px; }
  .work--solo { grid-template-columns: minmax(0, 1fr); }
  .work--solo .bk-stage { margin-bottom: 6px; }
  .work--solo h3 { font-size: 26px; }
  .strap, .trio, .bio { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .trio img, .bio img { max-width: 220px; }
  .row, .row--wide { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .row .link { margin-top: 8px; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases li:nth-child(3) { border-left: 0; padding-left: 0; }
  .phases li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mini { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mini .link { justify-self: start; }
  .more { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .more__item + .more__item { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .bk { transition: none; } html { scroll-behavior: auto; } }
