/* =========================================================================
   Deport Defense — Theme Stylesheet
   Design tokens drawn from the brand guideline screenshot:
     Ink (deep navy)   #0F2A4A
     Cream (warm soft) #F4F2EC
     Gold (CTA accent) #E8B547
     Lavender (story)  #E8E4F0
     Teal (deep)       #1E5F5A
     Off-white         #F9F7F1
   Typography: Inter, with -10% letter-spacing on display sizes
   and an italic accent treatment for editorial display lines.
   ========================================================================= */

:root {
	--dd-ink:        #0F2A4A;
	--dd-ink-soft:   #1A3A5C;
	--dd-cream:      #F4F2EC;
	--dd-cream-soft: #F9F7F1;
	--dd-gold:       #E8B547;
	--dd-gold-deep:  #D9A537;
	--dd-lavender:   #E8E4F0;
	--dd-teal:       #1E5F5A;
	--dd-text:       #0F2A4A;
	--dd-muted:      #475569;
	--dd-line:       #E5E1D6;
	--dd-line-2:     #D8D2C0;
	--dd-white:      #FFFFFF;
	--dd-rose:       #F2D9D4;

	--dd-radius-sm: 8px;
	--dd-radius:    14px;
	--dd-radius-lg: 22px;

	--dd-shadow-sm: 0 4px 12px rgba(15, 42, 74, 0.06);
	--dd-shadow:    0 18px 40px rgba(15, 42, 74, 0.10);
	--dd-shadow-lg: 0 30px 70px rgba(15, 42, 74, 0.14);

	--dd-container:   1240px;
	--dd-container-narrow: 880px;

	--dd-pad-x: clamp(20px, 4vw, 56px);
	--dd-pad-y: clamp(56px, 8vw, 120px);
}

/* -------------------------------------------------------------------------
   Base typography & resets
   ------------------------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--dd-text);
	background: var(--dd-cream-soft);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--dd-ink);
	margin: 0 0 0.5em;
}

h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }
a { color: var(--dd-ink); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--dd-teal); }

.dd-italic { font-style: italic; font-weight: 500; letter-spacing: -0.025em; }

.dd-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dd-muted);
	margin: 0 0 12px;
}
.dd-eyebrow--light { color: rgba(255, 255, 255, 0.7); }

.dd-section-title {
	font-size: clamp(28px, 3.4vw, 42px);
	margin-bottom: 36px;
}
.dd-section-title--center { text-align: center; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px; width: 1px; overflow: hidden;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	background: var(--dd-ink);
	color: var(--dd-white);
	padding: 8px 16px;
	z-index: 10000;
	border-radius: 4px;
}
.skip-link:focus { left: 8px; }

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */

.dd-container {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding-left: var(--dd-pad-x);
	padding-right: var(--dd-pad-x);
}
.dd-container--narrow { max-width: var(--dd-container-narrow); }

.dd-grid { display: grid; gap: 28px; }
.dd-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.dd-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.dd-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
	.dd-grid--cols-3, .dd-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.dd-grid { gap: 20px; }
	.dd-grid--cols-2, .dd-grid--cols-3, .dd-grid--cols-4 { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.dd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	letter-spacing: 0.01em;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
	white-space: nowrap;
}
.dd-btn:hover { transform: translateY(-1px); box-shadow: var(--dd-shadow-sm); }
.dd-btn:active { transform: translateY(0); }

.dd-btn--sm { padding: 9px 18px; font-size: 13px; }
.dd-btn--md { padding: 13px 26px; font-size: 14px; }
.dd-btn--lg { padding: 16px 32px; font-size: 15px; }
.dd-btn--block { width: 100%; }

.dd-btn--gold { background: var(--dd-gold); color: var(--dd-ink); }
.dd-btn--gold:hover { background: var(--dd-gold-deep); color: var(--dd-ink); }

.dd-btn--ink { background: var(--dd-ink); color: var(--dd-white); }
.dd-btn--ink:hover { background: var(--dd-ink-soft); color: var(--dd-white); }

.dd-btn--ghost { background: transparent; color: var(--dd-ink); border-color: var(--dd-ink); }
.dd-btn--ghost:hover { background: var(--dd-ink); color: var(--dd-white); }

