/* ==========================================================================
   Author page (SITE-1439) — /dan-mirkin/
   Converted from the 2026-10-08 handoff (rudy-handoff-20261007,
   site/dan-mirkin/index.html). Hero, TOC, story blocks, .plain lists and
   .past come from competitor-pages.css; this file adds only the .dm-*
   components. Do NOT set font-size on h1/h2 here.

   Load order: theme.css, marketing-font.css, competitor-pages.css, then this.
   Markup: <div class="ti-theme ti-cmp ti-dm"> <header class="cmp-hero dm-hero">…
           <main class="ti-wrap cmp-main dm-main">…

   Layout follows the compare pages: everything starts at the .ti-wrap edge
   (the handoff centered the intro, badges and press grid).
   Press scans keep their own proportions: they are newspaper and magazine
   pages, not software media slots, so the sitewide 3:2 rule doesn't apply.
   ========================================================================== */

.ti-dm { --dm-amber: #FFB45C; }

/* --------------------------------------------------------------------------
   Hero: photo + lede in the right column
   -------------------------------------------------------------------------- */

.dm-hero .dm-intro { display: flex; align-items: center; gap: 20px; }
.dm-hero .dm-intro .lede { margin: 0; }
.dm-photo {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--ti-orange-line), 0 12px 32px rgba(0, 0, 0, 0.4);
}
@media (max-width: 1199px) {
  .dm-hero .cmp-hero__body > .dm-intro { margin: 8px 0 0; }
}
@media (max-width: 700px) {
  .dm-hero .dm-intro { flex-direction: column; align-items: flex-start; }
  .dm-photo { flex-basis: 96px; width: 96px; height: 96px; }
}

/* --------------------------------------------------------------------------
   Pull quotes
   -------------------------------------------------------------------------- */

.dm-main .dm-quote {
  max-width: var(--cmp-prose);
  margin: 12px 0 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--ti-orange);
  border-radius: 8px;
  background: var(--ti-orange-dim);
}
.dm-main .dm-quote p { margin: 0 0 6px; font-size: 17px; line-height: 1.55; color: var(--ti-text); }
.dm-main .dm-quote cite,
.dm-main .dm-qcard cite { font-style: normal; font-size: 13px; }
.dm-main .dm-quote cite { color: var(--ti-muted); }
.dm-main .dm-quote cite a { color: var(--dm-amber); }

/* --------------------------------------------------------------------------
   Innovation Through Independence: magazine spread + copy
   -------------------------------------------------------------------------- */

/* Copy left, magazine right (in the markup too, so phones read the heading
   first). */
.dm-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 48px;
  align-items: center;
  max-width: 72rem;
}

/* Magazine panel — same treatment as the /features/ hero screenshot panel
   (.ft-hero-panel, itself from the homepage's .ti-home-panel). */
.dm-mag {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 20px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 30, 44, 0.94), rgba(10, 14, 22, 0.96));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.dm-mag::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 60% 0, rgba(255, 138, 0, 0.14), transparent 70%),
    radial-gradient(360px 260px at 50% 70%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.dm-mag__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
}
.dm-mag__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ti-orange-line);
  background: rgba(255, 138, 0, 0.08);
  color: var(--ti-orange-hot);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dm-mag__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ti-orange);
  box-shadow: 0 0 10px var(--ti-orange);
}
.dm-mag__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ti-text);
  text-wrap: balance;
}
.dm-mag img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .dm-mag { padding: 14px 14px 18px; border-radius: 16px; }
}
.dm-spread-copy p { margin: 0 0 14px; font-size: 17px; line-height: 1.55; color: var(--ti-muted); }
.dm-main .dm-spread-copy h2 { max-width: none; }
.dm-main .dm-qcard {
  margin: 4px 0 0;
  padding: 20px;
  border-radius: 8px;
  background: #F1F2F5;
}
.dm-main .dm-qcard p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; color: #1b1b1b; }
.dm-main .dm-qcard cite { color: #555; }
@media (max-width: 800px) {
  .dm-spread { grid-template-columns: 1fr; gap: 18px; }
}

/* --------------------------------------------------------------------------
   Articles by Daniel Mirkin
   -------------------------------------------------------------------------- */

.dm-arts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  max-width: 72rem;
}
.dm-arts > div {
  padding: 14px 16px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  background: var(--ti-card);
}
.dm-main .dm-arts h3 { margin: 0 0 8px; font-size: 16px; }
.dm-arts ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }

/* --------------------------------------------------------------------------
   In the press
   -------------------------------------------------------------------------- */

/* Four clippings: one row of 4 on wide screens, 2x2 below that, one
   column on phones (auto-fill left a lone card on its own row). */
.dm-press {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
@media (max-width: 1199px) {
  .dm-press { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
.dm-fig {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--ti-border);
  border-radius: var(--ti-radius);
  background: var(--ti-card);
}
.dm-fig > a { display: block; }
.dm-fig > a img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.dm-fig figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ti-muted); }
.dm-fig .dm-cap { display: block; color: var(--ti-text); }
.dm-fig .dm-src { display: block; margin-top: 6px; }
.dm-main .dm-fig figcaption a { color: var(--dm-amber); }
.dm-fig .dm-full { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 700; }
.dm-fig .dm-full img { flex: 0 0 44px; width: 44px; height: auto; border-radius: 4px; background: #fff; }
.dm-covers { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--ti-border); }
.dm-main .dm-covers p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ti-muted); }
.dm-main .dm-covers .dm-k {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ti-muted-dim);
}
/* Arizona Law Review: no scan, so the quote is set like a printed page */
.dm-main .dm-lrq {
  margin: 0;
  padding: 16px 16px 12px;
  border-radius: 8px;
  background: #fff;
  color: #1b1b1b;
  font-family: Georgia, "Times New Roman", serif;
}
.dm-main .dm-lrq p { margin: 0 0 10px; font-size: 17px; line-height: 1.5; color: #1b1b1b; }
.dm-main .dm-lrq footer { font-size: 13px; color: #555; }
@media (max-width: 600px) {
  .dm-press { grid-template-columns: 1fr; max-width: 420px; }
}
