:root {
  --tf-ground: #E69D55;
  --tf-ink: #2D2424;
  --tf-wine: #8A2640;
  --tf-support: #E7E2DD;
  --tf-paper: #FFFFFF;
  color-scheme: light;
  font-family: "Poltawski Nowy", Georgia, serif;
  font-synthesis: none;
  color: var(--tf-ink);
  background: var(--tf-paper);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 22px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tf-wine); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--tf-wine); outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--tf-ground); color: var(--tf-ink); }
h1, h2, h3, .tf-name, .tf-rail a, .tf-trail, .tf-reading-title, .tf-reading-links {
  font-family: "Cantora One", Georgia, serif;
  font-weight: 400;
}
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 1.15em; }
h1, h2 { text-wrap: balance; }
.tf-skip { position: absolute; z-index: 20; left: 24px; top: -100px; padding: 12px 20px; background: var(--tf-paper); }
.tf-skip:focus { top: 12px; }

/* Three open rails, with a different ending on every storey. */
.tf-rail {
  height: 150px;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 48px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.35fr;
  grid-template-rows: repeat(3, 50px);
}
.tf-name { grid-area: 1 / 1 / 4 / 2; align-self: center; width: max-content; color: var(--tf-ink); text-decoration: none; line-height: .98; }
.tf-name span { display: block; font-size: 34px; }
.tf-name span + span { color: var(--tf-wine); font-size: 49px; }
.tf-name:hover span + span { color: var(--tf-ink); }
.tf-rail nav { display: contents; }
.tf-rail nav a {
  grid-column: 2;
  align-self: center;
  justify-self: end;
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  padding: 0 0 3px 32px;
  font-size: 26px;
  line-height: 1.25;
  text-decoration: none;
  border-bottom: 2px solid var(--tf-wine);
}
.tf-rail nav a:nth-child(1) { margin-right: 0; min-width: 238px; }
.tf-rail nav a:nth-child(2) { margin-right: 176px; min-width: 312px; }
.tf-rail nav a:nth-child(3) { margin-right: 66px; min-width: 356px; }
.tf-rail nav a:hover { color: var(--tf-ink); border-bottom: 4px solid var(--tf-ink); }
[data-lucide] { display: inline-block; flex: none; width: 22px; height: 22px; vertical-align: -.15em; }
svg[data-lucide] { stroke-width: 1.6; }

/* The first screen is a white gap between detached, solid orange forms. */
.tf-opening {
  position: relative;
  min-height: max(750px, calc(100svh - 150px));
  max-width: 1560px;
  margin-inline: auto;
  padding: 52px 24px 242px;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
}
.tf-opening h1 { width: 620px; max-width: 100%; font-size: clamp(54px, 4.6vw, 68px); line-height: 1.06; letter-spacing: -.025em; text-align: center; }
.tf-opening h1 span { display: block; }
.tf-opening h1 span + span { color: var(--tf-wine); margin-top: .24em; }
.tf-opening-lead { position: absolute; width: 300px; right: 64px; bottom: 45px; font-size: 20px; line-height: 1.45; background: var(--tf-paper); }
.tf-side-form { position: absolute; z-index: -1; background: var(--tf-ground); }
.tf-side-form.tf-left-field { width: 146px; height: 408px; left: 48px; top: 84px; border-radius: 90px 90px 24px 90px; }
.tf-side-form.tf-right-field { width: 164px; height: 430px; right: 48px; top: 28px; border-radius: 16px 100px 100px 16px; }
.tf-three-forms { display: flex; align-items: end; gap: 25px; width: max-content; max-width: 100%; }
.tf-three-forms span { display: block; flex: none; background: var(--tf-wine); }
.tf-three-forms span:nth-child(1) { width: 62px; height: 132px; border-radius: 50px 50px 18px 50px; }
.tf-three-forms span:nth-child(2) { width: 134px; height: 78px; border-radius: 58px 20px 58px 20px; }
.tf-three-forms span:nth-child(3) { width: 92px; height: 110px; border-radius: 60px 60px 18px 60px; }
.tf-opening .tf-three-forms { position: absolute; bottom: 48px; left: calc(50% - 169px); }

