:root {
  --bg: #080808;
  --panel: #111111;
  --panel-2: #171717;
  --line: rgba(255,255,255,.12);
  --text: #f5f5f2;
  --muted: #9d9d98;
  --accent: #0d9e5a;
  --accent-light: #35b978;
  --accent-bright: #63c994;
  --accent-dark: #087744;
  --accent-deep: #055e37;
  --accent-soft: rgba(13,158,90,.16);
  --accent-2: #35b978;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: clip;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: url("./img/banner_render_favicon.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.06) brightness(.29);
  transform: scale(1.02);
  opacity: .07;
}
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,8,.08), rgba(8,8,8,.28) 45%, rgba(8,8,8,.5));
}
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header,
.hero,
.work-section,
.about,
.services,
.contact {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  margin: 0 !important;
  transform: translateX(-50%);
  z-index: 60;
  transition: transform .5s var(--ease), background .3s, backdrop-filter .3s;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 13px/1 DM Mono, monospace;
  letter-spacing: .08em;
  width: max-content;
}
.brand-mark, .mini-mark {
  width: 31px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 58%, var(--accent-dark));
  color: #07110c;
  font-weight: 700;
}
.brand-logo {
  overflow: hidden;
  background: #111;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.site-nav { display: flex; gap: 34px; }
.site-nav a {
  color: var(--muted);
  font: 500 12px/1 DM Mono, monospace;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--text); }