.dd-btn--ghost-light { background: transparent; color: var(--dd-white); border-color: rgba(255,255,255,.4); }
.dd-btn--ghost-light:hover { background: rgba(255,255,255,0.08); color: var(--dd-white); border-color: var(--dd-white); }

.dd-btn--outline { background: transparent; color: var(--dd-ink); border-color: var(--dd-line-2); }
.dd-btn--outline:hover { background: var(--dd-cream); }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

.dd-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(249, 247, 241, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--dd-line);
}

.dd-header__inner {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: 18px var(--dd-pad-x);
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 32px;
}

.dd-header__wordmark {
	font-weight: 800;
	font-size: 18px;
	letter-spacing: -0.02em;
	color: var(--dd-ink);
}

.dd-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 32px;
	justify-content: center;
}
.dd-menu a {
	font-size: 14px;
	font-weight: 500;
	color: var(--dd-text);
	position: relative;
}
.dd-menu a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: var(--dd-gold);
	transition: width .2s ease;
}
.dd-menu a:hover::after { width: 100%; }

.dd-header__cta { display: flex; align-items: center; gap: 12px; }

.dd-burger {
	display: none;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 0;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.dd-burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--dd-ink);
	border-radius: 2px;
}

@media (max-width: 900px) {
	.dd-header__nav { display: none; }
	.dd-burger { display: flex; }
	.dd-header__nav.is-open {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--dd-cream-soft);
		padding: 24px var(--dd-pad-x);
		border-bottom: 1px solid var(--dd-line);
	}
	.dd-header__nav.is-open .dd-menu {
		flex-direction: column;
		gap: 16px;
	}
}

/* -------------------------------------------------------------------------
   HERO (Dark)
   ------------------------------------------------------------------------- */

.dd-hero {
	background: var(--dd-ink);
	color: var(--dd-white);
	padding: clamp(80px, 10vw, 140px) var(--dd-pad-x) clamp(70px, 8vw, 110px);
	position: relative;
	overflow: hidden;
}
.dd-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 0%, rgba(232, 181, 71, 0.10), transparent 60%),
		radial-gradient(ellipse at 80% 100%, rgba(30, 95, 90, 0.18), transparent 55%);
	pointer-events: none;
}
.dd-hero__inner {
	max-width: var(--dd-container);
	margin: 0 auto;
	position: relative;
	z-index: 1;
	max-width: 880px;
}
.dd-hero__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 24px;
}
.dd-hero__title {
	font-size: clamp(46px, 7vw, 88px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.04em;
	color: var(--dd-white);
	margin: 0 0 28px;
}
.dd-hero__line { display: block; }
.dd-hero__line--accent {
	font-style: italic;
	font-weight: 500;
	color: var(--dd-gold);
}
.dd-hero__subhead {
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
	max-width: 620px;
	margin: 0 0 36px;
}
.dd-hero__ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}
.dd-hero__meta {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
	letter-spacing: 0.04em;
	margin: 0;
}

/* -------------------------------------------------------------------------
   PATHWAY
   ------------------------------------------------------------------------- */

.dd-pathway {
	padding: var(--dd-pad-y) var(--dd-pad-x);
	max-width: var(--dd-container);
	margin: 0 auto;
	text-align: center;
}
.dd-pathway__head { margin-bottom: 64px; }
.dd-pathway__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
	position: relative;
}
.dd-pathway__list::before {
	content: '';
	position: absolute;
	top: 28px;
	left: 16.66%;
	right: 16.66%;
	height: 1px;
	background: linear-gradient(to right, transparent 0%, var(--dd-line-2) 20%, var(--dd-line-2) 80%, transparent 100%);
	z-index: 0;
}
.dd-pathway__step {
	text-align: center;
	position: relative;
	z-index: 1;
}
.dd-pathway__num {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--dd-cream-soft);
	border: 1.5px solid var(--dd-line-2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	font-weight: 700;
	font-size: 18px;
	color: var(--dd-ink);
	font-feature-settings: 'tnum';
}
.dd-pathway__title {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 10px;
}
.dd-pathway__copy {
	font-size: 14px;
	color: var(--dd-muted);
	max-width: 260px;
	margin: 0 auto;
	line-height: 1.6;
}
@media (max-width: 800px) {
	.dd-pathway__list { grid-template-columns: 1fr; gap: 40px; }
	.dd-pathway__list::before { display: none; }
}

