:root { --peach: #f3dcc1; --peach-d: #ecc9a3; --red: #e11d27; --brown: #7a2810; --ink: #3a1608; --apricot: #f08a24; --leaf: #5aa05a; --blue: #1a3eec; --muted: #6e4a36; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); background: #fff8ef; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.w { width: min(1100px, 100% - 40px); margin-inline: auto; }
.hand { font-family: "Caveat", Georgia, serif; font-style: italic; font-weight: 700; }

.jj-nav { position: sticky; top: 0; z-index: 10; background: var(--peach); color: var(--ink); border-bottom: 3px solid var(--brown); }
.jj-nav .w { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--brown); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand img { height: 38px; width: auto; }
.jj-nav nav { display: flex; align-items: center; gap: 22px; }
.jj-nav nav a { color: var(--brown); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.jj-nav nav a:hover { color: var(--red); }
.jj-nav .pill { background: var(--blue); color: #fff; padding: 7px 14px; border-radius: 99px; }
.jj-nav .pill:hover { color: #fff; background: #2a4dff; }
@media (max-width: 860px) { .jj-nav nav a:not(.pill) { display: none; } }

.hero { background: var(--peach); padding: 28px 0 64px; }
.banner { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 18px 40px rgba(122,40,16,0.25); }
.hero-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin: 32px 0 24px; }
.lede { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 600; color: var(--brown); margin: 0; line-height: 1.35; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px 22px; justify-content: end; }
.facts li { font-size: 0.82rem; color: var(--muted); display: grid; }
.facts b { font-size: 1.35rem; color: var(--red); line-height: 1.1; white-space: nowrap; }
@media (max-width: 860px) { .hero-row { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, auto); justify-content: start; } }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 99px; font-weight: 800; text-decoration: none; border: 2px solid transparent; }
.btn.g { background: var(--red); color: #fff; }
.btn.g:hover { background: #c4131d; }
.btn.o { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn.o.dark { border-color: var(--brown); color: var(--brown); }
.btn.g.dark { background: var(--brown); color: #fff; }

.group { padding: 72px 0 24px; }
.pol { margin: 0 auto; max-width: 940px; background: #fff; color: var(--ink); padding: 14px 14px 0; transform: rotate(-1.2deg); box-shadow: 0 26px 50px rgba(122,40,16,0.3); position: relative; }
.pol img { width: 100%; height: auto; aspect-ratio: 2000 / 800; object-fit: cover; }
.pol figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 6px 16px; gap: 12px; }
.pol .hand { font-size: 2rem; line-height: 1; color: var(--brown); }
.pol small { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; font-size: 0.75rem; }
.tape { position: absolute; top: -14px; width: 100px; height: 30px; background: rgba(240,138,36,0.75); }
.t1 { left: 34px; transform: rotate(-6deg); } .t2 { right: 34px; transform: rotate(5deg); }

.sec { padding: 84px 0; }
.sec.alt { background: var(--peach); }
.eye { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--red); margin-bottom: 10px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; color: var(--brown); }
.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.prose p { font-size: 1.1rem; margin: 0 0 14px; color: var(--muted); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; gap: 12px; } }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: #fff8ef; border: 2px solid var(--brown); border-radius: 22px; padding: 22px; box-shadow: 4px 4px 0 var(--brown); }
.steps li:nth-child(odd) { transform: rotate(-0.6deg); } .steps li:nth-child(even) { transform: rotate(0.6deg); }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.1rem; }
.steps h3 { margin: 14px 0 4px; font-size: 1.15rem; color: var(--brown); }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.film { background: var(--brown); color: #fff; } .film .eye { color: var(--apricot); } .film h2 { color: #fff; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.vid iframe, .vid-poster, .vid-poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vid-poster { display: block; }
.play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--red); box-shadow: 0 8px 24px rgba(0,0,0,0.4); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.play::after { content: ""; position: absolute; left: 36px; top: 26px; border-left: 28px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.vid-poster:hover .play { transform: scale(1.12); }

.sub { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0 0 24px; }
.cty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cty div { background: var(--brown); color: #fff; border-radius: 22px; padding: 22px; }
.cty b { display: inline-block; background: var(--apricot); color: var(--ink); border-radius: 10px; padding: 3px 10px; font-size: 0.9rem; }
.cty h3 { margin: 12px 0 4px; } .cty p { margin: 0; color: #f0cdb8; font-size: 0.95rem; }
@media (max-width: 860px) { .cty { grid-template-columns: 1fr 1fr; } }

.sec.red { background: var(--red); color: #fff; }
.sec.red .eye { color: var(--peach); } .sec.red h2 { color: #fff; }
.chips { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--peach); color: var(--brown); font-weight: 800; padding: 10px 18px; border-radius: 99px; }
.chips li:nth-child(3n+1) { background: #fff; } .chips li:nth-child(3n+2) { background: var(--brown); color: #fff; }
.chips li:nth-child(odd) { transform: rotate(-2deg); } .chips li:nth-child(even) { transform: rotate(1.5deg); }
.yp { max-width: 40em; color: #ffe4d8; font-size: 1.05rem; }

.igwrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 26px; align-items: start; }
.igcard { position: relative; min-height: 160px; background: #fff8ef; border: 2px solid var(--brown); border-radius: 18px; overflow: hidden; }
.igcard .instagram-media { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; width: 100% !important; border: 0 !important; box-shadow: none !important; }
.igfallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; color: var(--brown); text-decoration: none; font-weight: 700; font-size: 0.9rem; z-index: 0; }
.igfallback span { font-family: "Caveat", Georgia, serif; font-style: italic; font-size: 1.8rem; color: var(--red); }
.igcard iframe, .igcard .instagram-media { position: relative; z-index: 1; background: #fff; }
@media (max-width: 900px) { .igwrap { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .igwrap { grid-template-columns: 1fr; } }

.next { background: var(--apricot); text-align: center; }
.next h2 { color: var(--ink); }
.next p { max-width: 36em; margin: 0 auto 22px; font-size: 1.1rem; }
.next .acts { justify-content: center; }
.next .btn.g { background: var(--brown); color: #fff; }

.jj-foot { background: var(--ink); color: #e8c8b0; padding: 36px 0; font-size: 0.9rem; }
.jj-foot b { color: #fff; }
.eu { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.dis { font-size: 0.78rem; color: #b79078; max-width: 60em; }

.igcard { padding-top: 50px; }
.daytag { position: absolute; left: 14px; top: 12px; z-index: 3; background: var(--red); color: #fff; font-style: normal; font-weight: 800; font-size: 0.85rem; border-radius: 99px; padding: 4px 13px; transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--brown); pointer-events: none; }
.swipe { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 30px; color: var(--red); font-size: 1.7rem; line-height: 1; transform: rotate(-2deg); }
.swipe svg { width: 52px; height: 40px; margin-bottom: -20px; }
.igfallback { top: 50px; }

.gal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; gap: 14px; margin-top: 8px; }
.gal .ph { display: block; color: inherit; text-decoration: none; min-width: 0; }
.gal .big { grid-column: span 2; grid-row: span 2; }
.gal figure { margin: 0; background: #fff; padding: 6px 6px 0; box-shadow: 0 8px 18px rgba(122,40,16,0.18); transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s; height: 100%; display: flex; flex-direction: column; }
.gal .ph:nth-child(4n+1) figure { transform: rotate(-1.2deg); } .gal .ph:nth-child(4n+2) figure { transform: rotate(0.9deg); }
.gal .ph:nth-child(4n+3) figure { transform: rotate(-0.5deg); } .gal .ph:nth-child(4n) figure { transform: rotate(1.3deg); }
.gal .ph:hover figure, .gal .ph:focus-visible figure { transform: rotate(0) translateY(-5px) scale(1.06); box-shadow: 0 18px 32px rgba(122,40,16,0.28); position: relative; z-index: 2; }
.gal img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; flex: 1; min-height: 0; }
.gal figcaption { padding: 5px 2px 7px; font-size: 1.02rem; line-height: 1.05; color: var(--brown); }
.gal figcaption b { color: var(--red); margin-right: 3px; }
.gal .big figcaption { font-size: 1.5rem; padding: 8px 4px 10px; }
@media (max-width: 960px) { .gal { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 9px; } .gal figure { padding: 4px 4px 0; } .gal figcaption { font-size: 0.82rem; white-space: normal; padding: 3px 1px 5px; } .gal .big figcaption { font-size: 1.15rem; } }

.lb { position: fixed; inset: 0; z-index: 50; background: rgba(42,14,4,0.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; background: #fff; padding: 10px 10px 0; max-width: min(1200px, 100% - 120px); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.lb img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; margin: 0 auto; }
.lb figcaption { padding: 10px 6px 12px; font-size: 1.5rem; color: var(--brown); }
.lb button { position: absolute; border: 0; background: var(--red); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; box-shadow: 2px 2px 0 var(--brown); }
.lb-x { top: 16px; right: 16px; } .lb-p { left: 16px; top: 50%; margin-top: -26px; } .lb-n { right: 16px; top: 50%; margin-top: -26px; }
@media (max-width: 600px) { .lb-p, .lb-n { top: auto; bottom: 18px; margin: 0; } .lb-p { left: calc(50% - 64px); } .lb-n { right: calc(50% - 64px); } }
@media (max-width: 600px) { .lb figure { max-width: 100%; } }

/* A word from the organiser */
.word-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 56px; align-items: center; }
.word-pol { margin: 0; background: #fff; padding: 12px 12px 0; transform: rotate(-2.5deg); box-shadow: 0 24px 50px rgba(58,22,8,0.22); max-width: 340px; justify-self: center; }
.word-pol img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.word-pol figcaption { font-size: 1.7rem; color: var(--brown); padding: 10px 4px 14px; line-height: 1; }
.word blockquote { margin: 0; position: relative; padding-left: 0; }
.word blockquote::before { content: "\201C"; position: absolute; left: -6px; top: -70px; font-size: 7rem; line-height: 1; color: var(--red); font-family: Georgia, serif; opacity: 0.9; }
.word blockquote p { font-size: 1.15rem; line-height: 1.65; color: var(--ink); margin: 0 0 14px; }
.word blockquote p:first-child { font-size: 1.35rem; font-weight: 700; line-height: 1.45; }
.word-sig { margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
.word-sig b { display: block; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 800px) { .word-grid { grid-template-columns: 1fr; gap: 40px; } .word-pol { max-width: 260px; } .word blockquote::before { top: -54px; font-size: 5.5rem; } .word blockquote p:first-child { font-size: 1.2rem; } }
.word blockquote { padding-top: 44px; } .word blockquote::before, .word-grid .word blockquote::before { top: -14px; font-size: 5.5rem; }

/* The people: one jam jar per country, drawn like the Job Jam logo */
.cty.jars { gap: 26px; margin-top: 44px; align-items: end; }
.cty.jars .jar { position: relative; background: none; padding: 0; border-radius: 0; color: var(--ink); rotate: -1.5deg; transition: rotate .45s cubic-bezier(.3,1.8,.5,1), translate .25s; filter: drop-shadow(0 16px 22px rgba(58,22,8,0.2)); }
.cty.jars .jar:nth-child(even) { rotate: 1.5deg; }
.cty.jars .jar:hover { rotate: 0deg; translate: 0 -6px; }
.jar svg { display: block; width: 100%; height: auto; }
.cty.jars .label { position: absolute; left: 17%; right: 17%; top: 50%; background: #fffaf2; border: 3px solid var(--brown); border-radius: 14px; padding: 10px 8px 12px; text-align: center; rotate: -3deg; }
.cty.jars .jar:nth-child(even) .label { rotate: 3deg; }
.jar .label b { display: inline-block; background: var(--brown); color: var(--peach); border-radius: 7px; padding: 1px 8px; font-size: 0.8rem; letter-spacing: 0.06em; }
.jar .label h3 { margin: 6px 0 2px; color: var(--brown); font-size: 1.15rem; }
.jar .label p { margin: 0; color: var(--ink); font-weight: 700; font-size: 0.85rem; line-height: 1.25; }
.jar .label small { display: block; color: var(--muted); font-size: 0.72rem; margin-top: 2px; line-height: 1.2; }
@media (max-width: 860px) { .cty.jars { grid-template-columns: 1fr 1fr; gap: 28px 18px; } .cty.jars .label { left: 13%; right: 13%; top: 46%; padding: 8px 6px 10px; } .jar .label h3 { font-size: 1rem; } .jar .label p { font-size: 0.78rem; } }

/* Skills: toast slices with a jam blob, like the T-shirt */
.chips.toasts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; margin-top: 30px; }
.chips.toasts li { position: relative; display: block; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; transform: none; rotate: -3deg; filter: drop-shadow(0 12px 16px rgba(58,22,8,0.3)); transition: rotate .4s cubic-bezier(.3,1.8,.5,1), translate .2s; }
.chips.toasts li:nth-child(3n+2) { rotate: 2.5deg; }
.chips.toasts li:nth-child(3n) { rotate: -1deg; }
.chips.toasts li:nth-child(even) svg .jam { transform: scaleX(-1); transform-origin: 100px 0; }
.chips.toasts li:hover { rotate: 0deg; translate: 0 -5px; }
.chips.toasts svg { display: block; width: 100%; height: auto; }
.chips.toasts .crust { fill: #f6dcae; stroke: #7a2810; stroke-width: 9; stroke-linejoin: round; }
.chips.toasts .jam { fill: #c8102e; }
.chips.toasts li span { position: absolute; left: 22%; right: 22%; top: 28%; bottom: 18%; display: grid; place-items: center; text-align: center; color: #fbe6c4; font-weight: 800; font-size: 0.95rem; line-height: 1.15; }
@media (max-width: 900px) { .chips.toasts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .chips.toasts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } .chips.toasts li span { font-size: 0.82rem; left: 21%; right: 21%; } }
@media (prefers-reduced-motion: reduce) { .cty.jars .jar, .chips.toasts li { transition: none; } }
@media (max-width: 520px) { .cty.jars { gap: 40px 16px; } .cty.jars .label { top: 44%; left: 12%; right: 12%; padding: 6px 4px 8px; } .jar .label small { display: none; } .jar .label b { font-size: 0.7rem; } .jar .label h3 { font-size: 0.92rem; margin-top: 4px; } .jar .label p { font-size: 0.72rem; } }

.eu img { display: block; height: 40px; width: auto; margin: 6px 0; }

/* Simon as a cut-out on a jam-red disc, the same treatment as his portrait on the Novae home page:
   the photo runs down to the bottom edge of the section so he stands in it instead of floating */
.word { padding-bottom: 0; }
.word-grid { align-items: end; }
.word-grid > div { padding-bottom: 84px; align-self: center; }
.word-cut { position: relative; margin: 0; width: min(380px, 100%); justify-self: center; align-self: end; }
.word-cut img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.word-cut .cut-disc { position: absolute; left: 50%; bottom: 8%; width: 108%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--red); z-index: 0; }
.word-cut .cut-disc::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 2px dashed rgba(122,40,16,0.35); }
@media (max-width: 800px) { .word-grid > div { order: 1; padding-bottom: 0; } .word-cut { order: 2; width: min(300px, 82%); } .word-grid { row-gap: 40px; } }
