@font-face {
  font-family: "Familjen Grotesk";
  src: url("familjen-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #101011;
  --coal: #202022;
  --paper: #f5f5f3;
  --lime: #d5f479;
  --muted: #b8b8b4;
  --heading-font: "Familjen Grotesk", Arial, sans-serif;
  --gutter: clamp(24px, 5.8vw, 110px);
  --header-offset: clamp(13px, 2vw, 23px);
  font-family: Outfit, Arial, sans-serif;
  color: var(--paper);
  background: var(--black);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset) + 82px); }
@media (forced-colors: none) {
  html { scrollbar-width: thin; scrollbar-color: #81817da3 transparent; }
  @supports selector(::-webkit-scrollbar) {
    html { scrollbar-width: auto; scrollbar-color: auto; }
    html::-webkit-scrollbar { width: 8px; }
    html::-webkit-scrollbar-track { background: transparent; }
    html::-webkit-scrollbar-thumb {
      border: 1px solid transparent;
      border-radius: 999px;
      background: #81817da3 padding-box;
    }
    html::-webkit-scrollbar-thumb:hover { background-color: #81817dd9; }
    html::-webkit-scrollbar-button { display: none; }
  }
}
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--black); }

#top { padding-top: var(--header-offset); }
.site-header {
  --glass: #151516b8;
  --glass-solid: #19191a;
  --glass-hover: #ffffff15;
  --glass-action: #ffffff0e;
  --glass-arrow: #d4d4d1;
  position: sticky;
  top: var(--header-offset);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-inline: var(--gutter);
  padding: 10px clamp(16px, 2vw, 30px);
  color: white;
  background: var(--glass-solid);
  border: 1px solid #ffffff12;
  border-radius: 15px;
}
.site-header[data-tone="light"] {
  --glass: #fafaf6ac;
  --glass-solid: #f5f5f2;
  --glass-hover: #21231e14;
  --glass-action: #21231e0c;
  --glass-arrow: #454841;
  color: #171815;
  border-color: #1a201714;
}
@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: var(--glass);
    backdrop-filter: blur(12px) saturate(115%);
  }
}
.site-mark, .site-header nav, .site-header nav a {
  display: flex;
  align-items: center;
}
.site-mark {
  gap: 9px;
  min-height: 44px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.site-mark img { flex: none; object-fit: contain; }
.site-header[data-tone="light"] .site-mark img { filter: brightness(0); }
.site-header nav { gap: clamp(6px, 1vw, 16px); }
.site-header nav a {
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding-inline: 12px;
  font-size: 14px;
  border-radius: 9px;
}
.site-header .site-contact { background: var(--glass-action); }
.site-header nav a:hover, .site-header nav a:focus-visible { background: var(--glass-hover); }
.site-contact span { color: var(--glass-arrow); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: min(690px, calc(100svh - 102px));
  padding: clamp(24px, 4svh, 60px) var(--gutter) clamp(26px, 4svh, 58px);
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 76%, var(--black) 100%),
    radial-gradient(ellipse at 28% 67%, #2a2b2a, transparent 52%),
    var(--black);
}
.intro { position: relative; z-index: 1; grid-column: 1; }
h1, .service-intro h2 { font-weight: 515; letter-spacing: -.035em; line-height: 1.04; }
h1 { font-size: clamp(54px, 6.8vw, 132px); }
em { font-style: normal; }
h1 em { color: #d1d1cc; }
.intro p {
  max-width: 57ch;
  margin-top: clamp(10px, 1.3vw, 18px);
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.4;
  text-wrap: pretty;
}
.intro strong { color: var(--paper); font-weight: 550; }

.contact-wrap { grid-column: 2; grid-row: 1 / 3; align-self: center; min-width: 0; margin-left: clamp(12px, 2.8vw, 54px); }
.contact {
  color: var(--paper);
  background: #1b1b1c;
  border: 1px solid #ffffff18;
  border-radius: 23px;
  box-shadow: 0 18px 48px #0003, inset 0 1px 0 #ffffff06;
  padding: clamp(18px, 2.35vw, 44px);
}
.contact h2 { font-size: clamp(22px, 2.15vw, 38px); letter-spacing: -.043em; font-weight: 560; line-height: 1.14; }
.contact p { color: var(--muted); margin: 8px 0 clamp(15px, 1.8vw, 24px); font-size: clamp(14px, 1.13vw, 17px); }
.channels a {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  gap: clamp(7px, .9vw, 15px);
  align-items: center;
  padding: clamp(12px, 1.28vw, 21px) 1px;
  border-top: 1px solid #ffffff1b;
  transition: color .2s ease;
}
.channels a:first-child b, .channels a:hover, .channels a:focus-visible { color: var(--lime); }
.channels span { font-size: clamp(16px, 1.35vw, 23px); font-weight: 510; letter-spacing: -.024em; }
.channels small { font-size: clamp(11px, 1vw, 15px); color: var(--muted); }
.channels b { font-size: 17px; font-weight: 400; text-align: right; }
.contact-save {
  display: flex;
  border-top: 1px solid #ffffff1b;
  margin-bottom: -6px;
  padding-top: 4px;
}
.contact-save a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
}
.contact-save a:hover, .contact-save a:focus-visible { color: var(--paper); }
.contact-save span { font-size: 16px; }

.console { position: relative; grid-column: 1; grid-row: 2; align-self: center; width: min(113%, calc(100% + var(--gutter))); margin: -18px 0 0 max(-13%, calc(-1 * var(--gutter))); aspect-ratio: 1.62; }
.console::before { content: ""; position: absolute; left: 12%; right: 8%; bottom: 14%; height: 21%; background: #000; filter: blur(16px); transform: rotate(-7deg); }
.console canvas, .console img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.console.rendered img { visibility: hidden; }
.console-control { display: none; position: absolute; z-index: 1; transform: translate(-50%, -50%) rotate(-9deg); border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 4px; touch-action: manipulation; }
.console.rendered .console-control { display: block; }
.console-control:focus-visible { outline-color: var(--lime); }
.console-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.catalogue {
  color: var(--black);
  background: var(--black);
  padding: 0 var(--gutter) clamp(22px, 3.6vw, 52px);
}
.service-intro {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(310px, 39vw, 500px);
  margin: 0 calc(-1 * var(--gutter)) clamp(12px, 2.5vw, 32px);
  padding: 36px var(--gutter) 42px;
  color: #fafaf8;
  background: var(--black);
}
.service-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}
.service-scene img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 50%;
  filter: saturate(.8);
}
@media (prefers-reduced-motion: no-preference) {
  .service-scene {
    /* The section clips a viewport-fixed photograph as it scrolls. */
    clip-path: inset(0);
  }
  .service-scene img { position: fixed; }
}
.service-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, var(--black), #1010113b 23%, #1010110d 57%, #10101144 76%, var(--black)),
    radial-gradient(ellipse at 50% 48%, #10101180 0%, #10101152 39%, #1010110a 74%);
  pointer-events: none;
}
.service-intro-copy {
  display: grid;
  justify-items: center;
}
.service-intro h2 {
  text-align: center;
  font-size: clamp(53px, 9vw, 132px);
  line-height: .93;
  filter: drop-shadow(0 4px 17px #0007);
}
.service-intro h2 span {
  display: block;
  padding-bottom: .14em;
  color: #b2b3ae;
}
@supports (background-clip: text) {
  .service-intro h2 span {
    background: linear-gradient(180deg, #fafaf8 10%, #eaebe6 42%, #cbcec5 90%);
    background-clip: text;
    color: transparent;
  }
}
.service-examples-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: clamp(8px, 1vw, 15px);
  padding: 0 15px;
  border: 1px solid #ffffff40;
  border-radius: 100px;
  background: #10101196;
  color: #e9eae3;
  font-size: 14px;
  white-space: nowrap;
}
.service-examples-link span { color: var(--lime); }
.service-examples-link:hover { background: #101011cc; }

@media (max-width: 650px) {
  .service-scene img { object-position: center; }
}

.testimonial {
  --testimonial-ease: cubic-bezier(.22, 1, .36, 1);
  --slide-width: 78%;
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
  margin-block-start: clamp(30px, 3.5vw, 56px);
}
.testimonial h2 {
  color: #c6c8bd;
  font-size: clamp(16px, 1.75vw, 21px);
  font-weight: 520;
  letter-spacing: -.015em;
  text-align: center;
}
.testimonial-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-areas: "quote" "navigation";
  min-width: 0;
}
.testimonial-stage[data-multiple="false"] { --slide-width: 100%; }
.testimonial-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 48px;
  background: radial-gradient(ellipse 53% 51% at 50% 48%, #7387461b, transparent 100%);
  pointer-events: none;
}
.testimonial-entries {
  grid-area: quote;
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.testimonial-mark {
  position: absolute;
  top: -.2em;
  left: 11%;
  z-index: -1;
  color: #a9c47d21;
  font: 560 clamp(145px, 21vw, 284px)/1 var(--heading-font);
  pointer-events: none;
  user-select: none;
}
@supports (background-clip: text) {
  .testimonial-mark {
    background: linear-gradient(152deg, #bddf8052 15%, #bddf8005 70%);
    background-clip: text;
    color: transparent;
  }
}
.testimonial-track {
  display: flex;
  width: 100%;
  transform: translateX(calc((100% - var(--slide-width)) / 2 - var(--active) * var(--slide-width)));
}
.testimonial-panel {
  flex: 0 0 var(--slide-width);
  min-width: 0;
}
.testimonial-panel[data-active="false"] {
  opacity: .13;
  pointer-events: none;
  user-select: none;
}
.testimonial-panel:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -5px;
}
.testimonial figure {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  height: 100%;
  margin: 0;
  padding: clamp(24px, 5vw, 60px) clamp(18px, 3vw, 39px) clamp(23px, 3.6vw, 45px);
  text-align: center;
}
.testimonial-summary {
  max-width: 29ch;
  margin: 0;
  color: var(--paper);
  font: 440 clamp(26px, 4.1vw, 53px)/1.12 var(--heading-font);
  letter-spacing: -.037em;
  text-wrap: balance;
}
.testimonial-project-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}
.testimonial figcaption {
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: 100%;
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.3;
}
.testimonial figcaption strong { color: var(--paper); font-size: 14px; font-weight: 550; }
.testimonial-navigation {
  grid-area: navigation;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(4px, 1.3vw, 16px);
  width: min(100%, 570px);
  margin-inline: auto;
}
.testimonial-navigation > button {
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 21px;
  cursor: pointer;
}
.testimonial-navigation > button:hover { background: #ffffff08; color: var(--lime); }
.testimonial-index {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  border-top: 1px solid #ffffff26;
}
.testimonial-index::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: calc(100% / var(--count));
  height: 2px;
  transform: translateX(calc(100% * var(--active)));
  background: linear-gradient(90deg, #d5f47900, var(--lime) 38%, var(--lime) 62%, #d5f47900);
  pointer-events: none;
}
.testimonial-index button {
  min-height: 46px;
  min-width: 0;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: clamp(12px, 1.35vw, 15px);
  overflow-wrap: anywhere;
  line-height: 1.12;
  cursor: pointer;
}
.testimonial-index button:hover, .testimonial-index button[aria-selected="true"] { color: var(--paper); }
.testimonial-index button[aria-selected="true"] { font-weight: 550; }
.testimonial-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 680px) {
  .testimonial { --slide-width: 100%; }
  .testimonial-entries { -webkit-mask-image: none; mask-image: none; }
  .testimonial-mark { left: 5%; }
  .testimonial figure { padding-inline: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .testimonial-track { transition: transform .52s var(--testimonial-ease); }
  .testimonial-panel { transition: opacity .42s var(--testimonial-ease); }
  .testimonial-index::before { transition: transform .45s var(--testimonial-ease); }
}

.closing {
  position: relative;
  isolation: isolate;
  margin: clamp(40px, 5vw, 76px) var(--gutter) 0;
  background: var(--coal) url("media/closing-light.webp?v=2") center / cover no-repeat;
  border: 1px solid #ffffff17;
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
}
.closing-video, .closing-shade { position: absolute; inset: 0; pointer-events: none; }
.closing-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.closing-video[data-ready="true"] { opacity: 1; }
.closing-shade {
  background: radial-gradient(ellipse at center, #111211c2 0%, #11121166 44%, transparent 80%),
    linear-gradient(180deg, #0a0c0a12, #0a0c0a38);
}
.closing-content { position: relative; padding: clamp(26px, 4vw, 70px); }
.closing h2 { font-size: clamp(23px, 3.6vw, 60px); font-weight: 550; letter-spacing: -.05em; }
.closing a { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; margin-top: 9px; padding-bottom: 4px; border-bottom: 1px solid var(--lime); color: var(--lime); }
@media (prefers-reduced-motion: no-preference) {
  .closing-video { transition: opacity .28s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .closing-video { display: none; }
}

footer { padding: 34px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer > div { display: flex; gap: clamp(17px, 3.5vw, 64px); align-items: center; font-size: 14px; }
footer > div a { padding: 10px 0; }
footer a:hover { color: var(--lime); }
.brand { display: inline-flex; align-items: center; }
.brand span { font-weight: 650; letter-spacing: -.05em; font-size: 19px; line-height: 1; }
.brand small { display: block; font-weight: 400; letter-spacing: 0; font-size: 11px; color: var(--muted); margin-top: 5px; }

@media (min-width: 841px) and (max-height: 740px) {
  .hero { min-height: 0; padding-block: clamp(16px, 3.25svh, 26px) clamp(12px, 3svh, 24px); }
  .console { margin-top: clamp(-75px, calc(12svh - 145px), -56px); }
}
@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding-block: clamp(23px, 4svh, 39px) clamp(30px, 5svh, 46px);
  }
  h1 { font-size: clamp(44px, 11.8vw, 81px); }
  .console { width: min(109%, 660px); margin: 4px 0 50px -6%; aspect-ratio: 1.78; }
  .console-status {
    right: 5%;
    bottom: 0;
    left: 5%;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    transform: translateY(100%);
    white-space: normal;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
  }
  .console-status strong { font-weight: 550; color: var(--paper); }
  .contact-wrap { grid-column: 1; grid-row: 3; width: min(100%, 650px); margin: 0; }
  .channels a { padding-block: 12px; }
}
@media (max-width: 480px) and (max-height: 760px) {
  .hero { padding-top: 18px; }
  .console { margin-bottom: 32px; }
  .contact { padding-block: 16px; }
}
@media (max-width: 420px) {
  .site-header { gap: 6px; padding: 7px 12px; }
  .site-mark { gap: 6px; font-size: 14px; }
  .site-mark img { width: 24px; }
  .site-header nav a { padding-inline: 7px; font-size: 13px; }
  .channels a { grid-template-columns: 1fr auto 13px; }
  .channels b { font-size: 15px; }
  footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .channels a { transition: none; }
}
@media (forced-colors: active) {
  .service-intro h2 span { background: none; color: CanvasText; }
}