/* -------------------------------------------------------------------------
   STATS
   ------------------------------------------------------------------------- */

.dd-stats {
	background: var(--dd-ink);
	color: var(--dd-white);
	padding: clamp(56px, 7vw, 96px) var(--dd-pad-x);
}
.dd-stats__inner {
	max-width: var(--dd-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	text-align: center;
}
.dd-stats__value {
	font-size: clamp(48px, 7vw, 88px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--dd-white);
	margin-bottom: 10px;
	font-feature-settings: 'tnum';
}
.dd-stats__label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	max-width: 240px;
	margin: 0 auto;
	line-height: 1.5;
}
@media (max-width: 700px) {
	.dd-stats__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* -------------------------------------------------------------------------
   FEATURED STORY (editorial side-by-side)
   ------------------------------------------------------------------------- */

.dd-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: var(--dd-pad-y) var(--dd-pad-x);
	align-items: center;
}
.dd-feature--right { direction: rtl; }
.dd-feature--right > * { direction: ltr; }
.dd-feature__media {
	border-radius: var(--dd-radius);
	overflow: hidden;
	background: var(--dd-lavender);
	aspect-ratio: 4 / 5;
}
.dd-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.dd-feature__title {
	font-size: clamp(32px, 4vw, 52px);
	margin-bottom: 16px;
}
.dd-feature__excerpt {
	font-size: 16px;
	color: var(--dd-muted);
	line-height: 1.7;
	margin-bottom: 28px;
	max-width: 480px;
}
@media (max-width: 800px) {
	.dd-feature { grid-template-columns: 1fr; gap: 32px; }
}

/* -------------------------------------------------------------------------
   STORY GRID + CARDS
   ------------------------------------------------------------------------- */

.dd-grid-section {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: var(--dd-pad-y) var(--dd-pad-x);
}

.dd-card {
	display: block;
	background: var(--dd-white);
	border-radius: var(--dd-radius);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
	color: var(--dd-text);
	border: 1px solid var(--dd-line);
}
.dd-card:hover { transform: translateY(-4px); box-shadow: var(--dd-shadow); color: var(--dd-text); }
.dd-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--dd-cream);
}
.dd-card__media img,
.dd-card__media .dd-card__img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .5s ease;
}
.dd-card:hover .dd-card__img,
.dd-card:hover .dd-card__media img { transform: scale(1.04); }
.dd-card__body { padding: 24px; }
.dd-card__cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dd-teal);
	margin-bottom: 10px;
}
.dd-card__title {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 8px;
	letter-spacing: -0.015em;
}
.dd-card__excerpt {
	font-size: 14px;
	color: var(--dd-muted);
	line-height: 1.55;
	margin: 0;
}
.dd-card--compact .dd-card__body { padding: 16px 4px 0; }
.dd-card--compact { background: transparent; border: 0; }
.dd-card--compact .dd-card__media { border-radius: var(--dd-radius); border: 1px solid var(--dd-line); }

/* -------------------------------------------------------------------------
   CATEGORY EXPLORER
   ------------------------------------------------------------------------- */

.dd-explorer {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: var(--dd-pad-y) var(--dd-pad-x);
}
.dd-explorer__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 48px;
	background: var(--dd-ink);
	padding: 8px;
	border-radius: 999px;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}
.dd-explorer__tab {
	background: transparent;
	border: 0;
	padding: 10px 22px;
	border-radius: 999px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
	letter-spacing: 0.01em;
}
.dd-explorer__tab:hover { color: var(--dd-white); }
.dd-explorer__tab.is-active {
	background: var(--dd-white);
	color: var(--dd-ink);
	font-weight: 600;
}
.dd-explorer__panel { display: none; }
.dd-explorer__panel.is-active { display: block; animation: dd-fade .4s ease; }

@keyframes dd-fade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------
   QUOTE
   ------------------------------------------------------------------------- */

