/* Powell Street Media: black, white, heavy expanded caps (from the logo). */
:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --muted: #5c5c5c;
  --rule: #e4e4e4;
  --wide: 118%;
  --max: 1080px;
  --gutter: clamp(16px, 5vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.caps { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.08em; }
.label {
  font-size: 12px; font-weight: 700; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted);
}

/* Header */
header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 0.42em; text-decoration: none; font-size: 19px; line-height: 1; }
.wordmark svg { height: 0.8em; width: auto; display: block; }
nav.primary { display: flex; gap: 28px; }
nav.primary a {
  white-space: nowrap; text-decoration: none; font-size: 12px; font-weight: 700; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}
nav.primary a:hover, nav.primary a[aria-current] { color: var(--ink); }

/* Hero */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 20vw, 240px); gap: 48px; align-items: start; }
.eyebrow { margin: 0 0 20px; }
h1 {
  margin: 0; font-size: clamp(40px, 9vw, 108px); line-height: 0.95;
  font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.01em;
}
.mark-rule { display: flex; align-items: center; gap: 14px; margin: 36px 0 32px; }
.mark-rule::before { content: ""; height: 2px; background: var(--ink); flex: 0 0 56px; }
.mark-rule::after { content: ""; height: 1px; background: var(--rule); flex: 1 1 auto; }
.mark-rule svg { height: 18px; width: auto; }
.lede { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.45; max-width: 760px; margin: 0; }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(100%); }
.portrait figcaption { margin-top: 10px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); margin-top: clamp(48px, 7vw, 80px); }
.stat { padding: 22px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--rule); }
.stat b { display: block; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; font-weight: 900; font-stretch: var(--wide); }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Logo strip */
.logos { border-top: 1px solid var(--rule); padding: 40px 0 44px; }
.logos .label { margin: 0 0 26px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 52px; margin: 0; padding: 0; list-style: none; }
.logo-row li, .logo-row a { display: flex; align-items: center; }
.logo-row a { padding: 6px 0; }
.logo-row a:hover img, .logo-row a:focus-visible img { opacity: 1; }
.logo-row img { display: block; height: 30px; width: auto; filter: grayscale(100%) brightness(0); opacity: 0.8; transition: opacity .15s; }
.logo-row img.tall { height: 40px; }
.logo-row img.short { height: 22px; }
.logo-row img.bang { height: 46px; }
.logo-row.platforms img { height: 26px; }
.logos .group + .group { margin-top: 32px; }

/* Sections */
section.block { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--rule); }
.grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
h2.side {
  margin: 0; font-size: 14px; font-weight: 800; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: 0.16em; position: sticky; top: 24px; align-self: start;
}
h2.side::before { content: ""; display: block; width: 28px; height: 6px; background: var(--ink); margin-bottom: 14px; }
.prose p { margin: 0 0 1.1em; max-width: 680px; }
.prose p:last-child { margin-bottom: 0; }

/* Experience */
.role { padding: 0 0 36px; }
.role + .role { padding-top: 36px; border-top: 1px solid var(--rule); }
.role-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.role h3 { margin: 0; font-size: 20px; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.04em; }
.when { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; }
.title { margin: 4px 0 14px; font-weight: 600; }
.role ul { margin: 0; padding: 0; list-style: none; max-width: 700px; }
.role li { position: relative; padding-left: 22px; margin: 0 0 10px; }
.role li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--ink); }
.sub { margin: 22px 0 8px; }
.earlier { color: var(--muted); font-size: 15px; }

/* Recognition */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.award { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); }
.award b { display: block; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px; }
.award span { color: var(--muted); font-size: 14px; }

/* Lists of links: press + posts */
.linklist a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.linklist a:first-child { border-top: 2px solid var(--ink); }
.linklist a:hover .headline { text-decoration: underline; text-underline-offset: 3px; }
.linklist .label { display: block; margin-bottom: 4px; }
.linklist .headline { font-weight: 700; font-size: 18px; }
.linklist .dek { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.linklist .date { font-size: 13px; color: var(--muted); white-space: nowrap; }
.more { display: inline-block; margin-top: 22px; }

/* Buttons */
.links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.btn, .links a {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--ink); text-decoration: none; background: none; color: var(--ink);
  font: inherit; font-size: 12px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.14em;
}
.btn:hover, .links a:hover { background: var(--ink); color: var(--paper); }

/* Contact */
#contact .grid > div { container-type: inline-size; min-width: 0; }
.contact-line { font-size: clamp(13px, 4.9cqi, 44px); font-weight: 900; font-stretch: var(--wide); line-height: 1.1; margin: 0 0 24px; white-space: nowrap; }
.contact-line a { text-decoration: none; border-bottom: 3px solid var(--ink); }

/* Blog: masthead + article */
.masthead { padding: clamp(56px, 9vw, 104px) 0 clamp(36px, 5vw, 56px); border-bottom: 2px solid var(--ink); }
.masthead h1 { font-size: clamp(40px, 8vw, 88px); }
.masthead p { font-size: clamp(18px, 2vw, 21px); max-width: 680px; margin: 22px 0 0; }
.masthead .subhead { font-size: clamp(20px, 2.6vw, 27px); line-height: 1.4; font-weight: 600; max-width: 760px; margin-top: 26px; }
.column-bar { padding: 0 0 18px; margin: 0 0 36px; border-bottom: 1px solid var(--rule); max-width: 760px; }
.column-bar > a { font-size: clamp(22px, 3vw, 30px); text-decoration: none; letter-spacing: 0.04em; }
.column-bar p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.masthead .actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.index { padding: 8px 0 88px; }
.index .linklist a:first-child { border-top: 0; }

