/*
 * HD.1 — the ONE Coming Soon page (template-coming-soon.php). Desktop = the
 * approved lab (~/Documents/PouchPick-Labs/design/header-evolution-hd1/
 * final/coming-soon-lab.html, Option A, Inter headings — D9 default).
 * Phones = the Human-delegated presentation (HD.1 brief §6): the feature
 * heading first, a compact status, the short description and the way back
 * into the store, tighter spacing, and no decorative card. Lime appears
 * twice only (the status dot and the Soon tag — GLOBAL-COMMERCE-POLISH §5).
 * Loaded only on a Coming Soon request (inc/assets.php).
 */

.pp-cs { display: block; background: #fff; }

/* ---------------------------------------------------------------- hero */
.pp-cs-hero { background: var(--pp-navy-chrome); color: #fff; font-family: var(--pp-font-body); }
.pp-cs-hero-in {
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px 32px 88px;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
	gap: 72px;
	align-items: center;
}
.pp-cs-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; font: 500 13px/1.3 var(--pp-font-body); color: rgba(255, 255, 255, .5); }
.pp-cs-crumb a { color: rgba(255, 255, 255, .72); text-decoration: none; }
@media (hover: hover) { .pp-cs-crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
.pp-cs-title {
	margin: 0 0 18px;
	font: 700 clamp(40px, 5vw, 60px)/1.04 var(--pp-font-body);
	letter-spacing: -.028em;
	color: #fff;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.pp-cs-status { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 600 20px/1.35 var(--pp-font-body); color: rgba(255, 255, 255, .95); }
.pp-cs-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pp-lime); }
.pp-cs-body { margin: 0 0 34px; max-width: 560px; font: 400 17px/1.6 var(--pp-font-body); color: rgba(255, 255, 255, .72); }
.pp-cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.pp-cs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	border-radius: 10px;
	background: #fff;
	color: var(--pp-navy);
	font: 600 15px/1.2 var(--pp-font-body);
	text-decoration: none;
	transition: background-color var(--pp-motion-micro) var(--pp-ease-out), transform var(--pp-motion-press-out) var(--pp-ease-out);
}
.pp-cs-btn:is(:active, .is-pressed) { transform: scale(var(--pp-press-scale)); transition-duration: var(--pp-motion-press-in); }
.pp-cs-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #fff; font: 600 15px/1.2 var(--pp-font-body); text-decoration: none; }
.pp-cs-link .pp-i { width: 16px; height: 16px; transition: transform var(--pp-motion-micro) var(--pp-ease-out); }
@media (hover: hover) {
	.pp-cs-btn:hover { background: #EEF1F4; }
	.pp-cs-link:hover .pp-i { transform: translateX(2px); }
}
/* Focus on the dark hero: a white ring that reads on Navy (the field rule). */
.pp-cs-hero :is(a):focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: none; border-radius: 6px; }

