/*
Theme Name: ATFO
Theme URI: https://atfo.com.tr/
Author: Abdullah Talha Furkan Öztürk
Description: A quiet, typographic theme for the writing and research of Abdullah Talha Furkan Öztürk.
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 7.4
Version: 2.0.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atfo
*/

/* ---------- Tokens ---------- */
:root {
	--atfo-ink: #161A22;
	--atfo-ink-soft: #3F4655;
	--atfo-muted: #5A6273;
	--atfo-faint: #9AA3B5;
	--atfo-line: #C9D0DC;
	--atfo-accent: #24408E;
	--atfo-accent-dark: #16285C;
	--atfo-second: #6E2C3A;
	--atfo-paper: #FFFFFF;
	--atfo-mist: #F3F5F9;
	--atfo-chip: #EEF1F7;
	--atfo-rule: #E3E7EE;
	--atfo-night: #0F1730;
	--atfo-night-text: #DCE3F2;
	--atfo-night-soft: #AFC1F0;
	--atfo-on-ink: #FFFFFF;
	--atfo-desk: #EEF1F6;
	--atfo-tear-fringe: #CBD4E6;
	--atfo-ruling: rgba(36, 64, 142, 0.09);
	--atfo-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--atfo-serif: Newsreader, Georgia, 'Times New Roman', serif;
	--atfo-gutter: clamp(20px, 5vw, 48px);
	--atfo-wide: 1160px;
	--atfo-read: 680px;
}

/* ---------- Base ---------- */
body {
	margin: 0;
	background: var(--atfo-paper);
	color: var(--atfo-ink);
	font-family: var(--atfo-serif);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Set on the page wrapper too, so plugin styles aimed at <body> can't change the type.
   The column layout keeps the footer at the bottom on short pages. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: var(--atfo-serif);
	color: var(--atfo-ink);
}

.wp-site-blocks > .atfo-main {
	flex: 1 0 auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

/* Spacing is set explicitly below, so WordPress's automatic gaps between regions are switched off. */
body .wp-site-blocks > *,
body .wp-site-blocks > * + *,
body .atfo-main > *,
body .atfo-main > * + * {
	margin-block-start: 0;
	margin-block-end: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--atfo-accent);
	outline-offset: 3px;
}

.atfo-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--atfo-wide);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--atfo-gutter);
	padding-right: var(--atfo-gutter);
}

.atfo-arrow {
	flex: none;
	width: 16px;
	height: 16px;
}

.atfo-stars {
	display: block;
	width: 28px;
	height: 22px;
	color: var(--atfo-accent);
}

/* ---------- Header ---------- */
.atfo-header {
	background: var(--atfo-paper);
	border-bottom: 1px solid var(--atfo-rule);
}

.atfo-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 32px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.atfo-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	color: var(--atfo-ink);
	text-decoration: none;
}

.atfo-brand:hover {
	color: var(--atfo-ink);
}

.atfo-brand__mark {
	font-family: var(--atfo-serif);
	font-size: 23px;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.atfo-brand__rule {
	width: 1px;
	height: 22px;
	background: var(--atfo-line);
}

.atfo-brand__name {
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-ink-soft);
}

.atfo-nav {
	font-family: var(--atfo-sans);
	font-size: 15px;
}

.atfo-nav .wp-block-navigation__container {
	gap: 0 24px;
}

.atfo-nav .wp-block-navigation-item__content {
	display: inline-block;
	padding: 12px 0;
	color: var(--atfo-ink);
	text-decoration: none;
}

.atfo-nav .wp-block-navigation-item__content:hover {
	color: var(--atfo-accent);
}

.atfo-nav .wp-block-navigation-item__content[aria-current] {
	color: var(--atfo-accent);
	box-shadow: inset 0 -2px 0 var(--atfo-accent);
}

.atfo-nav .wp-block-navigation__responsive-container-open,
.atfo-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--atfo-ink);
}

.atfo-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px var(--atfo-gutter);
	background: var(--atfo-paper);
	color: var(--atfo-ink);
}

.atfo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 10px 0;
	font-family: var(--atfo-serif);
	font-size: 24px;
}

/* ---------- Shared pieces ---------- */
.atfo-eyebrow {
	margin: 0 0 20px;
	font-family: var(--atfo-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--atfo-accent);
}

.atfo-label,
.atfo-label a {
	font-family: var(--atfo-sans);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--atfo-muted);
	text-decoration: none;
}

.atfo-label a:hover {
	color: var(--atfo-accent);
}

.atfo-h2 {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.atfo-note {
	font-family: var(--atfo-sans);
	font-size: 14px;
	line-height: 1.5;
	color: var(--atfo-muted);
}

.atfo-chip {
	display: inline-block;
	margin: 20px 0 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--atfo-chip);
	font-family: var(--atfo-sans);
	font-size: 13px;
	line-height: 1.4;
	color: var(--atfo-ink-soft);
}

.atfo-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.atfo-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--atfo-accent);
	border-radius: 2px;
	background: var(--atfo-accent);
	color: var(--atfo-on-ink);
	font-family: var(--atfo-sans);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.atfo-btn:hover,
.atfo-btn:focus-visible {
	border-color: var(--atfo-accent-dark);
	background: var(--atfo-accent-dark);
	color: var(--atfo-on-ink);
}

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

.atfo-btn--ghost:hover,
.atfo-btn--ghost:focus-visible {
	border-color: var(--atfo-ink);
	background: var(--atfo-ink);
	color: var(--atfo-on-ink);
}

.atfo-time {
	margin: 0;
	font-family: var(--atfo-sans);
	font-size: 14px;
	line-height: 1.5;
	color: var(--atfo-muted);
}

/* ---------- Home: hero ---------- */
.atfo-hero {
	padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
}

.atfo-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px 72px;
}

.atfo-hero__text {
	flex: 1 1 480px;
	min-width: 0;
}

.atfo-hero__title {
	margin: 0;
	font-size: clamp(44px, 6.4vw, 80px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.02em;
}

.atfo-hero__lead {
	max-width: 34em;
	margin: 28px 0 0;
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.5;
	color: var(--atfo-ink-soft);
}

.atfo-hero__meta {
	margin: 16px 0 0;
}

.atfo-hero__photo {
	flex: 0 1 380px;
	min-width: 260px;
	margin: 0;
}

.atfo-hero__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	background: #E9EDF5;
}

/* ---------- Home: sections ---------- */
.atfo-section {
	padding: clamp(56px, 7vw, 88px) 0;
	border-top: 1px solid var(--atfo-rule);
}

.atfo-section--mist {
	padding: clamp(64px, 8vw, 104px) 0;
	border-top: 0;
	background: var(--atfo-mist);
}

.atfo-section--plain {
	padding: clamp(64px, 8vw, 104px) 0;
	border-top: 0;
}

.atfo-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 40px;
}

.atfo-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	font-family: var(--atfo-sans);
	font-size: 15px;
	color: var(--atfo-accent);
	text-decoration: none;
}

.atfo-more:hover {
	color: var(--atfo-accent-dark);
}

/* Cards: latest writing on the home page */
body .atfo-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body .atfo-cards > li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding-top: 22px;
	border-top: 2px solid var(--atfo-ink);
}

/* The title link covers the whole card (and the whole row in lists). */
.atfo-cards .wp-block-post-title a::after,
.atfo-rows .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

body .atfo-cards > li:hover .wp-block-post-title a,
body .atfo-rows > li:hover .wp-block-post-title a {
	color: var(--atfo-accent);
}

body .atfo-cards > li > * {
	margin: 0;
}

