/* ============================================================
   BBMGOS GLOBAL STYLESHEET
   Botle Ba Matsoho Guild of Stagehands
   Brand: Crimson #C8102E | Gold #F2A900 | Black #2D2926
          Slate #8A9EA7  | Grey #F2F4F7 | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700;1,900&family=Inter:wght@300;400;500;600&display=swap');

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── TOKENS ── */
:root {
  --crimson:  #C8102E;
  --gold:     #F2A900;
  --black:    #2D2926;
  --slate:    #8A9EA7;
  --grey:     #F2F4F7;
  --white:    #FFFFFF;
  --mid:      #6B6B6B;
  --border:   #E0E0E0;
  --gold-dk:  #9a6c00;

  --max:      1140px;
  --nav-h:    72px;

  --radius-sm: 2px;
  --radius-md: 4px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: icon + wordmark */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo sits on its own light background now, no plate needed */
.nav-logo-plate {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.nav-logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--crimson);
  transition: width 0.2s;
}

.nav-links a:hover        { color: var(--crimson); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active       { color: var(--crimson); }
.nav-links a.active::after { width: 100%; }

/* Contact CTA pill in nav */
.nav-cta {
  background: var(--crimson) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #a80d25 !important; }
.nav-cta::after { display: none !important; }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
  border-radius: 1px;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

/* ── TYPOGRAPHY ── */

/* Display — homepage hero only */
.display {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--black);
}

.display-italic {
  font-style: italic;
  color: var(--crimson);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mid);
}

/* Eyebrow label above headings */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  display: block;
  margin-bottom: 14px;
}

.eyebrow-gold { color: var(--gold-dk); }
.eyebrow-slate { color: var(--slate); }

/* Lead paragraph */
.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--mid);
}

/* Body paragraph */
p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid);
}

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  color: var(--black);
  background: var(--grey);
}

.pull-quote-dark {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border-left-color: var(--gold);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary         { background: var(--crimson); color: var(--white); }
.btn-primary:hover   { background: #a80d25; color: var(--white); }

.btn-gold            { background: var(--gold); color: var(--black); }
.btn-gold:hover      { background: #d99500; color: var(--black); }

.btn-outline         { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover   { background: var(--black); color: var(--white); }

.btn-outline-white   { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

.btn-outline-gold    { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--grey);
  color: var(--mid);
}

.tag-crimson { background: rgba(200,16,46,0.08); color: var(--crimson); }
.tag-gold    { background: rgba(242,169,0,0.12); color: var(--gold-dk); }
.tag-slate   { background: rgba(138,158,167,0.15); color: var(--slate); }

/* ── DIVIDERS ── */
.rule         { height: 1px; background: var(--border); }
.rule-gold    { height: 3px; background: var(--gold); width: 48px; }
.rule-crimson { height: 3px; background: var(--crimson); width: 48px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(200,16,46,0.3);
  box-shadow: 0 4px 20px rgba(200,16,46,0.06);
}

/* ── STAT BLOCKS ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-block {
  background: var(--white);
  padding: 40px 36px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  line-height: 1.5;
}

/* ── PILLAR BLOCKS ── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.pillar {
  background: var(--white);
  padding: 48px 36px;
}

.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--grey);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.pillar h3 { margin-bottom: 12px; color: var(--black); }

.pillar p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid);
}

/* ── HERO VARIANTS ── */
.hero-dark {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-dark .eyebrow  { color: var(--gold); }
.hero-dark h1        { color: var(--white); }
.hero-dark .lead     { color: rgba(255,255,255,0.65); }
.hero-dark p         { color: rgba(255,255,255,0.60); }

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* ── WORK CARDS (Our Work page) ── */
.work-card {
  background: var(--grey);
  overflow: hidden;
}

.work-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.work-card-img-placeholder {
  width: 100%;
  height: 260px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-body {
  padding: 28px 32px 32px;
}

/* ── FORMS ── */
.form-group  { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--crimson);
}

.form-textarea { min-height: 120px; resize: vertical; }

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img { height: 52px; width: auto; }

.footer-logo-text { display: flex; flex-direction: column; }

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-top: 2px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 300px;
}

.footer-slogan {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  margin-top: 16px;
  line-height: 1.5;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover { color: var(--gold); }

/* ── GRID UTILITIES ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── SPACING UTILITIES ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── COLOUR UTILITIES ── */
.bg-black  { background: var(--black); }
.bg-grey   { background: var(--grey); }
.bg-crimson { background: var(--crimson); }

.text-white   { color: var(--white); }
.text-crimson { color: var(--crimson); }
.text-gold    { color: var(--gold); }
.text-mid     { color: var(--mid); }

/* ── FLEX UTILITIES ── */
.flex            { display: flex; }
.flex-center     { display: flex; align-items: center; }
.flex-between    { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap       { flex-wrap: wrap; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links         { display: none; }
  .nav-hamburger     { display: flex; }
  .hero-split        { grid-template-columns: 1fr; gap: 56px; }
  .pillar-grid       { grid-template-columns: 1fr; }
  .stat-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .grid-2            { grid-template-columns: 1fr; }
  .grid-3            { grid-template-columns: 1fr 1fr; }
  .grid-4            { grid-template-columns: 1fr 1fr; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px 32px;
    gap: 20px;
    z-index: 199;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
}

@media (max-width: 600px) {
  .container      { padding: 0 20px; }
  .section        { padding: 64px 0; }
  .section-lg     { padding: 80px 0; }
  .stat-grid      { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .grid-3         { grid-template-columns: 1fr; }
  .grid-4         { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  .nav-logo-text  { display: none; }
  .nav-logo-img   { height: 38px; }
}

/* ── ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
}
