/*
 * The About page, built to handoff frames 1c (390), 1a (1240) and 1b (1600).
 *
 * MOBILE FIRST, min-width only, each breakpoint after the last. Media queries
 * add no specificity, so an earlier @media block loses to any later
 * unconditional rule - traps.md #2, three occurrences.
 *
 * NO GLOBAL RULES ON BARE ELEMENTS and nothing hidden by tag - traps.md #1,
 * which killed five visuals over three weeks, including two scrims that had
 * never rendered since the day they were built.
 *
 * Every number here was measured off a frame. Where the README's prose and the
 * frames disagree the frames win (traps.md #33) - and they do disagree here:
 * the README's type table gives the page hero H1 as 92/72/52, and the About
 * frames measure 72 at 1600, 56 at 1240 and 40 at 390. This page uses the
 * frames' numbers.
 *
 * Breakpoints are the theme's own - 768 and 1520, the same two base.css uses
 * for the gutter, so a section and its container never disagree about which
 * step they are on.
 */

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

.np-about__hero {
	position: relative;
	height: 480px;
	background: #050607;
	overflow: hidden;
}

.np-about__hero-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/*
 * The scrim is a gradient-only element. Two classes deep and never a bare
 * `div`, because a global `div:empty { display: none }` is exactly what hid
 * the Shopify hero overlay and the age-gate scrim from the day they were built
 * until 04/09/26 - traps.md #1.
 *
 * Vertical, not horizontal: the About copy is CENTRED over the image at every
 * width, unlike the home hero which is left-aligned on desktop.
 */
.np-about__hero .np-about__hero-scrim {
	display: block;
}

.np-about__hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(5, 6, 7, 0.82) 0%,
		rgba(5, 6, 7, 0.6) 44%,
		rgba(5, 6, 7, 0.9) 100%
	);
}

.np-about__hero-inner {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	text-align: center;
}

.np-about__pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 28px;
	padding: 0 13px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--np-radius-pill);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

/* 6px on phone, 7px above. A status dot needs flex-shrink or it compresses to
   nothing in a tight row - the handoff names this as one of four notes that
   each cost a round of rework. */
.np-dot {
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #3FBE6A;
}

.np-about__title {
	margin: 14px 0 0;
	max-width: 26ch;
	font-family: var(--np-font-heading);
	font-size: 40px;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: #FFFFFF;
}

/* The second half of the two-tone headline. ~~#98A2AE, the frame's own value~~
   SUPERSEDED 17/09/26 23:17 by the owner's sitewide rule: "no grey ending text from
   now on anywhere. period." Emphasis is weight, not colour - 600 head, 400
   tail, both solid white. The old grey measured 4.4:1 beside 21:1 white, which
   read as something that had failed to load. */
.np-about__title-muted {
	color: #FFFFFF;
	font-weight: 400;
}

.np-about__lede {
	margin: 12px 0 0;
	max-width: 58ch;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: #C4CCD6;
}

/* The countdown replaces the old hero's two buttons entirely. */
.np-about__clock {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--np-radius-panel);
	background: rgba(255, 255, 255, 0.04);
}

.np-about__clock-label {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #C4CCD6;
}

.np-about__clock-rule {
	width: 1px;
	height: 24px;
	background: rgba(255, 255, 255, 0.24);
}

.np-about__clock-time {
	font-family: var(--np-font-data);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	color: #FFFFFF;
	font-variant-numeric: tabular-nums;
}

.np-about__clock-cut {
	font-family: var(--np-font-data);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #98A2AE;
}

/* ----------------------------------------------------------- page bands */

.np-about__band {
	padding-top: 20px;
}

.np-about__band--last {
	padding-bottom: 28px;
}

/* ---------------------------------------------------------- the figures */

/*
 * PHONE IS NOT A 3-UP GRID. The frame turns each figure into a full-width row
 * with the value and icon on the right - `grid-template-columns: 1fr auto`.
 * Three 30px figures side by side at 362px would each get ~113px and the notes
 * would wrap to four lines.
 */
.np-about__numbers {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.np-about__number {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 18px;
	background: var(--np-panel);
	border-radius: var(--np-radius-panel);
}

.np-about__number-top {
	display: flex;
	align-items: center;
	gap: 10px;
	grid-row: 1;
	grid-column: 2;
}

.np-about__number-v {
	font-family: var(--np-font-heading);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--np-ink);
}

.np-about__number-icon {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	color: var(--np-muted);
}

.np-about__number-k {
	grid-row: 1;
	grid-column: 1;
	color: var(--np-ink);
}

.np-about__number-note {
	grid-row: 2;
	grid-column: 1 / -1;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--np-body);
}

/* -------------------------------------------- dispatch / testing panels */

.np-about__panels {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.np-about__panel {
	display: flex;
	flex-direction: column;
	padding: 22px 20px 24px;
	background: var(--np-panel);
	border-radius: var(--np-radius-panel);
}

.np-about__panel-eyebrow {
	color: var(--np-muted);
	letter-spacing: 0.1em;
}

.np-about__panel-title {
	margin: 9px 0 0;
	font-family: var(--np-font-heading);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.022em;
	line-height: 1.2;
	color: var(--np-ink);
}

.np-about__panel-text {
	margin: 10px 0 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--np-body);
}

