@import url("fonts/fonts.css");

/* REAL LIFE CLUB demo: their own brand (olive, pink, cream, Bricolage + Instrument Serif + DM Sans),
   calmer layout: one idea per section, each said once. */
:root {
  --olive: oklch(37.5% .083 105.5);
  --olive-soft: oklch(56% .07 108);
  --pink: oklch(79% .088 9);
  --pink-soft: oklch(90.5% .043 8);
  /* their pink is a fill colour; as text on cream it is only 1.9:1, so text uses a deeper shade of it */
  --pink-ink: oklch(55% .13 8);
  --cream: oklch(97.2% .018 95);
  --card: oklch(99% .01 95);
  --muted: oklch(48% .04 105);
  --line: oklch(37.5% .083 105.5 / .16);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --text: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .9, .2, 1);
  --gut: clamp(18px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--cream); color: var(--olive); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--pink); color: var(--olive); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: .95; text-wrap: balance; }
h1 em, h2 em { display: block; font: italic 400 1em/1 var(--serif); letter-spacing: 0; color: var(--pink-ink); }
.how h2 em { color: var(--pink); }
.wrap { width: min(1280px, 100% - 2 * var(--gut)); margin: 0 auto; }
.skip { position: fixed; z-index: 90; left: 16px; top: -80px; padding: 12px 18px; background: var(--olive); color: var(--cream); text-decoration: none; }
.skip:focus { top: 16px; }
.pill { display: inline-block; margin: 0; padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; }
.pill.light { border-color: rgba(255, 255, 255, .35); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; font: 600 15px/1 var(--text); text-decoration: none; color: var(--cream); background: var(--olive); border: 0; border-radius: 999px; cursor: pointer; transition: transform .35s var(--ease), background .3s; }
.btn::after { content: "\2197"; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translate(2px, -2px); }
.btn.pink { color: var(--olive); background: var(--pink); }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.brand { margin: 0; font: 800 18px/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.brand span { color: var(--pink-ink); }
.foot .brand span { color: var(--pink); }

.head { position: sticky; top: 0; z-index: 40; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 14px var(--gut); background: oklch(97.2% .018 95 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.solid { border-color: var(--line); }
.head nav { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: 15px; font-weight: 500; }
.head nav a { text-decoration: none; background: linear-gradient(var(--pink), var(--pink)) left bottom / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.head nav a:hover { background-size: 100% 2px; }

/* hero: words left, one strong photo right */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 80px); align-items: center; min-height: calc(100svh - 120px); padding: 30px 0 40px; }
.hero-t { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: clamp(44px, 4.9vw, 82px); }
.hero h1 .ln:first-child { white-space: nowrap; }
.hero h1 em { font-size: 1.06em; margin-top: .06em; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > * { display: block; transition: transform 1.2s var(--ease); }
.js .hero:not(.go) .ln > * { transform: translateY(105%); }
.ln + .ln > * { transition-delay: .12s; }
.lead { max-width: 44ch; margin: 0; font-size: clamp(17px, 1.4vw, 19px); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-ph { position: relative; height: min(68svh, 640px); }
.hero-ph figure { position: absolute; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 60px -30px oklch(24% .03 105 / .45); }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-ph .main { inset: 0 0 0 14%; transition: clip-path 1.4s var(--ease) .2s; }
.js .hero:not(.go) .main { clip-path: inset(100% 0 0 0 round 22px); }
.hero .main { clip-path: inset(0 0 0 0 round 22px); }
.hero-ph .side { left: 0; bottom: 8%; width: 36%; aspect-ratio: 3 / 4; border: 6px solid var(--cream); transition: transform 1.2s var(--ease) .7s, opacity 1s .7s; rotate: -4deg; }
.js .hero:not(.go) .side { transform: translateY(40px); opacity: 0; }
.sticker { position: absolute; top: 6%; right: -10px; padding: 12px 18px; font: 700 15px/1 var(--display); text-transform: uppercase; background: var(--pink); border-radius: 999px; rotate: 8deg; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -8px; rotate: 4deg; } }

.ticker { overflow: hidden; padding: 14px 0; background: var(--pink); }
.ticker div { display: flex; width: max-content; }
.ticker span { padding: 0 1.2em; font: 700 clamp(16px, 1.6vw, 22px)/1 var(--display); text-transform: uppercase; white-space: nowrap; }

.sec-h { display: grid; gap: 14px; justify-items: start; max-width: 760px; margin-bottom: clamp(26px, 3vw, 40px); }
.sec-h h2, .how h2, .ask h2, .gal h2 { font-size: clamp(40px, 5.2vw, 76px); }
.sec-h p { margin: 0; color: var(--muted); }

.ws { padding: clamp(60px, 7vw, 100px) 0 clamp(50px, 6vw, 80px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.card { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 22px; transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px oklch(24% .03 105 / .5); }
.card .ph { overflow: hidden; aspect-ratio: 4 / 3.3; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.card:hover .ph img { scale: 1.05; }
.card-t { display: grid; gap: 10px; padding: 22px 22px 24px; }
.card h3 { font-size: 26px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " \2197"; }
.dates { margin: 28px 0 0; color: var(--muted); }
.dates a { color: var(--olive); font-weight: 600; }

.how { padding: clamp(60px, 7vw, 100px) 0; color: var(--cream); background: var(--olive); }
.how-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.how-ph { margin: 0; overflow: hidden; border-radius: 22px; aspect-ratio: 1 / 1; }
.how-ph img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.how-in > div { display: grid; gap: 22px; justify-items: start; }
.how-in > div > p:not(.pill) { margin: 0; max-width: 50ch; color: oklch(97.2% .018 95 / .82); }
.steps { display: grid; gap: 0; width: 100%; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .2); color: oklch(97.2% .018 95 / .82); counter-increment: s; }
.steps li::before { content: "0" counter(s); grid-row: span 2; font: italic 400 24px/1 var(--serif); color: var(--pink); }
.steps b { font: 700 20px/1.2 var(--display); color: var(--cream); }

.events { padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 64px); }
.ev-ph { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(10px, 1.6vw, 20px); }
.ev-ph figure { margin: 0; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 4.2; }
.ev-ph figure:nth-child(2) { margin-top: 36px; }
.ev-ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.ev-ph figure:hover img { scale: 1.05; }
.logos { display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(30px, 4vw, 48px); padding-top: 26px; border-top: 1px solid var(--line); }
.logos span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logos img { height: 40px; max-width: 150px; object-fit: contain; width: auto; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; opacity: .85; transition: opacity .3s, filter .3s; }
.logos img:hover { opacity: 1; filter: none; }

.ask { padding: clamp(56px, 7vw, 96px) 0; background: var(--pink-soft); }
.ask-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.ask-in > div { display: grid; gap: 20px; }
.ask-in > div p { margin: 0; max-width: 44ch; }
.ask a { font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(20px, 3vw, 34px); background: var(--card); border-radius: 22px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: 400 16px/1.4 var(--text); color: var(--olive); padding: 12px 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; }
.form .full { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.done { grid-column: 1 / -1; margin: 0; padding: 14px 16px; font-size: 15px; background: var(--pink-soft); border-radius: 12px; }
.done[hidden] { display: none; }

.gal { padding: clamp(60px, 7vw, 100px) 0 clamp(30px, 4vw, 50px); }
.gal-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.gal-h p { margin: 0; color: var(--muted); max-width: 40ch; }
.gal-h div { display: grid; gap: 12px; justify-items: end; text-align: right; }
.strip { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--gut) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.strip img { flex: 0 0 auto; height: clamp(260px, 30vw, 360px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; scroll-snap-align: start; user-select: none; }
.strip img:nth-child(3n + 2) { margin-top: 30px; }


.foot { padding: 50px 0 30px; color: var(--cream); background: var(--olive); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.foot-in p { margin: 0; color: oklch(97.2% .018 95 / .82); }
.foot .brand { font-size: 28px; color: var(--cream); }
.foot small { display: block; margin-top: 40px; color: oklch(97.2% .018 95 / .7); font-size: 13px; }

.rise { transition: opacity 1s var(--ease), translate 1.1s var(--ease); }
.js .rise:not(.in) { opacity: 0; translate: 0 24px; }
.cards .card:nth-child(2) { transition-delay: .1s; } .cards .card:nth-child(3) { transition-delay: .2s; }

@media (max-width: 900px) {
  .head nav { display: none; }
  .hero, .how-in, .ask-in { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 24px; }
  .hero-ph { height: 62svh; }
  .hero h1 .ln:first-child { white-space: normal; }
  .gal-h { flex-direction: column; align-items: start; }
  .gal-h div { justify-items: start; text-align: left; }
  .cards { grid-template-columns: 1fr; }
  .ev-ph { grid-template-columns: 1fr 1fr; }
  .ev-ph figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .ev-ph figure:nth-child(2) { margin-top: 0; }
  .form { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .logos img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .hero:not(.go) .ln > *, .js .hero:not(.go) .side { transform: none; opacity: 1; }
  .js .hero:not(.go) .main { clip-path: none; }
  .js .rise:not(.in) { opacity: 1; translate: none; }
  .how-ph img { scale: 1; }
}