/* Decorative card: the feature glyph + the Soon tag. */
.pp-cs-card {
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 24px;
	background: rgba(255, 255, 255, .03);
}
.pp-cs-card .pp-cs-glyph { width: 132px; height: 132px; fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.pp-cs-card-tag {
	position: absolute;
	inset-inline-start: 22px;
	bottom: 22px;
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border: 1px solid rgba(215, 255, 0, .45);
	border-radius: 6px;
	background: rgba(215, 255, 0, .07);
	color: var(--pp-lime);
	font: 700 10.5px/1 var(--pp-font-body);
	letter-spacing: .07em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------- available today */
.pp-cs-more { max-width: 1280px; margin: 0 auto; padding: 64px 32px 80px; font-family: var(--pp-font-body); }
.pp-cs-more-title { margin: 0 0 6px; font: 700 26px/1.2 var(--pp-font-body); letter-spacing: -.015em; color: var(--pp-ink); }
.pp-cs-more-sub { margin: 0 0 24px; font-size: 15px; line-height: 1.5; color: var(--pp-secondary-text); }
.pp-cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-cs-tile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 120px;
	padding: 18px 18px 18px 22px;
	border-radius: 14px;
	background: var(--pp-soft-surface);
	color: var(--pp-ink);
	text-decoration: none;
	transition: background-color var(--pp-motion-micro) var(--pp-ease-out), transform var(--pp-motion-press-out) var(--pp-ease-out);
}
@media (hover: hover) { .pp-cs-tile:hover { background: #EEEFEF; } }
.pp-cs-tile:is(:active, .is-pressed) { transform: scale(var(--pp-press-scale)); transition-duration: var(--pp-motion-press-in); }
.pp-cs-tile-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.pp-cs-tile-eb { display: inline-block; margin-bottom: 8px; padding: 4px 6px; border-radius: 4px; background: var(--pp-navy); color: #fff; font: 700 10px/1 var(--pp-font-body); letter-spacing: .06em; text-transform: uppercase; }
.pp-cs-tile-h { display: block; font: 600 17px/1.25 var(--pp-font-body); }
.pp-cs-tile-shot { flex: none; width: 84px; height: 84px; border-radius: 10px; background: #fff; overflow: hidden; }
.pp-cs-tile-shot .pp-packshot { width: 100%; height: 100%; }
.pp-cs-mosaic { flex: none; display: grid; grid-template-columns: 1fr 1fr; place-items: center; gap: 4px; width: 84px; height: 84px; padding: 10px 8px; border-radius: 10px; background: #fff; }
/* Two classes: WooCommerce's `.woocommerce img` (0,1,1) must not resize the marks. */
.pp-cs-mosaic img { display: block; width: auto; height: 14px; max-width: 34px; object-fit: contain; }

/* ---------------------------------------------------------------- stacked (≤900) */
@media (max-width: 900px) {
	.pp-cs-hero-in { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px 52px; }
	/* After the essentials, smaller (HD.1 §6). */
	.pp-cs-card { justify-self: stretch; max-width: none; aspect-ratio: auto; height: 104px; place-items: center start; padding-inline-start: 24px; }
	.pp-cs-card .pp-cs-glyph { width: 48px; height: 48px; stroke-width: 1.4; }
	.pp-cs-card-tag { inset-inline-start: auto; inset-inline-end: 18px; bottom: auto; top: 18px; }
	.pp-cs-more { padding: 44px 24px 56px; }
	.pp-cs-grid { grid-template-columns: 1fr; }
	.pp-cs-crumb { margin-bottom: 22px; }
}

/* ---------------------------------------------------------------- phones (≤767) */
@media (max-width: 767px) {
	.pp-cs-hero-in { gap: 0; padding: 26px var(--pp-gutter-mobile) 34px; }
	.pp-cs-crumb { margin-bottom: 14px; font-size: 13px; }
	.pp-cs-title { margin-bottom: 12px; font-size: clamp(30px, 8.6vw, 38px); line-height: 1.08; letter-spacing: -.024em; }
	.pp-cs-status { gap: 10px; margin-bottom: 10px; font-size: 16.5px; }
	.pp-cs-dot { width: 7px; height: 7px; }
	.pp-cs-body { margin-bottom: 22px; font-size: 15.5px; line-height: 1.55; }
	.pp-cs-actions { flex-direction: column; align-items: stretch; gap: 6px; }
	.pp-cs-btn { min-height: 48px; }
	.pp-cs-link { align-self: flex-start; }
	.pp-cs-card { display: none; }
	.pp-cs-more { padding: 30px var(--pp-gutter-mobile) 44px; }
	.pp-cs-more-title { font-size: 22px; }
	.pp-cs-more-sub { margin-bottom: 16px; font-size: 14.5px; }
	.pp-cs-grid { gap: 12px; }
	.pp-cs-tile { min-height: 96px; padding: 14px 14px 14px 18px; }
	.pp-cs-tile-shot, .pp-cs-mosaic { width: 68px; height: 68px; }
	.pp-cs-mosaic { padding: 8px 6px; }
	.pp-cs-mosaic img { height: 12px; max-width: 28px; }
	.pp-cs-tile-h { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.pp-cs-btn:is(:active, .is-pressed), .pp-cs-tile:is(:active, .is-pressed) { transform: none; }
	.pp-cs-link .pp-i { transition: none; }
}

/* HD.1 final correction — the transition area above the page (the fixed header's spacer, behind the header at
   rest; >= 768 only) carries this hero's own Navy, so a fast scroll-up that runs ahead of the header's scroll-linked
   height (a frame or two) never shows a white band between the header and the hero. A zero-blur outer shadow paints
   only outside the hero's box. */
@media screen and (min-width: 768px) {
	#pp-main > .pp-cs:first-child > .pp-cs-hero:first-child { box-shadow: 0 calc(-1 * var(--pp-header-full-h, 150px)) 0 0 var(--pp-navy-chrome); }
}
