@font-face { font-family: Lilita; src: url(fonts/LilitaOne.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Nunito; src: url(fonts/Nunito.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
:root {
  --soil: #5a1a12; --deep: #2a0818; --cave: #241338; --cream: #fff3d6; --ink: #4a1230; --beet: #d92a6c; --beet-d: #8d1245; --gold: #ffc24a;
  --edge: max(20px, calc((100vw - 1240px) / 2)); --beet-h: clamp(96px, 15vw, 190px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); }
body { margin: 0; font: 600 18px/1.5 Nunito, system-ui, sans-serif; color: var(--cream); overflow-x: clip; }
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
p { text-wrap: pretty; }
h2, h3 { font: 400 clamp(30px, 4vw, 52px)/1.04 Lilita, system-ui, sans-serif; text-wrap: balance; }
h3 { font-size: 30px; }
a { color: inherit; text-underline-offset: 3px; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; font: 400 20px/1 Lilita, system-ui, sans-serif; letter-spacing: .01em; color: #fff; padding: 15px 22px 17px; border-radius: 14px;
       background: var(--beet); box-shadow: inset 0 2px 0 #ff7cae, 0 5px 0 var(--beet-d); transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { background: #ec3a7d; }
.btn:active { transform: translateY(4px); box-shadow: inset 0 2px 0 #ff7cae, 0 1px 0 var(--beet-d); }
.btn.big { font-size: clamp(20px, 2vw, 26px); padding: 19px 28px 21px; border-radius: 17px; }
.btn.quiet { background: var(--cream); color: var(--ink); box-shadow: inset 0 2px 0 #fff, 0 5px 0 #c9a36a; }
.btn.quiet:hover { background: #fff; }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: inset 0 2px 0 #ffe3a0, 0 5px 0 #b87a12; margin: 0 0 8px 10px; }
.btn.gold:hover { background: #ffd377; }

/* the farm at dawn, with a row of beets along the ground */
.hero { position: relative; height: max(620px, 100svh); display: flex; flex-direction: column; justify-content: space-between; overflow: clip; background: #e58a86; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(58 8 30 / .62), rgb(58 8 30 / .28) 42%, transparent 70%); }
nav { position: relative; z-index: 2; display: flex; justify-content: flex-end; gap: clamp(16px, 2.4vw, 34px); padding: 22px var(--edge); font-weight: 800; }
nav a { text-decoration: none; text-shadow: 0 1px 8px rgb(58 8 30 / .6); }
nav a:hover { text-decoration: underline; }
.pitch { position: relative; z-index: 2; padding: 0 var(--edge); margin-bottom: calc(var(--beet-h) * .78 + 26px); }
.pitch h1 img { width: min(600px, 82vw, 78svh); height: auto; filter: drop-shadow(0 16px 26px rgb(58 8 30 / .5)); margin-left: -8px; }
.pitch p { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.3; font-weight: 800; max-width: 21em; margin: 18px 0 24px; text-wrap: balance; text-shadow: 0 2px 12px rgb(58 8 30 / .7); }
.go { display: flex; flex-wrap: wrap; gap: 14px; }
.row { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 0; display: flex; justify-content: space-around; }
.beet { position: absolute; bottom: calc(var(--beet-h) * -.47); height: var(--beet-h); width: calc(var(--beet-h) * .7); translate: -50% 0; cursor: grab; background: none; border: 0; padding: 0; transform-origin: 50% 60%; touch-action: manipulation; }
.beet img { height: 100%; width: auto; max-width: none; pointer-events: none; transform-origin: 50% 55%; rotate: var(--tilt); }
.beet:hover img { animation: tug .34s ease-in-out infinite; }
.beet.out { animation: out 1s cubic-bezier(.3, .1, .6, 1) forwards; pointer-events: none; z-index: 5; }
.beet.in { animation: in .6s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes tug { 50% { rotate: calc(var(--tilt) + 5deg); translate: 0 -4%; } }
@keyframes out { 22% { transform: translateY(-58%) scale(1.06, 1.12); } 100% { transform: translate(var(--fly), -520%) rotate(var(--spin)); opacity: 1; } }
@keyframes in { from { transform: translateY(70%) scale(.4); } }

/* under the ground */
.soil { position: relative; z-index: 4; padding: clamp(34px, 5vw, 56px) var(--edge) clamp(60px, 8vw, 110px); background: linear-gradient(#6a2114, var(--soil) 120px, var(--deep)); }
.soil::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 22px; background: #6a2114;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V13c26-9 44-10 70-4s48 6 76-1 46-9 80-1 52 6 84 0 46-8 74-2 48 8 76 8v9z'/%3E%3C/svg%3E") repeat-x 0 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V13c26-9 44-10 70-4s48 6 76-1 46-9 80-1 52 6 84 0 46-8 74-2 48 8 76 8v9z'/%3E%3C/svg%3E") repeat-x 0 100%; }
.left { text-align: center; font-size: clamp(18px, 2vw, 23px); font-weight: 800; margin-bottom: clamp(24px, 4vw, 44px); }
.left b { font: 400 1.5em/1 Lilita; color: var(--gold); font-variant-numeric: tabular-nums; vertical-align: -.06em; margin-right: .1em; }
.film { width: min(100%, 78svh * 16 / 9); margin: auto; aspect-ratio: 16 / 9; border-radius: clamp(12px, 2vw, 26px); background: #000; box-shadow: 0 30px 70px rgb(0 0 0 / .45); }

.farm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); padding: 0 var(--edge) clamp(70px, 9vw, 130px); }
.farm figure { position: relative; overflow: clip; border-radius: clamp(12px, 2vw, 26px); background: #000; isolation: isolate; }
.farm .wide { grid-column: 1 / -1; }
.farm video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.farm .wide video { aspect-ratio: 21 / 9; }
.farm figcaption { position: absolute; inset: auto 0 0; padding: 90px clamp(18px, 2.6vw, 34px) clamp(16px, 2.2vw, 28px); background: linear-gradient(transparent, rgb(36 4 20 / .82)); }
.farm p { max-width: 30em; margin-top: 6px; }

.play { padding: clamp(60px, 8vw, 100px) var(--edge); text-align: center; background: var(--cave); }
.play h2 { font-size: clamp(36px, 5.4vw, 72px); }
.screen { position: relative; aspect-ratio: 16 / 9; width: min(100%, 84svh * 16 / 9); margin: clamp(22px, 3vw, 40px) auto 22px; border-radius: clamp(12px, 2vw, 26px); overflow: clip; background: var(--deep); display: grid; place-items: center; box-shadow: 0 30px 70px rgb(0 0 0 / .4); }
.screen img, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.screen .btn { position: relative; }
.full { margin-bottom: 20px; }

/* the strategy guide, on a comic-book sunburst */
.guide { position: relative; overflow: clip; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 90px); padding: clamp(60px, 8vw, 110px) var(--edge); background: #ffc93c; color: var(--ink); }
.guide::before { content: ""; position: absolute; z-index: -1; inset: -60%; background: repeating-conic-gradient(from 4deg at 42% 50%, #ffdf6b 0 7.5deg, transparent 0 15deg); }
.guide h2 { font-size: clamp(36px, 5vw, 66px); }
.guide p { font-size: 20px; max-width: 28em; margin: 14px 0 26px; }
.guide .btn { margin: 0 8px 14px 0; }
.guide .fine { font-size: 16px; margin: 10px 0 0; }
.pages { position: relative; display: block; width: min(88%, 560px); aspect-ratio: 1.02; margin: auto; }
.pages img { position: absolute; top: 4%; left: 18%; height: 92%; width: auto; border-radius: 5px; box-shadow: 0 14px 34px rgb(74 18 48 / .38); transition: rotate .35s cubic-bezier(.3, 1.6, .5, 1), translate .35s cubic-bezier(.3, 1.6, .5, 1); rotate: -3deg; }
.pages img:nth-child(1) { height: 84%; top: 9%; rotate: 13deg; translate: 34% 2%; }
.pages img:nth-child(2) { height: 84%; top: 9%; rotate: -13deg; translate: -24% 2%; }
.pages:hover img:nth-child(1) { rotate: 17deg; translate: 42% 3%; }
.pages:hover img:nth-child(2) { rotate: -17deg; translate: -32% 3%; }
.pages:hover img:nth-child(3) { rotate: 0deg; translate: 0 -2%; }

.get { padding: clamp(60px, 8vw, 110px) var(--edge); background: var(--cream); color: var(--ink); }
.get > p { margin: 10px 0 clamp(24px, 3vw, 40px); font-size: 20px; max-width: 34em; }
.get ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 4vw, 60px); }
.get li { border-top: 5px solid #ecd2a0; padding-top: 20px; }
.get li.mine { border-color: var(--beet); }
.get li .btn { margin: 16px 0 18px; }
.get li:not(.mine) .btn { background: var(--ink); box-shadow: inset 0 2px 0 #7d3a5c, 0 5px 0 #1f0413; }
.get li p { font-size: 16px; }

.open { background: var(--beet-d); padding: clamp(50px, 7vw, 90px) var(--edge) 0; display: flex; align-items: flex-end; gap: clamp(24px, 6vw, 90px); }
.open img { width: clamp(130px, 22vw, 270px); height: auto; margin-bottom: -14px; flex: none; }
.open div { padding-bottom: clamp(50px, 7vw, 90px); }
.open p { max-width: 33em; margin: 14px 0 24px; font-size: 20px; }
footer { position: relative; padding: 26px var(--edge) 34px; background: var(--deep); font-size: 15px; }

@media (max-width: 760px) {
  nav { justify-content: space-between; padding-top: 16px; font-size: 16px; } .cup { display: none; }
  .pitch { text-align: center; } .pitch p { margin-inline: auto; } .pitch h1 img { margin-inline: auto; } .go { justify-content: center; }
  .hero::after { background: linear-gradient(rgb(58 8 30 / .1), rgb(58 8 30 / .5)); }
  .farm { grid-template-columns: 1fr; } .farm .wide video { aspect-ratio: 16 / 10; }
  .get ul, .guide { grid-template-columns: 1fr; } .guide { text-align: center; } .guide p { margin-inline: auto; } .guide .btn { margin-inline: 4px; } .guide::before { background-image: repeating-conic-gradient(from 4deg at 50% 39%, #ffdf6b 0 7.5deg, transparent 0 15deg); }
  .screen { aspect-ratio: 4 / 3; width: 100%; }
}
@media (max-width: 520px) { .btn.gold { margin: 12px 0 0; } .open { flex-direction: column-reverse; align-items: center; text-align: center; gap: 0; } .open div { padding-bottom: 26px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .beet:hover img, .beet.in { animation: none; } .btn, .pages img { transition: none; } }
