/* ELO Labs: research-first home and Method page.
   Loaded after labs-tiles.css. Sentence case for anything read as a sentence,
   caps for short headlines and small labels (brand rule). */

/* ---- hero question ---- */
.hq { text-transform: none !important; font-size: clamp(2.1rem, 4.2vw, 3.9rem) !important; line-height: 1.04 !important; letter-spacing: -.005em; max-width: 19ch !important; margin: 0 !important; }
.hero-left .kicker { margin-bottom: 1.1rem; }

/* small labels on dark tiles: beat the nav-level colour override */
html:root[data-theme] body .tx-d, html:root[data-theme] body .tx-d * { color: #f5f6f2 !important; }

/* ---- top findings ---- */
.labs-topfind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 2.5rem; }
.labs-topfind article { background: var(--tile); border-radius: var(--radius-soft); padding: clamp(1.6rem, 2.4vw, 2.4rem); min-height: 26rem; display: flex; flex-direction: column; min-width: 0; }
.labs-topfind small { font: 600 11px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; }
.labs-topfind .labs-finding__fig { display: block; margin: 1.6rem 0 1.4rem; font-size: clamp(3.6rem, 6.4vw, 6.2rem) !important; line-height: .9; }
.labs-topfind h3 { text-transform: none !important; font-size: clamp(1.3rem, 1.8vw, 1.7rem) !important; line-height: 1.12 !important; margin: 0 0 .9rem; }
.labs-topfind small + h3 { margin-top: 1.6rem; }
.labs-topfind p { margin: 0; font-size: 1rem; line-height: 1.5; }
.labs-topfind .brief-link { margin-top: auto; padding-top: 1.6rem; }
@media (max-width: 900px) { .labs-topfind { grid-template-columns: 1fr; } .labs-topfind article { min-height: 0; } }

/* ---- data strip ---- */
.data-strip-sec > .secblock > .secbody { padding-block: clamp(1.6rem, 2.6vw, 2.6rem) !important; }
.data-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.ds-lab { grid-column: 1 / -1; align-self: center; margin: 0; text-transform: uppercase; font: 600 12px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .14em; color: #1b1b1b; }
.ds-c { background: var(--tile); border-radius: var(--tr); padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: #1b1b1b; }
.ds-c b { font: 600 clamp(1.6rem, 2.4vw, 2.3rem)/1 "Barlow Condensed", sans-serif; }
.ds-c span { font: 600 11px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #5a5a54; }
.ds-acc { background: var(--tile2); }
.ds-acc b { color: #8a8a82; }
.data-strip-sec .readout { margin-top: 1rem; }
@media (max-width: 900px) { .data-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-lab { grid-column: 1 / -1; margin: 0; } }

/* ---- photo breaks (placeholders until photography is added) ---- */
section.photo-break { position: relative; display: flex; align-items: center; min-height: min(78vh, 44rem); margin: 0;
  background: linear-gradient(rgba(27,27,27,.5), rgba(27,27,27,.5)), var(--photo, url(/tex/t6.png)) center / cover no-repeat; color: #f5f6f2; }
.photo-break.has-photo { isolation: isolate; }
.photo-break.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.photo-break .pb-in { position: relative; z-index: 1; width: 100%; padding: clamp(3rem, 7vw, 6rem) var(--fw-bx); }
.photo-break blockquote { margin: 0; max-width: 20ch; font: 600 clamp(2.3rem, 5.4vw, 5rem)/1.02 "Barlow Condensed", sans-serif; letter-spacing: -.005em; color: #f5f6f2; text-transform: uppercase; }
.photo-break .pb-note { position: absolute; left: var(--fw-bx); bottom: 1.4rem; margin: 0; font: 600 11px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.photo-break.has-photo .pb-note { display: none; }

/* ---- horizon: questions, not labels ---- */
.labs-possibilities h3 { text-transform: none !important; font-size: clamp(1.1rem, 1.35vw, 1.35rem) !important; line-height: 1.2 !important; margin-top: 1.2rem; }
.labs-possibilities > article { min-height: 15rem; }

/* ---- Method page ---- */
.m-finds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 2rem; }
.m-find { background: var(--tile); border-radius: var(--radius-soft); padding: clamp(1.4rem, 2.2vw, 2.1rem); scroll-margin-top: 6rem; }
.m-find small { font: 600 11px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; }
.m-find .labs-finding__fig { display: block; margin: 1rem 0; font-size: clamp(2.6rem, 4.4vw, 4rem) !important; line-height: .95; white-space: nowrap; }
.m-find h3 { text-transform: none !important; font-size: clamp(1.15rem, 1.5vw, 1.45rem) !important; line-height: 1.15 !important; margin: 0 0 .7rem; }
.m-find p { margin: 0 0 .6rem; }
.m-find .m-meta { margin-top: 1rem; font: 600 11px/1.5 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #5a5a54; }
.m-three { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.m-two { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.m-note { margin-top: 1.4rem; }
.m-chip { display: inline-block; margin-top: 1rem; padding: .4rem .7rem; background: #1b1b1b; color: #f5f6f2; border-radius: var(--radius-soft); font: 600 11px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; }
@media (max-width: 900px) { .m-finds, .m-three, .m-two { grid-template-columns: 1fr !important; } }
body.labs-brief .p-steps.m-three, .p-steps.m-three { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
body.labs-brief .p-steps.m-two, .p-steps.m-two { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 900px) { body.labs-brief .p-steps.m-three, .p-steps.m-three, body.labs-brief .p-steps.m-two, .p-steps.m-two { grid-template-columns: 1fr !important; } }
html:root[data-theme] body .m-chip { color: #f5f6f2 !important; }
.m-find .labs-finding__fig { font-family: "Barlow Condensed", sans-serif !important; font-weight: 700 !important; color: var(--accent) !important; }
html:root[data-theme] body .tx-l .brief-link { color: var(--accent) !important; font-weight: 700; }
html:root[data-theme] body .counter-strip--hero .cs-cell:nth-child(2), html:root[data-theme] body .counter-strip--hero .cs-cell:nth-child(2) * { color: #f5f6f2 !important; }
html:root[data-theme] body .evo .pick[data-on="1"], html:root[data-theme] body .evo .pick[data-on="1"] * { color: #f5f6f2 !important; }
section.photo-break.has-photo { background: linear-gradient(90deg, rgba(27,27,27,.74) 0%, rgba(27,27,27,.5) 42%, rgba(27,27,27,.12) 100%), var(--photo) center / cover no-repeat; }
