/* AI Powered Innovative Business Leadership: site styles.
   Palette and motif follow the cover mock-up. All fonts are served from this theme. */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0100-02BA, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Newsreader";
	src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
	font-family: "Newsreader";
	src: url("fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0100-02BA, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Newsreader";
	src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--navy: #131d3a;
	--navy-deep: #0d152c;
	--navy-raised: #1b2850;
	--line: #2f3d68;
	--paper: #f3eee8;
	--mist: #b4bfd8;
	--coral: #eba68f;
	--teal: #86bdb8;

	--display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--text: "Newsreader", Georgia, "Times New Roman", serif;

	--gap: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--navy);
	color: var(--paper);
	font-family: var(--text);
	font-size: 1.1875rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--coral); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--paper); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }

.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); color: var(--navy); padding: 0.5rem 0.75rem; z-index: 10; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }

/* ---- Opening --------------------------------------------------------- */

.hero {
	background:
		radial-gradient(60rem 34rem at 82% 62%, rgba(235, 166, 143, 0.13), transparent 62%),
		linear-gradient(180deg, var(--navy-deep), var(--navy));
	padding-block: clamp(3.5rem, 9vw, 7rem) var(--gap);
}
.hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}
.hero__sub {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	color: var(--coral);
	margin-bottom: 1.1rem;
}
.hero h1 {
	font-weight: 700;
	font-size: clamp(2.6rem, 6.6vw, 5.4rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.hero__promise {
	font-style: italic;
	font-size: clamp(1.4rem, 2.5vw, 1.95rem);
	line-height: 1.3;
	margin-top: 2rem;
	max-width: 24ch;
	text-wrap: balance;
}
.hero__by { color: var(--mist); margin-top: 1.75rem; max-width: 46ch; font-size: 1.0625rem; }

.cover { justify-self: end; width: min(100%, 21.5rem); }
.cover__face {
	aspect-ratio: 1292 / 1750;
	background: linear-gradient(160deg, #1d2b55, #121b38 70%);
	border-radius: 3px 10px 10px 3px;
	border-left: 9px solid #101936;
	box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
	padding: 9% 9% 8% 10%;
	display: flex;
	flex-direction: column;
	container-type: inline-size;
}
.cover__sub {
	font-family: var(--display);
	font-weight: 600;
	font-size: 4.2cqw;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--coral);
}
.cover__title {
	font-family: var(--display);
	font-weight: 700;
	font-size: 10.6cqw;
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin-top: 5cqw;
}
.cover .network { flex: 1; min-height: 0; width: 100%; margin: 3cqw auto 2cqw; }
.cover__eds {
	font-family: var(--display);
	font-size: 4.3cqw;
	line-height: 1.35;
	border-top: 2px solid var(--coral);
	padding-top: 4cqw;
	margin-top: auto;
}
.cover figcaption { color: var(--mist); font-size: 0.875rem; margin-top: 0.9rem; text-align: right; font-style: italic; }

.network { overflow: visible; }
.net-edges line { stroke: var(--mist); stroke-width: 0.8; opacity: 0.4; }
.net-stem { stroke: var(--coral); stroke-width: 1; opacity: 0.7; }
.net-book path { fill: #24335f; stroke: var(--coral); stroke-width: 1.6; stroke-linejoin: round; }
.net-book .pg { fill: none; stroke: var(--mist); stroke-width: 1; opacity: 0.6; }
.n-c { fill: var(--coral); }
.n-t { fill: var(--teal); }
.n-w { fill: var(--paper); }

/* The one orchestrated moment: the network rises out of the book. */
@media (prefers-reduced-motion: no-preference) {
	.net-nodes circle { opacity: 0; animation: rise 0.7s ease-out forwards; animation-delay: calc(var(--d) * 0.14s + 0.25s); }
	.net-edges { opacity: 0; animation: fade 1.4s ease-out 0.9s forwards; }
	@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
	@keyframes fade { to { opacity: 1; } }
}

/* ---- At a glance ----------------------------------------------------- */

.glance { padding-block: var(--gap); border-top: 1px solid var(--line); }
.glance__line {
	font-size: clamp(2rem, 5.2vw, 4rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.04;
	max-width: 18ch;
	text-wrap: balance;
}
.glance__lede { color: var(--mist); margin-top: 1.5rem; max-width: 52ch; }

.origins {
	margin-top: 2.75rem;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
	gap: 0 2.5rem;
}
.origins li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.3rem 1rem;
	align-items: baseline;
	padding: 0.85rem 0;
	border-top: 1px solid var(--line);
	font-family: var(--display);
	font-size: 1.0625rem;
}
.origins__dots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; min-height: 12px; }
.origins__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.origins__dots .k1 { background: var(--teal); }
.origins__dots .k2 { background: var(--paper); }
.origins__n { color: var(--mist); font-variant-numeric: tabular-nums; }
.origins li:first-child { grid-column: span 2; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.split h3 { margin-bottom: 1rem; }
.bars li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.35rem 1rem;
	padding: 0.7rem 0 0.8rem;
	font-family: var(--display);
	font-size: 1.0625rem;
}
.bars__n { color: var(--mist); font-variant-numeric: tabular-nums; }
.bars__bar { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 2px; position: relative; }
.bars__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--teal); border-radius: 2px; }

