/* ==========================================================================
   Ngā Pakanga o Te Tai Tokerau
   One fluid layout. Section backgrounds are full-bleed; content caps at
   1200px. Type and spacing scale with clamp() rather than stepping.
   Structural breakpoints: 1200 / 1000 / 660.
   ========================================================================== */

:root {
	--ground:      #14110D;
	--ground-alt:  #1A1611;
	--ground-card: #1C1813;
	--deep:        #0D0B08;
	--hero-ground: #0B0906;

	--paper:       #F2EDE3;
	--paper-2:     #E9E2D4;
	--paper-3:     #E6DFD1;
	--paper-line:  #D6CDBB;

	--kokowai:     #A83A22;
	--kokowai-lt:  #C8542F;
	--kokowai-hi:  #E0733F;

	--on-dark:     #F6F2E9;
	--on-dark-2:   #E4DED0;
	--muted-dark:  #9A9080;
	--muted-dark-2:#8A8172;
	--faint-dark:  #7C7465;

	--on-light:    #1A1611;
	--body-light:  #46402F;
	--muted-light: #6B6353;

	--rule-dark:   rgba(242, 237, 227, 0.12);
	--rule-dark-2: rgba(242, 237, 227, 0.18);

	--wrap:        1200px;
	--read:        68ch;
	--gutter:      clamp(20px, 5.2vw, 120px);

	--serif:       "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--sans:        "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	--focus:       var(--kokowai-lt);
}

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

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

body.np {
	margin: 0;
	background: var(--ground);
	color: var(--on-dark);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
.np-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np-img--plate { filter: sepia(0.28) saturate(0.7); }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em; }
p, ul, ol, figure, blockquote { margin: 0; }

a { color: var(--kokowai-lt); text-decoration: none; }
a:hover { color: var(--kokowai-hi); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: 1px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.np-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 12px 18px;
	background: var(--kokowai); color: #FBF8F2;
	font-size: 14px; font-weight: 500;
	transition: top .15s ease;
}
.np-skip:focus { top: 12px; color: #FBF8F2; }

/* --------------------------------------------------------------- layout */

.np-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.np-block { padding-inline: var(--gutter); position: relative; }

.np-space--tight  { padding-block: clamp(34px, 4vw, 60px); }
.np-space--normal { padding-block: clamp(48px, 6vw, 96px); }
.np-space--loose  { padding-block: clamp(64px, 8vw, 128px); }
.np-space--flush  { padding-block: 0; padding-inline: 0; }

.np-tone--dark     { background: var(--ground);     color: var(--on-dark); }
.np-tone--dark-alt { background: var(--ground-alt); color: var(--on-dark); }
.np-tone--deep     { background: var(--deep);       color: var(--on-dark); }
.np-tone--paper    { background: var(--paper);      color: var(--on-light); }
.np-tone--ochre    { background: var(--kokowai);    color: #FBF6EE; }

.np-tone--paper a { color: var(--kokowai); }
.np-tone--paper a:hover { color: #8C2F1C; }

/* An editor previewing hidden blocks sees them flagged. */
.np-block--preview-hidden { outline: 2px dashed var(--kokowai-lt); outline-offset: -8px; }
.np-block--preview-hidden::before {
	content: "HIDDEN";
	position: absolute; top: 8px; left: 8px; z-index: 3;
	background: var(--kokowai); color: #fff;
	font-size: 10px; font-weight: 600; letter-spacing: .12em;
	padding: 4px 9px;
}

/* ------------------------------------------------------------ typography */

.np-h1 {
	font-size: clamp(32px, 4.4vw, 68px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	text-wrap: pretty;
}
.np-h1--page { font-size: clamp(30px, 3.6vw, 54px); }
.np-h2 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; }
.np-h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.2; }

.np-lede {
	font-size: clamp(15px, 1.35vw, 19px);
	line-height: 1.62;
	max-width: 62ch;
	color: #CFC7B7;
	text-wrap: pretty;
}
.np-lede--sm { font-size: 16px; color: var(--muted-dark); }
.np-tone--paper .np-lede { color: var(--muted-light); }

.np-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-dark-2);
	margin: 0;
}
.np-label__en { color: inherit; opacity: .62; }
.np-label--ochre { color: var(--kokowai-lt); }
.np-tone--paper .np-label--ochre { color: var(--kokowai); }
.np-label--muted { color: var(--muted-dark); font-size: 10px; }
.np-tone--paper .np-label--muted { color: var(--muted-light); }
.np-label--onochre { color: rgba(251, 246, 238, 0.75); }
.np-label--footer { color: var(--faint-dark); font-size: 10px; }
.np-label--rule { display: flex; align-items: center; gap: 12px; }
.np-rule { display: block; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }

.np-stack-heading { margin-bottom: clamp(22px, 2.6vw, 34px); }

.np-prose { font-size: clamp(16px, 1.2vw, 17px); line-height: 1.75; }
.np-prose--read { max-width: var(--read); }
.np-prose > * + * { margin-top: 1.15em; }
.np-prose h2 { font-size: clamp(23px, 2.2vw, 32px); margin-top: 1.6em; }
.np-prose h3 { font-size: clamp(19px, 1.7vw, 24px); margin-top: 1.4em; }
.np-prose ul, .np-prose ol { padding-left: 1.3em; }
.np-prose li + li { margin-top: .45em; }
.np-prose blockquote {
	border-left: 3px solid var(--kokowai);
	padding-left: 24px;
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.3em;
	line-height: 1.45;
}
.np-tone--paper .np-prose { color: var(--body-light); }
.np-tone--paper .np-prose h2, .np-tone--paper .np-prose h3 { color: var(--on-light); }
.np-tone--dark .np-prose, .np-tone--deep .np-prose, .np-tone--dark-alt .np-prose { color: var(--on-dark-2); }

.np-textlink {
	font-size: 14.5px;
	font-weight: 500;
	border-bottom: 1px solid rgba(200, 84, 47, .45);
	padding-bottom: 3px;
	white-space: nowrap;
}
.np-tone--paper .np-textlink { border-bottom-color: rgba(168, 58, 34, .4); }

/* --------------------------------------------------------------- buttons */

.np-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	font-size: 15px;
	font-weight: 500;
	font-family: inherit;
	border: 1px solid transparent;
	cursor: pointer;
}
.np-btn--primary { background: var(--kokowai); color: #FBF8F2; }
.np-btn--primary:hover { background: #93301B; color: #FBF8F2; }
.np-btn--ghost { border-color: rgba(242, 237, 227, .34); color: var(--paper); background: none; }
.np-btn--ghost:hover { border-color: var(--paper); color: var(--paper); }

.np-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	background: none;
	border: 0;
	color: var(--on-dark-2);
	cursor: pointer;
}
.np-iconbtn:hover { color: var(--on-dark); }
.np-icon { flex-shrink: 0; }

/* -------------------------------------------------------------- masthead */

.np-utility { background: var(--deep); border-bottom: 1px solid rgba(242, 237, 227, .09); padding-inline: var(--gutter); }
.np-utility__inner {
	max-width: var(--wrap); margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; min-height: 38px; padding-block: 9px;
}
.np-utility__text { font-size: 12px; color: var(--muted-dark-2); }
.np-lang { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted-dark-2); }
.np-lang__current { color: var(--paper); font-weight: 500; }
.np-lang__sep { opacity: .4; }
.np-lang__other { color: var(--muted-dark-2); }

.np-masthead { border-bottom: 1px solid var(--rule-dark); background: var(--ground); padding-inline: var(--gutter); }
.np-masthead__inner {
	max-width: var(--wrap); margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between;
	gap: 30px; min-height: 88px; padding-block: 14px;
}

.np-wordmark { display: flex; align-items: center; gap: 14px; color: var(--paper); }
.np-wordmark:hover { color: var(--paper); }
.np-wordmark__bar { width: 3px; align-self: stretch; min-height: 42px; background: var(--kokowai); flex-shrink: 0; }
.np-wordmark__text { display: flex; flex-direction: column; gap: 3px; }
.np-wordmark__reo { font-family: var(--serif); font-size: clamp(17px, 1.8vw, 25px); line-height: 1.06; }
.np-wordmark__en {
	font-size: 10px; font-weight: 600; letter-spacing: .18em;
	text-transform: uppercase; color: var(--muted-dark-2);
}
.np-wordmark--footer { align-items: center; }

