/* Friends of Cameroon Club UK. The look comes from the Club's roller banner:
   cream paper, royal indigo, the woven zigzag border, and the flag's green, red and yellow used sparingly. */
:root {
  --paper: #FBF6E4;
  --paper-2: #F3ECD2;
  --indigo: #2A2D8C;
  --indigo-deep: #1A1C5C;
  --ink: #1B1A2E;
  --muted: #5A586C;
  --line: rgba(42, 45, 140, .18);
  --green: #0B7A53;
  --red: #C8102E;
  --yellow: #F2B90F;
  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(1.25rem, 6vw, 5.5rem);
  /* the banner's border, as a repeating tile */
  --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='40'%3E%3Crect width='44' height='40' fill='%232A2D8C'/%3E%3Cg fill='none' stroke='%23FBF6E4' stroke-width='2.6'%3E%3Cpath d='M-2 13 11 4 22 13 33 4 46 13'/%3E%3Cpath d='M-2 22 11 13 22 22 33 13 46 22'/%3E%3Cpath d='M-2 36 11 27 22 36 33 27 46 36'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--indigo); color: #fff; padding: .7rem 1rem; border-radius: 4px; }
.skip:focus { top: 1rem; }

/* the live globe sits behind the story */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 72% 38%, #FFFDF4 0%, var(--paper) 55%, var(--paper-2) 100%); }
.wash { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(251,246,228,.94) 0%, rgba(251,246,228,.72) 30%, rgba(251,246,228,0) 56%); transition: opacity .7s; }
.wash.off { opacity: 0; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; }
.flag { height: 5px; background: linear-gradient(90deg, var(--green) 0 33.33%, var(--red) 33.33% 66.66%, var(--yellow) 66.66%); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem var(--pad); background: linear-gradient(rgba(251,246,228,.94), rgba(251,246,228,0)); transition: background .3s, box-shadow .3s; }
.top.scrolled .bar, .top.open .bar { background: rgba(251,246,228,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.emblem { width: 44px; height: 44px; flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text b { font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--indigo-deep); }
.brand-text i { font-style: normal; font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav a:not(.btn):hover { color: var(--indigo); border-color: var(--indigo); }
.menu { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; position: relative; }
.menu span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--indigo-deep); transition: transform .25s; }
.menu span:nth-child(1) { top: 18px; } .menu span:nth-child(2) { top: 26px; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.drawer { background: rgba(251,246,228,.97); backdrop-filter: blur(14px); padding: .5rem var(--pad) 1.5rem; border-bottom: 1px solid var(--line); }
.drawer a { display: block; padding: .85rem 0; font-family: var(--display); font-size: 1.3rem; color: var(--indigo-deep); text-decoration: none; border-bottom: 1px solid var(--line); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.45rem; border-radius: 999px; font: 600 .98rem var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -10px rgba(42,45,140,.7); }
.btn-solid:hover { background: var(--indigo-deep); }
.btn-line { border-color: var(--indigo); color: var(--indigo); background: rgba(251,246,228,.6); }
.btn-line:hover { background: var(--indigo); color: #fff; }
.btn-gold { background: var(--yellow); color: var(--indigo-deep); border: 0; }
.btn-gold:hover { background: #FFD03A; }
.nav .btn { min-height: 42px; padding: .5rem 1.2rem; }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--indigo-deep); text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.7vw, 5.9rem); line-height: .98; letter-spacing: -.02em; margin-bottom: 1.6rem; }
h1 span { color: var(--indigo); white-space: nowrap; }
h2 { font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.06; letter-spacing: -.01em; margin-bottom: 1.1rem; }
h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: .6rem; }
.kicker { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; color: var(--indigo); margin-bottom: 1.1rem; }
.kicker::before { content: ''; width: 12px; height: 12px; flex: none; background: var(--indigo); transform: rotate(45deg); box-shadow: inset 0 0 0 3px var(--indigo), inset 0 0 0 5px var(--paper); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34rem; color: #33324a; margin-bottom: 2rem; }
.row { display: flex; flex-wrap: wrap; gap: .8rem; }
.hint { display: flex; align-items: center; gap: .7rem; margin-top: 2.8rem; font-size: .9rem; color: var(--muted); }
.hint i { width: 2px; height: 40px; background: linear-gradient(var(--indigo), transparent); transform-origin: top; animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* the story beats */
main { position: relative; z-index: 10; }
.beat { min-height: 118vh; display: flex; align-items: center; padding: 0 var(--pad); }
.beat.right { justify-content: flex-end; }
.hero { min-height: 100vh; min-height: 100svh; padding-top: 5rem; }
.panel { width: min(100%, 31rem); padding: 2.2rem 2.2rem 2.1rem; background: rgba(251,246,228,.86); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); border: 1px solid var(--line); border-top: 4px solid var(--indigo); border-radius: 4px 4px 18px 18px; box-shadow: 0 30px 60px -34px rgba(26,28,92,.45); }
.panel.bare { width: min(100%, 44rem); padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.panel p { color: #3a3950; }
.panel .row { margin-top: 1.4rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--indigo); }
.facts dd { font-size: .92rem; color: var(--muted); margin-top: .35rem; }
.pillars { list-style: none; margin-top: 1.2rem; display: grid; gap: .1rem; }
.pillars li { padding: .8rem 0 .8rem 1.5rem; border-top: 1px solid var(--line); position: relative; font-size: .97rem; color: var(--muted); }
.pillars li::before { content: ''; position: absolute; left: 0; top: 1.25rem; width: 9px; height: 9px; transform: rotate(45deg); }
.pillars li:nth-child(1)::before { background: var(--green); } .pillars li:nth-child(2)::before { background: var(--red); } .pillars li:nth-child(3)::before { background: var(--yellow); }
.pillars b { display: block; color: var(--ink); font-weight: 600; font-size: 1.02rem; }

/* the woven band */
.band { position: relative; z-index: 10; height: 40px; background: var(--weave) repeat-x center / 44px 40px; }

/* photo band */
.photo-band { position: relative; z-index: 10; height: min(92vh, 60vw + 14rem); min-height: 26rem; overflow: hidden; background: var(--indigo-deep); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.photo-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,28,92,0) 35%, rgba(26,28,92,.88) 100%); }
.photo-band-text { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 0 var(--pad) clamp(2rem, 6vw, 4.5rem); }
.photo-band-text p { font-family: var(--display); font-size: clamp(1.7rem, 4.4vw, 3.6rem); line-height: 1.1; color: #fff; max-width: 20ch; text-wrap: balance; }

/* solid sections */
.solid { position: relative; z-index: 10; background: var(--paper); padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad); }
.solid.tint { background: var(--paper-2); }
.wrap { max-width: 76rem; margin: 0 auto; }
.wrap.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sub { max-width: 40rem; color: var(--muted); font-size: 1.12rem; margin-bottom: 2.6rem; }
.note { margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.small { font-size: .95rem; }

.vpv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); margin-top: 2.6rem; border-top: 1px solid var(--line); }
.vpv article { padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.vpv h3 { font-family: var(--body); font-weight: 600; font-size: .95rem; color: var(--indigo); margin-bottom: 1rem; }
.vpv .big { font-family: var(--display); font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.22; color: var(--indigo-deep); text-wrap: balance; }
.vpv .values { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(8rem, 1fr) 4fr; gap: 1.5rem; }
.values ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.values li { font-size: .94rem; color: var(--muted); }
.values b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--indigo-deep); margin-bottom: .3rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px 4px 18px 18px; padding: 2.1rem 1.9rem 2.2rem; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -30px rgba(26,28,92,.5); }
.card svg { width: 46px; height: 46px; margin-bottom: 1.4rem; fill: none; stroke: var(--indigo); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.card p { color: var(--muted); font-size: .99rem; }

.impact { list-style: none; counter-reset: i; border-top: 1px solid var(--line); }
.impact li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1rem clamp(2rem, 6vw, 6rem); align-items: baseline; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.impact span { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.1; color: var(--indigo-deep); display: flex; align-items: baseline; gap: 1rem; }
.impact span::before { content: ''; width: .5em; height: .5em; flex: none; transform: rotate(45deg) translateY(-.1em); }
.impact li:nth-child(1) span::before { background: var(--green); } .impact li:nth-child(2) span::before { background: var(--red); } .impact li:nth-child(3) span::before { background: var(--yellow); }
.impact p { color: var(--muted); font-size: 1.1rem; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .9rem; }
.shot { position: relative; overflow: hidden; border: 0; padding: 0; background: var(--indigo-deep); border-radius: 4px; cursor: zoom-in; font: inherit; color: #fff; text-align: left; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.045); }
.shot span { position: absolute; inset: auto 0 0 0; padding: 2.6rem 1.1rem .9rem; font-size: .93rem; font-weight: 500; background: linear-gradient(transparent, rgba(20,21,70,.85)); }
.s1 { grid-column: span 7; aspect-ratio: 3 / 2; } .s2 { grid-column: span 5; aspect-ratio: auto; }
.s3 { grid-column: span 4; aspect-ratio: 4 / 3.4; } .s4 { grid-column: span 4; aspect-ratio: 4 / 3.4; } .s5 { grid-column: span 4; aspect-ratio: 4 / 3.4; }
.s4 img { object-position: 40% 50%; }

.offers { list-style: none; border-top: 1px solid var(--line); }
.offers li { padding: 1.5rem 0 1.5rem 2.6rem; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); font-size: 1.06rem; }
.offers li::before { content: ''; position: absolute; left: .2rem; top: 1.75rem; width: 1.15rem; height: .6rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.offers b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--indigo-deep); margin-bottom: .2rem; }

