/* ============ About page ============ */
.ab-hero { position: relative; min-height: 92svh; display: grid; align-items: center; padding: 130px 0 80px; }
.ab-title { font: 700 clamp(3rem, 8.4vw, 7.6rem)/1.3 var(--display); margin-bottom: 24px; }
.ab-title .accent { color: var(--ochre); }
.quick { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.quick li { display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.quick .ic { width: 34px; height: 34px; }
.quick b { display: block; font-size: 1.05rem; }
.quick span { color: var(--muted); font-size: .92rem; line-height: 1.5; }

.ch { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.ch-question, .ch-logo { padding: 0; }

/* 01: who */
.who-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.who-copy { display: grid; gap: 20px; }

/* 02: how we think (pinned) */
.ch-question { background: var(--paper-2); }
.q-pin { min-height: 100svh; display: grid; align-content: center; padding: 100px 0 60px; }
.q-stage { position: relative; margin: 10px 0 30px; }
.q { font: 700 clamp(2.8rem, 8vw, 7rem)/1.3 var(--display); }
.q-old { position: relative; display: inline-block; color: var(--muted); }
.q-strike { position: absolute; inset: 52% -2% auto; width: 104%; height: 18px; overflow: visible; }
.q-strike path { fill: none; stroke: var(--ochre); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.q-new { position: absolute; inset: 0 0 auto; color: var(--ink); }
.q-note { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 52ch; }

/* 03: what we do */
.do-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(40px, 6vw, 64px); }
.do-title { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.do-col { display: grid; align-content: start; border-top: 1px solid var(--line); }
.do-item { display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 16px; padding: 20px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .3s; }
.do-item:hover { background: rgba(255, 255, 255, .4); }
.do-item .ic { width: 44px; height: 44px; }
.do-item span { font: 700 1.45rem/1.4 var(--display); }
.do-item .arrow { width: 22px; height: 22px; stroke-width: 3; transition: transform .3s; }
.do-item:hover .arrow { transform: translateX(-6px); }

/* 04: who we fit */
.ch-fit { background: var(--paper-2); overflow: clip; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
.fit { padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); }
.fit-yes { background: var(--card); }
.fit-no { background: transparent; border-style: dashed; }
.fit-title { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; margin-bottom: 18px; }
.fit-title .ic { width: 30px; height: 30px; stroke-width: 3; }
.fit-no .fit-title .ic { stroke: var(--muted); }
.fit ul { display: grid; gap: 14px; }
.fit li { font: 700 1.3rem/1.55 var(--display); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fit li:last-child { border-bottom: 0; padding-bottom: 0; }
.fit-no li { color: var(--muted); }

/* 05: name and logo (one pinned scene) */
.ch-logo { overflow: hidden; }
.logo-pin { height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 4px; padding: clamp(72px, 12svh, 88px) 0 clamp(16px, 3svh, 28px); }
.ch-logo .h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.ch-logo .label { margin-bottom: 8px; }
.logo-stage { width: 100%; height: 100%; min-height: 0; max-height: 520px; align-self: center; margin: 0 auto; overflow: visible; }
.lg-lines { display: grid; grid-template-areas: "l"; min-height: 4.5em; }
.lg-line { grid-area: l; font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 52ch; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
.lg-line.is-on { opacity: 1; visibility: visible; transition: opacity .35s .2s, visibility 0s linear .2s; }

/* 06: facts */
.today-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.today-copy { display: grid; gap: 28px; justify-items: start; }
.today-copy .facts li { display: grid; grid-template-columns: 34px auto 1fr; align-items: center; gap: 14px; }
.today-copy .facts .ic { width: 30px; height: 30px; }
.today-copy .facts span { text-align: left; }

@media (max-width: 900px) {
	.who-grid, .today-grid, .do-grid, .fit-grid { grid-template-columns: 1fr; }
	.quick li { flex: 1 1 100%; }
}
@media (max-width: 560px) {
	.today-copy .facts li { grid-template-columns: 30px 1fr; }
	.today-copy .facts span { grid-column: 2; text-align: right; }
}

/* hidden until the opening animation runs */
.js .ab-title, .js .ab-hero .lead, .js .quick { visibility: hidden; }

/* No JS / reduced motion: final state, nothing overlapping */
html:not(.js) .q-new { position: static; }
html:not(.js) .q-old { opacity: .45; }
html:not(.js) .lg-target { opacity: 1; }
html:not(.js) .lg-line { opacity: 1; visibility: visible; }
html:not(.js) .lg-lines { grid-template-areas: none; gap: 10px; }
html:not(.js) .lg-line { grid-area: auto; }

/* ============ Hero visual: a page from the discovery-session notebook ============ */
.ab-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.notebook { position: relative; justify-self: center; width: min(440px, 100%); transform: rotate(-3deg); }
.nb-rings { position: absolute; z-index: 2; inset: -12px 22px auto; display: flex; justify-content: space-between; }
.nb-rings i { width: 16px; height: 26px; border-radius: 9px; border: 3px solid #4a463d; background: var(--paper); }
.nb-page {
	--rule: 2.9rem;
	position: relative; padding: 34px 54px 30px 26px; border-radius: 6px 6px 14px 14px;
	background-color: #fffdf6;
	background-image: linear-gradient(transparent calc(var(--rule) - 1px), rgba(91, 140, 200, .22) calc(var(--rule) - 1px));
	background-size: 100% var(--rule); background-position: 0 30px;
	box-shadow: 0 34px 60px -34px rgba(27, 26, 23, .5), 0 0 0 1px rgba(27, 26, 23, .07);
	font-family: "Aref Ruqaa", var(--display);
}
.nb-page::before { content: ""; position: absolute; top: 0; bottom: 0; right: 40px; width: 2px; background: rgba(181, 72, 42, .4); }
.nb-head { display: flex; justify-content: space-between; align-items: baseline; height: var(--rule); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.nb-head small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.nb-line { position: relative; display: flex; align-items: center; gap: 10px; height: var(--rule); font-size: 1.5rem; color: #1f2a44; }
.nb-line .ink { position: relative; display: inline-block; white-space: nowrap; }
.nb-circle { position: absolute; top: -6px; right: -12px; width: calc(100% + 26px); height: calc(100% + 12px); overflow: visible; pointer-events: none; }
.nb-circle path { fill: none; stroke: var(--ochre); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.nb-tick { width: 22px; height: 22px; flex: none; }
.nb-tick path { fill: none; stroke: #2f7a52; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nb-later { color: var(--muted); }
.nb-strike { position: absolute; inset: 50% -4px auto; width: calc(100% + 8px); height: 10px; translate: 0 -50%; overflow: visible; }
.nb-strike path { fill: none; stroke: var(--ochre); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.nb-later em { font-style: normal; font-size: 1.05rem; color: var(--ochre); }

@media (max-width: 900px) {
	.ab-top { grid-template-columns: minmax(0, 1fr); }
	.notebook { width: min(340px, 90%); margin-top: 16px; }
	.nb-page { --rule: 2.5rem; padding: 30px 46px 26px 18px; }
	.nb-page::before { right: 34px; }
	.nb-line { font-size: 1.12rem; }
}
.js .notebook { visibility: hidden; }

/* title sized to sit beside the hero visual */
.ab-title { font-size: clamp(2.8rem, 4.9vw, 5.2rem); }

.ab-hero { overflow: clip; }
