:root {
  --bn-ink: #0a0a0a;
  --bn-panel: #151515;
  --bn-line: rgba(255, 255, 255, 0.1);
  --bn-text: #ffffff;
  --bn-muted: #9a9a9a;
  --bn-ok: #3dd68c;
  --bn-display: "Syne", system-ui, sans-serif;
  --bn-sans: "Manrope", system-ui, sans-serif;
  --bn-wrap: min(1100px, calc(100% - 2.5rem));
  --bn-radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--bn-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--bn-text);
  background: var(--bn-ink);
  -webkit-font-smoothing: antialiased;
}

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

.bn-page {
  overflow-x: clip;
}

.bn-wrap {
  width: var(--bn-wrap);
  margin-inline: auto;
}

.bn-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bn-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--bn-wrap);
  margin-inline: auto;
  padding: 1.5rem 0;
}

.bn-mark {
  font-family: var(--bn-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--bn-text);
}

.bn-top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--bn-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bn-text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bn-top-cta:hover,
.bn-top-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.bn-hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  place-items: center start;
  padding: 8rem 0 4rem;
  background: var(--bn-ink);
}

.bn-hero-inner {
  position: relative;
  width: var(--bn-wrap);
  margin-inline: auto;
}

.bn-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--bn-muted);
}

.bn-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--bn-ok);
  box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.15);
}

.bn-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--bn-display);
  font-size: clamp(2.6rem, 7.5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--bn-text);
}

.bn-lead {
  margin: 1.35rem 0 0;
  max-width: 32rem;
  font-size: 1.08rem;
  color: var(--bn-muted);
}

.bn-work {
  padding: 1.5rem 0 5rem;
  background: var(--bn-ink);
}

.bn-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.bn-project {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--bn-radius);
  background: var(--bn-panel);
  transition: transform 0.25s ease;
}

.bn-project:hover,
.bn-project:focus-visible {
  transform: translateY(-3px);
}

.bn-project-shot {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #050505;
}

.bn-project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.bn-project:hover .bn-project-shot img,
.bn-project:focus-visible .bn-project-shot img {
  transform: scale(1.03);
}

.bn-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem 1.15rem;
}

.bn-project-text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.bn-project-name {
  font-family: var(--bn-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bn-project-note {
  font-size: 0.88rem;
  color: var(--bn-muted);
}

.bn-project-arrow {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--bn-line);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--bn-text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bn-project:hover .bn-project-arrow,
.bn-project:focus-visible .bn-project-arrow {
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.bn-contact {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid var(--bn-line);
  background: var(--bn-ink);
}

.bn-contact-inner {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.bn-contact h2 {
  margin: 0 0 2rem;
  font-family: var(--bn-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.bn-form {
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.bn-field {
  display: block;
}

.bn-field input,
.bn-field textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--bn-panel);
  color: var(--bn-text);
  font: inherit;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.bn-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.bn-field input::placeholder,
.bn-field textarea::placeholder {
  color: var(--bn-muted);
}

.bn-field input:focus,
.bn-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: #1a1a1a;
}

.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bn-btn:hover,
.bn-btn:focus-visible {
  transform: translateY(-1px);
}

.bn-btn-send {
  width: 100%;
  margin-top: 0.35rem;
  background: #fff;
  color: #0a0a0a;
}

.bn-btn-send:hover,
.bn-btn-send:focus-visible {
  opacity: 0.92;
}

.bn-form-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.bn-form-status.is-ok {
  background: rgba(61, 214, 140, 0.12);
  color: #b8f0d2;
}

.bn-form-status.is-err {
  background: rgba(220, 80, 80, 0.14);
  color: #f0b0b0;
}

.bn-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bn-foot {
  border-top: 1px solid var(--bn-line);
  padding: 1.35rem 0 1.85rem;
}

.bn-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
  font-size: 0.85rem;
  color: var(--bn-muted);
}

.bn-to-top {
  color: var(--bn-muted);
  transition: color 0.2s ease;
}

.bn-to-top:hover,
.bn-to-top:focus-visible {
  color: var(--bn-text);
}

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 720px) {
  :root {
    --bn-wrap: min(1100px, calc(100% - 1.5rem));
  }

  .bn-hero {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .bn-work {
    padding: 0.5rem 0 3.5rem;
  }

  .bn-project-list {
    grid-template-columns: 1fr;
  }

  .bn-contact {
    padding: 3.25rem 0 3.75rem;
  }

  .bn-foot-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-reveal [data-reveal] {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