/* contact */
.solid.deep { background: var(--indigo-deep); color: #E9E7F6; }
.deep h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.deep .kicker { color: var(--yellow); } .deep .kicker::before { background: var(--yellow); box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 0 5px var(--indigo-deep); }
.deep .sub { color: #C9C7E6; } .deep a { color: var(--yellow); }
.form { display: grid; gap: 1.1rem; background: var(--paper); color: var(--ink); padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 4px 4px 18px 18px; border-top: 4px solid var(--yellow); }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; font: 400 1.02rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid rgba(42,45,140,.3); border-radius: 8px; padding: .8rem .9rem; min-height: 48px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--indigo); }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; font-weight: 400; }
.form .check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--indigo); }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.status { min-height: 1.5em; font-weight: 600; }
.status.ok { color: var(--green); } .status.bad { color: var(--red); }

/* footer */
.foot { position: relative; z-index: 10; background: var(--indigo-deep); color: #C9C7E6; }
.foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.6rem var(--pad) 3rem; max-width: none; font-size: .95rem; }
.foot-name { font-family: var(--display); font-size: 1.25rem; color: #fff; margin-bottom: .3rem; }
.foot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.foot a { color: #fff; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; margin: auto; }
.lightbox::backdrop { background: rgba(15,16,54,.9); }
.lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 4px; }
.lightbox button { display: block; margin: .8rem auto 0; background: var(--paper); border: 0; border-radius: 999px; padding: .6rem 1.4rem; font: 600 .95rem var(--body); color: var(--indigo-deep); cursor: pointer; }

/* reveals */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .gallery .reveal:nth-child(2), .offers .reveal:nth-child(2), .impact .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .gallery .reveal:nth-child(3), .offers .reveal:nth-child(3), .impact .reveal:nth-child(3) { transition-delay: .16s; }
.offers .reveal:nth-child(4) { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .nav { display: none; } .menu { display: block; }
  .values ul { grid-template-columns: repeat(2, 1fr); }
  .vpv .values { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 820px) {
  body { font-size: 1rem; }
  .beat, .beat.right { justify-content: center; align-items: flex-end; padding-bottom: 9vh; min-height: 112vh; }
  .hero.beat { min-height: 100svh; align-items: flex-end; padding-bottom: 6vh; }
  h1 { font-size: clamp(2.5rem, 11.2vw, 3.6rem); margin-bottom: 1.1rem; }
  .lead { margin-bottom: 1.4rem; }
  .wash { background: linear-gradient(0deg, rgba(251,246,228,.97) 0%, rgba(251,246,228,.9) 46%, rgba(251,246,228,0) 64%); }
  .panel { padding: 1.6rem 1.4rem 1.6rem; }
  .hint { display: none; }
  .wrap.two, .vpv, .cards, .impact li { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .s1, .s2 { grid-column: 1 / -1; aspect-ratio: 3 / 2; } .s3, .s4 { grid-column: span 1; aspect-ratio: 1; } .s5 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .brand-text i { display: none; }
  .photo-band { height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hint i { animation: none; }
  .btn:hover, .card:hover { transform: none; }
  .shot img { transition: none; }
}
