/* DIDA MEDIA — front page. Black / red / white. Mobile-first. */

:root {
	--black: #0a0a0a;
	--panel: #111;
	--line: rgba(255, 255, 255, .12);
	--red: #e50914;
	--red-hi: #ff2433;
	--white: #fff;
	--grey: #9a9a9a;
	--pad: clamp(20px, 5vw, 72px);
	--maxw: 1440px;
	--display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.dida-fp {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
.dida-fp img, .dida-fp video { display: block; max-width: 100%; }
.dida-fp a { color: inherit; text-decoration: none; }
.dida-fp h1, .dida-fp h2, .dida-fp h3, .dida-fp p { margin: 0; }
.dida-fp button { font: inherit; color: inherit; }
.dida-fp :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
section[id] { scroll-margin-top: 72px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 52px; padding: 0 28px;
	border-radius: 999px; border: 1px solid transparent; background: none;
	font-family: var(--display); font-weight: 700; font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.hd {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: background .3s, border-color .3s;
}
.admin-bar .hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd { top: 46px; } }
.hd.is-solid {
	background: rgba(10, 10, 10, .9);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-color: var(--line);
}
.hd__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.hd__logo img { height: 28px; width: auto; }
.nav { display: none; }
.nav a:not(.btn) {
	font-family: var(--display); font-weight: 700; font-size: 14px;
	letter-spacing: .08em; text-transform: uppercase;
	position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.burger {
	width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; padding: 0;
}
.burger span { display: block; height: 2px; background: var(--white); width: 28px; }
.burger span:last-child { width: 18px; background: var(--red); }
@media (min-width: 900px) {
	.hd__in { height: 84px; }
	.hd__logo img { height: 32px; }
	.nav { display: flex; align-items: center; gap: 40px; }
	.burger { display: none; }
}

/* ---------- Mobile menu ---------- */
.mnav {
	position: fixed; inset: 0; z-index: 60; background: var(--black);
	display: flex; flex-direction: column; justify-content: center; gap: 48px;
	padding: var(--pad);
	transform: translateY(-100%); visibility: hidden;
	transition: transform .45s cubic-bezier(.7, 0, .3, 1), visibility 0s .45s;
}
.mnav.is-open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.7, 0, .3, 1); }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a {
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(44px, 13vw, 80px); line-height: 1.05; letter-spacing: -.03em;
}
.mnav nav a:active { color: var(--red); }
.mnav__mail { color: var(--grey); font-size: 16px; border-bottom: 1px solid var(--red); align-self: flex-start; }
.mnav__close {
	position: absolute; top: 14px; right: var(--pad);
	width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
	background: none; font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	height: 100vh; height: 100svh; min-height: 600px;
	display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; background: #000; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,0) 28%),
		linear-gradient(0deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.35) 45%, rgba(10,10,10,0) 70%);
}
.hero__body { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 8vh, 96px); }
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #d4d4d4;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--red); }
.hero h1 {
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(60px, 14vw, 210px); line-height: .86; letter-spacing: -.045em;
	margin: 20px 0 28px;
}
.hero h1 .dot { color: var(--red); }
.hero__row { display: flex; flex-direction: column; gap: 28px; }
.hero__sub { max-width: 500px; font-size: clamp(16px, 1.3vw, 19px); color: #d6d6d6; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
	.btns { flex-direction: column; }
	.btns .btn { width: 100%; }
}
@media (min-width: 900px) {
	.hero__row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
}