.dd-quote {
	margin: 0 auto;
	padding: var(--dd-pad-y) var(--dd-pad-x);
	max-width: 880px;
	text-align: center;
}
.dd-quote__mark { color: var(--dd-gold); margin: 0 auto 24px; opacity: 0.85; }
.dd-quote__text {
	font-size: clamp(22px, 3vw, 36px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--dd-ink);
	font-style: italic;
	margin: 0;
}
.dd-quote__attr {
	margin-top: 24px;
	font-size: 14px;
	color: var(--dd-muted);
	letter-spacing: 0.05em;
}
.dd-quote--card {
	background: var(--dd-ink);
	color: var(--dd-white);
	border-radius: var(--dd-radius-lg);
	padding: clamp(40px, 5vw, 64px);
	max-width: 720px;
}
.dd-quote--card .dd-quote__text { color: var(--dd-white); font-size: 22px; }
.dd-quote--card .dd-quote__mark { color: var(--dd-gold); }

/* -------------------------------------------------------------------------
   IMPACT ALLOCATION
   ------------------------------------------------------------------------- */

.dd-allocation {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: var(--dd-pad-y) var(--dd-pad-x);
}
.dd-allocation__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.dd-allocation__item {
	background: var(--dd-cream-soft);
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	padding: 32px 28px;
}
.dd-allocation__pct {
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--dd-ink);
	margin-bottom: 10px;
	font-feature-settings: 'tnum';
}
.dd-allocation__label {
	font-size: 16px;
	font-weight: 600;
	color: var(--dd-ink);
	margin-bottom: 8px;
}
.dd-allocation__sub {
	font-size: 14px;
	color: var(--dd-muted);
	margin: 0;
	line-height: 1.5;
}
@media (max-width: 800px) {
	.dd-allocation__grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   CTA BANNER
   ------------------------------------------------------------------------- */

.dd-cta-banner {
	background: var(--dd-ink);
	color: var(--dd-white);
	border-radius: var(--dd-radius-lg);
	margin: var(--dd-pad-y) var(--dd-pad-x);
	max-width: var(--dd-container);
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	position: relative;
}
.dd-cta-banner__inner {
	padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 80px);
	text-align: center;
	position: relative;
	z-index: 1;
}
.dd-cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 100%, rgba(232, 181, 71, 0.18), transparent 50%),
		radial-gradient(circle at 70% 0%, rgba(30, 95, 90, 0.18), transparent 50%);
}
.dd-cta-banner__title {
	font-size: clamp(32px, 4.5vw, 56px);
	color: var(--dd-white);
	margin-bottom: 16px;
	letter-spacing: -0.03em;
}
.dd-cta-banner__sub {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.78);
	max-width: 600px;
	margin: 0 auto 32px;
}
.dd-cta-banner__btns {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   DONATION BUTTON / WIDGET
   ------------------------------------------------------------------------- */

.dd-donate__progress { margin-bottom: 16px; }
.dd-donate__bar {
	height: 6px;
	background: var(--dd-line);
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 8px;
}
.dd-donate__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(to right, var(--dd-gold), var(--dd-gold-deep));
	border-radius: 999px;
}
.dd-donate__meta {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--dd-muted);
}
.dd-donate__meta strong { color: var(--dd-ink); font-weight: 700; }

/* -------------------------------------------------------------------------
   NEWSLETTER
   ------------------------------------------------------------------------- */

.dd-newsletter {
	max-width: 720px;
	margin: 0 auto;
	padding: var(--dd-pad-y) var(--dd-pad-x);
	text-align: center;
}
.dd-newsletter__title { font-size: 28px; margin-bottom: 8px; }
.dd-newsletter__sub { color: var(--dd-muted); margin-bottom: 24px; }
.dd-newsletter__row {
	display: flex;
	gap: 8px;
	background: var(--dd-white);
	border: 1px solid var(--dd-line);
	border-radius: 999px;
	padding: 6px;
	max-width: 460px;
	margin: 0 auto;
}
.dd-newsletter__input {
	flex: 1;
	border: 0;
	padding: 12px 18px;
	background: transparent;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: var(--dd-ink);
	outline: none;
}

/* -------------------------------------------------------------------------
   PAGE HERO (Light)
   ------------------------------------------------------------------------- */