.np-about__panel-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	margin-top: 14px;
	border: 1.5px solid var(--np-field);
	border-radius: var(--np-radius-button);
	color: var(--np-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
}

/*
 * THE SPACER IS THE MECHANISM, not a margin on the image.
 *
 * `margin-top: auto` here pushes the whole spacer to the floor of an
 * equal-height panel and its padding-top is the guaranteed gap. A plain
 * margin-top on the image pushes it down but leaves its position dependent on
 * how long the paragraph above happens to be, so two side-by-side panels end
 * up with their images on different lines. The handoff is explicit that this
 * bug recurred once after being fixed.
 */
.np-about__panel-spacer {
	display: flex;
	flex-direction: column;
	margin-top: auto;
	padding-top: 16px;
}

.np-about__panel-media {
	position: relative;
	width: 100%;
	height: 220px;
	background: var(--np-gradient-product-large, radial-gradient(ellipse 62% 58% at 50% 42%, #FCFDFE 0%, #DFE6ED 62%, #C4CEDA 100%));
	border-radius: var(--np-radius-chip-lg);
	overflow: hidden;
}

.np-about__panel-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------- the steps */

.np-about__h2 {
	margin: 0;
	font-family: var(--np-font-heading);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: var(--np-ink);
}

.np-about__h2-note {
	margin: 10px 0 0;
	max-width: 74ch;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--np-body);
}

.np-about__steps-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.np-about__steps {
	display: flex;
	flex-direction: column;
	background: var(--np-panel);
	border-radius: var(--np-radius-panel);
}

/*
 * The divider is a border-top on every step EXCEPT the first, rather than a
 * border-bottom on all but the last. Same result, and it means the rule does
 * not have to be unset on a `:last-child`, which is a structural pseudo-class
 * this file avoids on principle.
 */
.np-about__step {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 12px;
	align-items: baseline;
	padding: 17px 18px;
	border-top: 1px solid var(--np-rule);
}

.np-about__step.is-first {
	border-top: 0;
}

.np-about__step-n {
	font-family: var(--np-font-data);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #6A7280; /* was var(--np-hint) #9AA5B1: 2.50 on white, well below
	                   AA. Now 4.85. Token left alone - account.css uses it
	                   as a background. */
}

.np-about__step-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.np-about__step-title {
	font-family: var(--np-font-heading);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--np-ink);
}

.np-about__step-text {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--np-body);
}

/* Removed on phone - the handoff's slot table says so in as many words. */
.np-about__steps-media {
	display: none;
}

/* ------------------------------------------------------ what we don't claim */

.np-about__limits {
	padding: 24px 20px 26px;
	background: var(--np-ink);
	border-radius: var(--np-radius-panel);
}

.np-about__limits-eyebrow {
	color: #98A2AE;
	letter-spacing: 0.1em;
}

.np-about__limits-title {
	margin: 10px 0 0;
	font-family: var(--np-font-heading);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #FFFFFF;
}

.np-about__limits-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 22px;
}

.np-about__limit {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.np-about__limit-title {
	font-family: var(--np-font-heading);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
	color: #FFFFFF;
}

.np-about__limit-text {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.65;
	color: #C4CCD6;
}

/* --------------------------------------------------------- contact band */

.np-about__contact {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 20px 26px;
	background: var(--np-panel);
	border-radius: var(--np-radius-panel);
}

.np-about__contact-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.np-about__contact-title {
	margin: 0;
	font-family: var(--np-font-heading);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: var(--np-ink);
}

.np-about__contact-text {
	margin: 0;
	max-width: 64ch;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--np-body);
}

.np-about__contact-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 50px;
	padding: 0 24px;
	border-radius: var(--np-radius-button);
	background: var(--np-ink);
	color: var(--np-panel);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

/* ================================================================== 768px */

