/* Blacksite design system. */
@import url("fonts.css");

:root {
  --black: #000;
  --white: #fff;
  --text: #e7e5e4;            /* headings + body */
  --text-dim: rgba(231, 229, 228, .6);
  --paper: #fafaf9;           /* white button */
  --card: rgba(68, 64, 60, .4);
  --card-solid: #44403c;
  --line: rgba(255, 255, 255, .26);
  --line-card: rgba(255, 255, 255, .18);
  --line-faint: rgba(255, 255, 255, .06);
  --rule: rgba(231, 229, 228, .27);
  --blue: #385fef;
  --sans: "General Sans", "General Sans Placeholder", sans-serif;
  --body: "Creato Display Regular", "Creato Display Regular Placeholder", sans-serif;
  --body-medium: "Creato Display Medium", "Creato Display Medium Placeholder", sans-serif;
  --tween: cubic-bezier(.44, 0, .56, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--black); color: var(--text); }
body { font-family: var(--body); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.page { display: flex; flex-direction: column; align-items: center; overflow: clip; }
.container { width: 100%; max-width: 1390px; padding: 0 20px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

/* ---------- type presets ---------- */
.t-h1 { font-family: var(--sans); font-weight: 500; font-size: 80px; line-height: 1.15; color: var(--text); text-align: center; }
.t-h2 { font-family: var(--sans); font-weight: 500; font-size: 60px; line-height: 1.16667; color: var(--text); }
.t-h3 { font-family: var(--sans); font-weight: 500; font-size: 30px; line-height: 1.33333; color: var(--text); }
.t-h4 { font-family: var(--sans); font-weight: 500; font-size: 24px; line-height: 1.33333; color: var(--text); }
.t-h6 { font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--text); }
.t-body { font-family: var(--body); font-size: 16px; line-height: 24px; color: var(--text); }
.center { text-align: center; }

.title-block { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.title-block .t-body { text-align: center; }

/* Framer draws borders on a pseudo element so they never change layout */
.fb { position: relative; }
.fb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--fb, var(--line)); pointer-events: none; }
.fb-bottom { border-bottom: 1px solid var(--line); }

