/*
Theme Name: Bang Bang Fuck Club
Theme URI: https://bangbangfuckclub.com
Author: SJ Naude
Description: Site theme for Bang Bang Fuck Club. Two type registers, one asterisk, no tricks.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: bbfc
*/

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --pink:  #ff7bac;
  --white: #FFFFFF;
  --rule:  rgba(255,255,255,.34);
  --hair:  rgba(255,255,255,.16);
  --cyan:  aqua;              /* accent. state and the mark only. nowhere else. */

  --pixel: "cofo-sans-pixel", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sans:  "Darker Grotesque", "Helvetica Neue", Arial, sans-serif;
  --script: var(--pixel);     /* swap in Candlescript here if you want it */

  --gutter: clamp(20px, 5vw, 72px);
  --bar: 88px;
}

/* ─── BASE ───────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--pink);
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 1.3;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar);
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: .03em; line-height: 1.14; }
.script { font-family: var(--script); font-weight: 400; }

/* ─── ICONS ──────────────────────────────────────────────────────────────── */
/* Stroked artwork uses vector-effect so the weight stays right at every size. */
.ico { fill: none; stroke: currentColor; stroke-miterlimit: 10; }
#hand1 .ico, #hand2 .ico, #hand3 .ico, #hand4 .ico { stroke-width: 2.69; }
#point .ico { stroke-width: 8.22; }
.ast { display: block; fill: currentColor; }

.divider { display: flex; justify-content: center; padding: clamp(44px, 7.5vh, 96px) 0; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule--dot { height: 0; background: none; border-top: 2px dotted var(--rule); margin-top: clamp(20px, 3vh, 30px); }
.divider .ast { width: 20px; height: 20px; opacity: .55; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
/* padding-block only — a shorthand here would cancel .wrap's gutter. */
.block { padding-block: clamp(52px, 8.5vh, 104px); }
/* First block on a page sits close under the header's dotted rule. */
.block--tight { padding-block-start: clamp(22px, 3vh, 34px); }

/* ─── TOP MARK (inner pages only) ────────────────────────────────────────── */
/* Sticky bar. The mark sits inside .wrap so it shares the text column. */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--pink);
  transition: box-shadow .2s ease;
}
.topbar.is-stuck { box-shadow: 0 2px 20px rgba(0,0,0,.16); }
.topmark { padding-block: clamp(14px, 2.4vh, 22px); }
.topmark a { display: inline-block; }
.topmark svg { width: clamp(88px, 10vw, 116px); height: auto; display: block; }

/* ─── FOOTER BAR (shared — the deck footer, doing nav duty) ──────────────── */
.bar {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--bar);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  background: var(--pink); border-top: 1px solid var(--rule); z-index: 20;
}
.bar-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.bar-hand { width: 26px; height: 26px; opacity: .75; flex: none; }
.bar-menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.bar-menu a {
  display: inline-block;
  font-family: var(--pixel); font-size: 16px; letter-spacing: .13em;
  text-transform: uppercase; text-decoration: none; opacity: .8;
  padding: 8px 0; border-bottom: 1px solid transparent;
  color: inherit;
}
.bar-menu a:hover { opacity: 1; }
.bar-menu .current-menu-item a,
.bar-menu .current_page_item a { opacity: 1; border-bottom-color: var(--cyan); }
.bar-copy {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; opacity: .5;
}

/* ─── VIEW 1 · SPLASH ────────────────────────────────────────────────────── */
.splash {
  min-height: calc(100vh - var(--bar));
  display: grid; grid-template-rows: auto 1fr auto;
  align-items: center; justify-items: center;
  padding: clamp(40px, 8vh, 84px) var(--gutter) clamp(48px, 8vh, 88px);
  text-align: center;
}
.splash-tagline {
  font-family: var(--pixel); margin: 0;
  font-size: clamp(14px, 2.1vw, 21px);
  letter-spacing: .3em; text-transform: uppercase;
}
.logo-lockup { display: grid; place-items: center; padding: clamp(30px, 6vh, 60px) 0; margin: 0; }
.logo-lockup svg { width: min(320px, 56vw); height: auto; display: block; }

/* The one button on the site. Outline, not fill. */
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--pixel); font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .2em; text-transform: uppercase;
  padding: 17px 34px; border: 1px solid var(--white);
  transition: background-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--white); color: var(--pink); }

/* ─── VIEW 2 · WHO ARE WE ────────────────────────────────────────────────── */
.page-title {
  font-family: var(--script); margin: 0;
  font-size: clamp(28px, 4.4vw, 54px); line-height: 1;
  padding: clamp(32px, 6vh, 64px) 0 0;
  display: flex; align-items: center; justify-content: flex-start;
  gap: .28em; flex-wrap: wrap; text-align: left;
}
.page-title .asts { display: inline-flex; align-items: center; gap: .07em; }
.page-title .ast { width: .5em; height: .5em; color: var(--cyan); }