.dd-page-hero {
	background: var(--dd-cream);
	padding: clamp(80px, 10vw, 140px) var(--dd-pad-x) clamp(60px, 8vw, 100px);
}
.dd-page-hero__inner {
	max-width: var(--dd-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 64px;
	align-items: center;
}
.dd-page-hero__title {
	font-size: clamp(48px, 7vw, 96px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.04em;
	margin-bottom: 28px;
}
.dd-page-hero__title span { display: block; }
.dd-page-hero__sub {
	font-size: 17px;
	color: var(--dd-muted);
	max-width: 520px;
	line-height: 1.6;
}
.dd-page-hero__media {
	border-radius: var(--dd-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--dd-lavender);
}
.dd-page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
	.dd-page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* -------------------------------------------------------------------------
   STORIES ARCHIVE
   ------------------------------------------------------------------------- */

.dd-archive-hero {
	background: var(--dd-cream);
	padding: clamp(70px, 9vw, 120px) var(--dd-pad-x) clamp(40px, 5vw, 60px);
	text-align: center;
}
.dd-archive-hero__inner { max-width: 800px; margin: 0 auto; }
.dd-archive-hero__title {
	font-size: clamp(48px, 7vw, 96px);
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: 800;
	margin-bottom: 24px;
}
.dd-archive-hero__title span { display: block; }
.dd-archive-hero__sub {
	font-size: 17px;
	color: var(--dd-muted);
	max-width: 600px;
	margin: 0 auto;
}

.dd-archive-list {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: 64px var(--dd-pad-x);
}
.dd-archive-filter {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 48px;
}
.dd-archive-filter__chip {
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--dd-cream);
	color: var(--dd-text);
	font-size: 13px;
	font-weight: 500;
	border: 1px solid var(--dd-line);
}
.dd-archive-filter__chip:hover { border-color: var(--dd-line-2); }
.dd-archive-filter__chip.is-active {
	background: var(--dd-ink);
	color: var(--dd-white);
	border-color: var(--dd-ink);
}

.dd-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}
.dd-pagination .page-numbers {
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 14px;
	border: 1px solid var(--dd-line);
}
.dd-pagination .current {
	background: var(--dd-ink);
	color: var(--dd-white);
	border-color: var(--dd-ink);
}

/* -------------------------------------------------------------------------
   SINGLE STORY (Mateo's Journey layout)
   ------------------------------------------------------------------------- */

.dd-single-story { background: var(--dd-lavender); }

