/*
 * Her profile, as moments.
 *
 * One screen holds one question and nothing else. Skip sits beside answer at
 * the same size and the same weight. Where she is is said in words rather
 * than counted, and what she wrote comes back to her before the next question
 * arrives.
 */

.moments {
	background: var(--logo-purple);
	color: var(--white);
	/*
	 * The padding used to live here, which inset every moment and turned the
	 * photograph behind it into a framed picture in a purple room. It sits on
	 * the moment's own inner block now, so the warmth reaches every edge.
	 */
	min-height: clamp(560px, 82svh, 860px);
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.moment { display: none; width: 100%; }

.moment.is-here {
	display: grid;
	align-content: center;

	/*
	 * A moment fills the window without being ruled by it. Her pane is narrow
	 * and very tall, and a plain full-height screen becomes a cathedral in it
	 * with her question stranded in the middle. Capped, so the window it opens
	 * in stops mattering.
	 */
	min-height: min(86svh, 780px);
}

.moment__in,
.made {
	max-width: 34rem;
	margin-inline: auto;
	text-align: center;

	/*
	 * The ending screens carry .made rather than .moment__in, so a padding on
	 * .moment__in alone left her own words touching both edges of her pane.
	 * Both wear it.
	 */
	padding: clamp(3rem, 9vh, 5rem) clamp(22px, 7vw, 3rem);
}

.made { max-width: 46rem; }

/* Where she is, in words rather than a number. */
.moment__where {
	font-family: var(--font-util);
	font-size: clamp(0.96rem, 3.6vw, 1.032rem);
	line-height: 1.7;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .58);
	margin: 0 0 clamp(2rem, 6vh, 3rem);
	min-height: 1.4em;
}

.moment__ask {
	font-family: var(--font-warm);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(1.9rem, 8.4vw, 3.2rem);
	line-height: 1.24;
	margin: 0;
}

.moment__why {
	font-family: var(--font-util);
	font-size: clamp(1.104rem, 4.2vw, 1.12rem);
	line-height: 1.8;
	color: rgba(255, 255, 255, .72);
	max-width: 34ch;
	margin: 1.4em auto 0;
}

/* The label is for a reader rather than the eye — the question above is it. */
.moment__label {
	position: absolute;
	left: -9999px;
}

.moment__say {
	display: block;
	width: 100%;
	margin: clamp(2.2rem, 7vh, 3.2rem) 0 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(222, 208, 242, .45);
	color: var(--white);
	font-family: var(--font-warm);
	font-style: italic;
	font-size: clamp(1.288rem, 5.15vw, 1.5rem);
	line-height: 1.6;
	text-align: center;
	padding: 12px 4px;
	resize: none;
}

.moment__say::placeholder { color: rgba(255, 255, 255, .38); }
.moment__say:focus { outline: 0; border-bottom-color: var(--white); }

/* Answer and skip, side by side, the same size and the same weight. */
.moment__acts {
	display: grid;
	justify-content: stretch;
	gap: 12px;
	max-width: 26rem;
	margin: clamp(2rem, 6vh, 2.8rem) auto 0;
}

.moment__act {
	font-family: var(--font-head);
	font-size: clamp(0.78rem, 2.86vw, 0.858rem);
	font-weight: 400;
	letter-spacing: .3em;
	text-indent: .3em;
	text-transform: uppercase;
	color: var(--white);
	background: transparent;
	border: 1px solid rgba(222, 208, 242, .45);
	padding: 17px 26px;
	border-radius: 3px;
	cursor: pointer;
	transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.moment--made:not(.moment--hand) .moment__act:not(.moment__act--quiet) {
	border-color: #F4B0C8;
	background: linear-gradient(150deg, #F4B0C8 0%, #C86FA8 34%, #8A2E96 72%, #5A0F92 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 8px 18px -12px rgba(20, 0, 40, .6);
}

.moment__act:hover,
.moment__act:focus-visible {
	background: var(--white);
	color: var(--logo-purple);
	border-color: var(--white);
}

.moment__act--quiet { border-color: rgba(222, 208, 242, .22); color: rgba(255, 255, 255, .66); }

/* What she wrote, given back in the type it will appear in. */
.moment__gave {
	font-family: var(--font-warm);
	font-style: italic;
	font-size: clamp(1.5rem, 6.4vw, 2.4rem);
	line-height: 1.4;
	margin: 0;
}

.moment__answer {
	font-family: var(--font-util);
	font-size: clamp(1.104rem, 4.2vw, 1.12rem);
	line-height: 1.8;
	color: rgba(255, 255, 255, .72);
	max-width: 32ch;
	margin: 1.6em auto 0;
}

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

/* ── What she has made ───────────────────────────────────────────────────
 *
 * Her own sentences, set in the house faces on the house ground, arranged so
 * they read as a statement rather than as answers. Nothing is added, nothing
 * is tidied, and nothing about her is inferred. The craft is entirely in the
 * setting and in where the words then go.
 * ───────────────────────────────────────────────────────────────────────── */

.moment--made .made {
	max-width: 40rem;
	margin-inline: auto;
	text-align: center;
}

.made__over {
	font-family: var(--font-head);
	font-size: clamp(0.78rem, 2.86vw, 0.884rem);
	letter-spacing: .38em;
	text-indent: .38em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	margin: 0 0 clamp(1.8rem, 5vh, 2.6rem);
}

.made__card {
	border: 1px solid rgba(222, 208, 242, .34);
	padding: clamp(2rem, 7vw, 3.2rem) clamp(1.5rem, 6vw, 2.6rem);
	text-align: left;
}

.made__where {
	font-family: var(--font-head);
	font-size: clamp(0.832rem, 3.12vw, 0.864rem);
	letter-spacing: .3em;
	text-indent: .3em;
	text-transform: uppercase;
	color: var(--lilac);
	margin: 0;
}

.made__big {
	font-family: var(--font-warm);
	font-style: italic;
	font-size: clamp(1.4rem, 6vw, 2.1rem);
	line-height: 1.42;
	color: var(--white);
	margin: .9em 0 0;
}

.made__line {
	font-family: var(--font-util);
	font-size: clamp(1.128rem, 4.2vw, 1.142rem);
	line-height: 1.85;
	color: rgba(255, 255, 255, .84);
	margin: 1.4em 0 0;
}

.made__line--warm {
	font-family: var(--font-warm);
	font-style: italic;
	font-size: clamp(1.176rem, 4.48vw, 1.3rem);
	line-height: 1.6;
	color: var(--lilac);
}

.made__week {
	font-family: var(--font-head);
	font-size: clamp(0.884rem, 3.38vw, 0.936rem);
	letter-spacing: .26em;
	text-indent: .26em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
	margin: 1.8em 0 0;
	padding-top: 1.4em;
	border-top: 1px solid rgba(222, 208, 242, .24);
}

.made__promise {
	font-family: var(--font-util);
	font-size: clamp(1.008rem, 3.84vw, 1.08rem);
	line-height: 1.8;
	color: rgba(255, 255, 255, .62);
	max-width: 38ch;
	margin: clamp(1.6rem, 5vh, 2.2rem) auto 0;
}

.made__after {
	font-family: var(--font-warm);
	font-style: italic;
	font-size: clamp(1.232rem, 4.93vw, 1.35rem);
	line-height: 1.5;
	color: var(--lilac);
	margin: 1.6em auto 0;
	min-height: 1.5em;
}

.made__card p:empty { display: none; }

/* The ending acts are links now rather than buttons, so they need a link's
   manners: no underline, and the same box a button had. */
a.moment__act {
	display: block;
	text-align: center;
	text-decoration: none;
}