.np-masthead__right { display: flex; align-items: center; gap: 10px; }
.np-nav__list {
	display: flex; align-items: center;
	gap: clamp(16px, 1.7vw, 30px);
	list-style: none; margin: 0; padding: 0;
	font-size: 14px;
}
.np-nav__list a { color: #D9D2C4; }
.np-nav__list a:hover, .np-nav__list .current-menu-item > a { color: var(--kokowai-lt); }

.np-menu-toggle { display: none; }
.np-menu-toggle__close { display: none; }
.np-menu-toggle[aria-expanded="true"] .np-menu-toggle__open { display: none; }
.np-menu-toggle[aria-expanded="true"] .np-menu-toggle__close { display: inline-flex; }

.np-searchbar { border-top: 1px solid var(--rule-dark); background: var(--deep); padding-inline: var(--gutter); }
.np-searchbar__inner { max-width: var(--wrap); margin-inline: auto; padding-block: 18px; }

.np-drawer { border-top: 1px solid var(--rule-dark); background: var(--deep); padding: 8px var(--gutter) 24px; }
.np-drawer__list { list-style: none; margin: 0; padding: 0; }
.np-drawer__list li { border-bottom: 1px solid var(--rule-dark); }
.np-drawer__list a { display: block; padding: 15px 0; color: var(--on-dark-2); font-size: 17px; }

.np-searchform { display: flex; gap: 10px; flex-wrap: wrap; }
.np-searchform__field {
	flex: 1 1 240px;
	min-height: 52px;
	padding: 0 16px;
	background: var(--ground);
	border: 1px solid var(--rule-dark-2);
	color: var(--paper);
	font-family: inherit; font-size: 15px;
}
.np-tone--paper .np-searchform__field { background: #fff; border-color: var(--paper-line); color: var(--on-light); }

/* ------------------------------------------------------------------ hero */

.np-block--hero {
	position: relative;
	overflow: hidden;
	background: var(--hero-ground);
	padding-block: 0;
}
.np-hero__media { position: absolute; inset: 0; max-width: 1920px; margin-inline: auto; }
.np-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.np-hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(96deg,
		rgba(11, 9, 6, .95) 0%,
		rgba(11, 9, 6, .84) 40%,
		rgba(11, 9, 6, .34) 76%,
		rgba(11, 9, 6, .58) 100%);
}
.np-hero__inner {
	position: relative;
	min-height: clamp(540px, 44vw, 700px);
	display: flex; flex-direction: column; justify-content: center;
	padding-block: 48px;
}
.np-hero__content { max-width: 760px; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 26px); }
.np-hero__actions { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.np-credit {
	font-size: 11px; line-height: 1.6;
	color: rgba(242, 237, 227, .74);
	text-shadow: 0 1px 3px rgba(11, 9, 6, .9);
	max-width: 46ch;
}

/* ----------------------------------------------------------------- audio */

.np-audio { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--paper-3); border: 1px solid var(--paper-line); }
.np-tone--dark .np-audio, .np-tone--deep .np-audio, .np-tone--dark-alt .np-audio { background: var(--ground-card); border-color: var(--rule-dark); }
.np-audio__title { font-size: 14px; font-weight: 600; color: var(--on-light); }
.np-tone--dark .np-audio__title { color: var(--on-dark); }
.np-audio__note { font-size: 12.5px; color: var(--muted-light); }
.np-tone--dark .np-audio__note { color: var(--muted-dark); }
.np-audio__el { width: 100%; max-width: 420px; }
.np-audio--inline { background: none; border: 0; padding: 0; gap: 6px; }
.np-audio__label { font-size: 12.5px; color: var(--muted-dark); }

/* --------------------------------------------------------- split section */

.np-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(26px, 3vw, 40px); align-items: start; }
.np-split__main { grid-column: span 7; display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 24px); }
.np-split__aside { grid-column: span 5; display: flex; flex-direction: column; gap: 22px; }

.np-pullquote { border-left: 3px solid var(--kokowai); padding: 4px 0 4px 24px; }
.np-pullquote p {
	font-family: var(--serif); font-style: italic;
	font-size: clamp(21px, 1.9vw, 26px); line-height: 1.42;
	color: #241F17;
}
.np-tone--dark .np-pullquote p, .np-tone--deep .np-pullquote p { color: var(--on-dark); }

