:root {
  --bg: #050505;
  --fg: #f3f3ef;
  --muted: #8d8d86;
  --dim: #5c5c56;
  --line: rgba(243, 243, 239, 0.16);
  --line-strong: rgba(243, 243, 239, 0.42);
  --fill: #f3f3ef;
  --fill-ink: #050505;
  --bronze: #b89a6a;
  --nav-h: clamp(4.25rem, 7.2vh, 5.75rem);
  --pad: clamp(1.25rem, 3vw, 3.5rem);
  --max: 1600px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: var(--pad);
  top: 0.75rem;
  z-index: 80;
  background: var(--fill);
  color: var(--fill-ink);
  padding: 0.75rem 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--pad);
}

.mark {
  width: calc(var(--nav-h) * 0.52);
  height: calc(var(--nav-h) * 0.52);
  flex: 0 0 calc(var(--nav-h) * 0.52);
  border: 1px solid var(--fg);
  position: relative;
}

.mark i,
.mark b,
.mark em {
  position: absolute;
  background: var(--fg);
  font-style: normal;
}

.mark i {
  left: 18%;
  right: 18%;
  top: 18%;
  height: 22%;
}

.mark b {
  left: 42%;
  width: 16%;
  top: 18%;
  bottom: 18%;
}

.mark em {
  left: 28%;
  right: 28%;
  bottom: 18%;
  height: 12%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.55vw, 1.7rem);
  letter-spacing: 0.14em;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-legal {
  margin-top: 0.28rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.hero-full {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 0 10vh;
  position: relative;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--bronze);
}

.hero h1 {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.2rem, 18vw, 17.5rem);
  line-height: 0.78;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.6vw, 4.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 0;
  width: fit-content;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn:hover {
  background: var(--fill);
  color: var(--fill-ink);
  border-color: var(--fill);
}

.mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  letter-spacing: 0.04em;
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-strong);
}

main {
  position: relative;
  z-index: 1;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
  padding: 1.6rem 0 0.4rem;
}

.foot-cell a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-cell a:hover {
  color: var(--fg);
}

.legal-bar {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.plx-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.plx-sq {
  position: absolute;
  border: 1px solid var(--line);
  will-change: transform;
}

.plx-sq-a {
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  top: 8vh;
  right: 6vw;
}

.plx-sq-b {
  width: min(22vw, 14rem);
  height: min(22vw, 14rem);
  top: 48vh;
  left: 4vw;
  border-color: var(--line-strong);
}

.plx-sq-c {
  width: min(18vw, 11rem);
  height: min(18vw, 11rem);
  top: 18vh;
  left: 28vw;
}

.plx-sq-d {
  width: min(14vw, 8.5rem);
  height: min(14vw, 8.5rem);
  top: 72vh;
  right: 22vw;
}

.plx-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 4.5rem,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 4.5rem 100%;
  will-change: transform;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

@media (prefers-reduced-motion: reduce) {
  .plx-sq,
  .plx-grid,
  [data-speed] {
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(4.2rem, 22vw, 9rem);
  }
}