/* ---- The book ---------------------------------------------------------- */

.about { background: var(--paper); color: var(--navy); padding-block: var(--gap); }
.about__in { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.about .lead { font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1.35; max-width: 32ch; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #cfc7bb; }
.facts dt { font-family: var(--display); font-weight: 600; font-size: 1.125rem; margin-bottom: 0.4rem; }
.facts dd { max-width: 38ch; }

/* ---- Six parts --------------------------------------------------------- */

.parts { padding-block: var(--gap); }
.parts__lede { color: var(--mist); margin-top: 1rem; max-width: 56ch; }
.path {
	margin-top: 3.25rem;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1.5rem;
	position: relative;
}
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 1.25rem; height: 1px; background: var(--line); }
.path li { position: relative; }
.path__no {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--navy);
	border: 1px solid var(--coral);
	color: var(--coral);
	font-family: var(--display);
	font-size: 0.9375rem;
	font-weight: 600;
}
.path h3 { margin-top: 1.1rem; font-size: 1.5rem; }
.path p { color: var(--mist); margin-top: 0.4rem; font-size: 1.0625rem; line-height: 1.45; }

/* ---- Contributors (hidden until someone has opted in) -------------------- */

.people { padding-block: 0 var(--gap); }
.wall { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 2.5rem; }
.wall li { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--line); }
.wall img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; flex: none; }
.wall__name { font-family: var(--display); font-weight: 600; }
.wall__role, .wall__country { color: var(--mist); font-size: 1rem; line-height: 1.4; }

/* ---- Editors -------------------------------------------------------------- */

.editors { background: var(--navy-raised); padding-block: var(--gap); }
.eds { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.eds img { width: 6.5rem; height: 6.5rem; border-radius: 50%; object-fit: cover; }
.eds h3 { margin-top: 1.25rem; font-size: 1.375rem; }
.eds__role { font-family: var(--display); color: var(--coral); font-size: 1rem; line-height: 1.4; margin-top: 0.35rem; min-height: 2.8em; }
.eds__bio { margin: 0.9rem 0 1rem; font-size: 1.0625rem; color: #dcdfe9; }
.eds a { font-family: var(--display); font-size: 1rem; }

/* ---- Publication (later phase) ---------------------------------------------- */

.release { padding-block: var(--gap) 0; }
.release p { margin-top: 1rem; }
.button { display: inline-block; background: var(--coral); color: var(--navy); font-family: var(--display); font-weight: 600; padding: 0.7rem 1.25rem; border-radius: 4px; text-decoration: none; }

/* ---- Status and contact -------------------------------------------------------- */

.close { padding-block: var(--gap); }
.close__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.close h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.status { border-left: 2px solid var(--teal); padding-left: 1.5rem; color: #dcdfe9; }
.status p + p { margin-top: 0.9rem; }
.contact__mail {
	display: inline-block;
	margin-top: 1.1rem;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(0.9rem, 4vw, 1.45rem);
	overflow-wrap: anywhere;
}

/* ---- Footer and legal pages ------------------------------------------------------ */

.foot { border-top: 1px solid var(--line); padding-block: 2rem; font-family: var(--display); font-size: 0.9375rem; color: var(--mist); }
.foot__in { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; }
.foot__note { margin-bottom: 1.25rem; max-width: 60ch; color: var(--paper); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.foot a { color: var(--mist); }
.foot a:hover { color: var(--paper); }

.bar { border-bottom: 1px solid var(--line); padding: 1.1rem 1.25rem; }
.bar__home { font-family: var(--display); font-weight: 600; color: var(--paper); text-decoration: none; }
.bar__home:hover { color: var(--coral); }

.legal { padding-block: clamp(3rem, 7vw, 5rem) var(--gap); }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); letter-spacing: -0.03em; }
.legal h1 span { color: var(--mist); font-weight: 400; }
.legal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: 3rem; }
.legal h2 { font-size: 1.125rem; color: var(--coral); padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.legal h3 { font-size: 1.125rem; margin: 2rem 0 0.5rem; }
.legal p { font-size: 1.0625rem; max-width: 62ch; }
.legal p + p { margin-top: 0.75rem; }
.legal__note { color: var(--mist); font-style: italic; }

/* ---- Small screens ------------------------------------------------------------------ */

@media (max-width: 60rem) {
	.path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
	.path::before { display: none; }
	.eds { grid-template-columns: 1fr; max-width: 38rem; }
	.eds__role { min-height: 0; }
}
@media (max-width: 46rem) {
	body { font-size: 1.125rem; }
	.hero__in, .about__in, .split, .close__in, .legal__cols, .facts { grid-template-columns: 1fr; }
	.cover { justify-self: start; width: min(100%, 17rem); }
	.cover figcaption { text-align: left; }
	.path { grid-template-columns: 1fr 1fr; }
	.origins { grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
	.facts { gap: 1.75rem; }
}
