/* More for the hidden pages (inc/hook-explore.php): In good company, What we make, Keep exploring. Built on v3.css,
   hook.css and the Index's rows in journal.css. Only what those don't cover is here. Loaded only on hook pages. */

/* ---------- The fact strip: label and value pairs under the opening line, set like a spec sheet. ---------- */
.bkH > .bkX-spec { padding: 0 0 clamp(36px, 4.4vw, 64px); }
.bkX-spec__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.bkX-spec__row { padding: clamp(14px, 1.5vw, 20px) 0 clamp(16px, 1.7vw, 24px); border-bottom: 1px solid rgba(20, 20, 20, .14); }
.bkX-spec__label { margin: 0 0 8px; font-family: "IBM Plex Mono", monospace; font-size: 11px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.bkX-spec__value { margin: 0; font-family: "Inter", sans-serif; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; }
.bkH > .bkX-spec + .bkX-logos .bkX-logos__list { border-top: 0; }

/* ---------- In good company: the clients behind the page's case studies, by logo, under the opening line. ---------- */
.bkH > .bkX-logos { padding: 0 0 var(--bkP); }
.bkX-logos__label { margin: 0 0 clamp(18px, 2.2vw, 30px); font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 1; letter-spacing: .16em; text-align: center; text-transform: uppercase; opacity: .6; }
.bkX-logos__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 44px) clamp(32px, 5vw, 84px); margin: 0; padding: clamp(22px, 2.6vw, 38px) 0; list-style: none; border-top: 1px solid rgba(20, 20, 20, .14); border-bottom: 1px solid rgba(20, 20, 20, .14); }
.bkX-logos__link { display: block; opacity: .82; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.bkX-logos__link:hover, .bkX-logos__link:focus-visible { opacity: 1; transform: translateY(-2px); }
/* Ink, whatever the file's own color (a project's logo is often the white one made for footage). */
.bkX-logos__img { display: block; width: auto; max-width: clamp(96px, 10vw, 150px); height: clamp(24px, 2.6vw, 38px); object-fit: contain; filter: brightness(0); }

/* ---------- Subheads and longer text inside a chapter. ---------- */
.bkH-text h3 { margin: 1.6em 0 .5em; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.15; letter-spacing: -.005em; text-transform: uppercase; }
.bkH-text h3 + p { margin-top: 0; }
.bkH-text p + p { margin-top: 1em; }

/* ---------- What we make for this industry: ruled rows that fill with ink under the pointer. ---------- */
.bkX-offer { padding: clamp(72px, 9vw, 140px) 0; border-top: 1px solid rgba(20, 20, 20, .12); }
.bkH > .bkX-offer + .bkH-work { border-top: 0; padding-top: 0; }
.bkX-offer__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.bkX-offer__row { position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 24px; gap: 8px clamp(20px, 3vw, 56px); align-items: baseline; padding: clamp(20px, 2.2vw, 34px) clamp(12px, 1.6vw, 28px) clamp(20px, 2.2vw, 34px) 4px; border-bottom: 1px solid var(--ink); text-decoration: none; transition: color .45s var(--ease), padding .45s var(--ease); }
.bkX-offer__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
a.bkX-offer__row:hover, a.bkX-offer__row:focus-visible { padding-left: clamp(12px, 1.6vw, 28px); color: #fff; }
a.bkX-offer__row:hover::before, a.bkX-offer__row:focus-visible::before { transform: scaleY(1); }
.bkX-offer__no { font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 1.4; letter-spacing: .16em; }
a.bkX-offer__row:hover .bkX-offer__no { color: var(--accent); }
.bkX-offer__name { margin: 0; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: clamp(21px, min(2.3vw, 4vh), 36px); line-height: 1; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.bkX-offer__text { max-width: 56ch; margin: 0; font-family: "Inter", sans-serif; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; opacity: .82; }
.bkX-offer__row svg { align-self: center; justify-self: end; }
/* A row that opens a case study says which one (Nov 12, the drive-to-site pass). */
.bkX-offer__case { display: block; margin-top: 10px; font-family: "IBM Plex Mono", monospace; font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
a.bkX-offer__row:hover .bkX-offer__case, a.bkX-offer__row:focus-visible .bkX-offer__case { color: var(--accent); }

/* ---------- Keep exploring: the Index's rows over footage, as the page's last section before Say hello. ---------- */
.bkH > section.bkX-explore { box-shadow: 0 -1px 0 var(--ink); }
.bkX-explore .bkJ-idx__body { padding-top: clamp(88px, 11vw, 170px); padding-bottom: clamp(88px, 11vw, 170px); }
.bkX-explore__title { margin: 0 0 clamp(36px, 5vw, 80px); font-size: clamp(56px, min(11vw, 19vh), 180px); line-height: .84; letter-spacing: -.035em; }
.bkX-explore .bkJ-idx__row { grid-template-columns: 104px minmax(0, 7fr) minmax(0, 4fr) auto; }
.bkX-explore .bkJ-idx__name { font-size: clamp(24px, min(3vw, 5.4vh), 50px); }
.bkH > .bkX-explore + .bkA-cta { border-top: 0; }

@media (max-width: 991px) {
	.bkX-offer__row { grid-template-columns: 40px minmax(0, 1fr) 20px; }
	.bkX-offer__text { grid-column: 2; }
	.bkX-offer__row svg { grid-column: 3; grid-row: 1; }
	.bkX-explore .bkJ-idx__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
	.bkX-explore .bkJ-idx__no { grid-column: 1 / -1; padding-top: 0; }
	.bkX-explore .bkJ-idx__name { grid-column: 1; }
	.bkX-explore .bkJ-idx__desc { grid-column: 1 / -1; }
	.bkX-explore .bkJ-idx__min { grid-column: 2; grid-row: 2; }
}
@media (max-width: 767px) {
	.bkX-logos__list { gap: 22px 34px; }
	.bkX-logos__img { max-width: 104px; height: 26px; }
	.bkX-explore__title { font-size: clamp(40px, 13.2vw, 80px); } /* "exploring." is the widest word: it has to fit a phone's column */
}
@media (prefers-reduced-motion: reduce) {
	.bkX-offer__row::before, .bkX-logos__link { transition: none; }
}