/* ---------- Clients marquee ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 24px 0; }
.clients__track { display: flex; width: max-content; animation: dida-marq 45s linear infinite; }
.clients__track span {
	display: inline-flex; align-items: center; gap: 48px; padding-right: 48px;
	font-family: var(--display); font-weight: 800; text-transform: uppercase; white-space: nowrap;
	font-size: clamp(18px, 2vw, 28px); letter-spacing: -.01em; color: #cfcfcf;
}
.clients__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.clients:hover .clients__track { animation-play-state: paused; }
@keyframes dida-marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 11vw, 160px) 0; }
.sec__hd {
	display: flex; flex-direction: column; gap: 20px;
	margin-bottom: clamp(36px, 5vw, 72px);
}
@media (min-width: 768px) {
	.sec__hd { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.sec__title {
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(56px, 10vw, 150px); line-height: .85; letter-spacing: -.045em;
}
.sec__title sup {
	font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--red);
	vertical-align: top; position: relative; top: .4em; margin-left: 10px;
}
.sec__note { max-width: 360px; color: var(--grey); font-size: 15px; }
.sec__action {
	margin-top: clamp(36px, 5vw, 64px);
	display: flex;
	justify-content: flex-start;
}

/* ---------- Work grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card {
	position: relative; display: block; width: 100%; padding: 0; border: 0;
	aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px;
	background: #161616; text-align: left; cursor: pointer;
}
.card img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	filter: brightness(.82); transition: transform .9s var(--ease), filter .4s;
}
.card::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.88) 100%);
}
.card:hover img { transform: scale(1.05); filter: brightness(.6); }
.card__meta {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
	padding: clamp(18px, 2.2vw, 32px);
}
.card__client {
	display: block; margin-bottom: 6px;
	font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-hi);
}
.card__title {
	display: block; font-family: var(--display); font-weight: 800;
	font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -.01em;
}
.card__type { display: block; margin-top: 6px; font-size: 13px; color: #bdbdbd; }
.card__play {
	flex: none; display: grid; place-items: center;
	width: 48px; height: 48px; border-radius: 50%; background: var(--red);
	transition: transform .3s var(--ease);
}
.card__play svg { width: 15px; height: 15px; margin-left: 3px; fill: var(--white); }
.card:hover .card__play { transform: scale(1.12); }

@media (min-width: 640px) {
	.grid { grid-template-columns: 1fr 1fr; }
	.card--feat { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
}
@media (min-width: 1024px) {
	.grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.card--feat { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
	.card--feat .card__title { font-size: clamp(32px, 3.4vw, 56px); }
	.card--feat .card__play { width: 68px; height: 68px; }
	.card--feat .card__play svg { width: 20px; height: 20px; }
}

/* ---------- AI ---------- */
.ai { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ai__grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; } }
.ai__lead {
	margin-top: 28px; max-width: 520px;
	font-family: var(--display); font-weight: 700;
	font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; letter-spacing: -.01em;
}
.ai__lead em { font-style: normal; color: var(--grey); }
.ai__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ai__item {
	display: grid; grid-template-columns: 48px 1fr; gap: 16px;
	padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
}
.ai__num { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--red); padding-top: 8px; }
.ai__item h3 {
	font-family: var(--display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 10px;
}
.ai__item p { color: var(--grey); max-width: 560px; }

/* ---------- News ---------- */
.news { display: grid; gap: 48px; }
@media (min-width: 768px) { .news { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.post__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #161616; margin-bottom: 20px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__meta {
	display: flex; gap: 14px; margin-bottom: 10px;
	font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey);
}
.post__meta b { color: var(--red-hi); font-weight: 600; }
.post h3 {
	font-family: var(--display); font-weight: 700;
	font-size: clamp(20px, 1.7vw, 25px); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 10px;
}
.post p { color: var(--grey); font-size: 15px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; } }
.contact__big {
	margin: 28px 0 32px; max-width: 520px;
	font-family: var(--display); font-weight: 700;
	font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; letter-spacing: -.01em;
}
.contact__mail {
	display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--red);
	font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px);
	transition: color .2s;
}
.contact__mail:hover { color: var(--red-hi); }
.contact__info { display: grid; gap: 4px; margin-top: 36px; color: var(--grey); font-size: 15px; }