/* One photograph, one slot. Captions always sit on their own white ground. */
.tf-photograph { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
.tf-photograph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.tf-photograph figcaption { width: 250px; max-width: 100%; margin: 24px 0 0 auto; padding-left: 22px; font-size: 17px; line-height: 1.45; position: relative; }
.tf-photograph figcaption::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 22px; border-radius: 9px 9px 3px 9px; background: var(--tf-wine); }
.tf-inner-opening { position: relative; max-width: 1296px; padding: 46px 48px 0; margin: 0 auto; }
.tf-trail { font-size: 16px; margin-bottom: 34px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tf-trail a { color: var(--tf-ink); }
.tf-trail [data-lucide] { color: var(--tf-wine); width: 23px; height: 23px; margin-right: 6px; }
.tf-inner-opening h1 { max-width: 990px; font-size: clamp(46px, 5.5vw, 80px); line-height: 1.06; letter-spacing: -.02em; text-wrap: pretty; }
.tf-inner-lead { max-width: 614px; margin: 38px 0 0 auto; font-size: 26px; line-height: 1.45; }
.tf-inner-opening .tf-three-forms { position: absolute; bottom: 6px; left: 48px; gap: 14px; }
.tf-inner-opening .tf-three-forms span:nth-child(1) { width: 35px; height: 75px; }
.tf-inner-opening .tf-three-forms span:nth-child(2) { width: 76px; height: 44px; }
.tf-inner-opening .tf-three-forms span:nth-child(3) { width: 52px; height: 62px; }
.tf-inner-photo { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) 192px; gap: 32px; align-items: end; }
.tf-inner-photo img { aspect-ratio: 2 / 1; object-position: 50% 50%; }
.tf-inner-photo figcaption { width: auto; margin: 0 0 2px; padding: 54px 0 0; }
.tf-inner-photo figcaption::before { left: 0; top: 0; width: 35px; height: 24px; border-radius: 24px 5px 24px 5px; }