/* ---------- button: PixelShiftButton ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; min-width: 120px;
  padding: 11px 26px; border-radius: 52px; background: var(--paper); color: #000; font-family: var(--body); font-size: 14px; line-height: normal;
  white-space: nowrap; transition: background-color .3s; cursor: pointer; }
.btn > .px { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: 52px; z-index: 0; }
.btn > .px > .grid { position: absolute; top: 50%; left: 50%; display: flex; flex-wrap: wrap; transform: translate(-50%, -50%); }
.btn > .px > .grid > i { width: 10px; height: 10px; background: var(--blue); opacity: 0; transform: scale(1.1); transition: opacity 100ms ease-in-out; }
.btn.hover > .px > .grid > i { opacity: 1; }
.btn > span { position: relative; z-index: 10; pointer-events: none; transition: color .3s; }
.btn.hover > span { color: #fff; }
.btn.light { background: #fff; padding: 11px 24px; }
.btn.ghost { background: var(--card); color: var(--text); padding: 11px 24px; }
.btn.ghost > .px > .grid > i { background: #fff; }
.btn.ghost.hover > span { color: #000; }

/* ---------- rolling text (nav + footer links) ---------- */
.roll { display: flex; align-items: center; justify-content: flex-start; overflow: hidden; padding: 2px; }
.roll > p { display: flex; overflow: hidden; width: max-content; margin: 0; font-family: var(--body); font-size: 14px; color: #fff; text-shadow: 0 16.8px 0 #fff; user-select: none; }
.roll > p > span { display: block; white-space: pre; line-height: 1.2em; backface-visibility: hidden; transition: transform .4s cubic-bezier(.82, .08, .29, 1); }

/* ---------- navbar ---------- */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 10; }
.nav-inner { display: flex; justify-content: center; align-items: center; padding: 21px 0; background: rgba(0,0,0,0); transition: background-color .4s var(--tween); }
.nav.solid .nav-inner { background: #000; }
.nav-bar { width: 100%; max-width: 1390px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; width: 114px; height: 28px; }
.nav-logo img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-cta { display: flex; justify-content: flex-end; min-width: 120px; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i { position: absolute; left: 8px; width: 24px; height: 2px; background: #fff; transition: transform .4s var(--tween), top .4s var(--tween), opacity .4s var(--tween); }
.burger i:nth-child(1) { top: 13px; } .burger i:nth-child(2) { top: 19px; } .burger i:nth-child(3) { top: 25px; }
.nav.open .burger i:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.open .burger i:nth-child(2) { opacity: 0; }
.nav.open .burger i:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.nav-menu { display: none; }

/* ---------- section scaffolding ---------- */
.section { width: 100%; display: flex; flex-direction: column; align-items: center; position: relative; }
.stack { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* ---------- footer ---------- */
.footer { width: 100%; position: relative; display: flex; flex-direction: column; align-items: center; padding: 120px 0 45px; }
.footer-bg { position: absolute; inset: 0; }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; }
.footer .container { position: relative; }
.footer-sticky { position: sticky; top: 135px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 137px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 45px; width: 688px; max-width: 100%; }
.cta .t-body { width: 560px; max-width: 100%; }
.btn-group { display: flex; gap: 10px; justify-content: center; align-items: center; }
.footer-card { width: 100%; border-radius: 24px; background: var(--card); padding: 135px 31px 0 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; --fb: var(--line); }
.footer-top { width: 1210px; max-width: calc(100% - 60px); display: flex; flex-direction: column; gap: 26px; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-brand { width: 386px; display: flex; flex-direction: column; gap: 45px; }
.footer-brand .desc { display: flex; flex-direction: column; gap: 25px; }
.footer-brand .logo { width: 171px; height: 42px; }
.footer-brand .logo img { width: 100%; height: 100%; object-fit: contain; }
.socials { display: flex; gap: 10px; }
.social { width: 38px; height: 38px; border-radius: 100px; background: var(--text); padding: 10px; overflow: hidden; display: flex; }
.social .iw { width: 18px; height: 18px; overflow: hidden; display: flex; flex-direction: column; }
.social .iw > div { display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.34,1.3,.64,1); }
.social .iw img { width: 18px; height: 18px; }
.social:hover .iw > div { transform: translateY(-18px); }
.footer-lists { width: 245px; display: flex; justify-content: space-between; }
.footer-list { display: flex; flex-direction: column; gap: 20px; width: 86px; }
.footer-list + .footer-list { width: 120px; }
.footer-list .links { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.copyright a { color: #fff; }
.footer-mark { width: 100%; display: flex; justify-content: center; align-items: flex-end; gap: 38px; padding: 40px 0 0 9px; }
.footer-mark .m1 { width: 17.4%; flex: none; padding-bottom: 0; } .footer-mark .m1 img { width: 100%; height: auto; }
.footer-mark .m2 { flex: 1 1 0; min-width: 0; height: auto; aspect-ratio: 796 / 136; }

/* ---------- reveal initial states (JS animates them in) ---------- */
.js [data-reveal] { opacity: 0; }

/* ================= breakpoints (Framer: 1440 / 1200 / 810 / phone) ================= */
@media (max-width: 1439.98px) {
  .t-h1 { font-size: 64px; }
  .t-h2 { font-size: 48px; }
  .t-h3 { font-size: 26px; }
  .footer-card { padding: 135px 12px 0 0; }
  .footer-top { max-width: calc(100% - 40px); }
}
@media (max-width: 1199.98px) {
  .t-h1 { font-size: 42px; }
  .t-h2 { font-size: 38px; }
  .t-h3 { font-size: 22px; }
  .title-block { gap: 16px; }
  .footer-card { border-radius: 16px; padding: 60px 10px 0 0; }
}
@media (max-width: 809.98px) {
  .t-h1 { font-size: 30px; }
  .t-h2 { font-size: 28px; }
  .t-h3 { font-size: 20px; }
  .title-block { gap: 12px; }
  .nav-inner { padding: 0; }
  .nav-bar { padding: 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .footer-card { border-radius: 12px; padding: 35px 10px 0 2px; align-items: flex-start; }
}

/* ---- footer + nav responsive (measured) ---- */
@media (max-width: 1199.98px) {
  .footer { padding: 80px 0 45px; }
  .footer-sticky { gap: 60px; }
  .cta { gap: 30px; }
  .footer-top { max-width: 100%; padding: 0 20px; gap: 16px; }
  .footer-brand { width: 348px; gap: 24px; }
  .footer-lists { width: 260px; }
  .social { width: 30px; height: 30px; padding: 8px; }
  .social .iw, .social .iw img { width: 14px; height: 14px; }
  .social:hover .iw > div { transform: translateY(-14px); }
  .footer-mark { gap: 16px; }
}
@media (max-width: 809.98px) {
  .footer { padding: 60px 0 45px; }
  .footer-sticky { gap: 40px; }
  .cta { gap: 24px; }
  .footer-top { padding: 0 12px 0 16px; gap: 24px; }
  .footer-row { flex-direction: column; gap: 26px; }
  .footer-brand { width: 100%; gap: 16px; }
  .footer-brand .desc { gap: 12px; }
  .footer-lists { width: 100%; }
  .footer-list { gap: 16px; } .footer-list + .footer-list { width: 121px; }
  .footer-list .t-h6 { font-size: 18px; }
  .footer-list .links { gap: 12px; }
  .footer-list .roll { padding: 0; } .footer-list .roll > p { font-family: var(--body); color: var(--text); letter-spacing: -.02em; line-height: 14px; }
  .socials { gap: 6px; }
  .social { width: 26px; height: 26px; padding: 6px; }
  .footer-mark { gap: 10px; padding: 40px 0 0 9px; }
  .nav-inner { padding: 16px 0; }
  .nav-bar { padding: 0 12px; }
  .nav-logo { width: 141px; }
  .nav-menu { display: block; position: fixed; left: 0; top: 72px; width: 100%; height: 0; overflow: hidden; background: linear-gradient(180deg, #000 0%, #2f2c2a 67%); transition: height .4s var(--tween); }
  .nav.open .nav-menu { height: calc(100vh - 72px); }
  .nav-menu-items { padding: 20px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
  .nav-menu-items a:not(.btn) { font-family: var(--body); font-size: 14px; line-height: 14px; letter-spacing: -.02em; color: var(--text); }
  .nav-menu-items .btn { padding: 11px 20px; }
}
@media (min-width: 810px) and (max-width: 1199.98px) { .socials { gap: 8px; } }