@media (min-width: 768px) {

	.np-about__hero {
		height: 440px;
	}

	.np-about__pill {
		gap: 8px;
		height: 30px;
		padding: 0 14px;
	}

	.np-dot {
		width: 7px;
		height: 7px;
	}

	.np-about__title {
		margin: 20px 0 0;
		font-size: 56px;
		letter-spacing: -0.03em;
	}

	.np-about__lede {
		margin: 14px 0 0;
		max-width: 62ch;
		font-size: 17px;
		line-height: 1.55;
	}

	.np-about__clock {
		gap: 18px;
		margin-top: 24px;
		padding: 14px 22px;
	}

	.np-about__clock-rule {
		height: 26px;
	}

	.np-about__clock-time {
		font-size: 30px;
	}

	.np-about__band {
		padding-top: 38px;
	}

	.np-about__band--last {
		padding-bottom: 44px;
	}

	/*
	 * Three equal cells sharing 1px of #E1E4E8 as the divider - the grid's own
	 * gap IS the hairline, with each cell painted white on top. One border
	 * between cells rather than two abutting ones, and no :last-child unset.
	 */
	.np-about__numbers {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1px;
		background: var(--np-line);
		border-radius: var(--np-radius-panel);
		overflow: hidden;
	}

	.np-about__number {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 26px 26px 28px;
		border-radius: 0;
	}

	.np-about__number-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.np-about__number-v {
		font-size: 36px;
	}

	.np-about__number-icon {
		width: 34px;
		height: 34px;
	}

	.np-about__number-note {
		font-size: 15px;
		line-height: 1.6;
	}

	.np-about__panels {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		align-items: stretch;
	}

	.np-about__panel {
		padding: 30px 32px 32px;
	}

	.np-about__panel-title {
		margin: 10px 0 0;
		font-size: 25px;
	}

	.np-about__panel-text {
		margin: 12px 0 0;
		font-size: 16px;
		line-height: 1.7;
	}

	.np-about__panel-link {
		display: inline-flex;
		justify-content: flex-start;
		gap: 8px;
		height: 46px;
		margin-top: 16px;
		padding: 0 18px;
		align-self: flex-start;
	}

	.np-about__panel-spacer {
		padding-top: 30px;
	}

	.np-about__panel-media {
		height: 340px;
	}

	.np-about__h2 {
		font-size: 34px;
	}

	.np-about__h2-note {
		margin: 12px 0 0;
		font-size: 17px;
		line-height: 1.65;
	}

	.np-about__steps-grid {
		display: grid;
		grid-template-columns: 1fr 400px;
		gap: 20px;
		margin-top: 22px;
		align-items: stretch;
	}

	.np-about__step {
		grid-template-columns: 50px 1fr;
		gap: 18px;
		padding: 21px 28px;
	}

	.np-about__step-n {
		font-size: 13px;
	}

	.np-about__step-title {
		font-size: 19px;
	}

	.np-about__step-text {
		font-size: 15px;
	}

	/*
	 * Back from phone. `align-items: stretch` on the grid is what gives this
	 * its height - the handoff's slot table calls the 575/605 figures derived
	 * from the steps list and says MEASURE, DO NOT CALCULATE, because the
	 * captions were wrong twice from arithmetic.
	 */
	.np-about__steps-media {
		display: block;
		position: relative;
		background: var(--np-gradient-product-large, radial-gradient(ellipse 62% 58% at 50% 42%, #FCFDFE 0%, #DFE6ED 62%, #C4CEDA 100%));
		border-radius: var(--np-radius-panel);
		overflow: hidden;
	}

	.np-about__steps-media img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.np-about__limits {
		padding: 32px 36px 36px;
	}

	.np-about__limits-title {
		margin: 12px 0 0;
		font-size: 32px;
	}

	.np-about__limits-grid {
		display: grid;
		/* Four panels since the 19/09/26 copy pass (was three): 2x2 from 768, four across from 1520. */
		grid-template-columns: repeat(2, 1fr);
		gap: 26px;
		margin-top: 26px;
	}

	.np-about__limit {
		padding-top: 20px;
	}

	.np-about__limit-title {
		font-size: 20px;
	}

	.np-about__limit-text {
		font-size: 15px;
	}

	.np-about__contact {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 30px;
		padding: 28px 32px;
	}

	.np-about__contact-title {
		font-size: 26px;
	}

	.np-about__contact-text {
		font-size: 16px;
	}

	.np-about__contact-cta {
		flex-shrink: 0;
		height: 54px;
		padding: 0 28px;
	}
}

/* ================================================================= 1520px */

@media (min-width: 1520px) {

	.np-about__hero {
		height: 520px;
	}

	.np-about__pill {
		height: 32px;
		padding: 0 15px;
	}

	.np-about__title {
		margin: 22px 0 0;
		font-size: 72px;
	}

	.np-about__lede {
		margin: 16px 0 0;
		max-width: 64ch;
		font-size: 18px;
	}

	.np-about__clock {
		gap: 20px;
		margin-top: 28px;
		padding: 15px 24px;
	}

	.np-about__clock-rule {
		height: 28px;
	}

	.np-about__clock-time {
		font-size: 32px;
	}

	.np-about__band {
		padding-top: 40px;
	}

	.np-about__band--last {
		padding-bottom: 48px;
	}

	.np-about__number {
		padding: 28px 28px 30px;
	}

	.np-about__number-v {
		font-size: 40px;
	}

	.np-about__number-icon {
		width: 36px;
		height: 36px;
	}

	.np-about__panels {
		gap: 24px;
	}

	.np-about__panel {
		padding: 32px 34px 34px;
	}

	.np-about__panel-title {
		font-size: 27px;
	}

	.np-about__panel-media {
		height: 380px;
	}

	.np-about__h2 {
		font-size: 38px;
	}

	.np-about__steps-grid {
		grid-template-columns: 1fr 460px;
		gap: 24px;
		margin-top: 24px;
	}

	.np-about__limits {
		padding: 36px 40px 40px;
	}

	.np-about__limits-title {
		font-size: 36px;
	}

	.np-about__limits-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 30px;
		margin-top: 28px;
	}

	.np-about__contact {
		gap: 36px;
		padding: 30px 36px;
	}

	.np-about__contact-title {
		font-size: 28px;
	}
}