.atfo-cards .wp-block-post-title {
	font-size: 30px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.atfo-cards .wp-block-post-title a,
.atfo-rows .wp-block-post-title a {
	color: var(--atfo-ink);
	text-decoration: none;
}

.atfo-cards .wp-block-post-title a:hover,
.atfo-rows .wp-block-post-title a:hover {
	color: var(--atfo-accent);
}

.atfo-cards .wp-block-post-excerpt,
.atfo-rows .wp-block-post-excerpt {
	margin: 0;
}

.atfo-cards .wp-block-post-excerpt__excerpt,
.atfo-rows .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 19px;
	font-style: italic;
	line-height: 1.5;
	color: var(--atfo-ink-soft);
}

body .atfo-cards > li > .atfo-time {
	margin-top: auto;
	padding-top: 6px;
}

/* Collections */
.atfo-collections {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 56px;
}

.atfo-collection {
	display: flex;
	flex: 1 1 320px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-sizing: border-box;
	min-width: 0;
	padding: 22px 24px;
	background: var(--atfo-mist);
	color: var(--atfo-ink);
	text-decoration: none;
}

.atfo-collection:hover {
	color: var(--atfo-accent);
}

.atfo-collection__title {
	display: block;
	font-size: 23px;
	line-height: 1.3;
}

.atfo-collection__sub {
	display: block;
	margin-top: 4px;
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-muted);
}

/* Lover's Quarrel feature */
.atfo-lq {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px 88px;
}

.atfo-lq__text {
	flex: 1 1 440px;
	min-width: 0;
}

.atfo-lq__title {
	margin: 0;
	font-size: clamp(36px, 4.4vw, 52px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.atfo-lq__by {
	margin: 14px 0 0;
	font-family: var(--atfo-sans);
	font-size: 15px;
	line-height: 1.5;
	color: var(--atfo-ink-soft);
}

.atfo-lq__desc {
	max-width: 32em;
	margin: 20px 0 0;
	font-size: 20px;
	line-height: 1.6;
	color: var(--atfo-ink-soft);
}

.atfo-lq__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 28px;
}

.atfo-lq__quote {
	flex: 1 1 380px;
	min-width: 0;
	margin: 0;
}

.atfo-lq__quote blockquote {
	margin: 20px 0 0;
	padding: 0;
	font-size: clamp(24px, 2.6vw, 32px);
	font-style: italic;
	font-weight: 300;
	line-height: 1.35;
	color: var(--atfo-ink);
}

.atfo-lq__quote figcaption {
	margin-top: 16px;
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-muted);
}

/* Night quote band */
.atfo-night {
	background: var(--atfo-night);
	color: #F5F7FB;
}

.atfo-night .atfo-container {
	padding-top: clamp(64px, 9vw, 112px);
	padding-bottom: clamp(64px, 9vw, 112px);
}

.atfo-night .atfo-stars {
	color: var(--atfo-night-soft);
}

.atfo-night blockquote {
	max-width: 18em;
	margin: 28px 0 0;
	padding: 0;
	font-size: clamp(32px, 4.6vw, 56px);
	font-style: italic;
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.atfo-night__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 28px;
	margin-top: 32px;
	font-family: var(--atfo-sans);
	font-size: 15px;
	color: var(--atfo-night-soft);
}

.atfo-night__meta a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	color: #FFFFFF;
	text-decoration: underline;
	text-decoration-color: var(--atfo-night-soft);
	text-underline-offset: 6px;
}

/* Research */
.atfo-research {
	display: flex;
	flex-wrap: wrap;
	gap: 56px 88px;
}

.atfo-research__intro {
	flex: 1 1 380px;
	min-width: 0;
}

.atfo-research__pubs {
	flex: 1 1 460px;
	min-width: 0;
}

.atfo-body {
	margin: 20px 0 0;
	font-size: 20px;
	line-height: 1.6;
	color: var(--atfo-ink-soft);
}

.atfo-degrees {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 32px 0 0;
	font-family: var(--atfo-sans);
	font-size: 15px;
	line-height: 1.5;
}

.atfo-degrees dt {
	font-weight: 600;
	color: var(--atfo-ink);
}

.atfo-degrees dd {
	margin: 4px 0 0;
	color: var(--atfo-muted);
}

.atfo-pubs {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.atfo-pubs li {
	padding: 20px 0;
	border-top: 1px solid #D5DBE5;
}

.atfo-pubs li:last-child {
	border-bottom: 1px solid #D5DBE5;
}

.atfo-pubs__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.4;
}

.atfo-pubs__title a {
	color: var(--atfo-ink);
	text-decoration-color: var(--atfo-line);
	text-underline-offset: 4px;
}

.atfo-pubs__title a:hover {
	color: var(--atfo-accent);
	text-decoration-color: currentColor;
}

.atfo-pubs__meta {
	margin: 6px 0 0;
	font-family: var(--atfo-sans);
	font-size: 14px;
	line-height: 1.5;
	color: var(--atfo-muted);
}

/* About */
.atfo-about {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 88px;
}

.atfo-about .atfo-h2 {
	flex: 0 1 300px;
}

.atfo-about__text {
	flex: 1 1 520px;
	min-width: 0;
	max-width: 38em;
}

.atfo-about__text p {
	margin: 0;
	font-size: 21px;
	line-height: 1.6;
}

.atfo-about__text p + p {
	margin-top: 20px;
	color: var(--atfo-ink-soft);
}

/* ---------- Footer ---------- */
.atfo-footer {
	background: var(--atfo-night);
	color: var(--atfo-night-text);
	font-family: var(--atfo-sans);
}

.atfo-footer .atfo-container {
	padding-top: 72px;
	padding-bottom: 32px;
}

.atfo-footer__cols {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 64px;
}

.atfo-footer__col {
	flex: 0 1 260px;
	min-width: 0;
}

.atfo-footer__col--main {
	flex: 1 1 320px;
}

.atfo-footer h2 {
	margin: 0;
	font-family: var(--atfo-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	color: #FFFFFF;
}

.atfo-footer h3 {
	margin: 0;
	font-family: var(--atfo-sans);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--atfo-night-soft);
}

.atfo-footer__mail {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 0;
	font-family: var(--atfo-serif);
	font-size: 22px;
	color: #FFFFFF;
	text-decoration: underline;
	text-decoration-color: var(--atfo-night-soft);
	text-underline-offset: 5px;
	overflow-wrap: anywhere;
}

.atfo-footer a:hover {
	color: var(--atfo-night-soft);
}

.atfo-footer__note {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--atfo-night-soft);
}

.atfo-footer ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.atfo-footer ul a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 0;
	font-size: 15px;
	color: #FFFFFF;
	text-decoration: none;
}

.atfo-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 56px;
	padding-top: 20px;
	border-top: 1px solid #26314F;
	font-size: 13px;
	color: var(--atfo-night-soft);
}

/* ---------- Page intros ---------- */
.atfo-intro {
	padding: clamp(48px, 6vw, 72px) 0 32px;
}

.atfo-intro h1,
.atfo-intro .wp-block-post-title,
.atfo-intro .wp-block-query-title {
	margin: 0;
	font-size: clamp(44px, 5.6vw, 68px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.atfo-intro__lead,
.atfo-intro .wp-block-term-description p {
	max-width: 36em;
	margin: 20px 0 0;
	font-size: clamp(19px, 1.9vw, 22px);
	line-height: 1.5;
	color: var(--atfo-ink-soft);
}

/* ---------- Writing lists ---------- */
.atfo-list-wrap {
	padding-bottom: 16px;
}

.atfo-filterbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--atfo-ink);
}

.atfo-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.atfo-pill {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--atfo-line);
	border-radius: 999px;
	background: var(--atfo-paper);
	color: var(--atfo-ink);
	font-family: var(--atfo-sans);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.atfo-pill:hover {
	border-color: var(--atfo-ink);
	color: var(--atfo-ink);
}

.atfo-pill[aria-current="page"] {
	border-color: var(--atfo-accent);
	background: var(--atfo-accent);
	color: var(--atfo-on-ink);
}

.atfo-pill__count {
	margin-left: 8px;
	font-weight: 400;
	color: var(--atfo-muted);
}