.dd-story__hero {
	padding: clamp(60px, 8vw, 110px) var(--dd-pad-x) clamp(40px, 4vw, 60px);
}
.dd-story__hero-inner {
	max-width: var(--dd-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 64px;
	align-items: center;
}
.dd-story__portrait {
	position: relative;
	border-radius: var(--dd-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--dd-cream);
	box-shadow: var(--dd-shadow);
}
.dd-story__portrait-img { width: 100%; height: 100%; object-fit: cover; }
.dd-story__origin-pill {
	position: absolute;
	bottom: 16px;
	left: 16px;
	background: rgba(15, 42, 74, 0.85);
	color: var(--dd-white);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: 999px;
	backdrop-filter: blur(6px);
}
.dd-story__title {
	font-size: clamp(40px, 6vw, 76px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	font-weight: 800;
	margin-bottom: 20px;
}
.dd-story__meta { color: var(--dd-muted); font-size: 15px; }

.dd-story__body {
	background: var(--dd-cream-soft);
	padding: clamp(60px, 8vw, 100px) var(--dd-pad-x);
}
.dd-story__body-inner {
	max-width: var(--dd-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 64px;
	align-items: start;
}
.dd-story__prose {
	font-size: 17px;
	line-height: 1.75;
	color: var(--dd-text);
}
.dd-story__prose p { margin-bottom: 1.4em; }
.dd-story__prose p:first-child::first-letter {
	font-size: 4em;
	float: left;
	line-height: 0.85;
	margin: 0.05em 0.12em 0 0;
	font-weight: 800;
	color: var(--dd-ink);
}

.dd-story__aside {
	position: sticky;
	top: 100px;
}
.dd-support-card {
	background: var(--dd-ink);
	color: var(--dd-white);
	border-radius: var(--dd-radius-lg);
	padding: 32px;
	box-shadow: var(--dd-shadow-lg);
}
.dd-support-card__title {
	font-size: 22px;
	color: var(--dd-white);
	margin-bottom: 16px;
}
.dd-support-card__copy {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.55;
	margin-bottom: 24px;
}
.dd-support-card .dd-donate__bar { background: rgba(255,255,255,0.12); }
.dd-support-card .dd-donate__meta { color: rgba(255,255,255,0.6); }
.dd-support-card .dd-donate__meta strong { color: var(--dd-white); }

@media (max-width: 900px) {
	.dd-story__hero-inner { grid-template-columns: 1fr; gap: 32px; }
	.dd-story__body-inner { grid-template-columns: 1fr; gap: 48px; }
	.dd-story__aside { position: static; }
}

.dd-story__allocation {
	background: var(--dd-cream-soft);
	padding-bottom: var(--dd-pad-y);
}
.dd-story__allocation-inner {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: 0 var(--dd-pad-x);
}

.dd-story__related {
	background: var(--dd-cream-soft);
	padding: var(--dd-pad-y) var(--dd-pad-x);
	border-top: 1px solid var(--dd-line);
}
.dd-story__related-inner { max-width: var(--dd-container); margin: 0 auto; }
.dd-story__related-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 36px;
	flex-wrap: wrap;
	gap: 16px;
}
.dd-link { color: var(--dd-ink); font-weight: 600; font-size: 14px; }
.dd-link:hover { color: var(--dd-teal); }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */

.dd-footer {
	background: var(--dd-cream);
	border-top: 1px solid var(--dd-line);
	padding: 64px var(--dd-pad-x) 32px;
	margin-top: 80px;
}
.dd-footer__inner { max-width: var(--dd-container); margin: 0 auto; }
.dd-footer__top {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: 64px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--dd-line);
	margin-bottom: 24px;
}
.dd-footer__wordmark {
	font-size: 22px;
	font-weight: 800;
	color: var(--dd-ink);
	letter-spacing: -0.02em;
}
.dd-footer__tagline {
	color: var(--dd-muted);
	margin-top: 12px;
	font-size: 14px;
	max-width: 280px;
}
.dd-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.dd-footer-widget__title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 16px;
	color: var(--dd-ink);
}
.dd-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: var(--dd-muted);
	padding-top: 16px;
}
.dd-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
}
.dd-footer__legal a { color: var(--dd-muted); }
.dd-footer__legal a:hover { color: var(--dd-ink); }

