/* Editorial theme. Light only. */

.src { display: block; margin-top: 0.3rem; }

.thumb { display: none; }
.status-line { font-family: var(--font-ui); font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; }
.status-line .dot { display: inline-block; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); margin-right: 0.5rem; vertical-align: 0.1em; }
.btn { font-family: var(--font-ui); }

[data-theme="editorial"] {
  --bg: #FAFAF7;
  --surface: #EFF1EC;
  --ink: #1C2420;
  --ink-2: #48514C;
  --muted: #5B635F;
  --accent: #1F5B45;
  --rule: #E1E3DD;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-ui: "Manrope", system-ui, sans-serif;
  --body-size: 1.02rem;
  --body-leading: 1.65;
  --h1: clamp(2.5rem, 5.4vw, 4.3rem);
  --h1-weight: 400;
  --h1-track: -0.03em;
  --h2: clamp(1.8rem, 3.2vw, 2.4rem);
  --h2-weight: 400;
  --h3-weight: 600;
  --measure: 40rem;
  --page-max: 70rem;
  --radius: 4px;
}
[data-theme="editorial"] .brand { font-size: 1.3rem; }
[data-theme="editorial"] .brand::after,
[data-theme="editorial"] .section > .wrap > h2::after { content: "."; color: var(--accent); }
[data-theme="editorial"] .site-head { border-bottom: 0; }
[data-theme="editorial"] .site-head .wrap { padding-top: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule); }
[data-theme="editorial"] h1 { max-width: 19ch; line-height: 1.06; }
[data-theme="editorial"] .lede { color: var(--ink-2); font-size: 1.12rem; }
[data-theme="editorial"] .hero { padding: 4rem 0 3.5rem; }
@media (min-width: 60rem) { [data-theme="editorial"] .hero-grid { grid-template-columns: minmax(0, 1fr) 6rem; } }
[data-theme="editorial"] .hero .photo {
  width: 6rem; height: 6rem; aspect-ratio: auto; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--surface); font-size: 0.7rem; padding: 0.5rem; order: -1;
}
@media (min-width: 60rem) { [data-theme="editorial"] .hero .photo { order: 0; } }
[data-theme="editorial"] img.photo {
  width: 6rem; height: 6rem; aspect-ratio: auto; border-radius: 50%; padding: 0;
  border: 1px solid var(--rule); object-fit: cover; order: -1;
}
@media (min-width: 60rem) { [data-theme="editorial"] img.photo { order: 0; } }
[data-theme="editorial"] .contact-links { align-items: center; }
[data-theme="editorial"] .btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 0.85rem 1.35rem; border-radius: var(--radius); font-weight: 600;
}
[data-theme="editorial"] .btn:hover { background: #17473A; }
[data-theme="editorial"] .contact-links a:not(.btn) { color: var(--accent); text-decoration: none; font-weight: 500; }
[data-theme="editorial"] .contact-links a:not(.btn):hover { text-decoration: underline; }
[data-theme="editorial"] .section { padding: 4.5rem 0; }
[data-theme="editorial"] .section > .wrap > h2 { margin-bottom: 2.25rem; }

/* Work list: illustration panel beside each case study */
[data-theme="editorial"] .thumb { display: block; }
[data-theme="editorial"] .work-item { padding: 2.25rem 0; gap: 1rem; }
@media (min-width: 52rem) {
  [data-theme="editorial"] .work-item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "thumb meta" "thumb body";
    grid-template-rows: auto 1fr; column-gap: 3rem;
  }
  [data-theme="editorial"] .thumb { grid-area: thumb; }
  [data-theme="editorial"] .work-meta { grid-area: meta; }
  [data-theme="editorial"] .work-body { grid-area: body; }
}
[data-theme="editorial"] .work-item h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
[data-theme="editorial"] .work-meta { font-size: 0.85rem; }

.thumb {
  position: relative; min-height: 15rem; border-radius: var(--radius); overflow: hidden;
  display: none; padding: 2rem; font-family: var(--font-ui);
}
[data-theme="editorial"] .thumb { display: grid; place-items: center; }
.thumb-redline { background: #F7E4E1; }
.thumb-asset { background: #E2ECE5; }
.thumb-engage { background: #E1EAF1; }
.mock { background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(28, 36, 32, 0.12); padding: 1.1rem 1.2rem; width: min(100%, 19rem); font-size: 0.78rem; color: #3A423E; }
.mock-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.8rem; color: #1C2420; }
.mock .line { height: 0.45rem; border-radius: 3px; background: #E3E5E1; margin: 0.45rem 0; }
.mock .line.short { width: 60%; }
.mock .line.flag { background: #EFA79D; }
.mock .cite { display: flex; justify-content: space-between; margin-top: 0.9rem; padding-top: 0.6rem; border-top: 1px solid #EEE; color: #6B736F; }
.mock .ok { color: #1F5B45; font-weight: 600; }
.thumb-redline .mock { transform: rotate(-3deg); }
.flow { display: flex; align-items: center; gap: 0.75rem; width: min(100%, 22rem); }
.flow .photo-box { flex: 0 0 5.5rem; height: 5.5rem; border-radius: 6px; background: repeating-linear-gradient(135deg, #C9D6CD 0 8px, #D6E1D9 8px 16px); box-shadow: 0 10px 30px rgba(28, 36, 32, 0.12); }
.flow .arrow { color: #1F5B45; font-weight: 700; }
.flow .mock { padding: 0.9rem 1rem; }
.field { display: flex; justify-content: space-between; gap: 0.75rem; margin: 0.35rem 0; }
.field .line { flex: 1; margin: 0.3rem 0 0; }
.board .row { display: grid; grid-template-columns: 3.5rem 1fr; align-items: center; gap: 0.6rem; margin: 0.5rem 0; }
.board .bar { height: 0.55rem; border-radius: 3px; background: #9DB8CC; }
.board .row:first-of-type .bar { background: #1F5B45; }
.thumb-engage .mock { transform: rotate(2deg); }

/* Timeline: three steps on one rule */
@media (min-width: 52rem) {
  [data-theme="editorial"] .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; border-top: 1px solid var(--rule); }
  [data-theme="editorial"] .timeline li { display: block; border-top: 0; padding: 1.5rem 0 0; position: relative; }
  [data-theme="editorial"] .timeline li::before { content: ""; position: absolute; top: -0.3rem; left: 0; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); }
  [data-theme="editorial"] .timeline .when, [data-theme="editorial"] .timeline .what { display: block; }
  [data-theme="editorial"] .timeline .what { font-size: 1.35rem; font-weight: 500; margin: 0.35rem 0 0.5rem; }
}
[data-theme="editorial"] .timeline .when { color: var(--accent); font-size: 0.9rem; }

/* Companies as rows */
[data-theme="editorial"] .companies { grid-template-columns: 1fr; gap: 0; }
[data-theme="editorial"] .company { padding: 1.4rem 0; border-top: 1px solid var(--rule); }
[data-theme="editorial"] .company h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.3rem; }
[data-theme="editorial"] .callout { background: var(--surface); }
[data-theme="editorial"] .claim { font-weight: 600; }
[data-theme="editorial"] .src { color: var(--muted); }

