/* BRWN pitch hub. An eleven screen deck on a still, warm graphite ground.
   Glass chips, sparse editorial type, staggered reveals. No background video:
   the page paints on the first frame and can never look stuck. */

@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --font: 'Switzer', system-ui, -apple-system, sans-serif;
  --bg: #0a0a0a;
  --px: 20px;                 /* px-5 */
  --pt: 96px;                 /* pt-24 */
  --pb: 48px;                 /* pb-12 */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}
@media (min-width: 640px)  { :root { --px: 32px; --pt: 112px; } }   /* sm:px-8, sm:pt-28 */
@media (min-width: 768px)  { :root { --px: 48px; --pb: 64px; } }    /* md:px-12, md:pb-16 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: #fff; font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5; }
::selection { background: rgba(255, 255, 255, 0.2); }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

/* ---------- reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(32px); transition: all 700ms var(--ease-out); will-change: transform; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- glass system ------------------------------------------------ */
.glass { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mono { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.badge { display: inline-block; border-left: 2px solid #fff; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 6px 12px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 9999px; background: #fff; color: #000; padding: 10px 20px; font-size: 12px; font-weight: 500; transition: background 300ms; }
.pill:hover { background: rgba(255, 255, 255, 0.85); }
.pill.ghost { background: rgba(255, 255, 255, 0.10); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill.ghost:hover { background: rgba(255, 255, 255, 0.20); }
@media (min-width: 640px) { .pill { font-size: 14px; } }
.chev { width: 14px; height: 14px; display: inline-block; background: currentColor;
  -webkit-mask: url('/img/icons/arrow.svg') no-repeat center / contain; mask: url('/img/icons/arrow.svg') no-repeat center / contain; }
.shadow-md { filter: drop-shadow(0 4px 3px rgba(0,0,0,.35)) drop-shadow(0 2px 2px rgba(0,0,0,.3)); }

/* ---------- nav --------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--px); }
.brand-mark { height: 22px; width: auto; }
@media (min-width: 640px) { .brand-mark { height: 26px; } }
.links { display: none; gap: 32px; }
@media (min-width: 768px) { .links { display: flex; } }
@media (min-width: 1024px) { .links { gap: 40px; } }
.links a { font-size: 14px; color: rgba(255, 255, 255, 0.85); transition: color 300ms; }
.links a:hover { color: #fff; }
.links sup { font-size: 10px; color: rgba(255, 255, 255, 0.6); margin-left: 2px; }
.cta-glass { border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px; font-size: 12px; transition: background 300ms; }
.cta-glass:hover { background: rgba(255, 255, 255, 0.25); }
@media (min-width: 640px) { .cta-glass { padding: 8px 20px; font-size: 14px; } }

/* ---------- screens ----------------------------------------------------- */
.screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: var(--pt) var(--px) var(--pb); }
.row { display: flex; flex-direction: column; gap: 32px; }
.row.top { justify-content: space-between; align-items: flex-start; }
@media (min-width: 640px) { .row.top { flex-direction: row; } }
.row.bottom { align-items: flex-start; }
@media (min-width: 768px) { .row.bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.row.grow { flex: 1; justify-content: flex-end; gap: 48px; }
@media (min-width: 768px) { .row.grow { gap: 64px; } }

.services { display: flex; flex-direction: column; gap: 8px; }
.services li { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.intro { max-width: 20rem; font-size: 18px; line-height: 1.6; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.intro.wide { max-width: 24rem; }
@media (min-width: 640px) { .intro { text-align: right; font-size: 20px; } }

h1, h2 { font-size: 48px; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; filter: drop-shadow(0 6px 6px rgba(0,0,0,.45)); }
@media (min-width: 640px)  { h1, h2 { font-size: 60px; } }
@media (min-width: 1024px) { h1, h2 { font-size: 72px; } }

.contact { display: flex; align-items: center; gap: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 12px; }
.contact .qr { width: 96px; height: 96px; border-radius: 8px; background: #fff; padding: 6px; overflow: hidden; flex: 0 0 auto; }
.contact .qr canvas, .contact .qr img { width: 100% !important; height: 100% !important; display: block; }
.contact-text { display: flex; flex-direction: column; gap: 6px; padding-right: 8px; }
.contact-name { font-size: 14px; font-weight: 500; }
.contact-role { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.contact .pill { margin-top: 6px; padding: 8px 16px; font-size: 12px; }

.spacer { height: 80vh; }

.col { max-width: 36rem; }
.body { margin-top: 24px; max-width: 28rem; font-size: 14px; color: rgba(255, 255, 255, 0.8); filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
@media (min-width: 640px) { .body { font-size: 16px; } }
.ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.panel { width: 100%; max-width: 28rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.10); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 0 20px; }
@media (min-width: 640px) { .panel { padding: 0 24px; } }
.cap { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.cap:last-child { border-bottom: 0; }
.cap .idx { font-size: 11px; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.55); padding-top: 4px; }
.cap-title { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; }
.cap-title .chev { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.4); transition: transform 300ms, color 300ms; }
.cap-title:hover .chev { transform: translateX(2px); color: #fff; }
@media (min-width: 640px) { .cap-title { font-size: 18px; } }
.cap p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* the wordmark owns the middle of the hero, over the pour */
.hero-mark { flex: 1; display: grid; place-items: center; padding: 24px 0; pointer-events: none; }
.hero-mark img { width: min(72vw, 760px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.65)); }
@media (max-width: 759px) { .hero-mark img { width: 78vw; } .hero-mark { padding: 8px 0; } }

/* ======================================================================
   Pitch deck sections. Every screen still sits over the pour, so anything
   that carries reading text gets a scrim behind it and a glass surface.
   ====================================================================== */

/* the scrim deepens once the deck starts, so long copy stays readable */

.screen.dense { justify-content: flex-start; gap: 40px; padding-bottom: 72px; }
.screen.dense .row.top { flex: 0 0 auto; }
.mid { margin-top: 8px; }
.body.small { color: rgba(255,255,255,.62); font-size: 13px; }
h3.ask { margin-top: 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
h3.ask + .body { margin-top: 10px; }

/* the three observations */
.notes { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.note { padding: 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.note .idx { font-size: 11px; letter-spacing: .15em; color: rgba(255,255,255,.55); }
.note h3 { margin-top: 10px; font-size: 20px; font-weight: 500; line-height: 1.25; }
.note p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.78); }

/* a row of phone screens */
.steps4 { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.steps4 .step { margin: 0; }
.steps4 img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 50px -30px #000; }
.steps4 figcaption { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.7); }
.steps4 figcaption b { color: #fff; font-weight: 500; margin-right: 6px; }

/* copy beside a screenshot */
.split { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split .col { max-width: 34rem; }
.shot { margin: 0; }
.shot img { width: 100%; max-width: 340px; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -30px #000; }
.shot.wide img { max-width: 100%; }
.shot figcaption { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.68); }
.shot figcaption b { color: #fff; font-weight: 500; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair .shot img { max-width: 100%; }

/* the payment comparison */
.compare { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.side { padding: 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.side .tag { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.side h3 { margin-top: 8px; font-size: 22px; font-weight: 500; }
.side ul { margin-top: 16px; display: grid; gap: 10px; }
.side li { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.8); padding-left: 20px; position: relative; }
.side li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: rgba(255,255,255,.45); }
.side li b { color: #fff; font-weight: 600; }
.side.bad { border-left: 2px solid rgba(255,255,255,.3); }
.side.good { border-left: 2px solid #fff; background: rgba(255,255,255,.12); }

/* the numbers */
.figures { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.fig { padding: 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.fig b { display: block; font-size: 40px; font-weight: 400; letter-spacing: -.02em; }
.fig span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.72); }

.contact.big { align-self: start; }
.contact.big .qr { width: 132px; height: 132px; }

@media (max-width: 899px) {
  .screen.dense { gap: 28px; }
  h1, h2 { font-size: 40px; }
  .hero-mark img { width: 78vw; }
}


/* ======================================================================
   The ground. A still, warm graphite room instead of a background video:
   it paints on the first frame, weighs nothing, and never looks stuck.
   ====================================================================== */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 70% at 12% -5%, rgba(212, 166, 58, .10), transparent 58%),
    radial-gradient(90% 60% at 92% 8%, rgba(122, 74, 56, .16), transparent 62%),
    radial-gradient(120% 80% at 50% 108%, rgba(0, 0, 0, .7), transparent 70%);
  background-attachment: fixed;
}
/* a very fine tooth so the flat areas are not dead */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url('/img/grain.png'); background-size: 180px 180px;
}
/* each screen carries its own soft warm wash, alternating side to side */
.screen { position: relative; }
.screen::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 50% at 18% 30%, rgba(212, 166, 58, .07), transparent 62%);
}
.screen:nth-child(even)::before { background: radial-gradient(70% 50% at 84% 34%, rgba(122, 74, 56, .16), transparent 62%); }
.screen + .screen { border-top: 1px solid rgba(255, 255, 255, .07); }
.spacer { display: none; }

/* with no film behind it the type does not need heavy shadows */
h1, h2, .intro, .services li, .body { filter: none; }
.hero-mark img { filter: none; }