.np-chips, .np-filters { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.np-chip {
	display: inline-block;
	font-size: 12.5px; color: var(--muted-light);
	padding: 8px 15px; border: 1px solid var(--paper-line);
}
.np-chip:hover { color: var(--kokowai); border-color: var(--kokowai); }
.np-chip--dark, .np-tone--dark .np-chip, .np-tone--deep .np-chip, .np-tone--dark-alt .np-chip {
	color: #C6BFB0; border-color: rgba(242, 237, 227, .16);
}
.np-chip--dark:hover { color: var(--kokowai-lt); border-color: var(--kokowai-lt); }
.np-filters { margin-bottom: clamp(24px, 3vw, 40px); }

/* --------------------------------------------------------- section heads */

.np-sectionhead {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 40px; margin-bottom: clamp(30px, 3.6vw, 48px);
}
.np-sectionhead > div { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }

/* -------------------------------------------------------------- timeline */

.np-timeline {
	position: relative;
	display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 18px;
	list-style: none; margin: 0; padding: 0;
}
.np-timeline__rule { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(242, 237, 227, .16); }
.np-timeline__item { display: flex; flex-direction: column; gap: 14px; }
.np-timeline__dot {
	width: 15px; height: 15px; border-radius: 50%;
	border: 1px solid rgba(242, 237, 227, .35);
	background: var(--ground-alt);
}
.np-timeline__item.is-key .np-timeline__dot {
	background: var(--kokowai); border-color: var(--kokowai);
	box-shadow: 0 0 0 4px rgba(168, 58, 34, .22);
}
.np-timeline__date { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--kokowai-lt); }
.np-timeline__title { font-size: 14.5px; line-height: 1.45; color: var(--on-dark-2); }
.np-timeline__title a { color: inherit; }
.np-timeline__title a:hover { color: var(--kokowai-lt); }
.np-timeline__note { font-size: 12.5px; line-height: 1.5; color: var(--muted-dark); }

/* ----------------------------------------------------------------- cards */

.np-cards { display: grid; gap: clamp(18px, 2vw, 28px); }
.np-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 32px); }
.np-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 26px); }

.np-card { display: flex; flex-direction: column; background: var(--ground-card); border: 1px solid var(--rule-dark); }
.np-tone--paper .np-card { background: var(--paper-2); border-color: transparent; }
.np-card__media { display: block; height: clamp(180px, 17vw, 230px); overflow: hidden; }
.np-card__media--portrait { height: clamp(220px, 21vw, 300px); }
.np-card__body { display: flex; flex-direction: column; gap: 11px; padding: clamp(18px, 2vw, 26px); }
.np-card__title { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.2; color: var(--on-dark); }
.np-tone--paper .np-card__title { color: var(--on-light); }
.np-card__title a { color: inherit; }
.np-card__title a:hover { color: var(--kokowai-lt); }
.np-tone--paper .np-card__title a:hover { color: var(--kokowai); }
.np-card__text { font-size: 14.5px; line-height: 1.62; color: var(--muted-dark); }
.np-tone--paper .np-card__text { color: var(--muted-light); }

.np-alsolist {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--rule-dark);
}
.np-alsolist__label { font-size: 12.5px; color: var(--muted-dark-2); margin-right: 4px; }

.np-promo {
	display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
	padding: clamp(22px, 2.4vw, 30px);
	background: var(--kokowai); color: #FBF6EE;
}
.np-promo__top { display: flex; flex-direction: column; gap: 14px; }
.np-promo__heading { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; color: #FBF6EE; }
.np-promo__text { font-size: 14px; line-height: 1.6; color: rgba(251, 246, 238, .85); }
.np-promo__link { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: #FBF6EE; }
.np-promo__link:hover { color: #fff; }

.np-feature { display: flex; flex-direction: column; background: var(--ground); border: 1px solid var(--rule-dark); }
.np-tone--paper .np-feature { background: var(--paper-2); border-color: transparent; }
.np-feature__media { height: clamp(200px, 22vw, 300px); overflow: hidden; }
.np-feature__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); }
.np-feature__text { font-size: 15px; line-height: 1.68; color: var(--muted-dark); }
.np-tone--paper .np-feature__text { color: var(--muted-light); }
.np-feature .np-textlink { align-self: flex-start; }

/* ------------------------------------------------------------- resources */

.np-resources { display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, 4vw, 60px); }
.np-resources__head { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.np-resources__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; flex-grow: 1; list-style: none; margin: 0; padding: 0; }
.np-resources__item { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid rgba(242, 237, 227, .14); }
.np-resources__link { font-size: 16px; color: var(--paper); }
.np-resources__link:hover { color: var(--kokowai-lt); }
.np-resources__desc { font-size: 13px; line-height: 1.55; color: var(--muted-dark); }

