/* ==========================================================================
   Featured page (/whats-new/featured) — ported from featured.tsx,
   components/featured/*.tsx and their .css files. Loaded only on the
   Featured archive. Colours: burgundy #a63151, muted #afafaf.
   ========================================================================== */

.moxie-feat .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.moxie-feat [hidden] { display: none !important; }

.moxie-feat-label { margin-bottom: 0.75rem; color: #a63151; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; }
.moxie-feat-meta { color: #afafaf; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.7; }
.moxie-feat-empty { padding: 3rem 0; color: rgba(255,255,255,0.35); font-size: 0.875rem; }
.moxie-feat-h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.15; }

.moxie-feat-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	color: #fff; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
	text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.moxie-feat-link svg { color: #a63151; flex-shrink: 0; transition: transform 0.2s ease; }
a.moxie-feat-link:hover, a.moxie-feat-link:focus-visible { color: #a63151; text-decoration-color: currentColor; }
.moxie-feat-link:focus-visible, .moxie-feat a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---- Hero ---------------------------------------------------------------*/
.moxie-feat-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100vh; overflow: hidden; padding: 8rem 0 2.5rem; }
@media (min-width: 768px) { .moxie-feat-hero { padding: 10rem 0 4rem; } }
.moxie-feat-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(100%); }
.moxie-feat-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.25) 100%); }
@media (min-width: 768px) { .moxie-feat-hero__shade { background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.15)), linear-gradient(to top, #000 0%, transparent 25%); } }
.moxie-feat-hero__inner { width: 100%; }
.moxie-feat-back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2.25rem; color: #afafaf; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; transition: color 0.2s; }
.moxie-feat-back:hover { color: #fff; }
.moxie-feat-hero__eyebrow { margin-bottom: 1.25rem; color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; }
.moxie-feat-hero__title { position: relative; isolation: isolate; display: inline-block; }
.moxie-feat-hero__glow { position: absolute; inset: -2rem -2.5rem; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(166,49,81,0.4) 0%, transparent 70%); }
.moxie-feat-hero__title h1 { font-family: 'Brittany', cursive; color: #a63151; font-size: clamp(3.2rem, 9vw, 6.5rem); line-height: 1.15; }
.moxie-feat-hero__lede { max-width: 42rem; margin-top: 1.5rem; color: #afafaf; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .moxie-feat-hero__lede { font-size: 1.15rem; } }
.moxie-feat-jump { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.moxie-feat-jump a { color: #fff; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.2s; }
.moxie-feat-jump a:hover { color: #a63151; }

/* ---- Body / sections ----------------------------------------------------*/
.moxie-feat-body { padding-bottom: 5rem; }
.moxie-feat-section { position: relative; margin-top: 5rem; scroll-margin-top: 7rem; }
@media (min-width: 768px) { .moxie-feat-section { margin-top: 7rem; } .moxie-feat-body { padding-bottom: 7rem; } }
.moxie-feat-section__inner { position: relative; }
.moxie-feat-section > .moxie-feat-h2 + * { margin-top: 2rem; }
@media (min-width: 768px) { .moxie-feat-section > .moxie-feat-h2 + * { margin-top: 2.5rem; } }

/* ---- Press --------------------------------------------------------------*/
.moxie-feat-press { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 2rem; margin-top: 2rem; }
@media (min-width: 768px) {
	.moxie-feat-press { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem 2.5rem; margin-top: 2.5rem; }
	.moxie-feat-story.is-span-12 { grid-column: span 12; }
	.moxie-feat-story.is-span-7 { grid-column: span 7; }
	.moxie-feat-story.is-span-5 { grid-column: span 5; }
}
.moxie-feat-story { min-width: 0; }
.moxie-feat-story__grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .moxie-feat-story.is-lead .moxie-feat-story__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.moxie-feat-story__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.moxie-feat-story__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform 0.7s ease, filter 0.7s ease; }
.moxie-feat-story:hover .moxie-feat-story__media img, .moxie-feat-story:focus-within .moxie-feat-story__media img { transform: scale(1.02); filter: grayscale(0); }
.moxie-feat-story__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.moxie-feat-story__copy { display: flex; flex-direction: column; min-width: 0; padding-top: 0.25rem; }
@media (min-width: 768px) { .moxie-feat-story.is-lead .moxie-feat-story__copy { justify-content: center; padding: 1.25rem 0; } }
.moxie-feat-story__copy h3 { font-size: 1.5rem; line-height: 1.35; }
.moxie-feat-story.is-compact .moxie-feat-story__copy h3 { font-size: 1.25rem; }
@media (min-width: 768px) {
	.moxie-feat-story__copy h3 { font-size: 1.85rem; }
	.moxie-feat-story.is-compact .moxie-feat-story__copy h3 { font-size: 1.5rem; }
	.moxie-feat-story.is-lead .moxie-feat-story__copy h3 { font-size: 3rem; }
}
.moxie-feat-story__desc { max-width: 65ch; margin-top: 0.75rem; color: #afafaf; font-size: 0.875rem; line-height: 1.7; }
.moxie-feat-story .moxie-feat-meta { margin-top: 1rem; }
.moxie-feat-story__links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.25rem; }
.moxie-feat-press-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2rem; }
.moxie-feat-closing__inner { max-width: 70rem; }
.moxie-feat-closing__title { margin-bottom: 2rem; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.moxie-feat-closing__title > span { display: block; }
@media (min-width: 768px) {
	.moxie-feat-closing__title > span { white-space: nowrap; }
}
.moxie-feat-press-foot .btn-cta svg { transition: transform 0.2s; }
.moxie-feat-press-foot .btn-cta.is-collapse svg { transform: rotate(-135deg); }

/* Full-bleed press & media banner */
.moxie-feat-bleed { position: relative; left: 50%; width: 100vw; margin-top: 2.5rem; margin-left: -50vw; overflow: hidden; }
@media (min-width: 768px) { .moxie-feat-bleed { margin-top: 3.5rem; } }
.moxie-feat-bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left 80%; transform: scaleX(-1); }
.moxie-feat-bleed__shade-x { position: absolute; inset: 0; background: linear-gradient(to right, #000, rgba(0,0,0,0.85), rgba(0,0,0,0.25)); }
.moxie-feat-bleed__shade-y { position: absolute; inset: 0; background: linear-gradient(to bottom, #000, transparent 30%, transparent 70%, #000); }
.moxie-feat-bleed__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .moxie-feat-bleed__inner { padding-top: 8rem; padding-bottom: 8rem; } }
.moxie-feat-bleed__inner h3 { font-size: clamp(1.15rem, 4.25vw, 2.5rem); line-height: 1.2; }
@media (min-width: 640px) { .moxie-feat-bleed__inner h3 { white-space: nowrap; } }
.moxie-feat-bleed__copy { max-width: 36rem; margin: 1rem 0 1.75rem; color: rgba(255,255,255,0.9); font-size: 0.875rem; line-height: 1.7; }
@media (min-width: 768px) { .moxie-feat-bleed__copy { margin-top: 1.25rem; font-size: 1.1rem; } }

/* ---- Speaking -----------------------------------------------------------*/
.moxie-feat-spot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (min-width: 768px) { .moxie-feat-spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.moxie-feat-spot { min-width: 0; }
.moxie-feat-spot__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.moxie-feat-spot__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform 0.7s ease, filter 0.5s ease; }
.moxie-feat-spot__media.is-mono img { object-position: center 25%; }
.moxie-feat-spot__media.is-color img { object-position: center 48%; }
.moxie-feat-spot:hover img, .moxie-feat-spot:focus-within img { transform: scale(1.035); filter: grayscale(0); }
.moxie-feat-spot__action { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: rgba(0,0,0,0.82); opacity: 0; transform: translateY(0.5rem); transition: opacity 0.25s, transform 0.25s; }
.moxie-feat-spot:hover .moxie-feat-spot__action, .moxie-feat-spot:focus-within .moxie-feat-spot__action { opacity: 1; transform: none; }
.moxie-feat-spot__copy { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1rem; }
.moxie-feat-spot__copy h3 { font-size: 1.5rem; line-height: 1.35; transition: color 0.25s; }
@media (min-width: 768px) { .moxie-feat-spot__copy h3 { font-size: 1.85rem; } }
.moxie-feat-spot:hover h3 { color: #afafaf; }
.moxie-feat-spot__desc { max-width: 65ch; margin: 0.75rem 0 1rem; color: #afafaf; font-size: 0.875rem; line-height: 1.7; }
.moxie-feat-spot .moxie-feat-link { margin-top: 1.25rem; }

.moxie-feat-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 768px) { .moxie-feat-actions { flex-direction: row; align-items: center; gap: 1.5rem; margin-top: 2.5rem; } }
.moxie-feat-toggle { padding: 0.5rem 0; color: #afafaf; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.15s; }
.moxie-feat-toggle:hover { color: #fff; }

.moxie-feat-archive { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .moxie-feat-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; } .moxie-feat-archive li:first-child { grid-column: 1 / -1; } }
.moxie-feat-archive li { min-width: 0; background: #0f0f0f; }
.moxie-feat-archive article { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 1.25rem; }
@media (min-width: 768px) { .moxie-feat-archive li:first-child article { padding: 2rem; } }
.moxie-feat-archive h4 { font-size: 1.25rem; line-height: 1.35; }
.moxie-feat-archive li:first-child h4 { font-size: 1.5rem; }
@media (min-width: 768px) { .moxie-feat-archive li:first-child h4 { font-size: 1.85rem; } }
.moxie-feat-archive p { margin-top: 0.75rem; color: #afafaf; font-size: 0.875rem; line-height: 1.7; }
.moxie-feat-archive .moxie-feat-link { margin-top: auto; padding-top: 1.25rem; }

/* ---- Awards -------------------------------------------------------------*/
.moxie-feat-awards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 768px) {
	.moxie-feat-awards { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.moxie-feat-awards .is-half { grid-column: span 6; }
	.moxie-feat-awards .is-third { grid-column: span 4; }
}
.moxie-feat-awards li { min-width: 0; }
.moxie-feat-award { position: relative; isolation: isolate; display: block; height: 100%; min-height: 14rem; overflow: hidden; background: #0f0f0f; }
a.moxie-feat-award:focus-visible { outline: 2px solid #a63151; outline-offset: 4px; }
.moxie-feat-award__graphic { position: absolute; inset: 0; --glow: 100% 0%; background-image: radial-gradient(ellipse at var(--glow), rgba(166,49,81,0.32), rgba(166,49,81,0.06) 48%, transparent 75%); }
.moxie-feat-award[data-recognition="Distinction"] .moxie-feat-award__graphic { --glow: 0% 100%; }
.moxie-feat-award[data-recognition="Award"] .moxie-feat-award__graphic { --glow: 100% 50%; }
.moxie-feat-award[data-recognition="Hosting"] .moxie-feat-award__graphic { --glow: 100% 100%; }
.moxie-feat-award__word { position: absolute; right: -0.5rem; bottom: 0.75rem; font-family: 'Prata', serif; font-size: 8rem; line-height: 1; letter-spacing: -0.05em; color: rgba(255,255,255,0.05); pointer-events: none; }
.moxie-feat-award__word.is-small { font-size: 4.5rem; }
.moxie-feat-award__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.5rem; height: 100%; padding: 1.5rem; }
@media (min-width: 768px) { .moxie-feat-award__body { padding: 2rem; } }
.moxie-feat-award__body .moxie-feat-label { margin: 0; }
.moxie-feat-award__body h4 { font-size: 1.5rem; line-height: 1.35; }
.moxie-feat-award__foot { margin-top: auto; }
.moxie-feat-award__src { color: #afafaf; font-size: 0.875rem; line-height: 1.7; }
.moxie-feat-award__detail { margin-top: 0.25rem; color: #afafaf; font-size: 12px; }
.moxie-feat-award__cta { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.moxie-feat-award__cta svg { color: #a63151; transition: transform 0.2s; }
a.moxie-feat-award:hover .moxie-feat-award__cta { color: #a63151; }
a.moxie-feat-award:hover .moxie-feat-award__cta svg { transform: translate(4px, -4px); }
/* Lead photo card */
.moxie-feat-award.is-lead { aspect-ratio: 3 / 2; min-height: 0; box-shadow: 0 20px 40px rgba(166,49,81,0.25), 0 0 0 1px rgba(255,255,255,0.1); }
.moxie-feat-award.is-lead img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.moxie-feat-award__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 40%, transparent 70%, rgba(0,0,0,0.85)); }
.moxie-feat-award.is-lead { display: flex; flex-direction: column; justify-content: space-between; padding: 1rem; }
@media (min-width: 768px) { .moxie-feat-award.is-lead { padding: 1.5rem; } }
.moxie-feat-award__badge { width: fit-content; padding: 0.5rem 0.75rem; background: rgba(0,0,0,0.7); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.moxie-feat-award.is-lead .moxie-feat-award__cta { margin-top: 0; }

/* ---- Events -------------------------------------------------------------*/
.moxie-feat-events { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .moxie-feat-events { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
.moxie-feat-event { display: block; min-width: 0; }
.moxie-feat-event img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(100%); transition: transform 0.7s ease, filter 0.7s ease; }
.moxie-feat-event:hover img, .moxie-feat-event:focus-visible img { transform: scale(1.02); filter: grayscale(0); }
.moxie-feat-event > div { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.25rem; }
.moxie-feat-event h4, .moxie-feat-more-events h4 { font-size: 1.5rem; line-height: 1.35; }
@media (min-width: 768px) { .moxie-feat-event h4, .moxie-feat-more-events h4 { font-size: 1.85rem; } }
.moxie-feat-event__tag { max-width: 65ch; margin-top: 0.75rem; color: #afafaf; font-size: 0.875rem; line-height: 1.7; }
.moxie-feat-event .moxie-feat-link { margin-top: 1.25rem; color: #afafaf; }
.moxie-feat-event:hover .moxie-feat-link { color: #fff; }
.moxie-feat-more-events { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .moxie-feat-more-events { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; } }
.moxie-feat-more-events article { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.moxie-feat-more-events .moxie-feat-link { margin-top: auto; padding-top: 1.25rem; color: #afafaf; }
.moxie-feat-more-events .moxie-feat-link:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.moxie-feat * { transition: none !important; }
	.moxie-feat-story:hover img, .moxie-feat-spot:hover img, .moxie-feat-event:hover img { transform: none; }
}