.form { display: grid; gap: 26px; position: relative; }
.form__row { display: grid; gap: 26px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label {
	display: block; margin-bottom: 6px;
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #bdbdbd;
}
.field input, .field select, .field textarea {
	width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0;
	background: transparent; color: var(--white); font: inherit; font-size: 17px;
	outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field select {
	cursor: pointer; padding-right: 28px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e50914' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 4px center;
}
.field select option { background: #111; color: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #666; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form__msg { display: none; padding: 16px 20px; border-radius: 6px; font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.form__msg.ok { display: block; background: rgba(46,160,90,.16); border: 1px solid rgba(46,160,90,.6); color: #85e89d; }
.form__msg.err { display: block; background: rgba(229,9,20,.16); border: 1px solid rgba(229,9,20,.6); color: #ff8585; }

/* ---------- Footer ---------- */
.ft { border-top: 1px solid var(--line); padding: 44px 0; }
.ft__in { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .ft__in { flex-direction: row; align-items: center; justify-content: space-between; } }
.ft__logo img { height: 24px; width: auto; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ft__nav a:hover { color: var(--red-hi); }
.ft__copy { color: var(--grey); font-size: 13px; }

/* ---------- Video modal ---------- */
.modal {
	position: fixed; inset: 0; z-index: 100;
	display: none; align-items: center; justify-content: center;
	padding: var(--pad); background: rgba(0,0,0,.94);
}
.modal.is-open { display: flex; }
.modal__box { width: 100%; max-width: 1280px; }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal__title { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.modal__close {
	flex: none; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.3); background: none; font-size: 24px; line-height: 1; cursor: pointer;
}
.modal__close:hover { border-color: var(--red); color: var(--red-hi); }
.modal video { width: 100%; max-height: 80vh; background: #000; border-radius: 4px; }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.clients__track { animation: none; }
	.js .rv { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   SUB-PAGE STYLING (/work/, /ai/, /news/)
   ========================================================================== */
body.dida-subpage {
	padding-top: 100px;
}
@media (min-width: 900px) {
	body.dida-subpage {
		padding-top: 120px;
	}
}

.sub-main {
	min-height: 100vh;
}

.sub-hero {
	padding: 24px 0 clamp(40px, 5vw, 64px);
}

.sub-hero__title {
	font-family: var(--display);
	font-weight: 900;
	text-transform: uppercase;
	font-size: clamp(48px, 9vw, 110px);
	line-height: .9;
	letter-spacing: -.04em;
	margin: 16px 0 20px;
}

.sub-hero__title .dot {
	color: var(--red);
}

.sub-hero__lead {
	max-width: 680px;
	font-size: clamp(16px, 1.4vw, 20px);
	color: #d0d0d0;
	line-height: 1.5;
}

.nav a.is-active::after {
	transform: scaleX(1) !important;
}

.sub-banner {
	margin-top: clamp(60px, 8vw, 100px);
	padding: clamp(40px, 6vw, 72px);
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
	text-align: left;
}

.sub-banner h2 {
	font-family: var(--display);
	font-weight: 900;
	font-size: clamp(28px, 4vw, 48px);
	text-transform: uppercase;
	letter-spacing: -.02em;
	margin-bottom: 12px;
}

.sub-banner p {
	color: var(--grey);
	max-width: 600px;
	font-size: 16px;
	margin-bottom: 28px;
}

/* AI Hub Page specifics */
.ai-hub-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.ai-hub-grid--compact {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.ai-hub-grid--compact {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ai-feature-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: clamp(24px, 3vw, 36px);
	transition: border-color .3s, transform .3s;
}

.ai-feature-card--mini {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 140px;
	padding: 24px;
	border-left: 2px solid var(--line);
}

.ai-feature-card--mini:hover {
	border-left-color: var(--red);
	transform: translateY(-2px);
}

.ai-feature-card--mini h2 {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(17px, 1.4vw, 20px);
	letter-spacing: -.02em;
	line-height: 1.25;
	margin: 0;
	color: var(--white);
}

.ai-feature-card:hover {
	border-color: var(--red);
}

.ai-feature-num {
	display: block;
	font-family: var(--display);
	font-weight: 800;
	font-size: 14px;
	color: var(--red);
	letter-spacing: .1em;
	margin-bottom: 16px;
}

.ai-feature-card h2 {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(22px, 2.2vw, 30px);
	letter-spacing: -.02em;
	line-height: 1.15;
	margin-bottom: 16px;
}

.ai-feature-card p {
	color: #cccccc;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.ai-feature-points {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 16px;
}

.ai-feature-points li {
	font-size: 14px;
	color: var(--grey);
	padding: 6px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ai-feature-points li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--red);
	border-radius: 50%;
	flex: none;
}

.ai-faq-block {
	margin-top: clamp(60px, 8vw, 100px);
	padding-top: 48px;
	border-top: 1px solid var(--line);
}

.ai-faq-item {
	padding: 24px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-faq-item h3 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(18px, 1.8vw, 22px);
	margin-bottom: 10px;
	color: var(--white);
}

.ai-faq-item p {
	color: var(--grey);
	font-size: 15px;
	line-height: 1.6;
	max-width: 800px;
}

/* Full News specifics */
.news--full {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.news--full {
		grid-template-columns: 1fr 1fr;
	}
}

/* AI Articles Cards Grid on /ai/ */
.ai-articles-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

@media (min-width: 768px) {
	.ai-articles-grid {
		grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	}
}

.ai-article-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color .3s, transform .3s;
}

.ai-article-card:hover {
	border-color: var(--red);
	transform: translateY(-4px);
}

.ai-article-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.ai-article-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--ease);
}

.ai-article-card:hover .ai-article-card__media img {
	transform: scale(1.05);
}

.ai-article-card__content {
	padding: clamp(20px, 3vw, 28px);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ai-article-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--grey);
	margin-bottom: 12px;
}

.ai-article-card__title {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(20px, 1.8vw, 24px);
	line-height: 1.2;
	letter-spacing: -.02em;
	margin-bottom: 12px;
}

.ai-article-card__title a {
	color: var(--white);
	transition: color .2s;
}

.ai-article-card__title a:hover {
	color: var(--red);
}

.ai-article-card__excerpt {
	color: var(--grey);
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 20px;
	flex-grow: 1;
}

.ai-article-card__link {
	align-self: flex-start;
	font-family: var(--display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--red);
	transition: color .2s, transform .2s;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ai-article-card__link:hover {
	color: var(--red-hi);
	transform: translateX(4px);
}

/* ==========================================================================
   STANDARDIZED EDITORIAL POST STYLING (SINGLE POST)
   ========================================================================== */
.art-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 var(--pad);
}

.art-back {
	margin-bottom: clamp(24px, 3vw, 36px);
}

.art-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--grey);
	transition: color .2s;
}

.art-back a:hover {
	color: var(--red);
}

.art-meta-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--grey);
}