/* --------------------------------------------------- figures and singles */

.np-figure { margin: 0; }
.np-figure--wide { max-width: 1920px; margin-inline: auto; }
.np-figure__credit { padding: 12px var(--gutter); font-size: 11.5px; color: var(--muted-dark); }

.np-person { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px); align-items: end; }
.np-person__portrait { grid-column: span 4; margin: 0; }
.np-person__intro { grid-column: span 8; display: flex; flex-direction: column; gap: 14px; }
.np-person__dates { font-size: 14px; color: var(--muted-dark); }

.np-sources { list-style: none; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.7; color: var(--on-dark-2); }
.np-sources li + li { margin-top: .5em; }

.np-results { list-style: none; margin: 0; padding: 0; }
.np-results__item { padding: 26px 0; border-bottom: 1px solid var(--rule-dark); display: flex; flex-direction: column; gap: 8px; }
.np-results__title { font-size: clamp(21px, 2vw, 27px); }
.np-results__title a { color: var(--on-dark); }
.np-results__title a:hover { color: var(--kokowai-lt); }
.np-results__text { font-size: 15px; color: var(--muted-dark); max-width: var(--read); }

.np-pagination { margin-top: clamp(30px, 4vw, 52px); font-size: 15px; }
.np-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0 8px;
	color: var(--on-dark-2);
}
.np-pagination .page-numbers.current { color: var(--kokowai-lt); font-weight: 600; }