.atfo-pill[aria-current="page"] .atfo-pill__count {
	color: var(--atfo-on-ink);
}

.atfo-search {
	flex: 0 1 340px;
	min-width: 0;
	margin: 0;
}

.atfo-search .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
	padding: 0;
	border: 0;
}

.atfo-search .wp-block-search__input {
	flex: 1 1 auto;
	box-sizing: border-box;
	min-width: 0;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--atfo-line);
	border-radius: 2px;
	background: var(--atfo-paper);
	color: var(--atfo-ink);
	font-family: var(--atfo-sans);
	font-size: 15px;
}

.atfo-search .wp-block-search__button {
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--atfo-ink);
	border-radius: 2px;
	background: var(--atfo-paper);
	color: var(--atfo-ink);
	font-family: var(--atfo-sans);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.atfo-search .wp-block-search__button:hover {
	background: var(--atfo-ink);
	color: var(--atfo-on-ink);
}

body .atfo-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .atfo-rows > li {
	position: relative;
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) auto;
	align-items: start;
	gap: 10px 40px;
	margin: 0;
	padding: 28px 0;
	border-bottom: 1px solid var(--atfo-rule);
}

body .atfo-rows > li > *,
body .atfo-row__meta > *,
body .atfo-row__main > * {
	margin: 0;
}

.atfo-row__meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.atfo-row__meta .wp-block-post-date {
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-muted);
}

.atfo-rows .wp-block-post-title {
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

body .atfo-row__main > .wp-block-post-excerpt {
	margin-top: 8px;
}

.atfo-rows .atfo-time {
	padding-top: 6px;
	white-space: nowrap;
}

.atfo-empty {
	margin: 0;
	padding: 40px 0;
	font-size: 19px;
	color: var(--atfo-ink-soft);
}

body .atfo-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	margin-top: 40px;
	font-family: var(--atfo-sans);
	font-size: 15px;
}

body .atfo-pagination > *,
.atfo-pagination .wp-block-query-pagination-numbers {
	margin: 0;
}

.atfo-pagination a,
.atfo-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid transparent;
	color: var(--atfo-ink);
	text-decoration: none;
}

.atfo-pagination .page-numbers.current {
	border-color: var(--atfo-ink);
}

.atfo-crosslink {
	margin: 0;
	padding: 24px var(--atfo-gutter) 96px;
	font-family: var(--atfo-sans);
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	color: var(--atfo-ink-soft);
}

/* ---------- Single story ---------- */
.atfo-article__head {
	padding: clamp(40px, 6vw, 72px) 0 40px;
	border-bottom: 1px solid var(--atfo-rule);
}

.atfo-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-muted);
}

.atfo-crumbs > * {
	margin: 0;
}

.atfo-crumbs a {
	color: var(--atfo-muted);
}

.atfo-crumbs .wp-block-post-terms {
	font-size: 14px;
}

body .atfo-article__title {
	margin: 24px 0 0;
	font-size: clamp(48px, 7vw, 88px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
}

.atfo-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-top: 24px;
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-ink-soft);
}

body .atfo-meta > * {
	margin: 0;
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-ink-soft);
}

.atfo-meta > * + *::before {
	content: "·";
	margin-right: 12px;
	color: var(--atfo-faint);
}

.atfo-reading {
	box-sizing: border-box;
	max-width: calc(var(--atfo-read) + 2 * var(--atfo-gutter));
	margin: 0 auto;
	padding: 56px var(--atfo-gutter) 96px;
}

.atfo-prose {
	font-size: 20px;
	line-height: 1.7;
	color: var(--atfo-ink);
	overflow-wrap: break-word;
}

body .atfo-prose > * {
	margin-top: 0;
	margin-bottom: 0;
}

body .atfo-prose > * + * {
	margin-top: 0.7em;
}

body .atfo-prose > p:first-child {
	font-size: 24px;
	line-height: 1.55;
}

.atfo-prose a {
	color: var(--atfo-accent);
}

.atfo-prose img {
	max-width: 100%;
	height: auto;
}

.atfo-prose h1,
.atfo-prose h2,
.atfo-prose h3,
.atfo-prose h4 {
	font-size: 26px;
	font-weight: 400;
	line-height: 1.25;
}

body .atfo-prose > h1,
body .atfo-prose > h2,
body .atfo-prose > h3,
body .atfo-prose > h4 {
	margin-top: 1.8em;
}

body .atfo-prose > h2:first-child + h3 {
	margin-top: 0.3em;
	font-family: var(--atfo-sans);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--atfo-muted);
}

/* Horizontal lines in a piece become the theme's three stars. */
body .atfo-prose > hr {
	box-sizing: content-box;
	width: 28px;
	height: 22px;
	margin: 2.4em auto;
	border: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22' fill='%239AA3B5'%3E%3Cpolygon transform='translate(14 6)' points='0,-5 1.18,-1.62 4.76,-1.55 1.9,0.62 2.94,4.05 0,2 -2.94,4.05 -1.9,0.62 -4.76,-1.55 -1.18,-1.62'/%3E%3Cpolygon transform='translate(6 16.5)' points='0,-5 1.18,-1.62 4.76,-1.55 1.9,0.62 2.94,4.05 0,2 -2.94,4.05 -1.9,0.62 -4.76,-1.55 -1.18,-1.62'/%3E%3Cpolygon transform='translate(22 16.5)' points='0,-5 1.18,-1.62 4.76,-1.55 1.9,0.62 2.94,4.05 0,2 -2.94,4.05 -1.9,0.62 -4.76,-1.55 -1.18,-1.62'/%3E%3C/svg%3E") center / 28px 22px no-repeat;
	scroll-margin-top: 32px;
}

.atfo-prose [id^="part-"] {
	scroll-margin-top: 32px;
}

/* Images and captions from the classic editor. */
.atfo-prose .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.atfo-prose .alignleft {
	float: left;
	margin: 0.3em 1.2em 0.8em 0;
}

.atfo-prose .alignright {
	float: right;
	margin: 0.3em 0 0.8em 1.2em;
}

.atfo-prose .wp-caption {
	max-width: 100%;
}

.atfo-prose .wp-caption-text,
.atfo-prose figcaption {
	margin-top: 8px;
	font-family: var(--atfo-sans);
	font-size: 14px;
	line-height: 1.5;
	color: var(--atfo-muted);
}

.atfo-prose::after {
	content: "";
	display: table;
	clear: both;
}

body .atfo-prose > :first-child {
	margin-top: 0;
}

.atfo-prose blockquote {
	margin-left: 0;
	margin-right: 0;
	padding-left: 1.2em;
	border-left: 2px solid var(--atfo-rule);
	font-style: italic;
}

body .atfo-prose > .atfo-break {
	margin: 1.8em 0;
	color: var(--atfo-faint);
	letter-spacing: 0.5em;
	text-align: center;
}

/* Cast lists: [cast] … [/cast] turns one line per person into name cards. */
body .atfo-prose > .atfo-cast {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 1.6em 0;
	padding: 0;
	list-style: none;
}

.atfo-cast__item {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 16px 18px 18px;
	border-top: 3px solid var(--atfo-accent);
	background: var(--atfo-mist);
}

.atfo-cast__item > p {
	margin: 0;
}

.atfo-cast__top {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--atfo-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--atfo-muted);
}

.atfo-cast__no {
	color: var(--atfo-accent);
	font-variant-numeric: tabular-nums;
}

.atfo-cast__item > .atfo-cast__name {
	margin-top: 10px;
	font-size: 30px;
	line-height: 1.1;
	color: var(--atfo-ink);
}

.atfo-cast__item > .atfo-cast__text {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--atfo-ink-soft);
}

/* A cast of one (a last name to reveal, say) gets a dark card across the column. */
body .atfo-prose > .atfo-cast--single {
	grid-template-columns: minmax(0, 1fr);
}

