/* FORMA theme styles for its own pages (the menu bar and footer are in parts.css). Breakpoints: tablet ≤1024px, phone ≤767px (as on the Elementor site). */


/* ── Base ───────────────────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--night);
	color: #333;
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
body.error404, body.page { background-color: var(--night-deep); }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.2; }
img { display: block; max-width: 100%; height: auto; border-style: none; }
a { color: inherit; text-decoration: none; background-color: transparent; }
b, strong { font-weight: bolder; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font-family: inherit; font-size: 1rem; line-height: 1.5; margin: 0; }
svg { display: block; }


/* ── Shared pieces ──────────────────────────────────────────────────── */
.wrap { position: relative; width: 100%; max-width: 1180px; margin-inline: auto; }

.section {
	position: relative;
	overflow: hidden;
	padding: calc(140px * var(--space)) 32px;
	background-color: var(--night);
	font-family: var(--sans);
	color: var(--text);
}

/* The big serif headings, with their second line in italic */
.display {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 68px;
	color: var(--text);
	letter-spacing: -0.025em;
	line-height: 1.02;
}
.display em, .gold-em em { color: var(--accent); font-style: italic; }

.lead {
	max-width: 620px;
	margin-top: 28px;
	font-family: var(--sans);
	font-size: 19px;
	color: var(--dim);
	line-height: 1.65;
}
.eyebrow {
	margin-bottom: 24px;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 12px;
	color: var(--dim);
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}
.card-title {
	margin-bottom: 12px;
	font-family: var(--serif);
	font-weight: 500;
	font-size: 34px;
	color: var(--text);
	letter-spacing: -0.01em;
	line-height: 1.1;
}
.body-text { font-family: var(--sans); font-size: 16px; color: var(--dim); line-height: 1.65; }

/* Small rounded label above a heading, such as "A new Bible reader · launching soon" */
.pill {
	display: inline-block;
	margin-bottom: 32px;
	padding: 9px 16px;
	border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
	border-radius: 999px;
	background-color: rgba(20, 20, 22, 0.72);
	font-family: var(--sans);
	font-size: 12px;
	color: var(--accent);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
/* The pulsing dot is the app's center red */
.pill--pulse span { display: inline-block; color: var(--center); animation: forma-pulse 2.2s ease-in-out infinite; }
@keyframes forma-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }


/* Fade-ins: sections fade in once as they come into view (the hero's copy on load). Without the
   script, or with reduced motion, everything simply shows. */
.js .reveal { opacity: 0; transition: opacity var(--reveal-duration, 700ms) cubic-bezier(0, 0, .58, 1) var(--reveal-delay, 0ms); }
.js .reveal.is-in { opacity: 1; }

/* ── Homepage: hero ─────────────────────────────────────────────────── */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 92vh;
	padding: 96px 32px calc(140px * var(--space));
	background-color: var(--night);
	color: var(--text);
}
/* The engraving: the ark beneath the rainbow, shown whole across the top of the hero, flipped so the
   ark sits left of the Flood card; its left edge and bottom fade out. */