/* The argument stays in one flow; receptor names interrupt it at sculptural scale. */
.tf-argument { margin-top: 14px; }
.tf-passage { position: relative; padding: 116px 48px 12px; }
.tf-passage-inner { position: relative; max-width: 1200px; margin-inline: auto; }
.tf-passage h2 { color: var(--tf-wine); font-size: clamp(40px, 4.7vw, 68px); line-height: 1.08; max-width: 1000px; margin: 0 0 38px; text-wrap: pretty; }
.tf-passage h2.tf-receptor { position: relative; max-width: none; width: 100%; font-size: clamp(90px, 11vw, 158px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 40px; }
.tf-passage:nth-child(2) h2.tf-receptor { padding-left: 9%; }
.tf-passage:nth-child(3) h2.tf-receptor { padding-left: 18%; }
.tf-passage h2.tf-receptor::before { content: ""; position: absolute; width: 96px; height: 148px; background: var(--tf-ground); border-radius: 80px 80px 20px 80px; right: 8%; bottom: 5px; }
.tf-passage:nth-child(2) h2.tf-receptor::before { width: 170px; height: 88px; right: 2%; border-radius: 80px 22px 80px 22px; }
.tf-passage:nth-child(3) h2.tf-receptor::before { width: 116px; height: 128px; right: 10%; border-radius: 80px 80px 22px 80px; }
.tf-passage-copy { max-width: 660px; margin-left: 26%; }
.tf-passage:nth-child(2) .tf-passage-copy { margin-left: 18%; }
.tf-passage:nth-child(3) .tf-passage-copy { margin-left: 32%; }
.tf-passage-copy > p:first-child { font-size: 27px; line-height: 1.45; }
.tf-passage h3 { font-size: 30px; line-height: 1.25; margin: 38px 0 14px; text-wrap: pretty; }
.tf-passage h3:first-child { margin-top: 0; }
.tf-passage-copy h3 + p { font-size: 18px; margin-bottom: 12px; }

/* A full-width account of the whole, with a curved crest breaking the top edge. */
.tf-whole { position: relative; background: var(--tf-ground); margin-top: 154px; padding: 76px 48px 84px; isolation: isolate; }
.tf-whole::before { content: ""; position: absolute; z-index: -1; left: max(48px, calc((100% - 1200px) / 2)); top: -70px; width: 152px; height: 102px; background: var(--tf-ground); border-radius: 100px 100px 0 0; }
.tf-whole::after { content: ""; position: absolute; z-index: -1; right: 48px; top: 62px; width: 100px; height: 144px; background: var(--tf-wine); border-radius: 84px 84px 22px 84px; }
.tf-whole .tf-passage-inner { max-width: 1200px; }
.tf-whole h2 { max-width: 960px; font-size: clamp(43px, 5.5vw, 78px); line-height: 1.08; margin: 0 0 42px; letter-spacing: -.02em; text-wrap: pretty; }
.tf-whole h2 [data-lucide] { display: block; width: 32px; height: 32px; margin-bottom: 26px; }
.tf-whole .tf-passage-copy { margin-left: 26%; }
.tf-whole .tf-passage-copy > p:first-child { font-size: 24px; }
.tf-whole a { color: var(--tf-ink); text-decoration-thickness: 2px; }
.tf-whole a:focus-visible { outline-color: var(--tf-ink); }

/* Reading links use broad open lines instead of boxes. */
.tf-reading { padding: 70px 48px 76px; max-width: 1296px; margin: 0 auto; }
.tf-reading-title { font-size: 32px; line-height: 1.2; margin-bottom: 34px; }
.tf-reading-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.tf-reading-links a { font-size: 26px; line-height: 1.25; display: flex; align-items: center; gap: 17px; min-height: 70px; padding: 12px 0; text-decoration: none; border-bottom: 2px solid var(--tf-wine); }
.tf-reading-links a:nth-child(2) { margin-top: 28px; }
.tf-reading-links a:nth-child(3) { margin-top: 56px; }
.tf-reading-links a:hover { color: var(--tf-ink); border-bottom-width: 4px; }
.tf-reading-links [data-lucide] { width: 27px; height: 27px; }
.tf-footer { background: var(--tf-support); padding: 50px max(48px, calc((100% - 1200px) / 2)); font-size: 18px; }
.tf-footer-inner { display: grid; grid-template-columns: 1fr 300px; gap: 24px 100px; }
.tf-footer p { max-width: 640px; }
.tf-footer nav { display: flex; gap: 13px 28px; flex-wrap: wrap; align-content: start; }
.tf-footer nav a { color: var(--tf-ink); }
.tf-copyright { font-size: 16px; margin-top: 30px; }
.tf-lost { max-width: 1040px; padding: 80px 48px 110px; margin: 0 auto; min-height: 60svh; }
.tf-lost h1 { font-size: clamp(42px, 6vw, 86px); line-height: 1.08; margin-bottom: 35px; text-wrap: pretty; }
.tf-lost p { max-width: 620px; margin-left: auto; }
.tf-lost .tf-three-forms { margin: 48px 0; }

@media (max-width: 1180px) and (min-width: 761px) {
  .tf-rail { padding-inline: 32px; grid-template-columns: 290px 1fr; }
  .tf-rail nav a { font-size: 24px; }
  .tf-rail nav a:nth-child(2) { margin-right: 50px; min-width: 278px; }
  .tf-rail nav a:nth-child(3) { margin-right: 15px; min-width: 306px; }
  .tf-side-form.tf-left-field { left: 32px; width: 62px; height: 330px; }
  .tf-side-form.tf-right-field { right: 32px; width: 66px; height: 365px; }
  .tf-opening h1 { width: 580px; font-size: 56px; }
  .tf-opening-lead { width: 275px; right: 32px; font-size: 19px; }
  .tf-opening .tf-three-forms { left: 12%; gap: 18px; }
  .tf-inner-opening .tf-three-forms { gap: 10px; }
  .tf-inner-opening .tf-three-forms span:nth-child(1) { width: 24px; height: 52px; }
  .tf-inner-opening .tf-three-forms span:nth-child(2) { width: 52px; height: 30px; }
  .tf-inner-opening .tf-three-forms span:nth-child(3) { width: 35px; height: 44px; }
  .tf-inner-lead { max-width: 62%; font-size: 24px; }
  .tf-passage h2.tf-receptor { font-size: 11vw; }
  .tf-passage h2.tf-receptor::before { right: 0; width: 66px; height: 96px; }
  .tf-passage:nth-child(2) h2.tf-receptor::before { right: 0; width: 112px; height: 58px; }
  .tf-passage:nth-child(3) h2.tf-receptor::before { right: 0; width: 76px; height: 88px; }
  .tf-passage-copy, .tf-passage:nth-child(2) .tf-passage-copy, .tf-passage:nth-child(3) .tf-passage-copy { margin-left: 16%; }
  .tf-whole h2 { max-width: 80%; }
  .tf-whole .tf-passage-copy { margin-left: 16%; }
  .tf-reading-links { gap: 24px; }
  .tf-reading-links a { font-size: 23px; }
}
@media (max-width: 760px) {
  body { font-size: 20px; line-height: 1.6; }
  .tf-rail { height: 270px; margin: 0 24px; padding: 22px 0 0; grid-template-columns: 1fr; grid-template-rows: 97px repeat(3, 50px); }
  .tf-name { grid-area: 1 / 1 / 2 / 2; align-self: start; }
  .tf-name span { font-size: 28px; }
  .tf-name span + span { font-size: 42px; }
  .tf-rail nav a { grid-column: 1; justify-self: stretch; font-size: 23px; gap: 15px; padding: 0 0 5px; }
  .tf-rail nav a:nth-child(1) { margin-right: 52px; min-width: 0; }
  .tf-rail nav a:nth-child(2) { margin-right: 0; min-width: 0; }
  .tf-rail nav a:nth-child(3) { margin-right: 24px; min-width: 0; }
  .tf-opening { min-height: max(574px, calc(100svh - 270px)); padding: 38px 24px 30px; }
  .tf-opening h1 { font-size: clamp(34px, 9.8vw, 58px); max-width: min(560px, 100%); line-height: 1.08; letter-spacing: -.02em; }
  .tf-opening h1 span + span { margin-top: .25em; }
  .tf-opening-lead { position: static; width: 100%; max-width: 500px; margin-top: 28px; font-size: 20px; line-height: 1.45; text-align: left; }
  .tf-side-form.tf-left-field { left: 24px; top: 8px; width: 21px; height: 35px; border-radius: 15px 15px 5px 15px; }
  .tf-side-form.tf-right-field { right: 24px; top: 7px; width: 32px; height: 22px; border-radius: 5px 20px 20px 5px; }
  .tf-opening .tf-three-forms { position: static; margin-top: auto; padding-top: 28px; gap: 14px; }
  .tf-opening .tf-three-forms span:nth-child(1) { width: 28px; height: 59px; }
  .tf-opening .tf-three-forms span:nth-child(2) { width: 58px; height: 34px; }
  .tf-opening .tf-three-forms span:nth-child(3) { width: 40px; height: 48px; }
  .tf-photograph { width: calc(100% - 48px); }
  .tf-photograph img { aspect-ratio: 3 / 2; }
  .tf-photograph figcaption { width: 230px; margin-top: 18px; font-size: 16px; }
  .tf-inner-opening { padding: 30px 24px 0; }
  .tf-trail { margin-bottom: 28px; font-size: 16px; gap: 10px; }
  .tf-trail [data-lucide] { margin-right: 2px; }
  .tf-inner-opening h1 { font-size: clamp(40px, 10.8vw, 62px); }
  .tf-inner-lead { max-width: 100%; font-size: 23px; margin-top: 26px; }
  .tf-inner-opening .tf-three-forms { display: none; }
  .tf-inner-photo { display: block; margin-top: 36px; }
  .tf-inner-photo img { aspect-ratio: 2 / 1; }
  .tf-inner-photo figcaption { padding: 0 0 0 22px; margin-top: 18px; margin-left: auto; }
  .tf-inner-photo figcaption::before { top: 4px; width: 9px; height: 22px; border-radius: 9px 9px 3px 9px; }
  .tf-passage { padding: 76px 24px 12px; }
  .tf-passage h2 { font-size: 37px; margin-bottom: 28px; }
  .tf-passage h2.tf-receptor { font-size: clamp(54px, 16.4vw, 100px); padding: 0; line-height: 1.08; margin-bottom: 28px; }
  .tf-passage:nth-child(2) h2.tf-receptor, .tf-passage:nth-child(3) h2.tf-receptor { padding-left: 0; }
  .tf-passage h2.tf-receptor::before { width: 25px; height: 42px; right: 0; bottom: 6px; border-radius: 24px 24px 7px 24px; }
  .tf-passage:nth-child(2) h2.tf-receptor::before { width: 45px; height: 23px; right: 0; border-radius: 24px 6px 24px 6px; }
  .tf-passage:nth-child(3) h2.tf-receptor::before { width: 31px; height: 35px; right: 0; border-radius: 24px 24px 6px 24px; }
  .tf-passage-copy, .tf-passage:nth-child(2) .tf-passage-copy, .tf-passage:nth-child(3) .tf-passage-copy { margin-left: 0; }
  .tf-passage-copy > p:first-child { font-size: 24px; }
  .tf-passage h3 { font-size: 27px; }
  .tf-passage-copy h3 + p { font-size: 17px; }
  .tf-whole { margin-top: 108px; padding: 46px 24px 52px; }
  .tf-whole::before { left: 24px; top: -40px; width: 88px; height: 64px; }
  .tf-whole::after { display: none; }
  .tf-whole h2 { font-size: 43px; max-width: 100%; margin-bottom: 30px; }
  .tf-whole h2 [data-lucide] { width: 27px; height: 27px; margin-bottom: 22px; }
  .tf-whole .tf-passage-copy { margin-left: 0; }
  .tf-whole .tf-passage-copy > p:first-child { font-size: 23px; }
  .tf-reading { padding: 46px 24px 52px; }
  .tf-reading-title { font-size: 29px; margin-bottom: 26px; }
  .tf-reading-links { display: block; }
  .tf-reading-links a { min-height: 74px; font-size: 25px; }
  .tf-reading-links a:nth-child(2) { margin-top: 12px; width: calc(100% - 25px); }
  .tf-reading-links a:nth-child(3) { margin-top: 12px; width: calc(100% - 48px); }
  .tf-footer { padding: 38px 24px; }
  .tf-footer-inner { display: block; }
  .tf-footer nav { margin-top: 28px; }
  .tf-lost { padding: 54px 24px 70px; }
  .tf-lost h1 { font-size: 44px; }
  .tf-lost .tf-three-forms { gap: 18px; }
  .tf-lost .tf-three-forms span:nth-child(1) { width: 48px; height: 104px; }
  .tf-lost .tf-three-forms span:nth-child(2) { width: 103px; height: 62px; }
  .tf-lost .tf-three-forms span:nth-child(3) { width: 73px; height: 88px; }
}
/* Ornaments stay still. No content ever waits for JavaScript or an animation. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