.art-badge {
	display: inline-block;
	background: rgba(229, 9, 20, 0.15);
	color: var(--red-hi);
	border: 1px solid rgba(229, 9, 20, 0.35);
	padding: 4px 12px;
	border-radius: 999px;
	font-family: var(--display);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.art-dot {
	color: rgba(255, 255, 255, 0.3);
}

.art-title {
	font-family: var(--display);
	font-weight: 900;
	font-size: clamp(34px, 5.5vw, 68px);
	line-height: 1.05;
	letter-spacing: -.03em;
	margin-bottom: 24px;
	color: var(--white);
}

/* TL;DR Callout Section Directly Under Title */
.art-tldr {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--line);
	border-left: 3px solid var(--red);
	border-radius: 0 8px 8px 0;
	padding: clamp(16px, 2.5vw, 24px);
	margin-bottom: clamp(32px, 4vw, 44px);
}

.art-tldr__badge {
	flex: none;
	font-family: var(--display);
	font-weight: 900;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: var(--red);
	color: var(--white);
	padding: 4px 10px;
	border-radius: 4px;
	margin-top: 2px;
}

.art-tldr__text {
	margin: 0;
	font-size: clamp(15px, 1.3vw, 17px);
	line-height: 1.6;
	color: #d6d6d6;
}