.atfo-cast--single .atfo-cast__item {
	padding: 24px 28px 28px;
	border-top-color: var(--atfo-night-soft);
	background: var(--atfo-night);
}

.atfo-cast--single .atfo-cast__top {
	color: var(--atfo-night-soft);
}

.atfo-cast--single .atfo-cast__no {
	color: var(--atfo-night-text);
}

.atfo-cast--single .atfo-cast__item > .atfo-cast__name {
	font-size: 42px;
	color: #FFFFFF;
}

.atfo-cast--single .atfo-cast__item > .atfo-cast__text {
	font-size: 18px;
	color: var(--atfo-night-text);
}

.atfo-end {
	margin-top: 48px;
	color: var(--atfo-accent);
}

.atfo-author {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 48px;
	padding: 28px;
	background: var(--atfo-mist);
}

.atfo-author img {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 28%;
}

.atfo-author__text {
	flex: 1 1 300px;
	min-width: 0;
}

.atfo-author__text p {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
}

.atfo-author__text .atfo-author__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	margin-top: 12px;
	font-family: var(--atfo-sans);
	font-size: 14px;
}

.atfo-author__links a {
	display: inline-block;
	padding: 10px 0;
}

/* Keep reading */
.atfo-next {
	margin-top: 40px;
}

.atfo-next__card {
	display: block;
	padding: 24px 0;
	border-top: 2px solid var(--atfo-ink);
	border-bottom: 1px solid var(--atfo-rule);
	color: var(--atfo-ink);
	text-decoration: none;
}

.atfo-next__card:hover {
	color: var(--atfo-accent);
}

.atfo-next__card .atfo-label {
	display: block;
}

.atfo-next__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
	font-size: 30px;
	line-height: 1.2;
}

.atfo-next__title .atfo-arrow {
	width: 20px;
	height: 20px;
}

.atfo-next__line {
	display: block;
	margin-top: 6px;
	font-size: 19px;
	font-style: italic;
	line-height: 1.5;
	color: var(--atfo-ink-soft);
}

.atfo-next__more {
	margin-top: 32px;
}

.atfo-next__more h2 {
	margin: 0;
}

.atfo-next__more ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.atfo-next__more ul a {
	display: inline-block;
	padding: 10px 0;
	font-size: 20px;
	color: var(--atfo-ink);
	text-decoration-color: var(--atfo-line);
	text-underline-offset: 4px;
}

.atfo-next__more ul a:hover {
	color: var(--atfo-accent);
}

/* Parts of a long piece */
.atfo-reading {
	position: relative;
}

.atfo-parts {
	margin: 0 0 40px;
	font-family: var(--atfo-sans);
}

.atfo-parts h2 {
	margin: 0;
}

.atfo-parts ol {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	border-left: 1px solid var(--atfo-rule);
}

.atfo-parts li a {
	display: flex;
	gap: 10px;
	margin-left: -1px;
	padding: 10px 0 10px 16px;
	border-left: 2px solid transparent;
	font-size: 14px;
	line-height: 1.4;
	color: var(--atfo-ink-soft);
	text-decoration: none;
}

.atfo-parts li a:hover {
	color: var(--atfo-accent);
}

.atfo-parts li a[aria-current] {
	border-left-color: var(--atfo-accent);
	color: var(--atfo-ink);
}

.atfo-parts__no {
	flex: none;
	font-weight: 600;
	color: var(--atfo-muted);
}

.atfo-parts li a[aria-current] .atfo-parts__no {
	color: var(--atfo-accent);
}

.atfo-progress {
	display: none;
	margin-top: 24px;
}

.atfo-progress__track {
	height: 3px;
	background: var(--atfo-rule);
}

.atfo-progress__bar {
	display: block;
	width: 0;
	height: 3px;
	background: var(--atfo-accent);
}

.atfo-progress__left {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--atfo-muted);
}

/* Reading pages: the heading lines up with the text column. */
.atfo-article__head > .atfo-container {
	max-width: calc(var(--atfo-read) + 2 * var(--atfo-gutter));
}

@media (min-width: 1200px) {
	/* Fallback for older browsers: the parts list hangs to the left of the text. */
	.atfo-parts {
		position: absolute;
		top: 56px;
		right: 100%;
		bottom: 96px;
		width: 200px;
		margin: 0;
	}

	.atfo-parts__inner {
		position: sticky;
		top: 32px;
	}

	.atfo-progress:not([hidden]) {
		display: block;
	}

	/* Long pieces in parts: a side column for the parts list, as in the design. */
	.atfo-article:has(.atfo-parts) .atfo-article__head > .atfo-container {
		max-width: var(--atfo-wide);
	}

	.atfo-reading:has(> .atfo-parts) {
		display: grid;
		grid-template-columns: 200px minmax(0, var(--atfo-read));
		align-items: start;
		column-gap: 72px;
		max-width: var(--atfo-wide);
	}

	.atfo-reading:has(> .atfo-parts) > * {
		grid-column: 2;
	}

	.atfo-reading:has(> .atfo-parts) > .atfo-parts {
		position: static;
		grid-column: 1;
		grid-row: 1 / span 20;
		align-self: stretch;
		width: auto;
	}
}

.atfo-backlink {
	margin: 24px 0 0;
}

/* Plain wrappers that keep the page markup unchanged if a template is saved in the site editor. */
.atfo-section__head p,
.atfo-btn-wrap,
.atfo-footer__mailwrap,
.atfo-lq__quote blockquote p,
.atfo-night blockquote p {
	margin: 0;
}

.atfo-stars-wrap,
.atfo-author__photo {
	flex: none;
	line-height: 0;
}

/* The classic editor (used for posts) loads this stylesheet too: give it a comfortable reading column. */
body.mce-content-body {
	max-width: 680px;
	margin: 12px 16px;
	font-family: var(--atfo-serif);
	font-size: 20px;
	line-height: 1.7;
}

/* Editor stand-ins for the theme's blocks */
.atfo-placeholder {
	padding: 8px 12px;
	border: 1px dashed var(--atfo-line);
	font-family: var(--atfo-sans);
	font-size: 13px;
	color: var(--atfo-muted);
}

/* ---------- Lover's Quarrel ---------- */
.atfo-lq-head .atfo-eyebrow {
	margin-bottom: 16px;
}

.atfo-lq-head .atfo-time {
	margin-top: 10px;
}

.atfo-letters {
	margin: 0 0 56px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--atfo-rule);
}

.atfo-letters__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin: 0;
	font-family: var(--atfo-sans);
	font-size: 13px;
	color: var(--atfo-muted);
}

