/* ==========================================================================
   DEO AG — home page
   ========================================================================== */

.deo-main--home > .wp-block-post-content > * {
	margin-block: 0;
}

/* Sections ----------------------------------------------------------------- */

.deo-section {
	position: relative;
	padding: clamp(3rem, 6vw, 5rem) var(--gutter) !important;
}

/* The week and the new AGs belong together: keep them close. */
.deo-section--week {
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.deo-section--highlights {
	padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
	padding-bottom: clamp(3.5rem, 7vw, 6rem) !important;
}

/* Layered sheets: the dark "how it works" panel and the white FAQ slide over
   the paper like stacked cards instead of flat stripes. */
.deo-section--dark {
	z-index: 1;
	margin: 0 clamp(0.5rem, 1.5vw, 1.25rem) !important;
	border-radius: clamp(28px, 4vw, 48px);
	box-shadow: 0 -24px 60px -40px rgb(20 17 15 / 0.7);
}

.deo-section--timeline {
	margin-top: calc(-1 * clamp(28px, 4vw, 48px)) !important;
	padding-top: calc(clamp(3rem, 6vw, 5rem) + clamp(28px, 4vw, 48px)) !important;
}

.deo-section--faq {
	z-index: 1;
	border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
	box-shadow: 0 -20px 50px -40px rgb(20 17 15 / 0.5);
}

/* Heads align with the content grid (left), text keeps a readable width. */
.deo-section > .deo-section__head {
	width: 100%;
	max-width: var(--wide) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: clamp(2rem, 4vw, 3.25rem) !important;
}

.deo-section__head > * {
	max-width: 760px;
}

.deo-section__head--split {
	gap: 1.5rem;
}

.deo-section__head--split > * {
	max-width: none;
}

.deo-section__title {
	margin: 0;
	font-size: clamp(2.2rem, 5.2vw, 4rem);
	font-weight: 750;
	line-height: 1;
	letter-spacing: -0.03em;
}

.deo-section__lead {
	max-width: 58ch;
	margin: 1.1rem 0 0;
	color: var(--ink-soft);
	font-size: 1.1rem;
}

.deo-section--dark {
	background: var(--night);
	color: var(--paper);
}

.deo-section--dark .deo-kicker {
	color: var(--gold);
}

.deo-section--dark .deo-section__title em {
	color: var(--gold);
}

.deo-section--dark .deo-section__title em::after {
	background: var(--red);
	opacity: 0.8;
}

/* Hero ---------------------------------------------------------------------- */

.deo-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
	max-width: calc(var(--wide) + 2 * var(--gutter));
	min-height: min(860px, calc(100svh - var(--header-h)));
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 5rem) !important;
}

.deo-hero__text > * {
	margin-block: 0;
}

.deo-eyebrow {
	flex-wrap: wrap !important;
	gap: 0.5rem 0.75rem;
	margin-bottom: 1.4rem !important;
}

/* Registration status ----------------------------------------------------------- */

.deo-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.45em 0.9em;
	border-radius: 999px;
	background: var(--white);
	box-shadow: 0 0 0 1.5px var(--line);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
}

.deo-status__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ink-soft);
}

.deo-status--open .deo-status__dot {
	background: #1f9d55;
	box-shadow: 0 0 0 0 rgb(31 157 85 / 0.5);
	animation: deo-ping 2s ease-out infinite;
}

@keyframes deo-ping {
	to { box-shadow: 0 0 0 8px rgb(31 157 85 / 0); }
}

.deo-status-card {
	display: grid;
	justify-items: start;
	gap: 0.75rem;
	max-width: 620px;
	margin: 0 0 clamp(2rem, 4vw, 3rem) !important;
	padding: 1.25rem 1.4rem;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}

.deo-section > .deo-status-card {
	max-width: 620px;
	margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important;
}

.deo-status-card p {
	margin: 0;
	color: var(--ink-soft);
}

