/* aard.display.css: display serif for pages that opt in with extra_css in their front matter
   (About, The Irregular). Not linked anywhere else, so the font files are only fetched on those pages. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
	src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root { --display-font: "Instrument Serif", Georgia, "Times New Roman", serif; }

/* About: headings only, so the page keeps its calm look */
.page-display .p-name, .page-display .e-content h2 { font-family: var(--display-font); font-weight: 400; letter-spacing: -0.01em; }
.page-display .p-name { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.05; }
.page-display .e-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.1; }

/* The Irregular: a single-purpose sign-up page, no sidebar */
.layout--solo { display: block; }
.layout--solo main { max-width: 56rem; margin-inline: auto; }
.page-funnel { padding-block: clamp(1rem, 4vw, 3rem); }
.page-funnel .p-name { margin: 0 0 1.5rem; font-family: var(--aard-font-family); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--aard-muted-color); }
.funnel-headline { margin: 0 0 1.25rem; font-family: var(--display-font); font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.funnel-headline em { font-style: italic; }
.funnel-lede { max-width: 38rem; margin: 0 0 2rem; font-size: 1.2rem; line-height: 1.5; }
.funnel-form { margin-block: 0 3.5rem; padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: calc(var(--aard-border-radius, 0.5rem) * 2); background: var(--aard-primary-background); color: var(--aard-primary-inverse); }
.funnel-form h2 { margin: 0 0 1rem; font-family: var(--display-font); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); color: inherit; }
.funnel-form label { color: inherit; }
.funnel-form .subscribe-form { max-width: 30rem; }
.funnel-form button[type="submit"] { width: 100%; background: var(--aard-primary-inverse); border-color: var(--aard-primary-inverse); color: var(--aard-primary-background); font-weight: 700; }
.funnel-form small, .funnel-form p { color: inherit; }
.funnel-cols { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 52rem) { .funnel-cols { grid-template-columns: 1fr 1fr; } }
.funnel-cols h2 { margin: 0 0 0.75rem; font-family: var(--display-font); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.funnel-cols ul { padding-left: 1.1rem; }
.funnel-cols li { margin-bottom: 0.6rem; }
.funnel-close { margin: 0 0 1.5rem; font-family: var(--display-font); font-style: italic; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1; }
.funnel-privacy { max-width: 38rem; font-size: 0.9em; color: var(--aard-muted-color); }

/* About: photo strip. Equal-height row, nothing cropped; swipeable on phones. */
.photo-strip { display: flex; gap: clamp(0.75rem, 1.6vw, 1.5rem); align-items: flex-start; max-width: none; margin: 1.5rem 0 3rem; }
.photo-strip figure { flex: var(--r) 1 0; min-width: 0; margin: 0; }
.photo-strip a { display: block; overflow: hidden; border-radius: 2px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 14px 28px -16px rgb(0 0 0 / 0.45); }
.photo-strip img { display: block; width: 100%; height: auto; border-radius: 0; }
.photo-strip figcaption { margin: 0.7rem 0 0; padding-top: 0.5rem; border-top: 1px solid var(--aard-muted-border-color); text-align: left; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aard-muted-color); }
@media (prefers-reduced-motion: no-preference) {
	.photo-strip img { transition: transform 0.4s ease; }
	.photo-strip a:hover img, .photo-strip a:focus-visible img { transform: scale(1.03); }
}
@media (max-width: 39.99rem) {
	.photo-strip { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
	.photo-strip figure { flex: 0 0 68%; scroll-snap-align: start; }
}
