/* 1 — blaze: blurred figure in orange heat, black grotesque caps. */
.t-blaze { --bg: #f1440d; --ink: #0d0605; --sig: #ffd2a6; --grain: 0.5; --fit-top: 18cqh; --fit-bottom: 20cqh; --fit-x: 19cqw; }
.t-blaze .bg {
  background:
    radial-gradient(70cqw 46cqh at 4% 64%, #ff9c1c, transparent 72%),
    radial-gradient(60cqw 40cqh at 100% 34%, #ff6a14, transparent 70%),
    linear-gradient(180deg, #ee2c0b, #f35710 52%, #ea3a0c);
}
.t-blaze .bg > * { border-radius: 50%; filter: blur(6cqw); }
.t-blaze .head { left: 50cqw; top: 13cqh; width: 26cqw; height: 28cqw; background: #c41a08; }
.t-blaze .body { left: 28cqw; top: 31cqh; width: 50cqw; height: 52cqh; border-radius: 44% 44% 20% 20%; background: #b01207; }
.t-blaze .arm { left: -4cqw; top: 64cqh; width: 44cqw; height: 17cqw; rotate: -24deg; background: #bd1608; }
.t-blaze .legs { left: 32cqw; top: 76cqh; width: 46cqw; height: 34cqh; border-radius: 30%; background: #4d0a05; }
.t-blaze .quote { font-family: "Archivo", sans-serif; font-weight: 900; line-height: 0.92; letter-spacing: -0.035em; word-spacing: 0.1em; text-transform: uppercase; }
.t-blaze .author { font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; }
.t-blaze .sig { font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 2.9cqw; }

/* 2 — motion: runner in motion blur, white display serif with one italic word. */
.t-motion { --bg: #2c3037; --ink: #fff; --grain: 0.35; --fit-top: 30cqh; --fit-bottom: 30cqh; --fit-x: 9cqw; }
.t-motion .bg { background: linear-gradient(rgb(14 17 24 / 0.42), rgb(14 17 24 / 0.58)), url("../img/motion.webp") 40% 50% / cover; }
.t-motion .quote { font-family: "Playfair Display", serif; line-height: 1.12; letter-spacing: -0.012em; text-transform: uppercase; text-align: center; }
.t-motion .quote em { font-style: italic; }
.t-motion .author { font-family: "Playfair Display", serif; font-style: italic; text-align: center; }
.t-motion .sig { font-family: "Playfair Display", serif; }

/* 3 — void: white on black, the last thought underlined. */
.t-void { --bg: #000; --ink: #fff; --sig: #a3a3a3; --fit-top: 44cqh; --fit-bottom: 22cqh; --fit-x: 17cqw; --fit-align: flex-start; }
.t-void .quote { font-family: "Poppins", sans-serif; font-weight: 500; line-height: 1.2; letter-spacing: -0.012em; text-wrap: pretty; }
.t-void .quote em { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; }
.t-void .author { font-family: "Poppins", sans-serif; font-weight: 500; color: #a3a3a3; }
.t-void .sig { font-family: "Poppins", sans-serif; font-weight: 500; }

/* 4 — mat: cutting-mat grid in gold on green, the quote in a cleared cell. */
.t-mat { --bg: #0b5740; --ink: #fbfaf3; --line: #d8c366; --cell: 14cqw; --sig: #e6d68c; --grain: 0.2; }
.t-mat .bg {
  background:
    linear-gradient(to right, var(--bg) 0 8cqw, transparent 8cqw calc(100% - 8cqw), var(--bg) calc(100% - 8cqw)),
    linear-gradient(to right, var(--line) 1px, transparent 1px) 50cqw 50cqh / var(--cell) var(--cell),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px) 50cqw 50cqh / var(--cell) var(--cell),
    linear-gradient(to right, rgb(216 195 102 / 0.28) 1px, transparent 1px) 50cqw 50cqh / calc(var(--cell) / 5) calc(var(--cell) / 5),
    linear-gradient(to bottom, rgb(216 195 102 / 0.28) 1px, transparent 1px) 50cqw 50cqh / calc(var(--cell) / 5) calc(var(--cell) / 5),
    radial-gradient(60cqw 30cqh at 20% 22%, #11775a, transparent 70%),
    radial-gradient(70cqw 34cqh at 85% 70%, #0f6c52, transparent 70%),
    radial-gradient(50cqw 24cqh at 30% 92%, #073d2d, transparent 70%),
    var(--bg);
}
.t-mat .bg::before, .t-mat .bg::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.t-mat .bg::before { left: 8cqw; }
.t-mat .bg::after { right: 8cqw; }
.t-mat .tick {
  top: calc(50cqh + var(--k) * var(--cell));
  translate: 0 -50%;
  width: 8cqw;
  text-align: center;
  font: 500 2.3cqw/1 "Hanken Grotesk", sans-serif;
  color: var(--line);
}
.t-mat .tick.l { left: 0; }
.t-mat .tick.r { right: 0; }
.t-mat .arcs { left: 8cqw; top: calc(50cqh + 3 * var(--cell) - 84cqw); width: 84cqw; height: 84cqw; overflow: visible; stroke: var(--line); stroke-width: 0.2; opacity: 0.75; }
.t-mat .arcs .dash { stroke-dasharray: 0.8 0.8; }
.t-mat .fit {
  inset: calc(50cqh - var(--cell)) calc(50cqw - 2 * var(--cell)) auto;
  height: calc(2 * var(--cell) + 1px);
  padding: 1.5cqw 3cqw;
  border: 1px solid var(--line);
  background: radial-gradient(40cqw 20cqw at 60% 40%, #0f6a50, var(--bg));
}
.t-mat .quote { font-family: "Instrument Serif", serif; line-height: 1.06; letter-spacing: -0.01em; text-align: center; }
.t-mat .quote .s { display: block; }
.t-mat .author { margin-top: 0.7em; font: 500 3cqw/1.2 "Hanken Grotesk", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; color: var(--line); }
.t-mat .sig { font: 500 2.9cqw/1.2 "Hanken Grotesk", sans-serif; letter-spacing: 0.12em; left: 22cqw; right: 22cqw; bottom: 4cqh; background: var(--bg); padding: 0.6cqw 0; }

/* 5 — night: light streaks in the dark, a quiet book serif. */
.t-night { --bg: #0c0d09; --ink: #f4f1e6; --grain: 0.55; --fit-top: 24cqh; --fit-bottom: 22cqh; --fit-x: 11cqw; }
.t-night .bg { background: linear-gradient(rgb(6 7 4 / 0.2), rgb(6 7 4 / 0.45)), url("../img/night.webp") 40% 50% / cover; }
.t-night .quote { font-family: "Libre Baskerville", serif; line-height: 1.75; text-align: center; }
.t-night .quote .s { display: block; }
.t-night .author { font-family: "Libre Baskerville", serif; text-align: center; font-size: 3.3cqw; letter-spacing: 0.04em; }
.t-night .sig { font-family: "Libre Baskerville", serif; font-size: 3cqw; }

/* 6 — scribble: heavy black type on paper, marked up in red pen. */
.t-scribble { --bg: #f3f0ea; --ink: #0c0c0c; --pen: #c5221f; --fit-top: 20cqh; --fit-bottom: 24cqh; --fit-x: 11cqw; }
.t-scribble .quote { font-family: "League Spartan", sans-serif; font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.t-scribble .quote em, .t-scribble .quote .u { position: relative; white-space: nowrap; }
.t-scribble .quote em::after, .t-scribble .quote .u::after { content: ""; position: absolute; pointer-events: none; background: center / 100% 100% no-repeat; }
.t-scribble .quote em::after {
  inset: -0.24em -0.3em -0.04em -0.26em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M70 10C120 2 192 12 194 46 196 84 118 96 62 91 20 87 4 68 7 46 10 20 66 5 156 15' fill='none' stroke='%23c5221f' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
.t-scribble .quote .u::after {
  inset: auto -0.04em -0.2em -0.06em;
  height: 0.24em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13C40 7 130 4 196 9' fill='none' stroke='%23c5221f' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
.t-scribble .author { font-family: "Instrument Serif", serif; font-size: 4.4cqw; }
.t-scribble .sig { font-family: "Instrument Serif", serif; font-size: 3.9cqw; letter-spacing: 0; }

/* 7 — spotlight: three lamps on a wall at night, the words painted in the light. */
.t-spotlight { --bg: #14161c; --ink: #231e19; --sig: #9a9ca6; --grain: 0.6; --grain-blend: soft-light; }
.t-spotlight .bg { background: linear-gradient(180deg, #171a21, #101217); }
.t-spotlight .sky { inset: 0 0 auto 42cqw; height: 15cqh; background: linear-gradient(180deg, #1c3247, #2a4a66); clip-path: polygon(0 0, 100% 0, 100% 58%, 74% 58%, 74% 24%, 22% 24%, 22% 100%, 0 100%); }
.t-spotlight .wall { inset: 16cqh 16cqw 0 21cqw; background: linear-gradient(180deg, #1b1e25, #15171d 70%); }
.t-spotlight .pool {
  left: 21cqw; right: 16cqw; top: 25cqh; height: 84cqw;
  background:
    radial-gradient(ellipse 10cqw 30cqw at 23% 0, #fff3d6, rgb(243 220 172 / 0.85) 40%, transparent 100%),
    radial-gradient(ellipse 10cqw 30cqw at 50% 0, #fff3d6, rgb(243 220 172 / 0.85) 40%, transparent 100%),
    radial-gradient(ellipse 10cqw 30cqw at 77% 0, #fff3d6, rgb(243 220 172 / 0.85) 40%, transparent 100%);
}
.t-spotlight .pool::before {
  content: "";
  position: absolute;
  inset: 6cqw -1cqw 10cqw;
  border-radius: 18cqw 18cqw 30cqw 30cqw;
  background: linear-gradient(180deg, #efd7a4, #dfc38d 55%, #b3925f);
  filter: blur(5cqw);
}
.t-spotlight .lamp { top: calc(25cqh - 1.6cqw); width: 3.2cqw; height: 1.3cqw; border-radius: 0.5cqw; background: #fff7df; box-shadow: 0 0.6cqw 2.4cqw 0.6cqw rgb(255 226 160 / 0.8); }
.t-spotlight .lamp.a { left: 34.3cqw; }
.t-spotlight .lamp.b { left: 51.4cqw; }
.t-spotlight .lamp.c { left: 68.4cqw; }
.t-spotlight .fit { inset: calc(25cqh + 13cqw) 25cqw auto 34cqw; height: 48cqw; }
.t-spotlight .copy { rotate: 2.5deg; transform: skewY(1.5deg); }
.t-spotlight .quote { font-family: "Hanken Grotesk", sans-serif; font-weight: 500; line-height: 1.32; letter-spacing: 0.005em; text-wrap: pretty; }
.t-spotlight .quote .s { display: block; }
.t-spotlight .author { font: 500 3cqw/1.2 "Hanken Grotesk", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1.4em; }
.t-spotlight .sig { font-family: "Hanken Grotesk", sans-serif; font-weight: 500; }

/* 8 — stairs: concrete in black and white, condensed caps up top. */
.t-stairs { --bg: #111; --ink: #fff; --grain: 0.45; --fit-top: 8cqh; --fit-bottom: 62cqh; --fit-x: 8cqw; }
.t-stairs .bg { background: linear-gradient(180deg, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.5) 34%, rgb(0 0 0 / 0.1) 60%, rgb(0 0 0 / 0.55)), url("../img/stairs.webp") 55% 100% / cover; }
.t-stairs .quote { font-family: "Anton", sans-serif; line-height: 1.04; letter-spacing: 0.005em; text-transform: uppercase; text-align: center; }
.t-stairs .author { font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: 0.08em; text-align: center; margin-top: 1.4em; }
.t-stairs .sig { font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 3cqw; }

/* 9 — echo: one line repeated until it fades. */
.t-echo { --bg: #000; --ink: #fff; --sig: #a3a3a3; --fit-top: 14cqh; --fit-bottom: 18cqh; --fit-x: 6cqw; }
.t-echo .quote { font-family: "Playfair Display", serif; line-height: 1.24; letter-spacing: 0.01em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.t-echo .ghost { display: block; }
.t-echo .ghost:nth-of-type(2) { opacity: 0.86; }
.t-echo .ghost:nth-of-type(3) { opacity: 0.72; }
.t-echo .ghost:nth-of-type(4) { opacity: 0.58; }
.t-echo .ghost:nth-of-type(5) { opacity: 0.45; }
.t-echo .ghost:nth-of-type(6) { opacity: 0.33; }
.t-echo .ghost:nth-of-type(7) { opacity: 0.22; }
.t-echo .ghost:nth-of-type(8) { opacity: 0.13; }
.t-echo .ghost:nth-of-type(9) { opacity: 0.06; }
.t-echo .author { font-family: "Playfair Display", serif; font-style: normal; text-align: center; letter-spacing: 0.14em; text-transform: uppercase; font-size: 3.2cqw; color: #a3a3a3; margin-top: 2em; }
.t-echo .sig { font-family: "Playfair Display", serif; }

/* 10 — highlight: a line in a book, run over with a yellow marker. */
.t-highlight { --bg: #e7e4df; --ink: #151413; --sig: #55524d; --grain: 0.55; --grain-blend: multiply; --fit-top: 18cqh; --fit-bottom: 20cqh; --fit-x: 7cqw; }
.t-highlight .bg {
  background:
    radial-gradient(90cqw 60cqh at 50% 45%, transparent 40%, rgb(120 112 100 / 0.16)),
    var(--bg);
}
.t-highlight .bg::before {
  content: "";
  position: absolute;
  inset: 6cqh 9cqw;
  background: repeating-linear-gradient(180deg, transparent 0 2.6cqw, rgb(70 70 82 / 0.045) 2.6cqw 4.1cqw, transparent 4.1cqw 5.4cqw);
  filter: blur(0.7cqw);
  mask-image: linear-gradient(180deg, #000 0 34%, transparent 40% 62%, #000 68%);
}
.t-highlight .quote { font-family: "Tinos", "Times New Roman", serif; line-height: 1.66; text-align: center; padding: 0 0.4em; }
.t-highlight .quote .ink { padding: 0.12em 0.3em 0.1em; background: #dde53a; mix-blend-mode: multiply; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.t-highlight .author { font-family: "Tinos", serif; font-style: italic; text-align: center; font-size: 3.6cqw; }
.t-highlight .sig { font-family: "Tinos", serif; font-size: 3.3cqw; letter-spacing: 0.02em; }

/* 11 — window: late light on a dark wall, the quote set large above it. */
.t-window { --bg: #0d0807; --ink: #f4ead8; --sig: #c9bda8; --grain: 0.4; --fit-top: 8cqh; --fit-bottom: 55cqh; --fit-x: 9cqw; --fit-right: 12cqw; --fit-align: flex-start; }
.t-window .bg { background: linear-gradient(180deg, rgb(13 8 7 / 0.35), transparent 50%, rgb(13 8 7 / 0.5)), url("../img/window.webp") 72% 100% / cover; }
.t-window .quote { font-family: "Instrument Serif", serif; line-height: 1.02; letter-spacing: -0.012em; }
.t-window .quote em { font-style: italic; }
.t-window .author { font-family: "Instrument Serif", serif; font-style: italic; font-size: 4.2cqw; margin-top: 0.9em; }
.t-window .sig { font-family: "Instrument Serif", serif; font-size: 3.8cqw; letter-spacing: 0.01em; }
