/* AIME 360 landing page — loaded only on the "AIME 360 Landing" template. */

.aime-lp {
	--aime-ink: #0e0e10;
	--aime-paper: #ffffff;
	--aime-grey: #efefef;
	--aime-muted: #4b5058;      /* Steel: small text on white */
	--aime-offwhite: #f4f4f5;
	--aime-line: #2a2c31;       /* dividers on black */
	--aime-silver: #aeb4bd;     /* used sparingly */
	--aime-display: 'Archivo', 'Helvetica Neue', sans-serif;
	--aime-serif: 'Newsreader', Georgia, serif;
	float: left;
	clear: both;
	width: 100%;
	background: var(--aime-paper);
	color: var(--aime-ink);
	font-family: var(--aime-display);
	-webkit-font-smoothing: antialiased;
}
.aime-lp *, .aime-lp *::before, .aime-lp *::after { box-sizing: border-box; }
.aime-lp h1, .aime-lp h2, .aime-lp h3, .aime-lp p { margin: 0; }
/* Zox colours every heading black; let ours follow their section (white on the dark bands). */
.aime-lp h1, .aime-lp h2, .aime-lp h3 { color: inherit; font-family: var(--aime-display); }
.aime-lp a { color: inherit; }

.aime-wrap { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.aime-section { padding-top: 64px; padding-bottom: 64px; }

/* Type */
.aime-display {
	font-size: clamp(44px, 6vw, 96px);
	font-weight: 900;
	font-stretch: 65%;
	line-height: 0.9;
	text-transform: uppercase;
	letter-spacing: -0.005em;
}
.aime-display--md { font-size: clamp(40px, 5vw, 72px); }
.aime-display--xl { font-size: clamp(56px, 9vw, 150px); font-stretch: 62%; line-height: 0.85; }
.aime-h2 { font-size: 40px; font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.aime-label { font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.aime-lede { font-family: var(--aime-serif); font-size: 19px; line-height: 1.45; color: var(--aime-offwhite); opacity: .82; max-width: 460px; }
.aime-lede--dark { color: var(--aime-muted); opacity: 1; max-width: 640px; margin: 12px 0 36px; font-size: 20px; }
/* Emphasis without colour: outlined white letters */
.aime-accent-text { color: transparent; -webkit-text-stroke: 2px var(--aime-offwhite); }
.aime-kicker {
	align-self: flex-start;
	background: #ffffff;
	color: var(--aime-ink);
	font-weight: 900;
	font-stretch: 80%;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.06em;
	padding: 6px 10px;
}

/* Buttons */
.aime-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border: 2px solid var(--aime-ink);
	font-family: var(--aime-display);
	font-weight: 900;
	font-stretch: 80%;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease;
}
.aime-lp .aime-btn--ink { background: var(--aime-ink); color: #ffffff; }
/* Used on black sections: a white button with black text */
.aime-lp .aime-btn--accent { background: #ffffff; color: var(--aime-ink); border-color: #ffffff; }
.aime-lp .aime-btn--outline { background: transparent; color: var(--aime-ink); }
.aime-btn--block { display: flex; width: 100%; }
.aime-btn--lg { min-height: 60px; font-size: 18px; padding: 0 32px; }
.aime-btn:hover { transform: translateY(-2px); }
.aime-btn:focus-visible, .aime-lp button:focus-visible, .aime-lp summary:focus-visible, .aime-card__link:focus-visible {
	/* Graphite reads on both the white and the black sections. */
	outline: 3px solid #6b717a;
	outline-offset: 3px;
}

/* Intro strip */
.aime-intro { border-bottom: 2px solid var(--aime-ink); }
.aime-intro__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.aime-intro__tag { font-family: var(--aime-serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--aime-muted); max-width: 640px; }

/* Ticker */
.aime-ticker { background: var(--aime-ink); color: #ffffff; overflow: hidden; border-bottom: 2px solid var(--aime-ink); }
.aime-ticker__track { display: flex; width: max-content; animation: aimeTick 38s linear infinite; }
.aime-ticker:hover .aime-ticker__track { animation-play-state: paused; }
.aime-ticker__item { padding: 12px 28px; white-space: nowrap; font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: 18px; letter-spacing: 0.02em; }
@keyframes aimeTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero */
.aime-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 56px; }
.aime-slide { display: none; flex-direction: column; gap: 20px; }
.aime-slide.is-active { display: flex; animation: aimeFade 0.5s ease; }
.aime-slide__media {
	position: relative;
	min-height: 440px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: #ffffff;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.aime-slide__num { align-self: flex-end; font-size: 200px; font-weight: 900; font-stretch: 62%; line-height: 0.8; opacity: 0.16; }
.aime-slide__title { font-size: clamp(40px, 5.4vw, 76px); font-weight: 900; font-stretch: 72%; line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em; }
.aime-slide__deck { font-family: var(--aime-serif); font-size: 22px; line-height: 1.45; color: var(--aime-muted); max-width: 720px; }

.aime-hero__side { border-top: 4px solid var(--aime-ink); padding-top: 14px; display: flex; flex-direction: column; }
.aime-hero__side-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; }
.aime-hero__side-head .aime-label { font-size: 18px; letter-spacing: 0.04em; font-stretch: 80%; }
.aime-hero__arrows { display: flex; gap: 8px; }
.aime-arrow { width: 44px; height: 44px; border: 2px solid var(--aime-ink); background: #ffffff; color: var(--aime-ink); font-size: 22px; font-weight: 800; cursor: pointer; line-height: 1; }
.aime-arrow--ink { background: var(--aime-ink); color: #ffffff; }
.aime-hero__row {
	display: flex;
	gap: 14px;
	align-items: center;
	width: 100%;
	min-height: 72px;
	padding: 14px 12px;
	background: #ffffff;
	border: 0;
	border-top: 1px solid var(--aime-grey);
	cursor: pointer;
	font-family: var(--aime-display);
	color: var(--aime-ink);
	text-align: left;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.aime-hero__row.is-active { background: var(--aime-grey); box-shadow: inset 6px 0 0 var(--aime-ink); }
.aime-hero__row-num { font-size: 34px; font-weight: 900; font-stretch: 62%; color: #c9ccd1; min-width: 40px; }
.aime-hero__row.is-active .aime-hero__row-num { color: var(--aime-ink); }
.aime-hero__row-text { display: flex; flex-direction: column; gap: 4px; }
.aime-hero__row-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aime-muted); }
.aime-hero__row-title { font-size: 19px; font-weight: 800; font-stretch: 85%; line-height: 1.15; }
.aime-hero__side .aime-btn--block { margin-top: 20px; }

/* Services */
.aime-dark { background: var(--aime-ink); color: #ffffff; }
.aime-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.aime-section__head--light { border-bottom: 2px solid #ffffff; padding-bottom: 16px; margin-bottom: 8px; }
.aime-section__head--rule { align-items: center; border-top: 4px solid var(--aime-ink); padding-top: 14px; margin-bottom: 28px; }
.aime-service { border-bottom: 1px solid var(--aime-line); }
.aime-service__sum {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
	padding: 16px 0;
	cursor: pointer;
}
.aime-service__sum::-webkit-details-marker { display: none; }
.aime-service__num { font-size: 16px; font-weight: 800; color: #ffffff; opacity: .55; min-width: 32px; }
.aime-service__name { flex: 1; font-size: clamp(24px, 3vw, 40px); font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.aime-service__sign::before { content: '+'; font-size: 32px; line-height: 1; }
.aime-service[open] .aime-service__sign::before { content: '−'; }
.aime-service__sum:hover .aime-service__name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.aime-service__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 10px 32px;
	margin: 0;
	padding: 4px 0 28px 56px;
	list-style: none;
}
.aime-service__list li { font-family: var(--aime-serif); font-size: 19px; line-height: 1.4; color: var(--aime-offwhite); border-top: 1px solid var(--aime-line); padding-top: 10px; margin: 0; }

/* Journal */
.aime-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.aime-chip {
	min-height: 44px;
	padding: 0 16px;
	border: 2px solid var(--aime-ink);
	background: #ffffff;
	color: var(--aime-ink);
	font-family: var(--aime-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}
.aime-chip.is-on { background: var(--aime-ink); color: #ffffff; }
.aime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 28px; }
.aime-card { display: flex; flex-direction: column; gap: 12px; animation: aimeFade 0.4s ease; }
.aime-card[hidden] { display: none; }
.aime-card__link { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.aime-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.aime-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.aime-card__link:hover img { transform: scale(1.04); }
.aime-card__cat { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; border-left: 6px solid var(--aime-ink); padding-left: 8px; }
.aime-card__title { font-size: 26px; font-weight: 800; font-stretch: 82%; line-height: 1.08; }
.aime-card__link:hover .aime-card__title { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--aime-ink); }
.aime-card__deck { font-family: var(--aime-serif); font-size: 18px; line-height: 1.45; color: var(--aime-muted); }

/* Packages */
.aime-grey { background: var(--aime-grey); border-top: 2px solid var(--aime-ink); border-bottom: 2px solid var(--aime-ink); }
.aime-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.aime-pack { background: #ffffff; border: 2px solid var(--aime-ink); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.aime-pack__tier { font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.aime-pack__name { font-size: 44px; font-weight: 900; font-stretch: 68%; text-transform: uppercase; line-height: 0.95; }
.aime-pack__desc { font-family: var(--aime-serif); font-size: 18px; line-height: 1.45; color: var(--aime-muted); }
.aime-pack__price { margin-top: auto; font-weight: 800; }
.aime-pack--featured { background: var(--aime-ink); color: #ffffff; }
.aime-pack--featured .aime-pack__tier { align-self: flex-start; background: #ffffff; color: var(--aime-ink); padding: 4px 8px; }
.aime-pack--featured .aime-pack__desc { color: var(--aime-offwhite); }

/* Page editor content */
.aime-editor { font-family: var(--aime-serif); font-size: 19px; line-height: 1.6; }

/* Newsletter */
.aime-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center; }
.aime-news .aime-lede--dark { margin-bottom: 0; margin-top: 14px; }
.aime-news__form { display: flex; flex-direction: column; gap: 10px; }
.aime-news__row { display: flex; flex-wrap: wrap; gap: 10px; }
.aime-news__row input {
	flex: 1 1 240px;
	min-height: 56px;
	border: 2px solid var(--aime-ink);
	border-radius: 0;
	padding: 0 16px;
	font-size: 18px;
	font-family: var(--aime-display);
	background: #ffffff;
	color: var(--aime-ink);
}
.aime-news__row .aime-btn { min-height: 56px; }
.aime-news__done { font-size: 26px; font-weight: 900; font-stretch: 80%; text-transform: uppercase; border: 4px solid var(--aime-ink); padding: 24px; }
.aime-admin-note { margin-top: 12px; font-size: 13px; color: var(--aime-muted); }

/* Closing CTA */
.aime-cta { background: var(--aime-ink); color: #ffffff; }
.aime-cta__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.aime-cta__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 24px;
	border-top: 1px solid var(--aime-line);
	padding-top: 24px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--aime-offwhite);
}
.aime-cta__cols strong { color: #ffffff; text-transform: uppercase; letter-spacing: 0.06em; }
.aime-cta__cols a { color: var(--aime-offwhite); }
.aime-cta__cols a:hover { color: #ffffff; text-decoration: underline; }

@keyframes aimeFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tablet and phone */
@media (max-width: 960px) {
	.aime-hero { grid-template-columns: minmax(0, 1fr); }
	.aime-slide__media { min-height: 320px; }
	.aime-slide__num { font-size: 140px; }
}
@media (max-width: 600px) {
	.aime-section { padding-top: 48px; padding-bottom: 48px; }
	.aime-wrap { padding-left: 16px; padding-right: 16px; }
	.aime-service__list { padding-left: 0; }
	.aime-service__sum { gap: 14px; }
	.aime-slide__deck { font-size: 19px; }
	.aime-intro__in .aime-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.aime-ticker__track, .aime-slide.is-active, .aime-card { animation: none; }
	.aime-btn, .aime-card__media img { transition: none; }
}