.hero__art {
	position: absolute;
	top: 0;
	left: 16%;
	width: 84%;
	max-width: none;
	height: auto;
	transform: scaleX(-1);
	filter: grayscale(1) brightness(0.55) contrast(1.1);
	-webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0%, #000 22%), linear-gradient(#000 55%, rgba(0,0,0,0) 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0%, #000 22%), linear-gradient(#000 55%, rgba(0,0,0,0) 100%);
	mask-composite: intersect;
	pointer-events: none;
}
.hero__shade {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(180deg, rgba(11,11,12,0) 70%, #0B0B0C 100%), linear-gradient(90deg, #0B0B0C 0%, rgba(11,11,12,0.7) 35%, rgba(11,11,12,0) 60%, rgba(11,11,12,0.2) 100%);
	pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
.hero__eyebrow { margin-bottom: 32px; }
.hero__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 112px;
	color: var(--text);
	letter-spacing: -0.035em;
	line-height: 0.94;
}
.hero__title em { color: var(--accent); font-style: italic; }
.hero__lead { max-width: 560px; margin: 32px 0 40px; font-size: 20px; }
.hero__lead em { font-family: var(--serif); font-style: italic; font-size: 1.12em; color: var(--text); }
/* The center line is marked in the center's red, as in the reader */
.hero__lead em { padding: 0 .15em; border-radius: 3px; background-color: color-mix(in srgb, var(--center) 22%, transparent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* The mirror rule: a, b, c, the center, c′, b′, a′ in the outline's own colors. Color on FORMA
   means structure, so the site's color comes from shapes like this, not from buttons. */
.mirror-rule { display: flex; align-items: center; gap: 6px; width: 100%; max-width: 420px; }
.mirror-rule i { flex: 1; height: 4px; border-radius: 2px; background-color: #6BA04F; }
.mirror-rule i:is(:nth-child(1), :nth-child(7)) { flex-grow: 3; background-color: #3F7CAC; }
.mirror-rule i:is(:nth-child(2), :nth-child(6)) { flex-grow: 2; background-color: #C2557A; }
.mirror-rule i:nth-child(4) { flex: none; display: flex; width: 14px; height: 14px; border-radius: 0; background-color: transparent; color: var(--center); }
.mirror-rule i:nth-child(4) svg { width: 100%; height: 100%; }
.hero__rule { margin-top: 32px; justify-self: start; transform-origin: center; animation: forma-rule-in 1s cubic-bezier(.2,.7,.2,1) .35s both; }
.hero__rule i:nth-child(4) { width: 20px; height: 20px; }
.band__rule { width: 168px; margin-bottom: 28px; }
@keyframes forma-rule-in { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
/* Links to formabible.com/#email land with the form in the middle of the screen, clear of the menu */
.home #email { scroll-margin-top: calc(50vh - 24px); }

/* The hero slides up under the see-through menu (the menu's fade needs scroll-linked animation) */
@supports (animation-timeline: scroll()) {
	.hero { margin-top: -72px; padding-top: 168px; }
	.hero__shade { background-image: linear-gradient(rgba(11,11,12,.8) 0px, rgba(11,11,12,0) 180px), linear-gradient(rgba(11,11,12,0) 70%, rgb(11,11,12) 100%), linear-gradient(60deg, rgb(11,11,12) 0%, rgba(11,11,12,.7) 28%, rgba(11,11,12,0) 55%, rgba(11,11,12,.2) 100%); }
}

/* The flood as a mirror */
.mirror {
	align-self: center;
	padding: 26px 26px 18px;
	border: 1px solid #2A2A2E;
	border-radius: 22px;
	background-color: rgba(20, 20, 22, 0.86);
}
.mirror__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid #2A2A2E;
}
.mirror__title { font-family: var(--serif); font-size: 26px; color: var(--text); line-height: 1.2; }
.mirror__ref { font-family: var(--sans); font-size: 13px; color: var(--dim); }
.mirror__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 8px;
	border-radius: 12px;
	cursor: default;
	animation: forma-mirror-in 700ms ease-out both;
	transition: background-color .25s ease;
}
.mirror__row--step1 { padding-left: 38px; }
.mirror__row--step2 { padding-left: 68px; }
.mirror__row--step3 { padding-left: 98px; }
.mirror__row--center { background-color: color-mix(in srgb, var(--center) 10%, transparent); }
.mirror__row > * { transition: color .25s ease, filter .25s ease; }
@keyframes forma-mirror-in { from { opacity: 0; } to { opacity: 1; } }
.mirror__row:nth-child(1) { animation-delay: 450ms; }
.mirror__row:nth-child(2) { animation-delay: 570ms; }
.mirror__row:nth-child(3) { animation-delay: 690ms; }
.mirror__row:nth-child(4) { animation-delay: 810ms; }
.mirror__row:nth-child(5) { animation-delay: 930ms; }
.mirror__row:nth-child(6) { animation-delay: 1050ms; }
.mirror__row:nth-child(7) { animation-delay: 1170ms; }
.mirror__badge {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 7px 2px;
	border-radius: 15px;
	font-family: var(--serif);
	font-weight: 700;
	font-size: 18px;
	color: #FFFFFF;
	line-height: 1;
}
.mirror__badge--a { background-color: #3F7CAC; }
.mirror__badge--b { background-color: #C2557A; }
.mirror__badge--c { background-color: #6BA04F; }
.mirror__badge--center { padding: 0; background-color: var(--center); color: #FFFFFF; }
.mirror__badge--center svg { width: 12px; height: 12px; }
.mirror__name { flex: 1 1 auto; min-width: 0; font-family: var(--serif); font-size: 19px; color: #C9C9CE; line-height: 1.3; }
.mirror__row--center .mirror__name { font-size: 22px; color: var(--text); line-height: 1.25; font-style: italic; }
.mirror__verses { flex: 0 0 auto; font-family: var(--sans); font-size: 13px; color: #6E6E74; }
.mirror__row--center .mirror__verses { color: var(--dim); }
/* Pointing at a step lights it and its match; the other steps dim */
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(1):hover, > :nth-child(7):hover) > :is(:nth-child(1), :nth-child(7)),
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(2):hover, > :nth-child(6):hover) > :is(:nth-child(2), :nth-child(6)),
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(3):hover, > :nth-child(5):hover) > :is(:nth-child(3), :nth-child(5)) { background-color: rgba(255, 255, 255, 0.06); }
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(1):hover, > :nth-child(7):hover) > :is(:nth-child(1), :nth-child(7)) > .mirror__name,
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(2):hover, > :nth-child(6):hover) > :is(:nth-child(2), :nth-child(6)) > .mirror__name,
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(3):hover, > :nth-child(5):hover) > :is(:nth-child(3), :nth-child(5)) > .mirror__name { color: var(--text); }
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(1):hover, > :nth-child(7):hover) > :not(:nth-child(1), :nth-child(7), :nth-child(4)) > :not(:first-child),
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(2):hover, > :nth-child(6):hover) > :not(:nth-child(2), :nth-child(6), :nth-child(4)) > :not(:first-child),
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(3):hover, > :nth-child(5):hover) > :not(:nth-child(3), :nth-child(5), :nth-child(4)) > :not(:first-child) { color: #6E6E74; }
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(1):hover, > :nth-child(7):hover) > :not(:nth-child(1), :nth-child(7), :nth-child(4)) > :first-child,
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(2):hover, > :nth-child(6):hover) > :not(:nth-child(2), :nth-child(6), :nth-child(4)) > :first-child,
.mirror__rows:not(.mirror__rows--five):has(> :nth-child(3):hover, > :nth-child(5):hover) > :not(:nth-child(3), :nth-child(5), :nth-child(4)) > :first-child { filter: saturate(.3) brightness(.7); }

/* ── Homepage: the four layers ──────────────────────────────────────── */
.layers { padding-top: calc(120px * var(--space)); border-top: 1px solid rgba(255, 255, 255, 0.06); background-color: var(--panel); }
.layers__title em { display: block; }
/* "You just see more of it." is marked as the Themes layer marks a word */
.layers__title em { text-decoration: underline; text-decoration-color: rgba(111, 207, 151, .42); text-decoration-thickness: .3em; text-underline-offset: -.06em; text-decoration-skip-ink: none; }
.layers__lead { margin-top: 0; }

/* The slides: one layer's text at a time, chosen with the tabs underneath */
.slides { display: grid; grid-template-columns: 1fr; }
.slides__viewport { overflow: hidden; }
.slides__track { display: flex; gap: 24px; transition: transform 600ms ease; }
.slides__slide { display: flex; flex-direction: column; gap: 12px; flex: 0 0 100%; min-width: 0; padding: 10px 0; }
.slides__title { font-size: 44px; }
.slides__text { max-width: 440px; font-size: 18px; }
.slides__tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; padding-top: 20px; }
.slides__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background-color: #1E1E21;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: var(--dim);
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.slides__tab:hover { color: var(--text); border-color: #4A4A50; }
.slides__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.slides__tab--all { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.slides__tab[aria-selected="true"] { background-color: var(--text); border-color: var(--text); color: var(--night); }
.slides__tab--all[aria-selected="true"] { background-color: var(--accent); border-color: var(--accent); }
/* Each tab carries its layer's own mark, as the reader draws it: the genre bar, a structure
   badge, a theme highlight, the connection badges' link. The slide's label gets the same mark. */
.slides__mark { flex: none; display: inline-block; margin-right: 8px; }
.slides__mark--genre { width: 3px; height: 14px; border-radius: 2px; background-color: #6E7F99; }
.slides__mark--structure { width: 10px; height: 10px; border-radius: 50%; background-color: #C2557A; }
.slides__mark--themes { width: 14px; height: 8px; border-radius: 2px; background-color: rgba(242, 153, 74, .75); }
.slides__mark--connections { width: 14px; height: 12px; color: inherit; }
.slides__slide .eyebrow { display: flex; align-items: center; gap: 10px; }
.slides__slide .eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
#layer-slide-genre .eyebrow::before { width: 3px; height: 14px; border-radius: 2px; background-color: #6E7F99; }
#layer-slide-structure .eyebrow::before { background-color: #C2557A; }
#layer-slide-themes .eyebrow::before { width: 14px; height: 8px; border-radius: 2px; background-color: rgba(242, 153, 74, .75); }
#layer-slide-connections .eyebrow::before { width: 14px; height: 12px; border-radius: 0; background-color: #9A9AA0; -webkit-mask: url("../icons/link.svg") center / contain no-repeat; mask: url("../icons/link.svg") center / contain no-repeat; }
#layer-slide-all .eyebrow::before { display: none; }

/* The phone: it stays put while the chosen layer turns on. Its stage reaches past the phone on
   every side to leave room for the gold halo, fades out at the bottom, and lets clicks through. */
.layers__stage {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	pointer-events: none;
}
.demo {
	width: 300px;
	height: 640px;
	padding: 10px 10px 0;
	border-radius: 50px 50px 0 0;
	background-color: #000000;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 0 120px 0 rgba(242, 201, 76, 0.10); /* the gold halo, kept by choice (2026-11-29) */
	flex: none;
}
.demo__screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 40px 40px 0 0; background-color: var(--night); }
.demo__top {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 12px 9px;
	border-bottom: 1px solid var(--line);
	background-color: var(--night);
}
.demo__status { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 13px 14px 2px 16px; }
.demo__time { font-family: var(--sans); font-weight: 600; font-size: 12px; color: var(--text); line-height: 1; }
.demo__icons { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: var(--text); }
.demo__icon { width: 11px; height: 11px; }
.demo__icon--battery { width: 16px; }
.demo__nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.demo__prev, .demo__next { width: 10px; height: 10px; flex: none; }
.demo__prev { color: #55555B; }
.demo__next { color: var(--text); }
.demo__pill {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background-color: #1E1E21;
}
.demo__pill-text { display: flex; flex-direction: column; gap: 1px; }
.demo__pill-title { font-family: var(--sans); font-weight: 700; font-size: 11.5px; color: var(--text); line-height: 1.2; }
.demo__pill-sub { font-family: var(--sans); font-size: 8.5px; color: var(--dim); line-height: 1.2; }
.demo__pill-chevron { width: 9px; height: 9px; color: var(--dim); flex: none; }
.demo__chips { display: flex; flex-wrap: nowrap; align-items: center; gap: 3px; }
.demo__chip {
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background-color: #1E1E21;
	font-family: var(--sans);
	font-weight: 700;
	font-size: 9.5px;
	color: var(--text);
	line-height: 1;
	white-space: nowrap;
	transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.demo__outline {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	min-width: 23px;
	height: 23px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background-color: #1E1E21;
	color: var(--text);
	opacity: .35;
	transition: opacity .35s ease;
}
.demo__outline svg { width: 10px; height: 10px; }
.demo__body { display: flex; flex-direction: column; margin-top: -58px; padding: 0 13px 0 12px; }
.demo__row { display: flex; align-items: stretch; padding: 1px 0; }
.demo__bar {
	flex: 0 0 auto;
	width: 0;
	margin-right: 0;
	border-radius: 2px;
	background-color: #6E7F99;
	transform: scaleY(0);
	transform-origin: top;
	transition: width .4s ease, margin-right .4s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.demo__bar--dialogue { background-color: #6F9168; }
.demo__bar--2 { transition-delay: 0s, 0s, .12s; }
.demo__bar--3 { transition-delay: 0s, 0s, .24s; }
.demo__bar--4 { transition-delay: 0s, 0s, .4s; }
.demo__bar--5 { transition-delay: 0s, 0s, .5s; }
.demo__verse { flex: 1 1 auto; padding: 2px 0; font-family: var(--serif); font-size: 13px; color: var(--text); line-height: 20px; }
.demo__verse b { font-family: var(--serif); font-weight: 600; font-size: 9px; color: var(--dim); }
/* Theme words: their color washes in from the left, one after another */
.demo__verse span { border-radius: 2px; background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; transition: background-size .45s ease; }
.t-green { background-image: linear-gradient(rgba(111,207,151,.4), rgba(111,207,151,.4)); }
.t-orange { background-image: linear-gradient(rgba(242,153,74,.4), rgba(242,153,74,.4)); }
.t-gold { background-image: linear-gradient(rgba(242,201,76,.4), rgba(242,201,76,.4)); } /* a theme's own color, as in the app */
.t-purple { background-image: linear-gradient(rgba(187,107,217,.4), rgba(187,107,217,.4)); }
.t-gray { background-image: linear-gradient(rgba(166,166,166,.4), rgba(166,166,166,.4)); }
.t-red { background-image: linear-gradient(rgba(235,87,87,.4), rgba(235,87,87,.4)); }
.demo__row:nth-child(1) span:nth-of-type(1) { transition-delay: 0s; }
.demo__row:nth-child(4) span:nth-of-type(1) { transition-delay: .12s; }
.demo__row:nth-child(4) span:nth-of-type(2) { transition-delay: .24s; }
.demo__row:nth-child(5) span:nth-of-type(1) { transition-delay: .36s; }
.demo__row:nth-child(5) span:nth-of-type(2) { transition-delay: .48s; }
.demo__row:nth-child(8) span:nth-of-type(1) { transition-delay: .6s; }
.demo__row:nth-child(8) span:nth-of-type(2) { transition-delay: .72s; }
.demo__row:nth-child(9) span:nth-of-type(1) { transition-delay: .84s; }
.demo__marks { display: flex; flex-wrap: wrap; align-items: flex-start; padding-left: 0; transition: padding-left .4s ease; }
.demo__mark {
	max-width: 100%;
	max-height: 0;
	margin: 0 4px 0 0;
	overflow: hidden;
	opacity: 0;
	flex: 0 1 auto;
	transition: max-height .5s ease, opacity .35s ease, margin .5s ease;
}
.demo__badge {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	padding: 3px 7px;
	border-radius: 9px;
	transform: translateY(-6px) scale(.96);
	transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.demo__badge--structure { border: 1px solid color-mix(in srgb, var(--text) 55%, transparent); background-color: var(--night); }
.demo__badge--connection { border: 1px solid var(--line); background-color: #1E1E21; }
.demo__badge svg { width: 8px; height: 8px; min-width: 8px; color: var(--text); }
.demo__badge p { flex: 0 1 auto; font-family: var(--sans); font-weight: 600; font-size: 8.5px; color: var(--text); line-height: 1.3; }
.demo__banner {
	max-height: 0;
	margin: 0;
	overflow: hidden;
	opacity: 0;
	clip-path: inset(0 100% 0 0 round 9px);
	transition: max-height .5s ease, margin .5s ease, opacity .3s ease, clip-path .7s cubic-bezier(.2,.7,.2,1);
}
.demo__banner-card {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 7px;
	padding: 7px;
	border: 1px solid #C2557A;
	border-radius: 9px;
	background-color: rgba(194,85,122,0.2);
}
.demo__banner-badge { display: flex; align-items: center; justify-content: center; width: 24px; min-width: 24px; height: 24px; border-radius: 50%; background-color: #C2557A; }
.demo__banner-badge p { margin-top: -3px; font-family: var(--serif); font-weight: 700; font-size: 16px; color: #FFFFFF; line-height: 1; }
.demo__banner-text { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-width: 0; }
.demo__banner-title { font-family: var(--sans); font-weight: 700; font-size: 11px; color: var(--text); line-height: 1.25; }
.demo__banner-sub { font-family: var(--sans); font-size: 8.5px; color: var(--dim); line-height: 1.25; }
.demo__banner-chevron { width: 9px; height: 9px; margin-right: 3px; color: var(--dim); flex: none; }
.demo__tag {
	max-height: 0;
	padding: 0;
	overflow: hidden;
	opacity: 0;
	font-family: var(--sans);
	font-weight: 700;
	font-size: 8px;
	color: #6F9168;
	letter-spacing: 0.08em;
	transition: max-height .45s ease, opacity .35s ease, padding .45s ease;
}

/* Each layer's tab turns its part of the phone on; All four turns everything on */
.layers:is([data-layer="genre"], [data-layer="all"]) .demo__bar { width: 3px; margin-right: 7px; transform: scaleY(1); }
.layers:is([data-layer="genre"], [data-layer="all"]) .demo__marks { padding-left: 10px; }
.layers:is([data-layer="genre"], [data-layer="all"]) .demo__tag { max-height: 24px; opacity: 1; padding: 9px 0 2px 10px; }
.layers:is([data-layer="genre"], [data-layer="all"]) .demo__chip--genre,
.layers:is([data-layer="structure"], [data-layer="all"]) .demo__chip--structure,
.layers:is([data-layer="themes"], [data-layer="all"]) .demo__chip--themes,
.layers:is([data-layer="connections"], [data-layer="all"]) .demo__chip--connections { background-color: var(--text); color: var(--night); border-color: var(--text); }
.layers:is([data-layer="structure"], [data-layer="all"]) .demo__banner { max-height: 70px; opacity: 1; margin: 12px 0 4px; clip-path: inset(0 0 0 0 round 9px); }
.layers:is([data-layer="structure"], [data-layer="all"]) .demo__mark--structure,
.layers:is([data-layer="connections"], [data-layer="all"]) .demo__mark--connection { max-height: 60px; opacity: 1; margin-top: 3px; margin-bottom: 6px; }
.layers:is([data-layer="structure"], [data-layer="all"]) .demo__mark--structure .demo__badge,
.layers:is([data-layer="connections"], [data-layer="all"]) .demo__mark--connection .demo__badge { transform: none; }
.layers:is([data-layer="structure"], [data-layer="all"]) .demo__outline { opacity: 1; }
.layers:is([data-layer="themes"], [data-layer="all"]) .demo__verse span { background-size: 100% 100%; }

/* ── Homepage: light sections ───────────────────────────────────────── */
.section--gray { background-color: #F2F2F4; }
.section--white { background-color: #FFFFFF; }
.section--gray .display, .section--white .display { color: var(--light-text); }
.section--gray .display em, .section--white .display em { color: var(--light-accent); }

/* Five books. One design. */
.shape { border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
.shape__row { display: grid; grid-template-columns: 330px minmax(0, 468px); justify-content: center; align-items: center; column-gap: 96px; }
.shape__copy { grid-column: 2; grid-row: 1; }
.shape__phone { grid-column: 1; grid-row: 1; }
.shape__title { font-weight: 500; }
.shape .display em { color: var(--center-dark); }
.shape .lead { color: var(--light-dim); }
.shape__quote { margin-top: 48px; padding: 12px 10px 12px 28px; border-left: 2px solid var(--center); }
.shape__quote-label { margin-bottom: 10px; font-family: var(--sans); font-weight: 600; font-size: 11px; color: var(--center); letter-spacing: 0.16em; text-transform: uppercase; }
.shape__quote-text { font-family: var(--serif); font-size: 28px; color: var(--light-text); line-height: 1.3; font-style: italic; }
.shape__phone {
	justify-self: center;
	width: 330px;
	max-width: 100%;
	margin: 0 auto;
	padding: 9px;
	border-radius: 50px;
	background-color: var(--light-text);
	box-shadow: 0 24px 60px 0 rgba(17,17,19,0.18);
}
.shape__phone img { width: 100%; border-radius: 41px; }

/* The launch-list band */
.band {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: calc(112px * var(--space)) 24px;
	background-color: var(--night);
	text-align: center;
}
.band__eyebrow { margin-bottom: 18px; font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--dim); letter-spacing: 0.18em; text-transform: uppercase; }
.band__line { max-width: 640px; font-family: var(--serif); font-size: 44px; color: var(--text); letter-spacing: -0.015em; line-height: 1.2; }
.band__form { margin-top: 36px; justify-content: center; }
.band__form .signup__note { text-align: center; }

/* What sets FORMA apart? */
.features { border-top: 1px solid transparent; }
.features__title { max-width: 820px; }
.features__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 72px;
	border-top: 1px solid #E3E3E6;
	border-left: 1px solid #E3E3E6;
}
.feature {
	padding: 40px 36px 44px;
	border-right: 1px solid #E3E3E6;
	border-bottom: 1px solid #E3E3E6;
	transition: background-color .3s;
}
.feature:hover { background-color: #F7F7F8; }
.feature__glyph { height: 44px; margin-bottom: 28px; font-size: 44px; line-height: 1; color: var(--light-text); }
.feature__glyph svg { width: 44px; height: 44px; }
.feature__glyph--hebrew { font-family: "Noto Serif Hebrew", serif; }
.feature__glyph--text { font-family: var(--serif); }
.feature__title { font-size: 28px; color: var(--light-text); }
.feature__text { color: var(--light-dim); }

/* Good to know. */
.faq { border-top: 1px solid transparent; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: 80px; }
.faq__list { border-top: 1px solid #DCDCE0; }
.faq__item { border-bottom: 1px solid #DCDCE0; interpolate-size: allow-keywords; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s ease allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--serif);
	font-size: 26px;
	color: var(--light-text);
	line-height: 1.25;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { opacity: .8; }
.faq__icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; width: 20px; height: 20px; color: #6B6B70; }
.faq__icon svg { width: 14px; height: 16px; margin: 4px 2px 0 0; transition: transform .3s ease; }
.faq__item[open] .faq__icon svg { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 28px 0; }
.faq__answer p { font-family: var(--sans); font-size: 17px; color: var(--light-dim); line-height: 1.7; }

/* ── Text pages (Privacy Policy, Help) ───────────────────────────── */
/* The page starts --page-start below the menu and ends --page-end above the footer, as every page
   does (48px on computers and 40px on phones at the top; 68px and 60px at the bottom, see parts.css). */
.text-page { padding: var(--page-start) 32px var(--page-end); background-color: var(--night); font-family: var(--sans); }
.text-page__wrap { max-width: 720px; margin: 0 auto; }
.text-page h1 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 72px;
	color: var(--text);
	letter-spacing: -0.025em;
	line-height: 1;
}
.text-page h1 em { color: var(--accent); font-style: italic; }
.text-page .page-lead { margin-top: 24px; font-size: 19px; color: #C9C9CE; line-height: 1.6; }
.text-page .page-date { margin-top: 20px; font-size: 12px; color: #6B6B70; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.5; }
.text-page h2 {
	margin: 48px 0 16px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
	font-family: var(--serif);
	font-weight: 400;
	font-size: 30px;
	color: var(--text);
	line-height: 1.2;
}
.text-page h2 ~ h2 { margin-top: 32px; }
.text-page p, .text-page ul { margin-bottom: 16px; font-size: 17px; color: var(--dim); line-height: 1.7; }
.text-page ul { padding-left: 1.2em; list-style: disc; }
.text-page li { margin-bottom: 8px; }
.text-page li::marker { color: var(--accent); }
.text-page strong { color: var(--text); font-weight: 600; }
.text-page p a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.text-page p a:hover { text-decoration-color: var(--accent); }
.text-page__wrap > :last-child { margin-bottom: 0; }

/* Help: the email card and the common questions */
.text-page .contact-card { margin: 40px 0 64px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background-color: var(--panel); }
.text-page .contact-card__title { margin-bottom: 10px; font-family: var(--serif); font-size: 30px; color: var(--text); line-height: 1.2; }
.text-page .contact-card__text { margin-bottom: 24px; line-height: 1.6; }
.text-page .contact-card p:last-child { margin-bottom: 0; }
.text-page .contact-card .button { padding: 14px 26px; color: var(--night); text-decoration: none; }
.text-page .questions-title { margin: 0 0 8px; padding: 0; border: 0; font-size: 38px; line-height: 1.15; }
.text-page h3 { margin: 0; padding-top: 28px; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--text); line-height: 1.25; margin-bottom: 10px; }
.text-page h3 + p { margin: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
/* The last answer has no line under it: the footer's own line closes the list. */
.text-page h3 + p:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

/* Five-row mirrors (About's Babel): the first pairs with the fifth, the second with the fourth, around the center */
.mirror__rows--five:has(> :nth-child(1):hover, > :nth-child(5):hover) > :is(:nth-child(1), :nth-child(5)),
.mirror__rows--five:has(> :nth-child(2):hover, > :nth-child(4):hover) > :is(:nth-child(2), :nth-child(4)) { background-color: rgba(255, 255, 255, 0.06); }
.mirror__rows--five:has(> :nth-child(1):hover, > :nth-child(5):hover) > :is(:nth-child(1), :nth-child(5)) > .mirror__name,
.mirror__rows--five:has(> :nth-child(2):hover, > :nth-child(4):hover) > :is(:nth-child(2), :nth-child(4)) > .mirror__name { color: var(--text); }
.mirror__rows--five:has(> :nth-child(1):hover, > :nth-child(5):hover) > :not(:nth-child(1), :nth-child(5), :nth-child(3)) > :not(:first-child),
.mirror__rows--five:has(> :nth-child(2):hover, > :nth-child(4):hover) > :not(:nth-child(2), :nth-child(4), :nth-child(3)) > :not(:first-child) { color: #6E6E74; }
.mirror__rows--five:has(> :nth-child(1):hover, > :nth-child(5):hover) > :not(:nth-child(1), :nth-child(5), :nth-child(3)) > :first-child,
.mirror__rows--five:has(> :nth-child(2):hover, > :nth-child(4):hover) > :not(:nth-child(2), :nth-child(4), :nth-child(3)) > :first-child { filter: saturate(.3) brightness(.7); }

/* ── About ──────────────────────────────────────────────────────────── */
/* The page's content runs full width (page-about.php). Each section is a Group block; on classic
   themes WordPress wraps a group's blocks in an inner container, which steps out of the layout. */
.about-page { background-color: var(--night); font-family: var(--sans); color: var(--text); }
.about-page .wp-block-group__inner-container { display: contents; }
:where(.about-page) > section {
	position: relative;
	overflow: hidden;
	padding: calc(140px * var(--space)) max(32px, (100% - 1180px) / 2);
}
.about-page .display { margin: 0; }
.about-page .eyebrow { margin-bottom: 24px; }
.about-page figure { margin: 0; }
.reveal--late { --reveal-delay: 150ms; }

/* Hero: the title, and the word forma as a dictionary entry */
.about-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 80px;
	min-height: min(84vh, 860px);
	padding-top: 96px;
	background:
		radial-gradient(ellipse 50% 60% at 80% 45%, color-mix(in srgb, var(--accent) 4%, transparent), transparent 70%),
		var(--night);
}
/* A huge, faint "forma" set behind everything */
.about-hero::before {
	content: "forma";
	position: absolute;
	right: -0.04em;
	bottom: -0.3em;
	font-family: var(--serif);
	font-style: italic;
	font-size: min(30vw, 440px);
	color: rgba(255, 255, 255, 0.025);
	letter-spacing: -0.04em;
	line-height: 1;
	pointer-events: none;
}
.about-hero > * { position: relative; }
.about-hero .pill { margin-bottom: 32px; }
.about-hero__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 108px;
	color: var(--text);
	letter-spacing: -0.035em;
	line-height: 0.94;
}
.about-hero__title em { color: var(--accent); font-style: italic; }
.about-hero__lead { max-width: 520px; margin-top: 32px; font-size: 20px; }

.lexicon {
	padding: 34px 36px 30px;
	border: 1px solid #2A2A2E;
	border-radius: 22px;
	background-color: rgba(20, 20, 22, 0.86);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.lexicon__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #2A2A2E; }
.lexicon__word { font-family: var(--serif); font-style: italic; font-size: 64px; color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.lexicon__tag { font-size: 12px; color: var(--dim); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.lexicon__senses { padding: 10px 0; }
.lexicon__senses li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--serif); font-size: 21px; color: #C9C9CE; line-height: 1.35; }
.lexicon__senses li + li { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.lexicon__num { flex: 0 0 auto; width: 18px; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--accent); }
.lexicon__foot { padding-top: 18px; border-top: 1px solid #2A2A2E; font-size: 15px; color: var(--dim); line-height: 1.65; }

/* What is literary design: the copy and the Babel mirror, on light gray */
.about-design {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
	align-items: center;
	gap: 96px;
	background-color: #F2F2F4;
}
.about-design .eyebrow { color: var(--light-dim); }
.about-design .display { font-weight: 500; color: var(--light-text); }
.about-design .display em { color: var(--center-dark); }
.about-design .lead { color: var(--light-dim); }
.about-design__body { margin-top: 20px; max-width: 620px; font-size: 17px; color: var(--light-dim); line-height: 1.7; }
.about-design .mirror { padding: 26px 26px 18px; box-shadow: 0 24px 60px rgba(17, 17, 19, 0.22); background-color: #141416; }
.about-mirror .mirror__badge--center { padding: 0 0 1px; font-family: var(--sans); font-size: 13px; font-weight: 400; }
.about-design__note { margin-top: 36px; padding: 6px 0 6px 26px; border-left: 2px solid var(--center); }
.about-design__note-label { margin-bottom: 10px; font-weight: 600; font-size: 11px; color: var(--center); letter-spacing: 0.16em; text-transform: uppercase; }
.about-design__note-quote { font-family: var(--serif); font-style: italic; font-size: 25px; color: var(--light-text); line-height: 1.3; }
.about-design__note-text { margin-top: 12px; font-size: 15px; color: var(--light-dim); line-height: 1.65; }

/* The four layers */
.about-layers { border-top: 1px solid rgba(255, 255, 255, 0.06); background-color: var(--panel); }
.about-layers__head { max-width: 760px; }
.about-layers__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 72px;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}
.about-layer { padding: 36px 30px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.about-layer:hover { background-color: rgba(255, 255, 255, 0.03); }
.about-layer__num { height: 44px; margin-bottom: 28px; font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--accent); line-height: 1; }
.about-layer__title { margin-bottom: 12px; font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--text); letter-spacing: -0.01em; line-height: 1.1; }
.about-layer__text { font-size: 16px; color: var(--dim); line-height: 1.65; }

/* Who's behind FORMA, on white */
.about-person {
	display: grid;
	grid-template-columns: 360px minmax(0, 560px);
	justify-content: center;
	align-items: center;
	column-gap: 96px;
	background-color: #FFFFFF;
}
.about-person__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 60px rgba(17, 17, 19, 0.18); }
.about-person .eyebrow { color: var(--light-dim); }
.about-person .display { color: var(--light-text); }
.about-person .display em { color: var(--light-accent); }
.about-person__role { margin: 14px 0 28px; font-weight: 600; font-size: 12px; color: var(--light-dim); letter-spacing: 0.16em; text-transform: uppercase; }
.about-person__copy p:not(.eyebrow, .about-person__role) { margin-bottom: 16px; font-size: 17px; color: var(--light-dim); line-height: 1.7; }
.about-person__copy p:not(.eyebrow, .about-person__role):last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
	:where(.about-page) > section { padding: calc(100px * var(--space)) 28px; }
	.about-hero { grid-template-columns: 1fr; gap: 56px; min-height: 0; padding-top: 72px; }
	.about-hero__title { font-size: 88px; }
	.about-hero .lexicon { max-width: 560px; }
	.about-design { grid-template-columns: 1fr; gap: 56px; }
	.about-design__figure { max-width: 560px; }
	.about-layers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-person { grid-template-columns: 280px minmax(0, 1fr); column-gap: 56px; }
}
@media (max-width: 767px) {
	:where(.about-page) > section { padding: calc(80px * var(--space)) 20px; }
	.about-hero { gap: 44px; padding-top: 48px; }
	.about-hero__title { font-size: 60px; }
	.about-hero__lead { font-size: 17px; }
	.lexicon { padding: 26px 22px 22px; }
	.lexicon__word { font-size: 52px; }
	.lexicon__senses li { font-size: 19px; }
	.about-design { gap: 44px; }
	.about-design .mirror { padding: 20px 14px 12px; }
	.about-mirror .mirror__title { font-size: 22px; }
	.about-mirror .mirror__ref { white-space: nowrap; }
	.about-design__note-quote { font-size: 22px; }
	.about-layers__grid { grid-template-columns: 1fr; margin-top: 48px; }
	.about-layer { padding: 28px 24px 32px; }
	.about-layer__num { height: auto; margin-bottom: 16px; font-size: 36px; }
	.about-layer__title { font-size: 26px; }
	.about-person { grid-template-columns: 1fr; row-gap: 40px; }
	.about-person__photo { width: 220px; }
}

/* ── 404 ────────────────────────────────────────────────────────────── */
.not-found {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: 100px 32px 160px;
	background-color: var(--night);
	text-align: center;
}
.not-found__inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 760px; margin: 0 auto; }
.not-found__title { font-size: 88px; line-height: 0.98; text-align: center; }
.not-found__lead { max-width: 560px; margin: 36px auto 40px; text-align: center; text-wrap: balance; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Desktop only (≥1025px): the layers section as one two-column layout ─ */
@media (min-width: 1025px) {
	/* Left: heading, lead, then the layer text and tabs. Right: the phone, its fade ending level
	   with the bottom of the tabs. */
	.layers__wrap { display: grid; grid-template-columns: minmax(580px, 1fr) minmax(360px, 1fr); grid-template-rows: auto auto; column-gap: 64px; row-gap: 48px; }
	.layers__head { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr; gap: 24px; }
	.layers__lead { max-width: 600px; }
	.layers__copy { grid-column: 1; grid-row: 2; }
	.slides__title { font-size: 56px; }
	.slides__text { font-size: 20px; max-width: 460px; }
	.layers__stage {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: end;
		width: calc(100% + 320px);
		height: 760px;
		margin: -160px -160px 0;
		padding: 160px 160px 0;
		-webkit-mask-image: linear-gradient(#000 calc(100% - 193px), transparent);
		mask-image: linear-gradient(#000 calc(100% - 193px), transparent);
	}
	.demo { zoom: 1.2; }
}

/* ── Tablet and phone (≤1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
	.section { padding: calc(100px * var(--space)) 28px; }
	.display { font-size: 54px; }

	.hero { padding: 72px 28px calc(100px * var(--space)); }
	.hero__grid { grid-template-columns: 1fr; column-gap: 72px; row-gap: 0; }
	/* The flood mirror comes right after the lead, before the email form */
	.hero__copy { display: contents; }
	.hero__eyebrow { justify-self: start; }
	.mirror { order: 2; }
	.hero__form { order: 3; margin-top: 40px; }
	.hero__title { font-size: 88px; }
	.hero__form .signup__note { text-align: center; }

	.layers__head { margin-bottom: 48px; }
	.layers__lead { margin-top: 28px; }
	.layers__copy { margin-top: 44px; padding-top: 10px; }
	.layers__stage {
		width: calc(100% + 40px);
		height: 510px;
		margin: -76px -20px 0;
		padding: 110px 20px 0;
		-webkit-mask-image: linear-gradient(#000 calc(100% - 115px), transparent);
		mask-image: linear-gradient(#000 calc(100% - 115px), transparent);
	}

	.shape__row { grid-template-columns: 1fr; gap: 56px; }
	.shape__copy, .shape__phone { grid-column: auto; grid-row: auto; }

	.faq__grid { grid-template-columns: 1fr; gap: 40px; }


	.text-page h1 { font-size: 60px; }
	.not-found__title { font-size: 68px; }
}

/* ── Phone (≤767px) ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
	.section { padding: calc(80px * var(--space)) 20px; }
	.display { font-size: 40px; }
	.lead { font-size: 17px; }
	.card-title { font-size: 28px; }



	.hero { padding: 48px 20px calc(80px * var(--space)); }
	.hero__eyebrow { font-size: 10px; }
	.hero__title { font-size: 58px; }
	.hero__lead { font-size: 17px; }
	/* The engraving: not flipped, wider than the screen so the ark fills the top, and a little brighter */
	.hero__art {
		left: -30%;
		width: 160%;
		transform: none;
		filter: grayscale(1) brightness(.75) contrast(1.1);
		-webkit-mask-image: linear-gradient(#000 50%, rgba(0,0,0,0) 100%);
		mask-image: linear-gradient(#000 50%, rgba(0,0,0,0) 100%);
	}
	.hero__shade { background-image: linear-gradient(180deg, rgba(11,11,12,0.1) 0%, rgba(11,11,12,0.55) 40%, #0B0B0C 65%); }
	.mirror { padding: 20px 14px 14px; border-radius: 18px; }
	.mirror__row { gap: 10px; padding: 9px 6px; }
	.mirror__row--step1 { padding-left: 20px; }
	.mirror__row--step2 { padding-left: 34px; }
	.mirror__row--step3 { padding-left: 48px; gap: 9px; }
	.mirror__name { font-size: 17px; }
	.mirror__row--center .mirror__name { font-size: 18px; }

	.slides__title { font-size: 34px; }
	.slides__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: 100%; padding-top: 8px; }
	/* Two even rows: Genre, Structure, Themes / Connections, All four */
	.slides__tab { grid-column: span 2; width: 100%; height: 32px; padding: 0 8px; font-size: 13px; }
	.slides__tab:nth-child(4), .slides__tab:nth-child(5) { grid-column: span 3; }
	.layers__copy { margin-top: 28px; }
	.layers__stage { margin-top: -62px; }
	.demo { width: 292px; height: 540px; }
	.demo__chip { padding: 5px; font-size: 9px; }
	/* The phone's verses scroll so each layer's change is in view */
	.demo__body { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
	.layers[data-layer="genre"] .demo__body { transform: translateY(-140px); }
	.layers[data-layer="structure"] .demo__body { transform: translateY(-30px); }
	.layers[data-layer="themes"] .demo__body { transform: translateY(-60px); }
	.layers[data-layer="connections"] .demo__body { transform: translateY(-32px); }
	.layers[data-layer="all"] .demo__body { transform: translateY(-30px); }

	.shape__title { font-size: 44px; }
	.shape__quote-text { font-size: 23px; }
	.shape__phone { width: 280px; padding: 8px; border-radius: 44px; }
	.shape__phone img { border-radius: 36px; }

	.band { padding: calc(80px * var(--space)) 20px; }
	.band__line { font-size: 32px; }

	.features__grid { grid-template-columns: 1fr; margin-top: 48px; }
	.feature { padding: 32px 24px; }

	.faq__question { font-size: 21px; }
	.faq__answer { padding: 0 0 24px; }


	.text-page { padding: var(--page-start) 20px var(--page-end); }
	.text-page h1 { font-size: 46px; }
	.text-page .page-lead { font-size: 17px; }
	.text-page h2 { font-size: 26px; margin-top: 36px; }
	.text-page h2 ~ h2 { margin-top: 32px; }
	.text-page .contact-card { margin: 32px 0 48px; padding: 24px; }
	.text-page .contact-card__title { font-size: 26px; }
	.text-page .questions-title { font-size: 32px; }
	.text-page h3 { font-size: 21px; }

	.not-found { padding: 90px 20px 110px; }
	.not-found__title { font-size: 50px; }
}

/* ── Reduced motion: no fades, slides or pulses ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, ::before, ::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; }
}

/* The hero's room for the see-through menu, at each width */
@supports (animation-timeline: scroll()) {
	@media (max-width: 1024px) { .hero { padding-top: 144px; } }
	@media (max-width: 767px) {
		.hero { padding-top: 120px; }
		.hero__shade { background-image: linear-gradient(rgba(11,11,12,.8) 0px, rgba(11,11,12,0) 140px), linear-gradient(rgba(11,11,12,.1) 0%, rgba(11,11,12,.55) 40%, rgb(11,11,12) 65%); }
	}
}