.deo-eyebrow .deo-term {
	margin: 0;
	padding: 0.45em 0.9em;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

.deo-eyebrow p {
	background: var(--ink);
	color: var(--paper);
}

.deo-eyebrow .deo-term {
	display: inline-block;
	border: 1.5px solid var(--line);
	color: var(--ink-soft);
}

.deo-hero__title {
	font-size: clamp(3rem, 7.4vw, 6.4rem);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.045em;
	font-variation-settings: "wdth" 90;
}

.js .deo-hero__title:not(.is-split) {
	opacity: 0;
}

.deo-hero__title .deo-word {
	display: inline-block;
	opacity: 0;
	translate: 0 0.5em;
	rotate: 4deg;
	animation: deo-word-in 0.9s var(--ease) forwards;
	animation-delay: calc(0.08s * var(--w, 0) + 0.1s);
}

@keyframes deo-word-in {
	to {
		opacity: 1;
		translate: 0 0;
		rotate: 0deg;
	}
}

.deo-scribble {
	position: relative;
	z-index: 0;
	display: inline-block;
	color: var(--red);
	white-space: nowrap;
}

.deo-scribble__svg {
	position: absolute;
	z-index: -1;
	left: -4%;
	bottom: -0.16em;
	width: 108%;
	height: 0.42em;
	overflow: visible;
}

.deo-scribble__svg path {
	fill: none;
	stroke: var(--gold);
	stroke-width: 9;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: deo-draw 1.1s var(--ease) 1s forwards;
}

.deo-hero__lead {
	max-width: 36ch;
	margin-top: 1.6rem !important;
	color: var(--ink-soft);
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.5;
}

.deo-hero__actions {
	gap: 0.75rem;
	margin-top: 2rem !important;
}

.deo-hero__actions .wp-block-button__link {
	min-height: 54px;
	padding-inline: 1.6em;
}

/* Hero numbers */

.deo-stats {
	display: grid;
	grid-template-columns: repeat(4, auto);
	justify-content: start;
	gap: 0.5rem clamp(1.25rem, 3vw, 2.5rem);
	margin: clamp(2rem, 4vw, 3rem) 0 0 !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.deo-stats__item {
	display: flex;
	flex-direction: column-reverse;
}

.deo-stats dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.deo-stats dt {
	margin-top: 0.3rem;
	color: var(--ink-soft);
	font-size: 0.85rem;
	font-weight: 600;
}

/* Collage of real AG photos tied by the loop */

.deo-collage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1.08;
}

.deo-collage__loop {
	position: absolute;
	z-index: 0;
	top: 20%;
	left: -6%;
	width: 112%;
	opacity: 0.95;
}

.deo-collage__loop .deo-loop__line {
	stroke-width: 5;
}

.deo-collage__item {
	--float: 0px;
	--px: 0px;
	--py: 0px;
	position: absolute;
	z-index: 1;
	display: block;
	overflow: hidden;
	background: var(--paper-deep);
	box-shadow: var(--shadow-lift);
	color: var(--ink);
	text-decoration: none;
	transform: translate(var(--px), calc(var(--py) + var(--float))) rotate(var(--rot, 0deg));
	transition: transform 0.6s var(--ease), box-shadow 0.4s;
	animation: deo-float 7s ease-in-out infinite alternate;
}

.deo-collage__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.deo-collage__item:hover {
	z-index: 3;
	--rot: 0deg !important;
}

.deo-collage__item:hover img {
	transform: scale(1.08);
}

.deo-collage__label {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: -0.9rem;
	display: grid;
	max-width: calc(100% - 1rem);
	padding: 0.45em 0.85em 0.5em;
	border-radius: 12px;
	background: var(--day, var(--ink));
	color: var(--day-on, var(--paper));
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 8px 18px -8px rgb(20 17 15 / 0.55);
	transform: translateX(-50%) rotate(var(--tag-rot, -4deg));
	transition: transform 0.45s var(--ease-spring);
}

.deo-collage__label small {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.8;
}

.deo-collage__item:hover .deo-collage__label,
.deo-collage__item:focus-visible .deo-collage__label {
	transform: translateX(-50%) rotate(0deg) scale(1.06);
}

/* One family of shapes: circles and white-framed "polaroid" tiles,
   laid along the two lobes of the loop. Labels sit outside the image. */
.deo-collage__item {
	overflow: visible;
	background: none;
	box-shadow: none;
}

.deo-collage__item img {
	border: 6px solid var(--white);
	box-shadow: var(--shadow-lift);
}

.deo-collage__item--1 { --rot: -3deg; --tag-rot: -5deg; top: 4%; left: 2%; width: 47%; aspect-ratio: 1; border-radius: 50%; animation-delay: -1s; }
.deo-collage__item--2 { --rot: 4deg; --tag-rot: 4deg; top: 0; right: 3%; width: 38%; aspect-ratio: 4 / 5; border-radius: 22px; animation-delay: -3s; }
.deo-collage__item--3 { --rot: 5deg; --tag-rot: 3deg; top: 56%; left: 10%; width: 31%; aspect-ratio: 4 / 5; border-radius: 22px; animation-delay: -5s; }
.deo-collage__item--4 { --rot: -2deg; --tag-rot: -3deg; top: 50%; left: 47%; width: 34%; aspect-ratio: 1; border-radius: 50%; animation-delay: -2s; }
.deo-collage__item--5 { --rot: 0deg; --tag-rot: 5deg; top: -3%; left: 46%; width: 17%; aspect-ratio: 1; border-radius: 50%; animation-delay: -4s; }

.deo-collage__item img {
	border-radius: inherit;
}

.deo-collage__item--5 .deo-collage__label {
	display: none;
}

/* Rotating badge */
.deo-badge-spin {
	position: absolute;
	z-index: 3;
	left: 37%;
	top: 34%;
	display: grid;
	place-items: center;
	width: clamp(92px, 11vw, 128px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 14px 30px -14px rgb(20 17 15 / 0.6);
}

.deo-badge-spin svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: deo-spin 22s linear infinite;
}

.deo-badge-spin text {
	fill: var(--ink);
	font-family: var(--font-body);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.deo-badge-spin__mark {
	color: var(--red);
	font-family: var(--font-display);
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1;
}

@keyframes deo-spin {
	to { transform: rotate(360deg); }
}

/* Entrance: items pop in one by one */
.js .deo-collage__item {
	opacity: 0;
	scale: 0.86;
	transition: transform 0.6s var(--ease), box-shadow 0.4s, opacity 0.8s var(--ease), scale 0.9s var(--ease-spring);
}

.js .deo-collage.is-in .deo-collage__item {
	opacity: 1;
	scale: 1;
}

.js .deo-collage.is-in .deo-collage__item--2 { transition-delay: 0.12s, 0s, 0.12s, 0.12s; }
.js .deo-collage.is-in .deo-collage__item--3 { transition-delay: 0.24s, 0s, 0.24s, 0.24s; }
.js .deo-collage.is-in .deo-collage__item--4 { transition-delay: 0.36s, 0s, 0.36s, 0.36s; }
.js .deo-collage.is-in .deo-collage__item--5 { transition-delay: 0.48s, 0s, 0.48s, 0.48s; }

@keyframes deo-float {
	from { --float: -6px; }
	to { --float: 8px; }
}

@property --float {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

/* Ticker ------------------------------------------------------------------ */

.deo-ticker {
	position: relative;
	z-index: 2;
	margin: 0 -2vw;
	padding: 1.05rem 0;
	overflow: hidden;
	background: var(--gold);
	transform: rotate(-1.6deg);
	box-shadow: 0 18px 40px -26px rgb(20 17 15 / 0.6);
}

.deo-ticker__track {
	display: flex;
	width: max-content;
	animation: deo-marquee 70s linear infinite;
}

.deo-ticker:hover .deo-ticker__track {
	animation-play-state: paused;
}

.deo-ticker__row {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-right: 1.5rem;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3vw, 2.2rem);
	font-weight: 700;
	white-space: nowrap;
}

.deo-ticker__dot {
	color: var(--red);
	font-size: 0.9em;
}

@keyframes deo-marquee {
	to { transform: translateX(-50%); }
}

/* Week ---------------------------------------------------------------------- */

.deo-week {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.deo-week__day {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	min-height: 360px;
	padding: 1.6rem 1.6rem 1.4rem;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	color: var(--ink);
	text-decoration: none;
	transition: color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

.deo-week__day::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: var(--day);
	clip-path: circle(0 at 100% 0);
	transition: clip-path 0.7s var(--ease);
}

.deo-week__day::after {
	content: "";
	position: absolute;
	top: 0;
	left: 1.6rem;
	right: 1.6rem;
	height: 6px;
	border-radius: 0 0 6px 6px;
	background: var(--day);
}

.deo-week__day:hover,
.deo-week__day:focus-visible {
	color: var(--day-on);
	transform: translateY(-6px);
	box-shadow: var(--shadow-lift);
}

.deo-week__day:hover::before,
.deo-week__day:focus-visible::before {
	clip-path: circle(150% at 100% 0);
}

.deo-week__name {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 4.4vw, 3.4rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.deo-week__count {
	font-size: 1rem;
	font-weight: 600;
}

.deo-week__count strong {
	font-family: var(--font-display);
	font-size: 1.5rem;
}

.deo-week__thumbs {
	display: flex;
	padding-left: 10px;
}

.deo-week__thumbs img {
	width: 58px;
	height: 58px;
	margin-left: -10px;
	border: 3px solid var(--white);
	border-radius: 50%;
	object-fit: cover;
	transition: transform 0.45s var(--ease-spring), border-color 0.4s;
}

.deo-week__day:hover .deo-week__thumbs img {
	border-color: var(--day);
}

.deo-week__day:hover .deo-week__thumbs img:nth-child(1) { transform: translateY(-6px) rotate(-6deg); }
.deo-week__day:hover .deo-week__thumbs img:nth-child(2) { transform: translateY(-3px) rotate(4deg); transition-delay: 0.04s; }
.deo-week__day:hover .deo-week__thumbs img:nth-child(3) { transform: translateY(-7px) rotate(-3deg); transition-delay: 0.08s; }
.deo-week__day:hover .deo-week__thumbs img:nth-child(4) { transform: translateY(-4px) rotate(6deg); transition-delay: 0.12s; }

.deo-week__names {
	color: inherit;
	font-size: 0.95rem;
	line-height: 1.5;
	opacity: 0.8;
}

.deo-week__go {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-weight: 800;
}

.deo-week__go .deo-icon {
	transition: transform 0.35s var(--ease-spring);
}

.deo-week__day:hover .deo-week__go .deo-icon {
	transform: translateX(5px);
}

/* Steps (dark) ------------------------------------------------------------------ */

.deo-steps-section > .wp-block-deo-ag-theme-loop,
.deo-steps-section > .deo-loop {
	position: absolute;
	top: clamp(2rem, 6vw, 4.5rem);
	right: var(--gutter);
	width: clamp(140px, 22vw, 300px);
	opacity: 0.9;
}

.deo-steps-section .deo-loop__line--ink {
	stroke: var(--paper);
}

.deo-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: clamp(1rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.deo-steps > li {
	position: relative;
	padding: 4.6rem 0 0;
	border-top: 1px solid rgb(247 242 234 / 0.2);
	color: rgb(247 242 234 / 0.78);
	counter-increment: step;
}

.deo-steps > li::before {
	content: "0" counter(step);
	position: absolute;
	top: 1rem;
	left: 0;
	color: transparent;
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	-webkit-text-stroke: 1.5px var(--gold);
}

.deo-steps > li::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.1s var(--ease) calc(var(--i, 0) * 120ms + 0.2s);
}

.deo-steps > li.is-in::after,
html:not(.js) .deo-steps > li::after {
	transform: scaleX(1);
}

.deo-steps strong {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 1.45rem;
	line-height: 1.1;
}

.deo-steps__note {
	max-width: 62ch;
	margin: clamp(2rem, 4vw, 3rem) 0 0 !important;
	padding: 1.1rem 1.3rem;
	border-left: 4px solid var(--red);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: rgb(247 242 234 / 0.06);
	color: rgb(247 242 234 / 0.9);
}

.deo-steps__note strong {
	color: var(--gold);
}

/* Timeline -------------------------------------------------------------------- */

.deo-timeline {
	--progress: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--count, 7), minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 2.4rem 0 0;
	list-style: none;
}

.deo-timeline::before,
.deo-timeline::after {
	content: "";
	position: absolute;
	top: calc(2.4rem + 8px);
	left: 0;
	height: 3px;
	border-radius: 3px;
}

.deo-timeline::before {
	right: 0;
	background: var(--line);
}

.deo-timeline::after {
	width: calc(var(--progress) * 100%);
	background: linear-gradient(90deg, var(--ink), var(--red) 60%, var(--gold));
	transition: width 1.6s var(--ease) 0.3s;
}

.deo-timeline > li {
	position: relative;
	padding-top: 2.1rem;
	color: var(--ink-soft);
	font-size: 0.95rem;
	line-height: 1.4;
}

.deo-timeline > li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 19px;
	height: 19px;
	border: 3px solid var(--paper);
	border-radius: 50%;
	background: var(--paper-deep);
	box-shadow: 0 0 0 2px var(--line);
	transition: background-color 0.4s, box-shadow 0.4s;
}

/* Done: filled ink dot with a check mark, text slightly muted. */
.deo-timeline > li.is-done::before {
	background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%23f7f2ea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1.5 5.2 2.3 2.3L8.5 2.5'/%3E%3C/svg%3E") no-repeat center;
	box-shadow: 0 0 0 2px var(--ink);
}

.deo-timeline > li.is-done {
	color: rgb(74 67 61 / 0.85);
}

/* Today: a marker, not a milestone. */
.deo-timeline__today {
	color: var(--red) !important;
	font-weight: 800;
}

.deo-timeline__today::before {
	background: var(--red) !important;
	box-shadow: 0 0 0 2px var(--red), 0 0 0 8px rgb(200 32 42 / 0.18) !important;
	animation: deo-pulse 2.4s ease-in-out infinite;
}

@keyframes deo-pulse {
	50% { box-shadow: 0 0 0 2px var(--red), 0 0 0 14px rgb(200 32 42 / 0); }
}

.deo-timeline strong {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.15rem;
	line-height: 1.15;
}

.deo-timeline__today strong {
	color: var(--red);
}

/* Pillars ------------------------------------------------------------------------ */

.deo-section--pillars {
	padding-top: 0 !important;
}

.deo-pillars {
	gap: clamp(1rem, 3vw, 2.5rem) !important;
	counter-reset: pillar;
}

.deo-pillar {
	position: relative;
	padding: 2rem 1.75rem 1.75rem;
	border-radius: var(--radius);
	background: var(--paper-deep);
	counter-increment: pillar;
}

.deo-pillar::before {
	content: "0" counter(pillar);
	display: block;
	margin-bottom: 1.2rem;
	color: var(--red);
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.deo-pillar h3 {
	margin: 0 0 0.6rem;
	font-size: 1.6rem;
}

.deo-pillar p {
	margin: 0;
	color: var(--ink-soft);
}

/* FAQ teaser ------------------------------------------------------------------ */

.deo-section--faq {
	background: var(--white);
}

.deo-faq-teaser {
	gap: clamp(1.5rem, 5vw, 4rem) !important;
}

.deo-faq-teaser .deo-section__title {
	margin-bottom: 1.5rem;
}

/* Responsive -------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.deo-timeline {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 2rem;
	}

	.deo-timeline::before,
	.deo-timeline::after {
		display: none;
	}
}

@media (max-width: 900px) {
	.deo-hero {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 1.5rem !important;
	}

	.deo-collage {
		max-width: 560px;
		margin: 0 auto;
		aspect-ratio: 1 / 0.92;
	}

	.deo-stats {
		grid-template-columns: repeat(2, auto);
	}
}

@media (max-width: 640px) {
	/* Phone collage: four photos on a 2×2 rhythm, labels never covered. */
	.deo-collage {
		aspect-ratio: 1 / 1.12;
	}

	.deo-collage__item--1 { top: 2%; left: 0; width: 50%; }
	.deo-collage__item--2 { top: 0; right: 0; width: 41%; }
	.deo-collage__item--3 { top: 54%; left: 4%; width: 38%; }
	.deo-collage__item--4 { top: 52%; left: auto; right: 2%; width: 45%; }
	.deo-collage__item--5 { display: none; }

	.deo-collage__item img {
		border-width: 4px;
	}

	.deo-collage__item--1,
	.deo-collage__item--2 { z-index: 2; }

	.deo-collage__label {
		bottom: -0.7rem;
		font-size: 0.72rem;
	}

	.deo-badge-spin {
		left: 39%;
		top: 41%;
		width: 84px;
	}

	.deo-badge-spin__mark {
		font-size: 1.6rem;
	}

	.deo-hero__title {
		font-size: clamp(2.7rem, 12.5vw, 3.6rem);
	}

	.deo-hero__actions .wp-block-button {
		flex: 1 1 100%;
	}

	.deo-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.deo-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.deo-week__day {
		min-height: 0;
	}

	/* Vertical timeline on phones */
	.deo-timeline {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0 0 0 2.2rem;
	}

	.deo-timeline::before,
	.deo-timeline::after {
		display: block;
		top: 0;
		left: 8px;
		width: 3px;
		height: auto;
	}

	.deo-timeline::before {
		bottom: 0;
		right: auto;
	}

	.deo-timeline::after {
		height: calc(var(--progress) * 100%);
		width: 3px;
		background: linear-gradient(180deg, var(--ink), var(--red) 60%, var(--gold));
		transition-property: height;
	}

	.deo-timeline > li {
		padding: 0 0 1.6rem;
	}

	.deo-timeline > li::before {
		left: -2.2rem;
	}

	.deo-steps-section > .wp-block-deo-ag-theme-loop,
	.deo-steps-section > .deo-loop {
		position: static;
		width: 120px;
		margin-bottom: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.deo-ticker__track {
		animation: none;
	}

	.deo-collage__item,
	.deo-hero__title .deo-word {
		animation: none;
		opacity: 1;
		translate: none;
		rotate: none;
	}

	.js .deo-collage__item {
		opacity: 1;
		scale: 1;
	}

	.deo-scribble__svg path {
		animation: none;
		stroke-dashoffset: 0;
	}
}
