/* Bright layout: light and bold, with an overview grid. Dark colours follow in the second half. */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #121212;
  --muted: #5f5d58;
  --line: rgba(18, 18, 18, 0.12);
  --holo: linear-gradient(100deg, #0a9fbd 0%, #5a52e0 35%, #d1379e 68%, #e07e00 100%);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
}
h1, h2 { font-weight: 800; letter-spacing: -0.03em; }

.br-pill { padding: 10px 20px; border-radius: 999px; background: var(--text); color: var(--bg) !important; text-decoration: none; font-weight: 600; transition: transform 0.2s; display: inline-block; }
.br-pill:hover { transform: translateY(-2px); }
.br-big { padding: 16px 30px; font-size: 18px; }

.br-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 120px 32px 88px; }
.br-kicker { margin: 0 0 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.br-hero h1 { font-size: clamp(64px, 9.6vw, 136px); line-height: 0.95; }
.br-sub { max-width: 30em; margin: 28px 0 36px; font-size: 20px; color: var(--muted); }
.br-icon { width: 100%; max-width: 420px; justify-self: center; transform: rotate(8deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.18)); }

.br-section { margin-bottom: 28px; font-size: clamp(40px, 6vw, 72px); }
.br-work { max-width: var(--max); margin: 0 auto; padding: 0 32px 48px; }
.work-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.work-pills a { display: inline-block; padding: 14px 26px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-family: var(--display); font-size: 22px; font-weight: 700; text-decoration: none; transition: transform 0.2s, border-color 0.2s, background 0.2s, color 0.2s; }
.work-pills a:hover { transform: translateY(-3px); border-color: var(--text); background: var(--text); color: var(--bg); }

.project { border-top: 1px solid var(--line); margin-top: 48px; }
.project-title { grid-template-columns: auto 1fr; text-align: left; font-size: clamp(40px, 6vw, 72px); }
.project-title::before, .project-title::after { display: none; }
.project-title span { font-weight: 800; }
.project-info h3 { font-family: var(--body); }
.quote { border: 0; box-shadow: 0 1px 0 var(--line); }
.quote figcaption { font-family: var(--body); }
.gallery img { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12); }

.br-founder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max);
  margin: 96px auto 0;
  padding: 64px;
  border-radius: 28px;
  background: #121212;
  color: #f4f1ec;
}
.br-founder img { transform: rotate(-3deg); }
.br-founder .br-kicker { color: #a19ca6; margin-bottom: 8px; }
.br-founder h2 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 20px; background: linear-gradient(100deg, #6ef3ff 0%, #8f8bff 30%, #ff74d4 60%, #ffd56b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.br-founder p { font-size: 18px; color: #d9d5de; }
.br-founder .br-small { font-size: 14px; color: #a19ca6; }

.br-foot { max-width: var(--max); margin: 0 auto; padding: 112px 32px 96px; text-align: center; }
.br-foot h2 { font-size: clamp(44px, 7vw, 88px); margin-bottom: 32px; }
.contact-list a { font-family: var(--body); border-color: var(--text); }
.contact-list a:hover { background: var(--text); color: var(--bg); }
.br-totop { display: block; width: fit-content; margin: 64px auto 0; transition: transform 0.2s; }
.br-totop:hover { transform: translateY(-3px); }
.br-footlogo { height: 120px; }

@media (max-width: 860px) {
  .br-hero { grid-template-columns: 1fr; }
  .br-icon { max-width: 180px; grid-row: 1; justify-self: start; }
  .br-founder { grid-template-columns: 1fr; padding: 40px 24px; margin: 64px 16px 0; text-align: center; }
  .br-founder img { width: 220px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .br-hero { padding: 48px 16px 56px; gap: 24px; }
  .br-sub { font-size: 17px; }
  .br-work { padding: 0 16px 32px; }
  .work-pills { gap: 8px; }
  .work-pills a { padding: 10px 18px; font-size: 17px; }
  .br-foot { padding: 72px 16px; }
}

/* Dark theme: overrides the colours above */
:root {
  --bg: #0b0b0d;
  --surface: #16161a;
  --text: #f4f1ec;
  --muted: #a19ca6;
  --line: rgba(244, 241, 236, 0.12);
  --holo: linear-gradient(100deg, #6ef3ff 0%, #8f8bff 30%, #ff74d4 60%, #ffd56b 100%);
}
body { background: var(--bg); color: var(--text); }
.br-icon { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.gallery img { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); }
.br-founder { background: var(--surface); border: 1px solid var(--line); }