.atfo-letters__key {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.atfo-letters__key::before {
	content: "";
	width: 12px;
	height: 12px;
	border: 1px solid #B9C5E6;
	border-radius: 50%;
	background: var(--atfo-paper);
}

.atfo-letters__key--aslan::before {
	border-color: #E2C7CD;
	background: #F8EEF0;
}

.atfo-letters ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.atfo-letters__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	border: 1px solid #B9C5E6;
	border-radius: 999px;
	background: var(--atfo-paper);
	color: var(--atfo-accent);
	font-family: var(--atfo-sans);
	font-size: 14px;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.atfo-letters__link--aslan {
	border-color: #E2C7CD;
	background: #F8EEF0;
	color: var(--atfo-second);
}

.atfo-letters__link:hover,
.atfo-letters__link:focus-visible {
	border-color: currentColor;
}

body .atfo-prose > .atfo-letter {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-top: 2.6em;
	margin-bottom: 0.2em;
	font-family: var(--atfo-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--atfo-accent);
	scroll-margin-top: 24px;
}

body .atfo-prose > .atfo-letter:first-child {
	margin-top: 0;
}

.atfo-letter--aslan {
	color: var(--atfo-second) !important;
}

.atfo-letter__no {
	color: var(--atfo-muted);
	font-variant-numeric: tabular-nums;
}

/* ---------- Contact, 404 ---------- */
.atfo-contact__mail {
	margin: 28px 0 0;
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.atfo-contact__mail a {
	color: var(--atfo-ink);
	text-decoration-color: var(--atfo-line);
	text-underline-offset: 6px;
}

.atfo-contact__mail a:hover {
	color: var(--atfo-accent);
}

.atfo-contact .atfo-note {
	margin: 24px 0 0;
	font-size: 15px;
}

.atfo-contact {
	padding-bottom: 96px;
}

.atfo-404 .atfo-search {
	max-width: 480px;
	margin-top: 32px;
}

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
	body .atfo-rows > li {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.atfo-rows .atfo-time {
		padding-top: 0;
	}

	.atfo-next__title {
		font-size: 26px;
	}
}

@media (max-width: 560px) {
	body .atfo-prose > .atfo-cast {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.atfo-cast__item {
		padding: 14px 16px 16px;
	}

	.atfo-cast__item > .atfo-cast__name {
		font-size: 26px;
	}

	.atfo-cast--single .atfo-cast__item > .atfo-cast__name {
		font-size: 34px;
	}
}

@media (max-width: 520px) {
	.atfo-brand__rule,
	.atfo-brand__name {
		display: none;
	}

	.atfo-author {
		padding: 20px;
	}
}

/* =========================================================================
   Atmosphere (1.1): night skies behind titles, torn paper between night and page.
   The motion lives in assets/js/atmosphere.js; everything here also stands still without it.
   ====================================================================== */
html {
	scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* ---------- Night bands and their skies ---------- */
.atfo-nightband {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #080D1F;
	color: #F5F7FB;
}

.atfo-sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(110% 80% at 80% -10%, rgba(44, 70, 150, 0.55) 0%, rgba(44, 70, 150, 0) 62%),
		radial-gradient(80% 60% at 0% 105%, rgba(88, 36, 66, 0.42) 0%, rgba(88, 36, 66, 0) 66%),
		linear-gradient(#070B1A, #0F1730);
}

.atfo-sky canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.atfo-sky--rain {
	background:
		radial-gradient(120% 70% at 50% -20%, rgba(92, 110, 150, 0.42) 0%, rgba(92, 110, 150, 0) 64%),
		linear-gradient(#0A0F1D, #16203A);
}

.atfo-sky--embers {
	background:
		radial-gradient(90% 70% at 50% 118%, rgba(190, 72, 48, 0.5) 0%, rgba(120, 36, 54, 0.22) 42%, rgba(120, 36, 54, 0) 70%),
		linear-gradient(#090814, #150D1E);
}

.atfo-sky--dust {
	background:
		linear-gradient(112deg, rgba(236, 220, 178, 0) 26%, rgba(236, 220, 178, 0.13) 44%, rgba(236, 220, 178, 0.04) 55%, rgba(236, 220, 178, 0) 68%),
		radial-gradient(90% 70% at 20% 110%, rgba(92, 66, 40, 0.5) 0%, rgba(92, 66, 40, 0) 66%),
		linear-gradient(#0A0D1C, #141627);
}

.atfo-sky--binary {
	background:
		radial-gradient(60% 60% at 78% 42%, rgba(110, 44, 80, 0.4) 0%, rgba(110, 44, 80, 0) 70%),
		radial-gradient(110% 80% at 30% -10%, rgba(44, 70, 150, 0.5) 0%, rgba(44, 70, 150, 0) 62%),
		linear-gradient(#070B1A, #0F1730);
}

/* ---------- Torn paper edges ---------- */
.atfo-tear {
	position: absolute;
	left: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: clamp(34px, 6vw, 88px);
	pointer-events: none;
}

.atfo-tear--foot {
	bottom: -1px;
}

.atfo-tear--above {
	bottom: calc(100% - 1px);
}

.atfo-tear--hang {
	top: -1px;
	transform: scaleY(-1);
}

.atfo-tear__paper {
	fill: var(--atfo-paper);
}

.atfo-tear__fringe {
	fill: var(--atfo-tear-fringe);
}

/* ---------- Header over a night sky ---------- */
.atfo-night-top .atfo-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 60;
	border-bottom-color: transparent;
	background: transparent;
}

.atfo-js .atfo-night-top .atfo-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	transition: transform 0.35s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.atfo-night-top .atfo-header:not(.is-solid) .atfo-brand,
.atfo-night-top .atfo-header:not(.is-solid) .atfo-brand__name,
.atfo-night-top .atfo-header:not(.is-solid) .wp-block-navigation__responsive-container-open,
.atfo-night-top .atfo-header:not(.is-solid) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
	color: #FFFFFF;
}

.atfo-night-top .atfo-header:not(.is-solid) .atfo-brand__rule {
	background: rgba(255, 255, 255, 0.4);
}

.atfo-night-top .atfo-header:not(.is-solid) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover {
	color: var(--atfo-night-soft);
}

.atfo-night-top .atfo-header:not(.is-solid) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content[aria-current] {
	box-shadow: inset 0 -2px 0 #FFFFFF;
}

.atfo-night-top .atfo-header.is-solid {
	border-bottom-color: var(--atfo-rule);
	background: rgba(255, 255, 255, 0.97);
}

.atfo-night-top .atfo-header.is-away:not(:focus-within) {
	transform: translateY(-110%);
}

/* ---------- Home: hero under the night sky ---------- */
.atfo-hero {
	display: flex;
	align-items: flex-end;
	box-sizing: border-box;
	min-height: 100vh;
	min-height: 100svh;
	padding: 0;
}

/* The sky stays put while the page slides over it. */
@media (min-height: 620px) {
	.atfo-hero {
		position: sticky;
		top: 0;
		z-index: 0;
	}
}

.atfo-hero__inner {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding-top: 128px;
	padding-bottom: clamp(84px, 15vh, 168px);
	opacity: calc(1 - var(--atfo-p, 0) * 1.5);
	transform: translateY(calc(var(--atfo-p, 0) * -64px));
}

.atfo-hero__role {
	margin: 0 0 20px;
	font-family: var(--atfo-sans);
	font-size: 16px;
	color: var(--atfo-night-soft);
}

.atfo-hero__title {
	margin-left: -0.04em;
	font-size: clamp(50px, 10.4vw, 152px);
	font-weight: 300;
	line-height: 0.93;
	letter-spacing: -0.035em;
	color: #FFFFFF;
}

.atfo-hero__lead {
	max-width: 31em;
	margin-top: clamp(24px, 3vw, 40px);
	color: var(--atfo-night-text);
}

.atfo-btn--light,
.atfo-btn--light:visited {
	border-color: #FFFFFF;
	background: #FFFFFF;
	color: var(--atfo-night);
}

.atfo-btn--light:hover,
.atfo-btn--light:focus-visible {
	border-color: var(--atfo-night-soft);
	background: var(--atfo-night-soft);
	color: var(--atfo-night);
}

.atfo-btn--ghost-light {
	border-color: rgba(255, 255, 255, 0.5);
	background: transparent;
	color: #FFFFFF;
}

.atfo-btn--ghost-light:hover,
.atfo-btn--ghost-light:focus-visible {
	border-color: #FFFFFF;
	background: #FFFFFF;
	color: var(--atfo-night);
}

.atfo-nightband a:focus-visible,
.atfo-night-top .atfo-header:not(.is-solid) a:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 3px;
}

/* ---------- Home: the sheet that slides over the night ---------- */
.atfo-sheet {
	position: relative;
	z-index: 1;
	background: var(--atfo-paper);
}

.atfo-sheet > .atfo-section--first {
	padding-top: clamp(40px, 5vw, 64px);
	border-top: 0;
}

.atfo-sheet .atfo-h2 {
	font-size: clamp(36px, 4.8vw, 62px);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

/* A tall italic initial, as a scribe would open a chapter. */
.atfo-sheet .atfo-h2::first-letter {
	margin-right: 0.02em;
	font-size: 1.62em;
	font-style: italic;
	font-weight: 200;
	line-height: 0.7;
}

.atfo-sheet .atfo-section__head {
	align-items: flex-end;
	margin-bottom: 48px;
}

.atfo-sheet .atfo-research .atfo-h2 {
	margin-bottom: 8px;
}

/* ---------- Home: Lover's Quarrel ---------- */
.atfo-lqband {
	padding: clamp(128px, 17vw, 232px) 0 clamp(140px, 18vw, 250px);
}

.atfo-lqband__inner > * {
	max-width: 640px;
}

.atfo-lqband__kind,
.atfo-lqband__by,
.atfo-lqband__desc {
	margin: 0;
	font-family: var(--atfo-sans);
	font-size: 15px;
	line-height: 1.5;
	color: var(--atfo-night-soft);
}

.atfo-lqband__title {
	margin: 16px 0 12px -0.04em;
	font-size: clamp(50px, 8vw, 120px);
	font-weight: 300;
	line-height: 0.95;
	letter-spacing: -0.03em;
	color: #FFFFFF;
}

.atfo-lqband__quote {
	margin: clamp(32px, 4vw, 52px) 0 20px;
	padding: 0;
}

.atfo-lqband__quote p {
	margin: 0;
	font-size: clamp(23px, 2.6vw, 32px);
	font-style: italic;
	font-weight: 300;
	line-height: 1.3;
	color: #FFFFFF;
}

.atfo-lqband .atfo-btn-wrap {
	margin: 32px 0 0;
}

/* ---------- Home: where you are on the page ---------- */
.atfo-chapters {
	display: none;
}

@media (min-width: 1440px) and (min-height: 700px) {
	.atfo-chapters {
		position: fixed;
		bottom: 28px;
		left: 22px;
		z-index: 40;
		display: block;
		font-family: var(--atfo-sans);
		font-size: 13px;
		font-weight: 500;
		line-height: 1.3;
		mix-blend-mode: difference;
	}

	.atfo-chapters ol {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.atfo-chapters a {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		width: 124px;
		padding: 3px 0;
		color: #FFFFFF;
		text-decoration: none;
		opacity: 0.42;
		transition: opacity 0.2s ease;
	}

	.atfo-chapters a:hover,
	.atfo-chapters a:focus-visible,
	.atfo-chapters a[aria-current] {
		opacity: 1;
	}

	.atfo-chapters i {
		font-family: var(--atfo-serif);
		font-size: 11px;
		font-style: normal;
	}
}

/* ---------- Stories and Lover's Quarrel: the title under its sky ---------- */
.atfo-night-top .atfo-article__head {
	display: flex;
	align-items: flex-end;
	box-sizing: border-box;
	min-height: clamp(440px, 74vh, 780px);
	padding: 132px 0 clamp(104px, 14vw, 184px);
	border-bottom: 0;
}

.atfo-night-top .atfo-article__head > .atfo-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--atfo-wide);
}

.atfo-night-top .atfo-article__head .atfo-article__title {
	margin-left: -0.03em;
	font-size: clamp(46px, 8vw, 116px);
	font-weight: 300;
	line-height: 0.96;
	letter-spacing: -0.03em;
	color: #FFFFFF;
}

.atfo-night-top .atfo-article__head .atfo-crumbs,
.atfo-night-top .atfo-article__head .atfo-crumbs a,
.atfo-night-top .atfo-article__head .atfo-eyebrow,
.atfo-night-top .atfo-article__head .atfo-lq__by,
body.atfo-night-top .atfo-article__head .atfo-meta > *,
.atfo-night-top .atfo-article__head .atfo-time {
	color: var(--atfo-night-soft);
}

.atfo-night-top .atfo-article__head .atfo-crumbs a:hover {
	color: #FFFFFF;
}

.atfo-night-top .atfo-article__head .atfo-eyebrow {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.atfo-night-top .atfo-article__head .atfo-chip,
.atfo-night-top .atfo-article__head .atfo-note {
	background: rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
}

.atfo-night-top .atfo-reading {
	padding-top: clamp(8px, 2vw, 24px);
}

/* The first letter of a prose opening. */
body .atfo-prose > p.atfo-dropcap::first-letter {
	float: left;
	margin: 0.04em 0.04em 0 -0.03em;
	font-size: 4.9em;
	font-style: italic;
	font-weight: 300;
	line-height: 0.76;
	color: var(--atfo-ink);
}

/* How far through the piece the reader is. */
.atfo-readbar {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	right: 0;
	left: 0;
	z-index: 70;
	height: 2px;
	pointer-events: none;
}

.atfo-readbar span {
	display: block;
	height: 100%;
	background: var(--atfo-accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

/* ---------- Footer: the page ends where the night begins again ---------- */
.atfo-footer {
	position: relative;
}

.atfo-footer .atfo-container {
	padding-top: calc(64px + clamp(34px, 6vw, 88px));
}

@media (prefers-reduced-motion: reduce) {
	.atfo-js .atfo-night-top .atfo-header {
		transition: none;
	}

	.atfo-hero__inner {
		opacity: 1;
		transform: none;
	}
}

@media (min-width: 1200px) {
	.atfo-night-top .atfo-parts__inner,
	.atfo-night-top .atfo-letters__inner {
		top: 104px;
	}
}

@media (max-width: 560px) {
	body .atfo-prose > p.atfo-dropcap::first-letter {
		font-size: 3.7em;
	}
}

/* =========================================================================
   2.0: paper models, a look for each section, night mode.
   The models are drawn on one canvas by assets/js/paper3d-*.js.
   ====================================================================== */

/* ---------- The canvas the paper models are drawn on ---------- */
.atfo-stage {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100vw;
	height: 100vh;
	height: 100lvh;
	pointer-events: none;
}

.atfo-prop,
.atfo-zone {
	display: block;
	pointer-events: none;
}

/* Words always sit above the models, so a model can pass behind a text but never over it. */
.atfo-3d .atfo-prose,
.atfo-3d .atfo-leaf__head,
.atfo-3d .atfo-article__head > .atfo-container,
.atfo-3d .atfo-parts,
.atfo-3d .atfo-letters {
	position: relative;
	z-index: 2;
}

/* ---------- Night mode switch ---------- */
.atfo-header__inner .atfo-nav {
	margin-left: auto;
}

.atfo-mode {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 -10px 0 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--atfo-ink);
	cursor: pointer;
}

.atfo-mode:hover {
	background: var(--atfo-chip);
}

.atfo-mode__sun,
[data-theme="night"] .atfo-mode__moon {
	display: none;
}

[data-theme="night"] .atfo-mode__sun {
	display: block;
}

.atfo-night-top .atfo-header:not(.is-solid) .atfo-mode {
	color: #FFFFFF;
}

.atfo-night-top .atfo-header:not(.is-solid) .atfo-mode:hover {
	background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 599px) {
	.atfo-mode {
		order: 2;
		margin: 0 0 0 2px;
	}

	.atfo-header__inner .atfo-nav {
		order: 3;
		margin-left: 0;
	}

	.atfo-header__inner .atfo-brand-wrap {
		margin-right: auto;
	}
}

/* ---------- Night mode: dark paper, light ink ---------- */
html[data-theme="night"],
html[data-theme="night"] body {
	--atfo-ink: #E8EBF2;
	--atfo-ink-soft: #C3CAD9;
	--atfo-muted: #97A1B7;
	--atfo-faint: #6B7690;
	--atfo-line: #364057;
	--atfo-accent: #A3B8FF;
	--atfo-accent-dark: #C9D6FF;
	--atfo-second: #F0A6B6;
	--atfo-paper: #12151D;
	--atfo-mist: #191D28;
	--atfo-chip: #212634;
	--atfo-rule: #272D3C;
	--atfo-on-ink: #12151D;
	--atfo-desk: #0B0D13;
	--atfo-tear-fringe: #2C3346;
	--atfo-ruling: rgba(255, 255, 255, 0.05);
	--wp--preset--color--ink: #E8EBF2;
	--wp--preset--color--ink-soft: #C3CAD9;
	--wp--preset--color--muted: #97A1B7;
	--wp--preset--color--accent: #A3B8FF;
	--wp--preset--color--accent-dark: #C9D6FF;
	--wp--preset--color--second: #F0A6B6;
	--wp--preset--color--paper: #12151D;
	--wp--preset--color--mist: #191D28;
	--wp--preset--color--chip: #212634;
	--wp--preset--color--rule: #272D3C;
	color-scheme: dark;
}

html[data-theme="night"] .atfo-night-top .atfo-header.is-solid {
	background: rgba(18, 21, 29, 0.97);
}

html[data-theme="night"] .atfo-letters__key--aslan::before,
html[data-theme="night"] .atfo-letters__link--aslan {
	background: #2E1B24;
}

html[data-theme="night"] .atfo-cast__item {
	background: var(--atfo-mist);
}

html[data-theme="night"] .atfo-chapters {
	mix-blend-mode: normal;
}

html[data-theme="night"] ::selection {
	background: #3A4A86;
	color: #FFFFFF;
}

/* ---------- Home: the opening ---------- */
.atfo-opening {
	display: none;
}

.atfo-opening-on .atfo-opening {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: block;
	background: #060A18;
	transition: opacity 1.1s cubic-bezier(0.6, 0, 0.3, 1);
	/* If the script never arrives, the page still opens by itself. */
	animation: atfo-open-out 0.8s 6s forwards;
}

.atfo-opening-on .atfo-stage {
	z-index: 1001;
}

.atfo-opening-reveal .atfo-opening {
	opacity: 0;
}

.atfo-opening-on:not(.atfo-opening-reveal) .atfo-hero__text > *,
.atfo-opening-on:not(.atfo-opening-landed) .atfo-print {
	opacity: 0;
}

.atfo-opening-reveal .atfo-hero__text > * {
	animation: atfo-rise-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.atfo-opening-reveal .atfo-hero__text > :nth-child(2) { animation-delay: 0.1s; }
.atfo-opening-reveal .atfo-hero__text > :nth-child(3) { animation-delay: 0.24s; }
.atfo-opening-reveal .atfo-hero__text > :nth-child(4) { animation-delay: 0.36s; }

@keyframes atfo-open-out {
	to {
		visibility: hidden;
		opacity: 0;
	}
}

@keyframes atfo-rise-in {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
}

/* ---------- Home: name and portrait under the sky ---------- */
.atfo-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(210px, 25vw, 350px);
	align-items: end;
	gap: 32px clamp(32px, 6vw, 96px);
}

.atfo-hero__text {
	min-width: 0;
}

.atfo-hero__title {
	font-size: clamp(44px, 6.3vw, 100px);
}

.atfo-hero__photo {
	min-width: 0;
	margin: 0 0 6px;
	perspective: 900px;
}

/* A photographic print: white border, a slight tilt, and it turns a little towards the pointer. */
.atfo-print {
	padding: 9px;
	background: #FFFFFF;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 70px rgba(0, 0, 0, 0.45);
	transform: rotateX(var(--atfo-tx, 0deg)) rotateY(var(--atfo-ty, 0deg)) rotate(2.4deg);
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.atfo-print img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	background: #1B2440;
}

@media (max-width: 760px) {
	.atfo-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.atfo-hero__photo {
		order: -1;
		width: 128px;
		margin: 0 0 8px 6px;
	}

	.atfo-print {
		padding: 5px;
	}
}

/* ---------- From sky to page: the sheet lies flat and rises to face the reader ---------- */
.atfo-rising {
	transform: perspective(1800px) rotateX(var(--atfo-rise, 0deg));
	transform-origin: 50% 0;
	will-change: transform;
}

/* ---------- Home: latest writing, each with its symbol ---------- */
.atfo-prop--card {
	position: absolute;
	top: 14px;
	right: 0;
	width: 76px;
	height: 76px;
}

body .atfo-cards > li {
	padding-right: 0;
}

body .atfo-cards > li > .atfo-kind,
body .atfo-cards > li > .wp-block-post-title {
	padding-right: 84px;
}

/* ---------- Home: Lover's Quarrel ---------- */
.atfo-lqband__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(200px, 34vw, 440px);
	align-items: center;
	gap: 32px clamp(24px, 5vw, 72px);
}

.atfo-lqband__inner > * {
	max-width: none;
}

.atfo-lqband__text > * {
	max-width: 640px;
}

.atfo-prop--feature {
	width: 100%;
	aspect-ratio: 1;
}

@media (max-width: 760px) {
	.atfo-lqband__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.atfo-prop--feature {
		order: -1;
		width: 190px;
	}
}

/* ---------- Skies of love ---------- */
.atfo-sky--love {
	background:
		radial-gradient(90% 75% at 78% 108%, rgba(226, 96, 122, 0.5) 0%, rgba(160, 60, 110, 0.22) 44%, rgba(160, 60, 110, 0) 72%),
		radial-gradient(80% 60% at 8% -10%, rgba(104, 62, 150, 0.42) 0%, rgba(104, 62, 150, 0) 64%),
		linear-gradient(#0E0918, #2A1030);
}

.atfo-love {
	--atfo-accent: #8E2445;
	--atfo-accent-dark: #5F1630;
}

html[data-theme="night"] .atfo-love {
	--atfo-accent: #F3A0B5;
	--atfo-accent-dark: #FFD0DB;
}

.atfo-love .atfo-readbar span {
	background: linear-gradient(90deg, #4A6BD0, #D9566B);
}

/* ---------- Home: research, set like a page of notes ---------- */
.atfo-study {
	position: relative;
	background-image: linear-gradient(to bottom, transparent 35px, var(--atfo-ruling) 35px);
	background-size: 100% 36px;
}

.atfo-study > .atfo-container {
	position: relative;
}

/* The red margin line of a ruled notebook. */
.atfo-study > .atfo-container::before {
	content: "";
	position: absolute;
	top: calc(-1 * clamp(72px, 10vw, 128px));
	bottom: calc(-1 * clamp(72px, 10vw, 128px));
	left: calc(var(--atfo-gutter) - 20px);
	width: 1px;
	background: rgba(194, 71, 91, 0.45);
}

.atfo-study__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 56px;
}

.atfo-study__head .atfo-body {
	max-width: 30em;
	margin: 20px 0 0;
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.45;
	color: var(--atfo-ink);
}

.atfo-prop--study {
	flex: none;
	width: clamp(150px, 22vw, 280px);
	aspect-ratio: 1.15;
}

.atfo-study__label {
	margin: 0 0 12px;
	font-family: var(--atfo-sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--atfo-second);
}

.atfo-study .atfo-pubs {
	counter-reset: pub;
}

.atfo-study .atfo-pubs > li {
	position: relative;
	padding-left: 44px;
	counter-increment: pub;
}

.atfo-study .atfo-pubs > li::before {
	content: "[" counter(pub) "]";
	position: absolute;
	top: 20px;
	left: 0;
	font-family: var(--atfo-sans);
	font-size: 14px;
	color: var(--atfo-muted);
}

@media (max-width: 640px) {
	.atfo-study__head {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
}

/* ---------- Home: about, under the mountains of Erzurum ---------- */
.atfo-about {
	display: grid;
	grid-template-columns: clamp(170px, 26vw, 330px) minmax(0, 1fr);
	align-items: center;
	gap: 32px clamp(32px, 7vw, 104px);
}

.atfo-prop--origin {
	width: 100%;
	aspect-ratio: 1.25;
}

.atfo-about .atfo-h2 {
	margin-bottom: 26px;
}

.atfo-origin {
	padding-bottom: clamp(104px, 13vw, 176px);
}

@media (max-width: 700px) {
	.atfo-about {
		grid-template-columns: minmax(0, 1fr);
	}

	.atfo-prop--origin {
		width: 200px;
	}
}

/* ---------- List pages ---------- */
.atfo-intro__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
}

.atfo-intro__text {
	min-width: 0;
}

.atfo-prop--intro {
	flex: none;
	width: clamp(110px, 17vw, 210px);
	aspect-ratio: 1;
	margin-bottom: -8px;
}

/* Short stories: under the night sky, like the stories themselves. */
.atfo-intro--night {
	padding: 150px 0 clamp(104px, 13vw, 168px);
}

.atfo-intro--night h1 {
	font-size: clamp(48px, 7.4vw, 104px);
	font-weight: 300;
	letter-spacing: -0.03em;
	color: #FFFFFF;
}

.atfo-intro--night .atfo-intro__lead {
	color: var(--atfo-night-text);
}

.atfo-intro--night + .atfo-list-wrap {
	padding-top: 8px;
}

/* Five-minute writings: loose sheets on a desk. */
.atfo-desk {
	background: var(--atfo-desk);
}

.atfo-desk > .atfo-list-wrap {
	box-sizing: border-box;
	margin-bottom: 72px;
	padding-top: 28px;
	background: var(--atfo-paper);
	box-shadow: 0 1px 2px rgba(15, 23, 48, 0.08), 0 24px 60px rgba(15, 23, 48, 0.1);
}

.atfo-desk > .atfo-crosslink {
	padding-bottom: 72px;
}

.atfo-prop--row {
	width: 68px;
	height: 68px;
	margin: -8px 0 !important;
}

body .atfo-rows > li {
	grid-template-columns: 68px 170px minmax(0, 1fr) auto;
	gap: 10px 32px;
}

@media (max-width: 860px) {
	body .atfo-rows > li {
		grid-template-columns: minmax(0, 1fr) 56px;
	}

	body .atfo-rows > li > * {
		grid-column: 1;
	}

	body .atfo-rows > li > .atfo-prop--row {
		grid-column: 2;
		grid-row: 1 / span 2;
		width: 56px;
		height: 56px;
		margin: 0 !important;
	}

	.atfo-intro__inner {
		align-items: flex-start;
	}
}

/* ---------- A short story: its symbol waits beside the title ---------- */
.atfo-zone {
	position: absolute;
	right: max(var(--atfo-gutter), calc((100vw - var(--atfo-wide)) / 2));
	bottom: clamp(96px, 13vw, 170px);
	width: clamp(150px, 25vw, 330px);
	aspect-ratio: 1;
}

@media (min-width: 761px) {
	.atfo-night-top .atfo-article__head > .atfo-container > * {
		max-width: min(820px, calc(100% - clamp(170px, 28vw, 370px)));
	}
}

@media (max-width: 760px) {
	.atfo-zone {
		top: 84px;
		right: 14px;
		bottom: auto;
		width: 116px;
	}

	.atfo-night-top .atfo-article__head {
		min-height: clamp(460px, 78vh, 780px);
	}
}

.atfo-end {
	display: flex;
	justify-content: center;
	margin: 56px 0 8px;
	color: var(--atfo-accent);
}

/* With a model resting there, the three stars step aside. */
.atfo-3d .atfo-is-story .atfo-end,
.atfo-3d .atfo-love .atfo-end {
	min-height: 96px;
}

.atfo-3d .atfo-is-story .atfo-end svg,
.atfo-3d .atfo-love .atfo-end svg {
	visibility: hidden;
}

/* ---------- A five-minute piece: one sheet on the desk, its symbol circling it ---------- */
.atfo-fivemin {
	padding: clamp(28px, 5vw, 64px) 12px clamp(72px, 9vw, 120px);
}

.atfo-leaf {
	position: relative;
	box-sizing: border-box;
	max-width: 740px;
	margin: 0 auto;
	padding: clamp(32px, 6vw, 76px) clamp(22px, 7vw, 88px) clamp(36px, 6vw, 72px);
	background: var(--atfo-paper);
	box-shadow: 0 1px 2px rgba(15, 23, 48, 0.1), 0 28px 70px rgba(15, 23, 48, 0.12);
}

/* A folded corner. */
.atfo-leaf::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	background: linear-gradient(225deg, var(--atfo-desk) 0 50%, var(--atfo-rule) 50% 56%, var(--atfo-mist) 56% 100%);
	box-shadow: -3px 3px 6px rgba(15, 23, 48, 0.08);
}

.atfo-leaf .atfo-zone {
	display: none;
}

.atfo-leaf__head {
	margin-bottom: clamp(28px, 4vw, 44px);
	padding-bottom: 24px;
	border-bottom: 1px solid var(--atfo-rule);
}

.atfo-leaf__head > * {
	margin-top: 0;
	margin-bottom: 0;
}

.atfo-leaf__title {
	margin: 14px 0 16px;
	font-size: clamp(34px, 5.4vw, 58px);
	font-weight: 300;
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.atfo-leaf .atfo-content-note,
.atfo-leaf .atfo-chip {
	margin-top: 16px;
}

.atfo-leaf .atfo-end {
	margin: 40px 0 0;
}

.atfo-desk__after {
	box-sizing: border-box;
	max-width: 740px;
	margin: clamp(40px, 6vw, 72px) auto 0;
}

html[data-theme="night"] .atfo-leaf,
html[data-theme="night"] .atfo-desk > .atfo-list-wrap {
	box-shadow: 0 0 0 1px var(--atfo-rule), 0 28px 70px rgba(0, 0, 0, 0.5);
}

/* ---------- Contact: an airmail letter ---------- */
.atfo-postroom {
	background: var(--atfo-desk);
}

.atfo-contact {
	position: relative;
	padding: clamp(40px, 7vw, 96px) 0 clamp(96px, 12vw, 160px);
}

.atfo-contact__inner {
	position: relative;
}

.atfo-contact__card {
	position: relative;
	box-sizing: border-box;
	max-width: 760px;
	padding: clamp(28px, 6vw, 72px);
	border: 10px solid transparent;
	border-image: repeating-linear-gradient(-45deg, #C2475B 0 14px, transparent 14px 28px, #3F5FBF 28px 42px, transparent 42px 56px) 10;
	background: var(--atfo-paper);
	background-clip: padding-box;
	box-shadow: 0 1px 2px rgba(15, 23, 48, 0.1), 0 28px 70px rgba(15, 23, 48, 0.12);
}

.atfo-contact__card::before {
	content: "";
	position: absolute;
	inset: -10px;
	z-index: -1;
	background: var(--atfo-paper);
}

.atfo-contact__card h1 {
	margin: 0;
	font-size: clamp(44px, 6.4vw, 84px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.03em;
}

.atfo-prop--flight {
	position: absolute;
	top: clamp(24px, 5vw, 72px);
	right: clamp(12px, 9vw, 150px);
	width: clamp(110px, 20vw, 250px);
	aspect-ratio: 1.3;
}

.atfo-prop--envelope {
	position: absolute;
	right: clamp(0px, 4vw, 60px);
	bottom: -72px;
	width: clamp(110px, 16vw, 190px);
	aspect-ratio: 1.3;
}

@media (max-width: 760px) {
	.atfo-prop--flight {
		top: -6px;
		right: 8px;
		width: 96px;
	}

	.atfo-contact {
		padding-top: 92px;
	}
}

/* ---------- Not found ---------- */
.atfo-404 {
	padding-bottom: 96px;
}

@media (prefers-reduced-motion: reduce) {
	.atfo-print {
		transition: none;
	}
}

/* The rising sheet is wider than the window while it lies flat; keep that from adding a sideways scrollbar. */
.atfo-main {
	overflow-x: clip;
}