article.post { padding: clamp(48px, 8vw, 88px) 0 64px; }
.post-head { max-width: 760px; }
.post-head h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.02; text-transform: none; letter-spacing: -0.005em; }
.post-head .dek { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); margin: 20px 0 0; line-height: 1.45; }
.byline { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(100%); }
.byline b { display: block; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.byline span { color: var(--muted); font-size: 14px; }
.post-body { max-width: 680px; font-size: 18.5px; line-height: 1.7; margin-top: 36px; }
.post-body h2 { font-size: 24px; font-weight: 900; font-stretch: var(--wide); line-height: 1.2; margin: 1.8em 0 0.6em; }
.post-body h3 { font-size: 19px; font-weight: 800; margin: 1.6em 0 0.5em; }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote { margin: 0 0 1.15em; }
.post-body ul, .post-body ol { padding-left: 1.2em; }
.post-body li { margin-bottom: 0.4em; }
.post-body blockquote { border-left: 6px solid var(--ink); padding: 2px 0 2px 20px; font-size: 21px; font-weight: 600; }
.post-body hr { border: 0; height: 2px; background: var(--ink); width: 56px; margin: 2.2em 0; }
.post-body a { text-underline-offset: 3px; }
.post-body img { display: block; margin: 1.5em 0; }
.post-body code { font-size: 0.9em; background: #f3f3f3; padding: 1px 5px; }
.author-card { max-width: 680px; margin-top: 56px; display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 24px 0; border-top: 2px solid var(--ink); }
.author-card img { width: 72px; height: 72px; object-fit: cover; filter: grayscale(100%); }
.author-card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.draft-flag { display: inline-block; background: var(--ink); color: var(--paper); padding: 3px 8px; margin-left: 8px; }

/* The Turnaround feature band (home) */
.turnaround-band { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.turnaround-band a { color: inherit; }
.tf-head > div { min-width: 0; }
.tf-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid #333; }
.tf-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 12px; font-weight: 700; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.16em; color: #bdbdbd; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--paper); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.tf-title { margin: 0; font-size: clamp(40px, 7.5vw, 88px); line-height: 0.95; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.01em; }
.tf-sub { margin: 18px 0 0; max-width: 640px; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.45; color: #d6d6d6; }
.turntable { width: clamp(88px, 12vw, 132px); color: var(--paper); }
.turntable svg { display: block; width: 100%; height: auto; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tf-feature { display: block; margin-top: 36px; padding: clamp(24px, 4vw, 40px); background: var(--paper); color: var(--ink) !important; text-decoration: none; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.tf-feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.tf-feature:hover { transform: translateY(-3px); box-shadow: 0 14px 0 -6px #444; }
.tf-feature:hover::before { transform: scaleY(1); }
.tf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.tf-new { background: var(--ink); color: var(--paper); padding: 3px 8px; font-size: 11px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.14em; }
.tf-headline { display: block; margin-top: 16px; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.03; font-weight: 900; font-stretch: var(--wide); max-width: 860px; }
.tf-dek { display: block; margin-top: 14px; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: #333; max-width: 760px; }
.tf-excerpt { display: block; margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--rule); color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 720px; }
.tf-cta { display: inline-block; margin-top: 24px; font-size: 12px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.16em; border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.tf-cta span { display: inline-block; transition: transform .2s ease; }
.tf-feature:hover .tf-cta span { transform: translateX(5px); }
.tf-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; margin-top: 1px; background: #333; }
.tf-card { display: block; padding: 20px 22px; background: #151515; text-decoration: none; transition: background .15s; }
.tf-card:hover { background: #222; }
.tf-card-date { display: block; font-size: 12px; color: #9a9a9a; letter-spacing: 0.06em; }
.tf-card-title { display: block; margin-top: 8px; font-weight: 800; font-size: 17px; line-height: 1.3; }
.tf-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; font-size: 12px; font-weight: 700; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.14em; color: #9a9a9a; }
.tf-links { display: flex; gap: 20px; }
.tf-links a { color: var(--paper); text-decoration: none; border-bottom: 1.5px solid var(--paper); padding-bottom: 2px; }
.turnaround-band a:focus-visible { outline-color: var(--paper); }
.turnaround-band + section.block { border-top: 0; }
@media (max-width: 860px) {
  .tf-more { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .tf-head { grid-template-columns: minmax(0, 1fr); }
  .turntable { display: none; }
  .tf-title { font-size: 9.2vw; }
}
@media (prefers-reduced-motion: reduce) {
  .turntable svg, .live-dot::after { animation: none; }
  .tf-feature, .tf-feature::before, .tf-cta span { transition: none; }
}

/* Footer */
footer.site { background: var(--ink); color: var(--paper); padding: 40px 0; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer.site small { color: #a8a8a8; font-size: 13px; }
footer.site a { text-decoration: none; }

a:focus-visible, .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
footer.site a:focus-visible { outline-color: var(--paper); }

@media (max-width: 860px) {
  nav.primary { gap: 18px; }
  nav.primary a.hide-sm { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 220px; order: -1; }
  .grid { grid-template-columns: 1fr; gap: 24px; }
  h2.side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { padding-top: 22px; }
  .awards { grid-template-columns: 1fr 1fr; }
  .logo-row { gap: 22px 36px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wordmark { font-size: 15px; }
  nav.primary a:not(.keep) { display: none; }
  .awards { grid-template-columns: 1fr; }
  .linklist a { grid-template-columns: 1fr; gap: 6px; }
  .logo-row img { height: 24px; }
  .logo-row img.tall { height: 32px; }
  .post-body { font-size: 17.5px; }
}

.masthead p.eyebrow { font-size: 12px; margin: 0 0 20px; }