.np-notice { padding: 18px var(--gutter); background: #2A2119; color: #E9DFCF; font-size: 14px; }

/* ---------------------------------------------------------------- footer */

.np-footer { background: var(--deep); padding: clamp(44px, 5vw, 72px) var(--gutter) 40px; }
.np-footer__inner { max-width: var(--wrap); margin-inline: auto; }
.np-footer__grid {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 40px);
	padding-bottom: clamp(32px, 4vw, 48px);
	border-bottom: 1px solid rgba(242, 237, 227, .10);
}
.np-footer__brand { grid-column: span 4; display: flex; flex-direction: column; gap: 18px; }
.np-footer__col { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.np-footer__mihi { font-size: 13.5px; line-height: 1.7; color: var(--faint-dark); max-width: 320px; }
.np-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.np-footer__list a { font-size: 13.5px; color: #ADA492; }
.np-footer__list a:hover { color: var(--kokowai-lt); }
.np-footer__base { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 26px; }
.np-footer__fine { font-size: 12.5px; color: var(--faint-dark); }
.np-footer__sponsor a { color: #ADA492; border-bottom: 1px solid rgba(200, 84, 47, .5); }
.np-footer__sponsor a:hover { color: var(--kokowai-lt); }

/* ----------------------------------------------------------- breakpoints */

@media (max-width: 1200px) {
	.np-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
	.np-timeline__rule { display: none; }
	.np-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
	.np-nav { display: none; }
	.np-menu-toggle { display: inline-flex; }
	.np-split__main, .np-split__aside { grid-column: 1 / -1; }
	.np-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.np-cards--2 { grid-template-columns: 1fr; }
	.np-resources { flex-direction: column; align-items: flex-start; }
	.np-resources__list { width: 100%; }
	.np-sectionhead { flex-direction: column; align-items: flex-start; gap: 22px; }
	.np-person__portrait, .np-person__intro { grid-column: 1 / -1; }
	.np-person__portrait { max-width: 360px; }
	.np-footer__brand { grid-column: 1 / -1; }
	.np-footer__col { grid-column: span 6; }
}

@media (max-width: 660px) {
	.np-timeline { grid-template-columns: 1fr; row-gap: 26px; }
	.np-cards--3 { grid-template-columns: 1fr; }
	.np-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.np-resources__list { grid-template-columns: 1fr; }
	.np-hero__actions { flex-direction: column; align-items: stretch; }
	.np-hero__actions .np-btn { width: 100%; }
	.np-hero__inner { justify-content: flex-end; padding-bottom: 34px; min-height: clamp(560px, 150vw, 660px); }
	.np-hero__scrim {
		background: linear-gradient(180deg,
			rgba(11, 9, 6, .50) 0%,
			rgba(11, 9, 6, .74) 34%,
			rgba(11, 9, 6, .95) 78%,
			rgba(11, 9, 6, .97) 100%);
	}
	.np-credit { text-shadow: none; }
	.np-utility__text { display: none; }
	.np-utility__inner { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 520px) {
	/* The te reo wordmark carries the identity; the English line wraps badly here. */
	.np-wordmark__en { display: none; }
}

/* ==========================================================================
   Section-page blocks (v1.1)
   ========================================================================== */

/* ---------------------------------------------------------- page header */

.np-block--page-header { position: relative; overflow: hidden; }
.np-pagehead__media { position: absolute; inset: 0; max-width: 1920px; margin-inline: auto; }
.np-pagehead__media .np-img { width: 100%; height: 100%; }
.np-pagehead__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(96deg, rgba(11,9,6,.94) 0%, rgba(11,9,6,.86) 46%, rgba(11,9,6,.6) 100%);
}
.np-pagehead__inner { position: relative; display: flex; flex-direction: column; gap: 14px; }
.np-pagehead__inner .np-lede { max-width: 58ch; }

/* ------------------------------------------------------------- directory */

.np-grouphead {
	display: flex; align-items: baseline; gap: 14px;
	margin: clamp(30px, 3.4vw, 46px) 0 clamp(18px, 2vw, 26px);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--paper-line);
}
.np-tone--dark .np-grouphead, .np-tone--deep .np-grouphead, .np-tone--dark-alt .np-grouphead { border-bottom-color: var(--rule-dark); }
.np-grouphead__count { font-size: 12px; letter-spacing: .12em; color: var(--muted-light); }
.np-tone--dark .np-grouphead__count { color: var(--muted-dark); }
.np-grouphead:first-child { margin-top: 0; }
.np-cards--stack + .np-grouphead { margin-top: clamp(38px, 4.4vw, 60px); }
.np-chip.is-active { background: var(--kokowai); border-color: var(--kokowai); color: #FBF8F2; }
.np-chip.is-active:hover { color: #fff; }

/* ---------------------------------------------------------------- ledger */

.np-ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.np-tone--paper .np-ledger { border-top-color: var(--paper-line); }
.np-ledger__row {
	display: grid;
	grid-template-columns: 44px 190px minmax(0, 1fr) 170px 72px;
	gap: clamp(14px, 1.6vw, 24px);
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--rule-dark);
}
.np-tone--paper .np-ledger__row { border-bottom-color: var(--paper-line); }
.np-ledger__index { font-size: 11px; letter-spacing: .14em; color: var(--faint-dark); }
.np-ledger__date { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: var(--kokowai-lt); }
.np-tone--paper .np-ledger__date { color: var(--kokowai); }
.np-ledger__main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.np-ledger__title { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; color: var(--on-dark); }
.np-tone--paper .np-ledger__title { color: var(--on-light); }
.np-ledger__title:hover { color: var(--kokowai-lt); }
.np-ledger__note { font-size: 13.5px; line-height: 1.55; color: var(--muted-dark); }
.np-tone--paper .np-ledger__note { color: var(--muted-light); }
.np-ledger__meta { font-size: 12.5px; color: var(--muted-dark-2); }
.np-ledger__thumb { display: block; width: 72px; height: 52px; overflow: hidden; }
.np-ledger__thumb .np-img { width: 100%; height: 100%; }

/* -------------------------------------------------------------- longform */

.np-longform { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.np-longform__rail { position: relative; }
.np-longform__sticky { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 22px; }
.np-toc__list { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: toc; }
.np-toc__list li { counter-increment: toc; border-top: 1px solid var(--paper-line); }
.np-tone--dark .np-toc__list li, .np-tone--deep .np-toc__list li { border-top-color: var(--rule-dark); }
.np-toc__list a { display: block; padding: 11px 0; font-size: 14px; line-height: 1.4; color: var(--muted-light); }
.np-tone--dark .np-toc__list a, .np-tone--deep .np-toc__list a { color: var(--muted-dark); }
.np-toc__list a::before { content: counter(toc, decimal-leading-zero); margin-right: 10px; font-size: 11px; letter-spacing: .1em; color: var(--kokowai); }
.np-toc__list a:hover { color: var(--kokowai); }
.np-longform__body { max-width: var(--read); display: flex; flex-direction: column; gap: clamp(34px, 4vw, 56px); }
.np-longform__section { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 24px; }
.np-longform__heading { font-size: clamp(22px, 2.1vw, 30px); }
.np-figure--inline { display: flex; flex-direction: column; gap: 8px; }
.np-figure--inline .np-figure__credit { padding: 0; }
.np-pullquote--inline { margin-block: 6px; }

/* ------------------------------------------------------- vertical timeline */

.np-vtimeline { list-style: none; margin: 0; padding: 0; }
.np-vtimeline__item {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 220px;
	gap: clamp(18px, 2.4vw, 34px);
	padding-bottom: clamp(30px, 3.4vw, 46px);
}
.np-vtimeline__spine { position: relative; display: flex; justify-content: center; }
.np-vtimeline__spine::after {
	content: ""; position: absolute; top: 20px; bottom: -100%; width: 1px;
	background: var(--rule-dark);
}
.np-tone--paper .np-vtimeline__spine::after { background: var(--paper-line); }
.np-vtimeline__item:last-child .np-vtimeline__spine::after { display: none; }
.np-vtimeline__dot {
	position: relative; z-index: 1;
	width: 15px; height: 15px; margin-top: 5px; border-radius: 50%;
	border: 1px solid rgba(242,237,227,.35); background: var(--ground);
}
.np-tone--paper .np-vtimeline__dot { border-color: var(--paper-line); background: var(--paper); }
.np-vtimeline__item.is-key .np-vtimeline__dot {
	background: var(--kokowai); border-color: var(--kokowai);
	box-shadow: 0 0 0 4px rgba(168,58,34,.22);
}
.np-vtimeline__content { display: flex; flex-direction: column; gap: 8px; }
.np-vtimeline__date { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--kokowai-lt); }
.np-tone--paper .np-vtimeline__date { color: var(--kokowai); }
.np-vtimeline__title { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; color: var(--on-dark); }
.np-tone--paper .np-vtimeline__title { color: var(--on-light); }
.np-vtimeline__title a { color: inherit; }
.np-vtimeline__title a:hover { color: var(--kokowai-lt); }
.np-vtimeline__body { font-size: 14.5px; line-height: 1.65; color: var(--muted-dark); max-width: 58ch; }
.np-tone--paper .np-vtimeline__body { color: var(--muted-light); }
.np-vtimeline__media { height: 140px; overflow: hidden; }
.np-vtimeline__media .np-img { width: 100%; height: 100%; }

/* ------------------------------------------------------------- statement */

.np-statement { display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, 4vw, 60px); }
.np-statement__quote { max-width: 46ch; display: flex; flex-direction: column; gap: 14px; }
.np-statement__quote p {
	font-family: var(--serif); font-style: italic;
	font-size: clamp(22px, 2.4vw, 34px); line-height: 1.35;
}
.np-statement__cite { font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.np-btn--onochre { background: #FBF6EE; color: var(--kokowai); font-weight: 600; white-space: nowrap; }
.np-btn--onochre:hover { background: #fff; color: #8C2F1C; }

/* ----------------------------------------------------------- alternating */

.np-alt {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(26px, 3.4vw, 56px);
	align-items: center;
	padding-block: clamp(26px, 3vw, 44px);
	border-bottom: 1px solid var(--paper-line);
}
.np-tone--dark .np-alt, .np-tone--deep .np-alt, .np-tone--dark-alt .np-alt { border-bottom-color: var(--rule-dark); }
.np-alt:last-child { border-bottom: 0; padding-bottom: 0; }
.np-alt--flip .np-alt__media { order: 2; }
.np-alt__media { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.np-alt__media .np-img { width: 100%; height: auto; }
.np-alt__media .np-figure__credit { padding: 0; }
.np-alt__body { display: flex; flex-direction: column; gap: 14px; }
.np-alt__body .np-prose { max-width: 56ch; }

/* ------------------------------------------------------------------ maps */

.np-map { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 34px); align-items: start; }
.np-map__canvas {
	height: clamp(380px, 46vw, 620px);
	background: var(--ground-card);
	border: 1px solid var(--rule-dark);
	z-index: 0;
}
.np-map__canvas.is-grey .leaflet-tile-pane { filter: grayscale(1) contrast(0.92) brightness(0.92) sepia(0.14); }
.np-map__list { list-style: none; margin: 0; padding: 0; max-height: clamp(380px, 46vw, 620px); overflow-y: auto; border-top: 1px solid var(--rule-dark); }
.np-tone--paper .np-map__list { border-top-color: var(--paper-line); }
.np-map__item { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule-dark); }
.np-tone--paper .np-map__item { border-bottom-color: var(--paper-line); }
.np-map__btn {
	flex: 1 1 auto; display: grid; grid-template-columns: 34px minmax(0, 1fr); row-gap: 3px; column-gap: 10px;
	align-items: baseline; text-align: left;
	background: none; border: 0; cursor: pointer; padding: 13px 0; font-family: inherit; color: inherit;
}
.np-map__btn:hover .np-map__name { color: var(--kokowai-lt); }
.np-tone--paper .np-map__btn:hover .np-map__name { color: var(--kokowai); }
.np-map__num { grid-row: span 2; font-size: 11px; letter-spacing: .12em; color: var(--kokowai); }
.np-map__name { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.np-map__date { grid-column: 2; font-size: 12.5px; color: var(--muted-dark); }
.np-tone--paper .np-map__date { color: var(--muted-light); }
.np-map__go { flex: 0 0 auto; font-size: 13px; padding: 8px 12px; }
.leaflet-popup-content { font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.np-map__pop-date { color: #6B6353; font-size: 12.5px; }

.np-plates { display: grid; gap: clamp(22px, 2.6vw, 40px); }
.np-plates--1 { grid-template-columns: minmax(0, 1fr); }
.np-plates--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.np-plates--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-plate { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.np-plate__link { position: relative; display: block; border: 1px solid var(--paper-line); background: #fff; }
.np-tone--dark .np-plate__link, .np-tone--deep .np-plate__link, .np-tone--dark-alt .np-plate__link { border-color: var(--rule-dark); background: var(--ground-card); }
.np-plate__link .np-img { width: 100%; height: auto; }
.np-plate__zoom {
	position: absolute; right: 10px; bottom: 10px;
	background: rgba(13, 11, 8, .84); color: #F2EDE3;
	font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	padding: 7px 11px; opacity: 0; transition: opacity .15s ease;
}
.np-plate__link:hover .np-plate__zoom, .np-plate__link:focus-visible .np-plate__zoom { opacity: 1; }
.np-plate__caption { display: flex; flex-direction: column; gap: 5px; }
.np-plate__title { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.np-plate__note { font-size: 13.5px; line-height: 1.55; color: var(--muted-light); }
.np-tone--dark .np-plate__note { color: var(--muted-dark); }
.np-plate__credit { font-size: 11.5px; color: var(--muted-light); }
.np-tone--dark .np-plate__credit { color: var(--faint-dark); }
.np-plate__ai {
	align-self: flex-start; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
	padding: 4px 9px; border: 1px solid var(--kokowai); color: var(--kokowai);
}

/* ----------------------------------------------- v1.1 responsive overrides */

@media (max-width: 1200px) {
	.np-longform { grid-template-columns: 220px minmax(0, 1fr); }
	.np-ledger__row { grid-template-columns: 36px 160px minmax(0, 1fr) 64px; }
	.np-ledger__meta { display: none; }
	.np-map { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

@media (max-width: 1000px) {
	.np-longform { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.np-longform__sticky { position: static; }
	.np-longform__body { max-width: none; }
	.np-vtimeline__item { grid-template-columns: 28px minmax(0, 1fr); }
	.np-vtimeline__media { grid-column: 2; height: 200px; }
	.np-statement { flex-direction: column; align-items: flex-start; }
	.np-alt { grid-template-columns: minmax(0, 1fr); }
	.np-alt--flip .np-alt__media { order: 0; }
	.np-map { grid-template-columns: minmax(0, 1fr); }
	.np-map__list { max-height: 340px; }
	.np-plates--2, .np-plates--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 660px) {
	.np-ledger__row { grid-template-columns: minmax(0, 1fr) 56px; row-gap: 6px; padding: 16px 0; }
	.np-ledger__index { display: none; }
	.np-ledger__date { grid-column: 1; }
	.np-ledger__main { grid-column: 1; }
	.np-ledger__thumb { grid-column: 2; grid-row: 1 / span 2; width: 56px; height: 56px; }
	.np-map__canvas { height: 340px; }
}

/* Inline links inside flex columns should hug their text, not the column. */
.np-alt__body .np-textlink,
.np-longform__body .np-textlink,
.np-feature__body .np-textlink { align-self: flex-start; }
