:root {
  --t1: polygon(0.0% 4.9%,2.6% 4.5%,5.3% 2.6%,7.9% 2.2%,10.5% 4.5%,13.2% 3.0%,15.8% 3.2%,18.4% 5.4%,21.1% 3.9%,23.7% 4.8%,26.3% 3.5%,28.9% 3.8%,31.6% 2.4%,34.2% 3.8%,36.8% 4.5%,39.5% 3.5%,42.1% 3.9%,44.7% 3.3%,47.4% 1.2%,50.0% 2.8%,52.6% 2.1%,55.3% 1.4%,57.9% 0.9%,60.5% 3.5%,63.2% 2.7%,65.8% 3.4%,68.4% 3.9%,71.1% 3.6%,73.7% 4.4%,76.3% 3.4%,78.9% 5.0%,81.6% 4.4%,84.2% 6.0%,86.8% 5.8%,89.5% 3.4%,92.1% 3.2%,94.7% 3.3%,97.4% 5.3%,100.0% 3.9%,99.6% 22.5%,99.3% 38.9%,99.8% 57.8%,99.3% 72.9%,100.0% 97.8%,97.4% 96.4%,94.7% 97.7%,92.1% 97.4%,89.5% 96.0%,86.8% 97.4%,84.2% 95.7%,81.6% 97.4%,78.9% 95.8%,76.3% 97.9%,73.7% 97.4%,71.1% 95.9%,68.4% 95.7%,65.8% 96.7%,63.2% 98.2%,60.5% 96.4%,57.9% 99.1%,55.3% 98.6%,52.6% 96.2%,50.0% 96.7%,47.4% 97.4%,44.7% 98.2%,42.1% 96.5%,39.5% 97.8%,36.8% 97.2%,34.2% 97.6%,31.6% 97.3%,28.9% 96.5%,26.3% 94.2%,23.7% 95.6%,21.1% 96.6%,18.4% 96.4%,15.8% 96.7%,13.2% 96.0%,10.5% 96.6%,7.9% 95.7%,5.3% 95.8%,2.6% 95.4%,0.0% 95.9%,0.1% 77.2%,0.4% 61.1%,1.1% 40.9%,0.6% 25.1%);
  --t2: polygon(0.0% 3.3%,2.6% 4.5%,5.3% 4.1%,7.9% 3.3%,10.5% 4.5%,13.2% 3.0%,15.8% 3.7%,18.4% 2.1%,21.1% 1.7%,23.7% 2.2%,26.3% 3.2%,28.9% 1.3%,31.6% 1.7%,34.2% 3.0%,36.8% 3.9%,39.5% 2.7%,42.1% 2.1%,44.7% 3.8%,47.4% 1.4%,50.0% 4.0%,52.6% 2.8%,55.3% 2.6%,57.9% 2.6%,60.5% 2.9%,63.2% 4.1%,65.8% 2.2%,68.4% 3.3%,71.1% 3.6%,73.7% 3.2%,76.3% 3.9%,78.9% 2.8%,81.6% 2.8%,84.2% 3.1%,86.8% 4.5%,89.5% 3.9%,92.1% 3.9%,94.7% 5.0%,97.4% 4.9%,100.0% 4.6%,99.8% 23.5%,99.5% 43.9%,99.9% 58.0%,99.3% 77.3%,100.0% 95.6%,97.4% 93.5%,94.7% 93.9%,92.1% 94.3%,89.5% 95.6%,86.8% 94.7%,84.2% 96.6%,81.6% 95.9%,78.9% 95.6%,76.3% 97.2%,73.7% 97.9%,71.1% 97.2%,68.4% 97.7%,65.8% 96.0%,63.2% 97.7%,60.5% 96.9%,57.9% 98.0%,55.3% 97.5%,52.6% 96.5%,50.0% 97.1%,47.4% 97.4%,44.7% 98.0%,42.1% 97.0%,39.5% 98.5%,36.8% 97.5%,34.2% 97.9%,31.6% 97.7%,28.9% 96.0%,26.3% 97.4%,23.7% 96.4%,21.1% 97.9%,18.4% 96.6%,15.8% 95.2%,13.2% 97.1%,10.5% 94.8%,7.9% 95.9%,5.3% 96.3%,2.6% 95.5%,0.0% 95.6%,1.0% 77.2%,0.3% 57.8%,0.4% 44.0%,1.1% 22.9%);
  --t3: polygon(0.0% 3.4%,2.6% 3.4%,5.3% 3.6%,7.9% 2.3%,10.5% 2.9%,13.2% 2.9%,15.8% 3.1%,18.4% 1.1%,21.1% 1.9%,23.7% 1.6%,26.3% 4.0%,28.9% 3.8%,31.6% 1.9%,34.2% 4.4%,36.8% 4.1%,39.5% 3.2%,42.1% 3.1%,44.7% 2.0%,47.4% 1.8%,50.0% 3.4%,52.6% 2.0%,55.3% 2.3%,57.9% 2.3%,60.5% 1.8%,63.2% 3.3%,65.8% 3.6%,68.4% 5.3%,71.1% 4.8%,73.7% 5.3%,76.3% 4.9%,78.9% 5.2%,81.6% 4.5%,84.2% 4.0%,86.8% 6.0%,89.5% 6.0%,92.1% 5.5%,94.7% 4.9%,97.4% 3.3%,100.0% 2.6%,99.7% 24.4%,99.0% 42.5%,99.9% 61.3%,99.7% 73.5%,100.0% 99.1%,97.4% 97.5%,94.7% 98.6%,92.1% 98.7%,89.5% 96.3%,86.8% 95.8%,84.2% 96.3%,81.6% 95.5%,78.9% 97.1%,76.3% 95.7%,73.7% 97.3%,71.1% 95.6%,68.4% 96.1%,65.8% 96.3%,63.2% 95.2%,60.5% 97.1%,57.9% 95.2%,55.3% 95.3%,52.6% 95.6%,50.0% 94.9%,47.4% 96.3%,44.7% 96.6%,42.1% 94.6%,39.5% 94.0%,36.8% 94.7%,34.2% 96.4%,31.6% 96.1%,28.9% 94.6%,26.3% 95.5%,23.7% 97.3%,21.1% 96.1%,18.4% 97.7%,15.8% 96.3%,13.2% 96.2%,10.5% 98.8%,7.9% 99.2%,5.3% 97.4%,2.6% 98.5%,0.0% 97.0%,0.9% 74.0%,0.4% 55.8%,0.1% 42.2%,0.3% 25.6%);
  --tb: polygon(0 0,100% 0,100.0% calc(100% - 6.5px),98.3% calc(100% - 8.0px),96.7% calc(100% - 17.0px),95.0% calc(100% - 8.2px),93.3% calc(100% - 11.5px),91.7% calc(100% - 5.0px),90.0% calc(100% - 0.0px),88.3% calc(100% - 3.2px),86.7% calc(100% - 0.0px),85.0% calc(100% - 8.2px),83.3% calc(100% - 6.9px),81.7% calc(100% - 9.2px),80.0% calc(100% - 13.1px),78.3% calc(100% - 15.5px),76.7% calc(100% - 1.5px),75.0% calc(100% - 0.0px),73.3% calc(100% - 4.9px),71.7% calc(100% - 11.6px),70.0% calc(100% - 10.3px),68.3% calc(100% - 11.6px),66.7% calc(100% - 21.6px),65.0% calc(100% - 7.7px),63.3% calc(100% - 15.8px),61.7% calc(100% - 3.8px),60.0% calc(100% - 0.0px),58.3% calc(100% - 0.0px),56.7% calc(100% - 2.7px),55.0% calc(100% - 13.7px),53.3% calc(100% - 8.6px),51.7% calc(100% - 16.1px),50.0% calc(100% - 16.0px),48.3% calc(100% - 8.9px),46.7% calc(100% - 7.3px),45.0% calc(100% - 0.0px),43.3% calc(100% - 0.0px),41.7% calc(100% - 1.3px),40.0% calc(100% - 11.9px),38.3% calc(100% - 12.2px),36.7% calc(100% - 12.4px),35.0% calc(100% - 15.2px),33.3% calc(100% - 10.0px),31.7% calc(100% - 3.7px),30.0% calc(100% - 7.7px),28.3% calc(100% - 6.0px),26.7% calc(100% - 2.0px),25.0% calc(100% - 10.5px),23.3% calc(100% - 13.6px),21.7% calc(100% - 20.2px),20.0% calc(100% - 17.1px),18.3% calc(100% - 7.6px),16.7% calc(100% - 13.2px),15.0% calc(100% - 0.0px),13.3% calc(100% - 2.1px),11.7% calc(100% - 9.2px),10.0% calc(100% - 4.7px),8.3% calc(100% - 13.2px),6.7% calc(100% - 8.5px),5.0% calc(100% - 16.2px),3.3% calc(100% - 14.1px),1.7% calc(100% - 7.4px),0.0% calc(100% - 8.8px));
}
/* LFG coming soon: the home cover alone, from site/src/styles/site.css (same sea, paper and type) */
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url(/fonts/anton-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url(/fonts/rubik-hebrew-500-normal.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url(/fonts/rubik-hebrew-800-normal.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url(/fonts/rubik-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url(/fonts/rubik-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #0759d4;
  --ink: #07275e;
  --paper: #f4f1e8;
  --yellow: #ffd21f;
  --m: clamp(16px, 4.45vw, 64px);
  --lift: drop-shadow(0 1px 0 rgb(2 18 58 / .28)) drop-shadow(0 10px 14px rgb(2 18 58 / .30));
  --latin: "Anton", "Rubik", system-ui, sans-serif;
  --hebrew: "Rubik", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blue);
  color: #fff;
  font: 500 17px/1.55 var(--hebrew);
  overflow-x: clip;
}
/* the grain: one noise tile over everything, very quiet */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, p { margin: 0; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the LFG mark, a small sticker */
.folio { position: absolute; inset-inline: 0; inset-block-start: 0; z-index: 5; padding: calc(var(--m) * .4 + 8px) var(--m) 0; }
.mark-lfg { display: inline-block; filter: var(--lift); rotate: -4deg; }
.mark-lfg span {
  display: block;
  background: var(--paper); color: var(--ink);
  font: 400 26px/1 var(--latin); letter-spacing: .04em;
  padding: 7px 10px 6px;
  clip-path: var(--t3);
}

/* the cover: one screen, the shout floating on the sea */
.cover {
  --f1: min(calc((100vw - 2 * var(--m)) / 6.4), 11.5svh);
  --f3: min(calc((100vw - 2 * var(--m)) / 1.6), 35svh);
  min-block-size: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  padding: 72px var(--m) calc(var(--m) * .6 + 12px);
  position: relative;
  overflow: clip;
  isolation: isolate;
}
.stage { position: relative; align-self: end; padding-block-start: 3svh; }
/* a photograph cut along its horizon, pressed into the blue */
.sea {
  position: absolute; z-index: 0;
  inset-block-start: calc(3svh + var(--f1) * .82);   /* the horizon crosses the far line */
  inset-inline: calc(-1 * var(--m));
  block-size: 140svh;
  background:
    linear-gradient(rgb(160 200 255 / .30), rgb(160 200 255 / 0) 34%),
    url(/img/sea.jpg) 50% 0 / max(100%, 1400px) auto no-repeat,
    #0a3f9c;
  background-blend-mode: normal, luminosity, normal;
}
.sea::before {
  content: "";
  position: absolute; inset-inline: 0; inset-block-end: 100%;
  block-size: 16svh;
  background: linear-gradient(to top, rgb(200 222 255 / .26), rgb(200 222 255 / 0));
}
@media (max-width: 699px) {
  .sea { background-image: linear-gradient(rgb(160 200 255 / .30), rgb(160 200 255 / 0) 34%), url(/img/sea-phone.jpg); background-size: auto, cover; background-position: 0 0, 50% 0; }
  .stage { align-self: center; translate: 0 -4svh; }
}

.shout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  align-items: center;
  column-gap: .05em;
  font: 400 var(--f1)/1 var(--latin);
  letter-spacing: .012em;
}
.piece { display: block; position: relative; filter: var(--lift); font-size: var(--f1); }
.paper {
  display: block;
  background: var(--paper);
  color: var(--ink);
  padding: .1em .16em .06em;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.p1 { grid-area: 1 / 1; rotate: -3deg; translate: 0 -.02em; }
.p2 { grid-area: 1 / 2; rotate: 1.6deg; translate: 0 .04em; }
.p3 { grid-area: 2 / 1 / 3 / -1; justify-self: end; rotate: -1.8deg; margin-block-start: .02em; z-index: 3; font-size: var(--f3); }
.p1 .paper { clip-path: var(--t1); animation-duration: 6.8s; animation-delay: -1.2s; }
.p2 .paper { clip-path: var(--t2); animation-duration: 8.2s; animation-delay: -4s; }
.p3 .paper { clip-path: var(--t3); animation-duration: 7.4s; animation-delay: -2.6s; padding: .05em .12em .01em; }
@media (min-width: 900px) {
  /* GO steps down from under F*CKING, leaving the lede its own corner */
  .p3 { justify-self: start; margin-inline-start: calc(var(--f1) * 3.3); }
}
/* the asterisk: yellow ink in the gap between F and C */
.gap {
  display: inline-block; color: transparent;
  inline-size: .58em; block-size: .74em; vertical-align: -.02em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 12v76M17 31l66 38M17 69l66-38' fill='none' stroke='%23FFD23F' stroke-width='17' stroke-linecap='round'/></svg>") center 84% / .52em no-repeat;
}

.cover-foot { position: relative; z-index: 2; padding-block-start: 20px; max-inline-size: 38rem; }
.soon {
  display: inline-block;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: clamp(17px, 1.5vw, 21px); line-height: 1;
  padding: 8px 14px 9px;
  rotate: 2deg;
  filter: var(--lift);
  margin-block-end: 16px;
}
.lede { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; font-weight: 800; }
.cover-description { max-inline-size: 48ch; margin-block-start: 12px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; text-wrap: pretty; }

@keyframes float {
  0%, 100% { transform: translateY(-.02em) rotate(-.3deg); }
  50%      { transform: translateY(.024em) rotate(.35deg); }
}
@keyframes rise { from { opacity: 0; transform: translateY(.6em) rotate(3deg); } }
@media (prefers-reduced-motion: no-preference) {
  .piece { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .p2 { animation-delay: .12s; }
  .p3 { animation-delay: .26s; }
}
@media (prefers-reduced-motion: reduce) {
  .paper { animation: none; }
}

/* wide screens: the site's centred 1680px measure */
@media (min-width: 1700px) {
  :root { --gutter: calc((100vw - 1680px) / 2 + var(--m)); }
  .cover, .folio { padding-inline: var(--gutter); }
  .cover { --f1: min(calc((1680px - 2 * var(--m)) / 6.4), 11.5svh); --f3: min(calc((1680px - 2 * var(--m)) / 1.6), 35svh); }
  .sea { inset-inline: calc(-1 * var(--gutter)); }
}