.status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font: 500 11px/1 DM Mono, monospace;
  text-transform: uppercase;
}
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px var(--accent-2);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: rgba(8,8,8,.34);
  backdrop-filter: blur(1px);
}
.hero-copy {
  padding: clamp(72px, 8vw, 130px) clamp(34px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.eyebrow, .section-index {
  margin: 0 0 30px;
  color: var(--muted);
  font: 500 11px/1 DM Mono, monospace;
  letter-spacing: .12em;
}
.eyebrow > span:first-child { color: var(--accent); }
h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(54px, 6.3vw, 108px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 600;
}
h1 em {
  color: var(--accent-light);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.03em;
}
.hero-text {
  max-width: 560px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 42px;
}
.button {
  min-width: 160px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--line);
  font: 500 12px/1 DM Mono, monospace;
  text-transform: uppercase;
  transition: .2s ease;
  padding: 0 18px;
}
.button-primary {
  background: linear-gradient(110deg, var(--accent-light), var(--accent) 52%, var(--accent-dark));
  color: #06100b;
  border-color: rgba(53,185,120,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.button-primary:hover { transform: translateY(-2px); }
.button-ghost:hover { background: rgba(255,255,255,.05); }
.hero-footnote {
  margin-top: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #6e6e69;
  font: 500 10px/1 DM Mono, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-footnote .line {
  width: 36px;
  height: 1px;
  background: #4a4a47;
}

.badge-stage {
  position: relative;
  min-height: 730px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  cursor: grab;
  touch-action: pan-y; /* page can still scroll on phones; the card itself is draggable */
  background-color: rgba(8,8,8,.28);
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 38px 38px;
  backdrop-filter: blur(1.5px);
}
.badge-stage:active { cursor: grabbing; }
#lanyard-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.badge-shell {
  position: absolute;
  width: 296px;
  height: 430px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  perspective: 1200px;
  will-change: transform;
}
.badge-card {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.badge-card.flipped { transform: rotateY(180deg); }
.badge-shell { touch-action: none; }
.badge-front { transform: translateZ(1px); }
.badge-face {
  position: absolute;
  inset: 0;
  padding: 22px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.25), 0 30px 46px -10px rgba(0,0,0,.5);
}
.badge-front {
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.28), transparent 22%),
    linear-gradient(145deg, var(--accent-bright) 0%, var(--accent-light) 28%, var(--accent) 60%, var(--accent-dark) 100%);
  color: #07110c;
}
.badge-back {
  transform: rotateY(180deg) translateZ(1px);
  background:
    radial-gradient(circle at 22% 18%, rgba(99,201,148,.14), transparent 22%),
    radial-gradient(circle at 82% 78%, rgba(8,119,68,.16), transparent 30%),
    linear-gradient(145deg, #171717, #0d0d0d);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.badge-topline, .badge-footer, .badge-back-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 600 9px/1 DM Mono, monospace;
  letter-spacing: .08em;
}
.badge-id { opacity: .55; }
.badge-photo {
  height: 184px;
  margin: 28px 0 24px;
  background: linear-gradient(145deg, #101010, #282828);
  display: grid;
  place-items: center;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.designer-mark > span {
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -.09em;
  color: var(--accent-light);
  z-index: 3;
}
.designer-mark small {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font: 500 8px/1 DM Mono, monospace;
  color: #888;
  letter-spacing: .12em;
}
.mark-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(53,185,120,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,119,68,.14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.badge-person { display: flex; flex-direction: column; }
.badge-kicker {
  font: 500 9px/1 DM Mono, monospace;
  letter-spacing: .11em;
  opacity: .65;
}
.badge-person strong {
  margin-top: 7px;
  font-size: 32px;
  line-height: .95;
  letter-spacing: -.05em;
}
.badge-handle {
  margin-top: 5px;
  font: 500 10px/1.3 DM Mono, monospace;
  opacity: .62;
}
.badge-footer {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}
.barcode {
  width: 76px;
  height: 17px;
  background: repeating-linear-gradient(90deg, #07110c 0 2px, transparent 2px 4px, #07110c 4px 5px, transparent 5px 8px);
}
.badge-back h2 {
  margin: 12px 0 0;
  font-size: 37px;
  line-height: .95;
  letter-spacing: -.05em;
}
.back-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.back-grid span {
  border: 1px solid rgba(255,255,255,.12);
  padding: 13px 10px;
  font: 500 9px/1 DM Mono, monospace;
  color: #b7b7b2;
}
.badge-back-bottom { color: #8f8f89; }
.mini-mark { width: 29px; }
.interaction-pill {
  position: absolute;
  right: 24px;
  bottom: 24px;
  border: 1px solid var(--line);
  background: rgba(8,8,8,.68);
  backdrop-filter: blur(14px);
  height: 35px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 500 9px/1 DM Mono, monospace;
}
.mouse-icon {
  width: 12px;
  height: 17px;
  border: 1px solid #777;
  border-radius: 8px;
  position: relative;
}
.mouse-icon:before {
  content: "";
  position: absolute;
  width: 2px;
  height: 4px;
  background: var(--accent);
  top: 3px;
  left: 4px;
}

.work-section,
.about,
.services,
.contact {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8,8,8,.80);
  backdrop-filter: blur(9px);
}
.work-section,
.services {
  padding: 88px 56px 72px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading h2,
.services h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 80px);
  line-height: .95;
  letter-spacing: -.055em;
}
.section-copy {
  margin: 0;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}


.about {
  padding: 74px 56px;
  display: grid;
  grid-template-columns: .28fr 1fr;
  gap: 60px;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 56px;
}
.about-lead {
  margin: 0;
  color: #d9d9d3;
  font-size: clamp(28px, 3.3vw, 52px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.about-body {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.services-heading { margin-bottom: 24px; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
}
.service-row > span {
  color: var(--accent);
  font: 500 10px/1 DM Mono, monospace;
}
.service-row h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: -.04em;
}
.service-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  padding: 88px 56px 32px;
}
.contact-main {
  padding: 28px 0 56px;
}
.contact-main p {
  margin: 0 0 8px;
  color: var(--muted);
}
.contact-main a {
  font-size: clamp(52px, 8vw, 130px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 25px;
}
.contact-main a:hover { color: var(--accent-light); }
.contact-main a .arrow {
  font-size: .45em;
  color: var(--accent);
}
.contact-footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #6e6e69;
  font: 500 9px/1 DM Mono, monospace;
  letter-spacing: .08em;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    background: rgba(8,8,8,.48);
  }
  body::before {
    background-position: 62% center;
  }
  body::after {
    background:
      linear-gradient(180deg,
        rgba(8,8,8,.58) 0%,
        rgba(8,8,8,.70) 52%,
        rgba(8,8,8,.84) 100%);
  }
  .badge-stage {
    min-height: 700px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-copy { min-height: 690px; }
  .section-heading,
  .about,
  .about-content { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 50px 1fr; padding: 24px 0; }
  .service-row p { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .work-section,
  .about,
  .services,
  .contact { width: calc(100% - 24px); }
  .site-header { height: 76px; }
  .status { font-size: 8px; }
  .hero-copy { padding: 64px 24px; min-height: 610px; }
  h1 { font-size: 56px; }
  .hero-actions { flex-wrap: wrap; }
  .button { flex: 1; min-width: 140px; }
  .badge-stage { min-height: 610px; }
  .badge-shell { width: 252px; height: 366px; }
  .badge-photo { height: 145px; margin: 20px 0; }
  .badge-person strong { font-size: 27px; }
  .work-section,
  .services,
  .about,
  .contact { padding-left: 24px; padding-right: 24px; }
  .about { gap: 24px; }
  .contact-main { padding-bottom: 72px; }
}
