@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --ink: #22231e;
  --muted: #51524a;
  --line: #cfcdc3;
  --accent: #a93d27;
  --dark: #1a1c18;
  --light-accent: #f28f73;
  --display: Manrope, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --edge: clamp(20px, 5.1vw, 82px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #bb482f; outline-offset: 4px; }
.shell { width: min(calc(100% - 2 * var(--edge)), 1420px); margin-inline: auto; }
.accent { color: var(--accent); }
.label {
  font: 650 0.73rem/1.25 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 5;
  inset: 10px auto auto 10px;
  background: var(--paper);
  padding: 12px;
  clip-path: inset(50%);
}
.skip-link:focus { clip-path: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 clamp(0.80rem, 1.35vw, 1.04rem)/1 var(--display);
  letter-spacing: -0.055em;
}
.brand svg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.brand-domain { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: clamp(14px, 2.8vw, 42px); }
.site-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
}
.site-header nav a:hover { color: var(--accent); }
.site-header .nav-contact {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding-inline: 13px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(25px, 4vw, 68px);
  padding-block: clamp(46px, 5.3vw, 92px) clamp(56px, 7vw, 112px);
}
.hero-label { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.hero-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bf5037;
  flex: none;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
}
.hero h1 {
  margin-block: 22px 26px;
  font-size: clamp(3.4rem, 6.65vw, 7.2rem);
  line-height: .99;
  letter-spacing: -.075em;
  word-spacing: .055em;
}
.hero-description { color: var(--muted); max-width: 32ch; font-size: clamp(.99rem, 1.23vw, 1.13rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 49px;
  padding: 0 16px;
  border-radius: 3px;
  font-size: .9rem;
  font-weight: 650;
}
.button-dark { margin-top: 28px; background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #84331f; }
.button span { font-size: 1.05rem; }

.study {
  min-width: 0;
  background: #1b1d18;
  color: #eee9dc;
  border: 1px solid #242821;
  border-radius: 5px;
  overflow: hidden;
}
.study-art {
  position: relative;
  aspect-ratio: 1.34;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 52% 46%, #393b30 0, #282a22 34%, #1d1f1a 69%),
    #1d1f1a;
}
.study-art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background:
    linear-gradient(#c9c9ad 1px, transparent 1px) center / 38px 38px,
    linear-gradient(90deg, #c9c9ad 1px, transparent 1px) center / 38px 38px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 77%);
}
.study-cross {
  position: absolute;
  width: 15px;
  height: 15px;
  z-index: 2;
  color: #bbb5a288;
  pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
.study-cross-top { top: 19px; left: 19px; }
.study-cross-bottom { bottom: 19px; right: 19px; }
.study-still, .study-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.study-still { object-fit: contain; }
.study-canvas { visibility: hidden; }
.study.is-rendered .study-canvas { visibility: visible; }
.study.is-rendered .study-still { visibility: hidden; }
.study-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px 7px 18px;
  gap: 8px;
  min-height: 60px;
  border-top: 1px solid #77776255;
}
.study-title { color: #c3bda9; letter-spacing: .11em; }
.study-controls, .shape-controls { display: flex; align-items: center; }
.study-controls { gap: 7px; }
.shape-controls { padding: 2px; border: 1px solid #77776255; border-radius: 4px; }
.study button {
  background: none;
  border: 0;
  min-height: 37px;
  min-width: 44px;
  border-radius: 3px;
  font-size: .75rem;
}
.study button:focus-visible { outline-color: #f6a48a; outline-offset: 1px; }
.shape-controls button { padding: 3px 11px; color: #d2cdbd; }
.shape-controls button:hover, .shape-controls button[aria-pressed="true"] { background: #e9e1cb; color: #272922; }
.study .motion-control { display: grid; place-items: center; border: 1px solid #77776255; min-height: 43px; }
.motion-control:hover { background: #35372e; }
.motion-control svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; width: 18px; }

.work, .company { border-top: 1px solid var(--line); }
.section-heading { padding-block: 26px 33px; }
.section-heading .label, .company .label { color: var(--muted); }
h2 {
  font-size: clamp(2.55rem, 5.3vw, 5.35rem);
  line-height: 1.04;
  letter-spacing: -.072em;
  word-spacing: .055em;
}
.section-heading h2, .company h2 { margin-top: 13px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project { border: 1px solid var(--line); border-radius: 5px; overflow: clip; }
.project:focus-within { outline: 2px solid #bb482f; outline-offset: 4px; }
.project-link { display: grid; height: 100%; grid-template-rows: auto 1fr; }
.project-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 1.96;
  overflow: hidden;
}
.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 25px clamp(16px, 2.1vw, 34px);
}
.project-info .label { color: var(--muted); font-size: .65rem; }
.project-info h3 { margin-block: 4px; font-size: clamp(1.55rem, 2.42vw, 2.5rem); line-height: 1.12; letter-spacing: -.06em; }
.project-info p:last-child { color: var(--muted); }
.project-arrow {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: none;
  font-size: 1.2rem;
  transition: background-color 180ms, color 180ms, border-color 180ms;
}
.project-link:hover .project-arrow, .project-link:focus-visible .project-arrow {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.vpean-art {
  background: radial-gradient(ellipse at center, #223a24, #15251d 49%, #102019 80%);
}
.radar {
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), #b9e47430 50%, transparent calc(50% + .5px)),
    linear-gradient(transparent calc(50% - .5px), #b9e47430 50%, transparent calc(50% + .5px)),
    repeating-radial-gradient(circle at center, transparent 0 9.2%, #b9e47446 9.3% 9.45%, transparent 9.55% 10%);
  mask-image: radial-gradient(ellipse, #000, #0008 45%, transparent 71%);
  transition: scale .5s ease;
}
.vpean-lockup {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  color: #f1f7eb;
  font: 700 clamp(2.6rem, 5vw, 5.2rem)/1 var(--display);
  letter-spacing: -.079em;
  text-shadow: 0 5px 20px #07120b;
}
.vpean-lockup span { color: #cbf84f; }
.vpean-lockup img { width: 1.34em; height: 1.34em; margin-right: .13em; filter: drop-shadow(0 0 16px #a6cf4c38); }
.project-vpean .project-link:hover .radar { scale: 1.07; }

.blackjack-art { background: radial-gradient(ellipse at 55% 46%, #32283a, #211c2a 56%, #1a1720 88%); }
.table-lines {
  position: absolute;
  inset: 9% 8%;
  border: 1px solid #b79eb640;
  border-radius: 50%;
  box-shadow: 0 0 0 16px #a485ad12, 0 0 0 34px #a485ad12;
}
.blackjack-logo {
  z-index: 1;
  width: min(47%, 300px);
  height: auto;
  margin-left: -23%;
  filter: drop-shadow(0 5px 11px #100a16);
}
.card {
  position: absolute;
  left: 68%;
  top: 22%;
  width: 19%;
  aspect-ratio: .7;
  padding: 3%;
  font: 700 clamp(.85rem, 2vw, 1.6rem)/1 Georgia, serif;
  border-radius: 7%;
  box-shadow: 6px 13px 20px #08050cb0;
  transition: rotate .4s ease, translate .4s ease;
}
.card span { position: absolute; top: 9%; left: 10%; }
.card strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9em; }
.card-diamond { color: #e1a1a8; background: #5d384e; border: 1px solid #b081a2; rotate: 12deg; translate: 25% 8%; }
.card-spade { color: #2d2035; background: #e9dbed; border: 1px solid #f5e8f9; rotate: -14deg; }
.project-blackjack .project-link:hover .card-diamond { rotate: 18deg; translate: 29% 6%; }
.project-blackjack .project-link:hover .card-spade { rotate: -19deg; translate: -4% -3%; }

.project-blockdrop { grid-column: 1 / -1; }
.project-blockdrop .project-link { grid-template: auto / minmax(0, 1.45fr) minmax(0, 1fr); }
.blockdrop-art {
  aspect-ratio: auto;
  min-height: clamp(235px, 25vw, 355px);
  background: radial-gradient(ellipse at 73% 56%, #405579, #24364e 49%, #1b273a 86%);
}
.blockdrop-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#a8c2f21c 1px, transparent 1px) center / 29px 29px,
    linear-gradient(90deg, #a8c2f21c 1px, transparent 1px) center / 29px 29px;
  mask-image: linear-gradient(110deg, #0009, transparent 58%);
}
.blockdrop-logo {
  position: absolute;
  z-index: 1;
  width: clamp(76px, 12.5vw, 164px);
  height: auto;
  left: 11%;
  filter: drop-shadow(10px 12px 14px #0c1529);
}
.blockdrop-island {
  position: absolute;
  width: min(59%, 490px);
  max-width: none;
  height: auto;
  right: 1%;
  top: 50%;
  translate: 0 -48%;
  transition: translate .5s ease;
}
.project-blockdrop .project-link:hover .blockdrop-island { translate: 0 -50%; }
.project-blockdrop .project-info { padding-inline: clamp(18px, 3.3vw, 57px); }
.project-blockdrop .project-info p:last-child { max-width: 29ch; }

.company {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: clamp(24px, 6vw, 90px);
  margin-top: clamp(56px, 8vw, 120px);
  padding-block: clamp(38px, 6vw, 94px);
}
.company-copy { max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.company-copy p + p { margin-top: 12px; }
.contact { background: var(--dark); color: var(--paper); }
.contact .accent { color: var(--light-accent); }
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: clamp(44px, 7vw, 105px);
}
.contact-actions { display: grid; justify-items: start; gap: 9px; min-width: 0; }
.contact-email {
  font-size: clamp(.91rem, 2vw, 1.65rem);
  font-weight: 650;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}
.contact-email:hover, .site-footer a:hover { text-decoration: underline; }
.copy-email {
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid #72746a;
  border-radius: 3px;
  background: transparent;
  font-size: .82rem;
}
.copy-email:hover { background: #34372f; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(12px, 3vw, 40px);
  min-height: 74px;
  border-top: 1px solid #53564b;
  padding-block: 14px;
  font-size: .78rem;
  color: #d4d3c7;
}
.site-footer a:first-child { margin-right: auto; font-weight: 700; }
.contact :focus-visible { outline-color: #f6a48a; }

@media (max-width: 800px) {
  .site-header { min-height: 69px; }
  .hero { display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 38px; }
  .hero h1 { font-size: clamp(3.3rem, 10vw, 5.8rem); }
  .hero h1 br:nth-of-type(2) { display: initial; }
  .study-art { aspect-ratio: 1.5; }
  .project-blockdrop .project-info { padding-inline: 16px; }
}
@media (max-width: 560px) {
  :root { --edge: 24px; }
  .site-header { align-content: center; flex-wrap: wrap; gap: 3px 8px; }
  .brand svg { width: 22px; height: 22px; }
  .brand { gap: 4px; }
  .site-header nav { gap: 11px; }
  .site-header nav a { font-size: .78rem; }
  .site-header .nav-contact { padding: 0; border: 0; }
  .nav-contact span { display: none; }
  .hero { padding-top: 27px; }
  .hero h1 { margin-block: 15px 17px; font-size: clamp(2.7rem, 10vw, 3.6rem); }
  .button-dark { margin-top: 21px; }
  .study-art { aspect-ratio: 1.38; }
  .study-caption { padding-inline: 8px; }
  .study-title { font-size: .6rem; letter-spacing: .04em; }
  .shape-controls button { padding-inline: 7px; }
  .work-grid, .project-blockdrop .project-link, .company { grid-template-columns: 1fr; }
  .work-grid { gap: 13px; }
  .project-blockdrop { grid-column: auto; }
  .blockdrop-art { min-height: auto; aspect-ratio: 1.96; }
  .blockdrop-logo { width: 23%; }
  .project-info { padding-block: 18px; }
  .company { align-items: start; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .site-footer a:first-child { flex-basis: 100%; }
}
@media (max-width: 350px) {
  .site-header { padding-block: 9px 0; }
  .site-header nav { flex-basis: 100%; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.legal-page {
  max-width: 760px;
  min-height: 60vh;
  padding-block: clamp(35px, 7vw, 90px);
}
.legal-page h1 {
  margin-block: 10px 20px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: -.07em;
}
.legal-page h2 {
  margin-block: 30px 12px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -.045em;
}
.legal-page p { color: var(--muted); margin-bottom: 12px; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-page .back-link { display: inline-block; margin-top: 16px; }