.creds-lede { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.08; margin: 0 0 clamp(20px, 3vh, 30px); max-width: 30ch; }
.creds-lede--bold { font-weight: 700; margin-bottom: 0; }
.creds-lede--bold em { font-style: normal; font-weight: 500; font-size: .78em; opacity: .8; }

/* Client wall — credential, not portfolio. One artboard, boxes included. */
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.wall { width: 100%; }
.wall svg { width: 100%; height: auto; display: block; }

/* Full-bleed type band where the photo grid was */

.belief { font-size: clamp(29px, 4.6vw, 60px); line-height: 1.1; margin: 0; }
.belief .big { font-family: var(--sans); font-size: 1em; font-weight: 700; }

/* Asset / Execution — the centrepiece. Asterisk literally between the columns. */
.ae { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 4vw, 60px); align-items: start; }
.ae-col { text-align: center; }
.ae-col h3 { font-family: var(--pixel); font-size: clamp(19px, 2.9vw, 38px); margin: 0 0 clamp(12px, 2vw, 20px); font-weight: 400; }
.ae-col p { margin: 0; font-size: clamp(17px, 2.4vw, 26px); line-height: 1.26; }
.ae-mark { align-self: center; }
.ae-mark .ast { width: clamp(16px, 3.4vw, 30px); height: auto; color: var(--cyan); }
.ae-payoff {
  font-family: var(--script); font-size: clamp(26px, 4.4vw, 56px);
  line-height: 1.12; text-align: center; margin: clamp(46px, 8vh, 88px) 0 0;
}
.ae-payoff .after strong { font-weight: 700; }
.ae-payoff .after {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px); line-height: 1.14; margin-top: .5em;
}


/* ─── VIEW 3 · SERVICES ──────────────────────────────────────────────────── */
.opener { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.08; margin: 0; font-weight: 500; }

.ladder { border-top: 1px solid var(--rule); }
.item { border-bottom: 1px solid var(--rule); }
.item-head {
  width: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  background: none; border: 0; color: inherit; cursor: pointer;
  padding: clamp(20px, 2.8vh, 30px) 0; text-align: left;
  font-family: var(--pixel); font-size: clamp(19px, 2.7vw, 34px); letter-spacing: .03em;
}
/* The hands are the numerals: one finger, two, three, four. */
.item-hand { width: clamp(21px, 2.1vw, 28px); flex: none; transition: color .2s ease; }
.item-hand svg { width: 100%; height: auto; }
.item-name { flex: 1; }
.item-mark { flex: none; transition: transform .22s ease, color .22s ease; }
.item-mark .ast { width: 15px; height: 15px; }
.item[data-open="1"] .item-hand,
.item[data-open="1"] .item-mark { color: var(--cyan); }
.item[data-open="1"] .item-mark { transform: rotate(90deg); }
.item-head:hover .item-hand, .item-head:hover .item-mark { color: var(--cyan); }

.item-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.item[data-open="1"] .item-body { grid-template-rows: 1fr; }
.item-body > div { overflow: hidden; }
/* Indented to the width of the hand column so name, sub-head and body
   all share one left edge inside each service. */
.item-inner { padding: 2px 0 clamp(28px, 4vh, 44px) calc(clamp(21px, 2.1vw, 28px) + clamp(14px, 2vw, 26px)); }

.item-what { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.26; margin: 0 0 30px; }
.item h4 {
  font-family: var(--sans); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.08;
  text-transform: uppercase; letter-spacing: .05em; margin: 0 0 12px; font-weight: 900;
}
.item ol { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: n; }
.item ol li { counter-increment: n; padding: 9px 0 9px 38px; position: relative; line-height: 1.28; border-top: 1px solid var(--hair); }
.item ol li:first-child { border-top: 0; }
.item ol li::before {
  content: counter(n) "."; position: absolute; left: 0; top: 11px;
  font-family: var(--pixel); font-size: 14px; opacity: .9;
}
.item ol strong { font-weight: 700; }
.why { margin: 0; line-height: 1.3; }

.ask { text-align: center; }
.ask h2 { font-family: var(--pixel); font-size: clamp(26px, 4.4vw, 54px); margin: 0 0 clamp(30px, 4vh, 44px); font-weight: 400; }

/* ─── MOBILE ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .creds { grid-template-columns: 1fr; gap: 40px; }
  .bar-copy { display: none; }
  .bar-hand { width: 21px; height: 21px; }
}
@media (max-width: 520px) {
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