@media (max-width: 800px) {
	.dd-footer__top { grid-template-columns: 1fr; gap: 40px; }
	.dd-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------------------
   MISC
   ------------------------------------------------------------------------- */

.dd-empty {
	color: var(--dd-muted);
	text-align: center;
	padding: 32px;
}
.dd-404 { padding: clamp(80px, 12vw, 160px) var(--dd-pad-x); text-align: center; }
.dd-404__inner { max-width: 600px; margin: 0 auto; }
.dd-404__title { font-size: clamp(40px, 6vw, 72px); }
.dd-404__sub { color: var(--dd-muted); margin-bottom: 32px; font-size: 17px; }
.dd-404__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   MANIFESTO MARQUEE — full-bleed scrolling strip
   ------------------------------------------------------------------------- */

.dd-marquee {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 22px 0;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
}

.dd-marquee--navy-gold  { background: var(--dd-ink);    color: var(--dd-gold); }
.dd-marquee--gold-navy  { background: var(--dd-gold);   color: var(--dd-ink); }
.dd-marquee--cream-navy { background: var(--dd-cream);  color: var(--dd-ink); border-top-color: var(--dd-line); border-bottom-color: var(--dd-line); }
.dd-marquee--navy-cream { background: var(--dd-ink);    color: var(--dd-cream); }

.dd-marquee__track {
	display: flex;
	width: max-content;
	animation: dd-marquee-left var(--dd-marquee-speed, 40s) linear infinite;
	will-change: transform;
}
.dd-marquee--right .dd-marquee__track {
	animation-name: dd-marquee-right;
}
.dd-marquee:hover .dd-marquee__track {
	animation-play-state: paused;
}

.dd-marquee__group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.dd-marquee__item {
	font-family: 'Inter', sans-serif;
	font-size: clamp(18px, 2.4vw, 32px);
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	padding: 0 32px;
	white-space: nowrap;
}

.dd-marquee__sep {
	font-size: clamp(14px, 1.6vw, 22px);
	opacity: 0.5;
	flex-shrink: 0;
}

@keyframes dd-marquee-left {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes dd-marquee-right {
	from { transform: translate3d(-50%, 0, 0); }
	to   { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.dd-marquee__track { animation: none; }
	.dd-marquee__group:nth-child(2) { display: none; }
	.dd-marquee__track { width: 100%; justify-content: center; flex-wrap: wrap; padding: 0 var(--dd-pad-x); }
}

/* -------------------------------------------------------------------------
   BIG STATEMENT — manifesto-style declaration
   ------------------------------------------------------------------------- */

.dd-statement {
	padding: clamp(80px, 10vw, 140px) var(--dd-pad-x);
}
.dd-statement--cream      { background: var(--dd-cream); }
.dd-statement--cream-soft { background: var(--dd-cream-soft); }
.dd-statement--lavender   { background: var(--dd-lavender); }
.dd-statement--ink        { background: var(--dd-ink); color: var(--dd-white); }
.dd-statement--ink .dd-eyebrow { color: rgba(255, 255, 255, 0.7); }

.dd-statement__inner {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

.dd-statement__text {
	font-size: clamp(28px, 4vw, 56px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	margin: 0;
	color: inherit;
}
.dd-statement--ink .dd-statement__text { color: var(--dd-white); }

.dd-statement__highlight {
	position: relative;
	white-space: normal;
	font-style: italic;
	font-weight: 600;
	color: var(--dd-ink);
}
.dd-statement--ink .dd-statement__highlight { color: var(--dd-gold); }

.dd-statement__highlight::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.05em;
	height: 0.18em;
	background: var(--dd-gold);
	z-index: -1;
	border-radius: 2px;
	opacity: 0.55;
}
.dd-statement--ink .dd-statement__highlight::after { opacity: 0.35; }

.dd-statement__cta { margin-top: 40px; }

/* -------------------------------------------------------------------------
   PHOTO COLLAGE — asymmetric grid of real photos
   Layout (4 cols × 3 rows = 12 cells, 8 photos):
       a a b c
       a a d e
       f g h h
   ------------------------------------------------------------------------- */

.dd-collage {
	max-width: var(--dd-container);
	margin: 0 auto;
	padding: var(--dd-pad-y) var(--dd-pad-x);
}

.dd-collage__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 56px;
}
.dd-collage__sub {
	font-size: 17px;
	color: var(--dd-muted);
	margin: -16px 0 0;
}

.dd-collage__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(3, clamp(160px, 18vw, 240px));
	gap: 12px;
	grid-template-areas:
		"a a b c"
		"a a d e"
		"f g h h";
}

.dd-collage__item {
	margin: 0;
	overflow: hidden;
	border-radius: var(--dd-radius);
	background: var(--dd-cream);
	position: relative;
}
.dd-collage__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.dd-collage__item:hover img { transform: scale(1.06); }

.dd-collage__item--1 { grid-area: a; }
.dd-collage__item--2 { grid-area: b; }
.dd-collage__item--3 { grid-area: c; }
.dd-collage__item--4 { grid-area: d; }
.dd-collage__item--5 { grid-area: e; }
.dd-collage__item--6 { grid-area: f; }
.dd-collage__item--7 { grid-area: g; }
.dd-collage__item--8 { grid-area: h; }

.dd-collage__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 16px 20px;
	background: linear-gradient(to top, rgba(15, 42, 74, 0.85), transparent);
	color: var(--dd-white);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transform: translateY(100%);
	transition: transform .3s ease;
}
.dd-collage__item:hover .dd-collage__caption { transform: translateY(0); }

.dd-collage__meta {
	margin: 32px 0 0;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dd-muted);
}

@media (max-width: 800px) {
	.dd-collage__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(5, clamp(140px, 30vw, 200px));
		grid-template-areas:
			"a a"
			"b c"
			"d e"
			"f g"
			"h h";
	}
}