@media (max-width: 600px) {
	.art-tldr {
		flex-direction: column;
		gap: 10px;
	}
}

.art-standfirst {
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.5;
	color: #d6d6d6;
	margin-bottom: clamp(32px, 4vw, 48px);
	font-weight: 400;
}

.art-hero-media {
	margin: 0 0 clamp(40px, 6vw, 64px);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #000;
}

.art-hero-media img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

/* Article Body Typography */
.art-body {
	color: #e0e0e0;
	font-size: clamp(17px, 1.2vw, 19px);
	line-height: 1.75;
}

.art-body p {
	margin-bottom: 28px;
}

.art-body .lead {
	font-size: clamp(20px, 1.6vw, 24px);
	line-height: 1.6;
	color: var(--white);
	font-weight: 500;
}

.art-body h2 {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: clamp(48px, 6vw, 72px) 0 20px;
	color: var(--white);
}

.art-body h3 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(20px, 2.2vw, 28px);
	line-height: 1.25;
	margin: 36px 0 16px;
	color: var(--white);
}

.art-body ul, .art-body ol {
	margin: 0 0 32px 0;
	padding-left: 24px;
}

.art-body li {
	margin-bottom: 12px;
	color: #cfcfcf;
}

.art-body li strong {
	color: var(--white);
}

.art-sep {
	border: 0;
	height: 1px;
	background: var(--line);
	margin: clamp(40px, 5vw, 64px) 0;
}

/* Callout Box */
.art-callout {
	background: rgba(229, 9, 20, 0.05);
	border-left: 3px solid var(--red);
	border-radius: 0 8px 8px 0;
	padding: clamp(20px, 3vw, 32px);
	margin: 40px 0;
}

.art-callout__label {
	display: block;
	font-family: var(--display);
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 10px;
}

.art-callout p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--white);
}

/* Quotes */
.art-body blockquote {
	margin: clamp(40px, 5vw, 60px) 0;
	padding: 0 0 0 24px;
	border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.art-body blockquote p {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(20px, 2.4vw, 30px);
	line-height: 1.35;
	letter-spacing: -.02em;
	color: var(--white);
	margin-bottom: 12px;
}

.art-body blockquote cite {
	display: block;
	font-size: 14px;
	font-style: normal;
	color: var(--grey);
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Video Embed in Article */
.art-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--line);
	margin: clamp(32px, 4vw, 48px) 0;
}

.art-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.art-video-caption {
	display: block;
	font-size: 13px;
	color: var(--grey);
	margin-top: -24px;
	margin-bottom: 32px;
	text-align: center;
}

/* Takeaway Card */
.art-takeaway {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: clamp(28px, 4vw, 40px);
	margin: 48px 0 32px;
}

.art-takeaway h3 {
	font-family: var(--display);
	font-weight: 800;
	font-size: 22px;
	margin: 0 0 12px;
	color: var(--white);
}

.art-takeaway p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: #bfbfbf;
}

/* Author Signoff Block */
.art-footer-signoff {
	margin-top: clamp(60px, 7vw, 90px);
	padding-top: 36px;
	border-top: 1px solid var(--line);
}

.art-author {
	display: flex;
	gap: 24px;
	align-items: center;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: clamp(20px, 3vw, 28px);
}

.art-author__avatar {
	flex: none;
}

.art-author__avatar img {
	display: block;
	height: auto;
}

.art-author__name {
	display: block;
	font-family: var(--display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: 6px;
}

.art-author__bio {
	font-size: 14px;
	line-height: 1.55;
	color: var(--grey);
	margin: 0;
}

@media (max-width: 600px) {
	.art-author {
		flex-direction: column;
		align-items: flex-start;
	}
}


