@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Inter, Arial, sans-serif;
  color-scheme: dark;
  background: #000;
  color: #fff;
  --gutter: clamp(22px, 4.5vw, 80px);
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --brand-gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --line: #ffffff26;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 85px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 0;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
em {
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent);
  color: #000;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #000;
  padding: 15px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: #000;
}
.wordmark,
.shell-brand {
  display: inline-flex;
  align-items: center;
}
.brand-lockup {
  width: 228px;
  height: auto;
}
.shell-brand .brand-lockup {
  width: 210px;
}
em {
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}
.site-header nav > a,
.site-header button {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-header button {
  border: 0;
  background: none;
  color: #aaa;
  font-size: 10px;
  padding: 5px 0;
}
.site-header button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.contact-link {
  border-bottom: 2px solid var(--primary-light);
}
.construction {
  position: relative;
  background: #000;
}
.construction-stage {
  position: relative;
  overflow: clip;
  min-height: 0;
  padding: 130px var(--gutter) 90px;
}
.intro {
  position: relative;
  z-index: 5;
  text-align: center;
  margin: 45px auto 85px;
  max-width: 1100px;
}
.intro-layout,
.intro-copy {
  width: 100%;
}
.intro h1 {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.intro picture {
  display: block;
}
.intro-wordmark {
  width: 100%;
  height: auto;
}
.intro-services {
  margin-top: 44px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}
.scroll-prompt {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 42px;
  font-size: 11px;
}
.scroll-prompt span {
  font-size: 22px;
}
.site-shell {
  display: none;
  position: relative;
  width: 1080px;
  max-width: 100%;
  margin: auto;
  background: #030303;
  border: 1px solid #ffffff38;
  container-type: inline-size;
  box-shadow: 0 35px 100px #000a;
  transform-style: preserve-3d;
  overflow: clip;
}
.shell-header {
  height: 76px;
  margin: 0 38px;
  border-bottom: 1px solid #ffffff26;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shell-header nav {
  display: flex;
  gap: 34px;
  font-size: 11px;
}
.shell-header nav a:last-child {
  border-bottom: 1px solid #888;
  padding-bottom: 5px;
}
.shell-mobile-contact {
  display: none;
}
.shell-viewport {
  overflow: clip;
}
.shell-content {
  position: relative;
  padding: 32px 38px 40px;
  transform-origin: 50% 0;
}
.shell-content .project {
  position: relative;
  max-width: none;
  margin: 0 0 50px;
  padding-bottom: 50px;
}
.shell-content .project h2 {
  font-size: clamp(24px, 4.3cqw, 46px);
  line-height: 1.08;
  margin: 0 0 26px;
}
.shell-content .project h2 > span {
  display: inline-block;
}
.shell-content .gallery-track {
  scroll-snap-type: none;
  overflow: hidden;
}
.shell-content .gallery-controls {
  margin-top: 4px;
  gap: 8px;
}
.shell-content .gallery-controls button {
  min-width: 30px;
  min-height: 30px;
  font-size: 18px;
  padding: 4px;
}
.shell-content .gallery-position {
  font-size: 9px;
}
.shell-content .project-link {
  font-size: 11px;
  padding: 10px 0;
}
.shell-content .project-details p {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 760px;
}
.shell-content .consulting {
  padding: 35px 0 50px;
}
.shell-content .consulting h2 {
  font-size: clamp(25px, 4.3cqw, 46px);
}
.shell-content .consulting p {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 18px;
}
.shell-content .closing {
  padding: 45px 0 20px;
}
.shell-content .closing h2 {
  font-size: 8cqw;
  margin: 24px 0;
}
.shell-content .closing > span {
  font-size: 7px;
}
.shell-content .closing > a {
  font-size: 12px;
  gap: 30px;
}
.shell-content .project-app .gallery-slide {
  height: min(72cqw, 580px);
}
.device-speaker,
.device-home {
  display: none;
  position: absolute;
  z-index: 8;
  background: #ffffffb0;
}
.device-speaker {
  top: 11px;
  width: 42px;
  height: 3px;
  left: calc(50% - 21px);
  border-radius: 3px;
}
.device-home {
  bottom: 9px;
  width: 80px;
  height: 3px;
  left: calc(50% - 40px);
  border-radius: 3px;
}
.drawing-board,
.layout-guides,
.build-bottom,
.construction-progress {
  display: none;
}
.motion-enabled .construction {
  height: 360svh;
}
.motion-enabled .construction-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  padding: 0;
  perspective: 1800px;
}
.motion-enabled .intro {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 88px;
  bottom: 80px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform-origin: 50% 50%;
}
.motion-enabled .site-shell {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  height: 680px;
  margin: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.motion-enabled .shell-viewport {
  height: calc(100% - 76px);
}
.motion-enabled .drawing-board {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1080px;
  height: 680px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.board-rule {
  position: absolute;
  background: #06b6d480;
  transform-origin: 0 0;
}
.rule-top,
.rule-bottom {
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
}
.rule-top {
  top: 0;
}
.rule-bottom {
  bottom: 0;
}
.rule-left,
.rule-right {
  top: 0;
  height: 100%;
  width: 1px;
  transform: scaleY(0);
}
.rule-left {
  left: 0;
}
.rule-right {
  right: 0;
}
.dimension {
  position: absolute;
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: var(--accent);
  opacity: 0;
}
.dimension-width {
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.dimension-height {
  right: -38px;
  top: 50%;
  transform: rotate(90deg);
}
.motion-enabled .layout-guides {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  color: #06b6d470;
  opacity: 0;
}
.layout-guides i {
  position: absolute;
  border: 1px solid currentColor;
}
.motion-enabled .build-bottom {
  display: flex;
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 24px;
  align-items: end;
  justify-content: flex-end;
  z-index: 15;
}

.skip-build {
  font-size: 11px;
  white-space: nowrap;
  padding-bottom: 5px;
}
.motion-enabled .construction-progress {
  display: block;
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #222;
}
.construction-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-gradient);
  transform-origin: left;
  transform: scaleX(0);
}
.portfolio {
  padding: 130px var(--gutter) 0;
  position: relative;
  z-index: 2;
  background: #000;
  border-top: 1px solid var(--line);
}
.project {
  max-width: 1100px;
  margin: 0 auto 100px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--line);
}
.project h2 {
  font-size: clamp(36px, 4.3vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 40px;
}
.portfolio .cauldron-scroll[data-scroll="true"] {
  --scene-top: 100px;
  height: calc(240svh - (var(--scene-top) + 24px) * 0.3);
}
.portfolio .cauldron-scroll[data-scroll="true"] .cauldron-pin {
  position: sticky;
  top: var(--scene-top);
  height: calc(100svh - var(--scene-top) - 24px);
  display: flex;
  flex-direction: column;
}
.portfolio .cauldron-scroll[data-scroll="true"] h2 {
  flex: none;
  margin-bottom: 12px;
}
.portfolio .cauldron-scroll[data-scroll="true"] .cauldron-scene {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}
.portfolio .cauldron-scroll[data-scroll="true"] .project-details {
  flex: none;
  min-width: 0;
}
.portfolio .cauldron-scroll[data-scroll="true"] .project-details p {
  margin-top: 10px;
}
@media (min-width: 651px) {
  .portfolio .cauldron-scroll[data-scroll="true"] .cauldron-pin {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px 32px;
  }
  .portfolio .cauldron-scroll[data-scroll="true"] h2 {
    grid-column: 1 / -1;
  }
  .portfolio .cauldron-scroll[data-scroll="true"] .cauldron-scene {
    height: 100%;
  }
  .portfolio .cauldron-scroll[data-scroll="true"] .project-details {
    align-self: center;
  }
}
@media (max-width: 650px) {
  .portfolio .cauldron-scroll[data-scroll="true"] .project-details p {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 8px;
  }
  .portfolio .cauldron-scroll[data-scroll="true"] .project-link {
    padding: 10px 0;
  }
}
@media (max-height: 650px) {
  .portfolio .cauldron-scroll[data-scroll="true"] h2 {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .portfolio .cauldron-scroll[data-scroll="true"] .project-details p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
  }
  .portfolio .cauldron-scroll[data-scroll="true"] .project-link {
    font-size: 12px;
    padding: 8px 0;
  }
}
@media (max-width: 650px) {
  .portfolio .cauldron-scroll[data-scroll="true"] {
    --scene-top: 85px;
  }
}
@media (max-height: 600px) {
  .portfolio .cauldron-scroll[data-scroll="true"] {
    --scene-top: 74px;
  }
}
.cauldron-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: #000;
}
.cauldron-scene canvas,
.cauldron-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cauldron-scene canvas {
  visibility: hidden;
}
.cauldron-scene[data-ready="true"] canvas {
  visibility: visible;
}
.cauldron-scene[data-ready="true"] .cauldron-poster {
  visibility: hidden;
}
@media (max-width: 650px) {
  .cauldron-scene {
    aspect-ratio: 1;
  }
}
.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.gallery-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.44;
  object-fit: contain;
  border: 1px solid var(--line);
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.gallery-position {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  margin-right: 8px;
}
.gallery-controls button {
  background: none;
  border: 0;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  font-size: 24px;
}
.gallery-controls button:hover:not(:disabled) {
  color: var(--accent);
}
.gallery-controls button:disabled {
  color: #555;
  cursor: default;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  padding: 14px 0;
  border-bottom: 2px solid var(--primary-light);
}
.project-link:hover {
  color: var(--accent);
}
.project-details p {
  font-size: 15px;
  color: #b3b3b3;
  line-height: 1.85;
  max-width: 760px;
  margin-top: 24px;
}
.project:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
.project-app .project-gallery {
  max-width: 405px;
  margin-inline: auto;
}
.project-app .gallery-slide {
  display: flex;
  justify-content: center;
  height: min(72svh, 720px);
}
.project-app .gallery-slide img {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 0;
}
.consulting {
  padding: 80px var(--gutter) 100px;
  border-top: 1px solid var(--line);
}
.consulting-content {
  max-width: 1100px;
  margin: auto;
}
.consulting h2 {
  font-size: clamp(36px, 4.3vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.consulting-visual {
  display: block;
  width: 100%;
  height: auto;
  margin: 44px 0 36px;
  overflow: visible;
}
.consulting-visual text {
  fill: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 27px;
  font-weight: 500;
  text-anchor: middle;
  letter-spacing: -0.025em;
}
.consulting-visual .flow-ai-label {
  font-size: 86px;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.flow-icon {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-approval {
  stroke: #06b6d4;
}
.flow-track {
  stroke: #13344d;
  stroke-width: 2;
}
.flow-signal {
  stroke: #06b6d4;
  stroke-width: 3;
}
.flow-packet {
  fill: #fff;
  stroke: #06b6d4;
  stroke-width: 3;
}
.shell-content .consulting-visual {
  margin: 20px 0;
}
.consulting p {
  max-width: 760px;
  margin: 28px 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: #b3b3b3;
}

.closing {
  padding: 105px var(--gutter) 130px;
  border-top: 1px solid var(--line);
}
.closing > span {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
}
.closing h2 {
  font-size: clamp(62px, 10vw, 160px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.98;
  margin: 35px 0;
}
.closing h2 em {
  color: var(--accent);
}
.closing > a {
  display: inline-flex;
  gap: 65px;
  align-items: center;
  font-size: 17px;
  border-bottom: 1px solid #888;
  padding: 15px 0;
}
.contact-form {
  max-width: 900px;
  margin-top: 44px;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-field {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-field label {
  font-size: 14px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #666;
  border-radius: 6px;
  background: linear-gradient(180deg, #0d0d0f, #050506);
  box-shadow: inset 0 1px 0 #ffffff0a;
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.contact-field select {
  color-scheme: dark;
}
.contact-field select option {
  background-color: #000;
  color: #fff;
}
.contact-field textarea {
  resize: vertical;
  min-height: 160px;
}
.contact-field :is(input, select, textarea):hover {
  border-color: #999;
}
.contact-field :is(input, select, textarea):focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.contact-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}
.contact-actions button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid #ffffff24;
  border-radius: 6px;
  background: var(--brand-gradient);
  box-shadow:
    inset 0 1px 0 #ffffff26,
    0 8px 24px #2563eb22;
  font-size: 16px;
  font-weight: 600;
}
.contact-actions button:not(:disabled):hover {
  filter: brightness(1.12);
}
.contact-actions button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.contact-actions a {
  font-size: 12px;
  color: #ccc;
}
.contact-trap {
  position: absolute;
  left: -10000px;
  top: -10000px;
}
#contact-status {
  min-height: 1.5em;
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
#contact-status[data-error] {
  color: #ff9d9d;
}
.closing > .contact-email {
  font-size: clamp(13px, 2vw, 17px);
}
@media (min-width: 1000px) {
  main > .closing {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    gap: 28px 64px;
    align-items: start;
  }
  main > .closing h2 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: clamp(54px, 5.4vw, 92px);
    letter-spacing: -0.05em;
    line-height: 1.05;
  }
  .contact-form {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .closing > .contact-email {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  .closing > noscript {
    grid-column: 2;
    grid-row: 1;
  }
  .contact-fields {
    gap: 24px;
  }
}
@media (max-width: 650px) {
  .contact-form {
    margin-top: 32px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-field {
    margin-bottom: 24px;
  }
  .contact-actions {
    gap: 24px;
  }
  .contact-actions button {
    flex: 1;
    gap: 16px;
    padding-inline: 16px;
  }
}

footer {
  flex-wrap: wrap;
  align-items: center;
  padding: 30px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 28px;
  font-size: 11px;
  color: #aaa;
}
footer > a:first-child {
  margin-right: auto;
  color: #fff;
}
@container (max-width:600px) {
  .shell-header {
    height: 65px;
    margin: 0 24px;
  }
  .shell-brand .brand-lockup {
    width: 150px;
  }
  .shell-header nav {
    display: none;
  }
  .shell-mobile-contact {
    display: block;
    font-size: 24px;
  }
  .shell-content {
    padding: 26px 24px 30px;
  }
  .shell-content .project {
    margin-bottom: 34px;
    padding-bottom: 34px;
  }
  .shell-content .project h2 {
    margin-bottom: 20px;
  }
  .shell-content .project-details p {
    font-size: 11px;
  }
  .motion-enabled .device-speaker,
  .motion-enabled .device-home {
    display: block;
  }
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 75px;
  }
  .site-header {
    height: 73px;
  }
  .wordmark .brand-lockup {
    width: 138px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 11px;
  }
  .site-header button {
    font-size: 9px;
  }
  .work-link {
    display: none !important;
  }
  .construction-stage {
    padding: 100px var(--gutter) 65px;
    min-height: 0;
  }
  .intro {
    margin: 35px auto 55px;
    text-align: center;
  }
  .intro h1 {
    max-width: 390px;
  }
  .intro-wordmark {
    aspect-ratio: 875 / 576;
  }
  .intro-services {
    font-size: 15px;
    margin-top: 20px;
    max-width: 320px;
    margin-inline: auto;
    text-wrap: balance;
  }
  .intro .scroll-prompt {
    margin-top: 28px;
  }
  .motion-enabled .intro {
    top: 73px;
    bottom: 64px;
    align-items: center;
  }
  .motion-enabled .build-bottom {
    bottom: 18px;
    gap: 15px;
    flex-wrap: wrap;
  }

  .skip-build {
    font-size: 10px;
    margin-left: auto;
  }
  .portfolio {
    padding: 75px var(--gutter) 0;
  }
  .project {
    padding-bottom: 55px;
    margin-bottom: 55px;
  }
  .project h2 {
    font-size: 36px;
    margin-bottom: 28px;
  }
  .project-details p {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 20px;
  }
  .project-link {
    font-size: 12px;
  }
  .closing {
    padding: 70px var(--gutter) 80px;
  }
  .closing h2 {
    font-size: 15vw;
  }
  .closing > a {
    font-size: 15px;
    gap: 45px;
  }
  footer {
    font-size: 10px;
    gap: 18px;
  }
}
@media (max-height: 600px) {
  .site-header {
    height: 62px;
  }
  .motion-enabled .intro {
    top: 62px;
    bottom: 50px;
  }
  .intro h1 {
    max-width: 640px;
  }
  .intro-services {
    font-size: 14px;
    margin-top: 16px;
  }
  .intro .scroll-prompt {
    margin-top: 16px;
    min-height: 40px;
  }

  .motion-enabled .build-bottom {
    bottom: 13px;
  }

  .skip-build {
    font-size: 10px;
  }
}

@media (max-width: 650px) and (max-height: 600px) {
  .intro h1 {
    max-width: 280px;
  }
}
@media (max-width: 380px) {
  .wordmark .brand-lockup {
    width: 116px;
  }
}
.footer-lockup {
  width: 175px;
  height: auto;
}
@media (max-width: 650px) {
  .footer-lockup {
    width: 135px;
  }
}
