@font-face {
  font-family: "Satoshi";
  src: local("Satoshi"), local("Avenir Next"), local("Helvetica Neue");
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #111;
  --muted: #747474;
  --line: rgba(17, 17, 17, .13);
  --pad: clamp(20px, 4vw, 68px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Satoshi", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin-top: 0; }
::selection { color: #fff; background: #111; }

main { overflow: clip; }
.morph { position: relative; height: 470dvh; }
.morph-stage {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}
#morph-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  opacity: 0;
  transform: translateY(58px);
}
body.is-ready #morph-canvas { animation: canvas-enter 1.15s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes canvas-enter {
  0% { opacity: 0; transform: translateY(58px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* first screen: the word Click drawn in dots on the canvas; this transparent button only catches
   the click (browsers play sound after one), the dots scatter from it, then Make is typed */
html.gate-open { overflow: hidden; }
.sound-gate {
  position: absolute;
  z-index: 6;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sound-gate[hidden] { display: none; }
.sound-gate:focus-visible { outline: none; }

.profile-info {
  position: absolute;
  z-index: 2;
  left: 59%;
  top: 50%;
  width: min(560px, 37vw);
  opacity: var(--profile-opacity, 0);
  transform: translate3d(0, calc(-42% + var(--profile-shift, 30px)), 0);
  pointer-events: none;
  transition: opacity .1s linear;
}
.profile-info.is-visible { pointer-events: auto; }
.profile-label {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
}
.profile-info h1 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(46px, 4.6vw, 74px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 520;
}
.profile-copy {
  max-width: 460px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translateY(4px); }

.service-index { background: #fff; }
.service-chapter {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  padding: clamp(90px, 12vh, 150px) var(--pad);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 35px;
  border: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  overflow: hidden;
}
.service-chapter::after {
  content: "";
  position: absolute;
  inset: auto 50% 0;
  width: min(1200px, calc(100% - 2 * var(--pad)));
  height: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
.service-visual {
  position: relative;
  display: block;
  width: clamp(250px, 28vw, 440px);
  aspect-ratio: 1.35;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .9s ease;
}
.service-chapter:hover .service-visual { transform: translateY(-8px) scale(1.025); }
.service-pill {
  position: relative;
  z-index: 2;
  display: block;
  width: max-content;
  padding: 12px 20px 13px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.service-hint {
  position: absolute;
  right: var(--pad);
  bottom: 32px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .3s ease, transform .3s ease;
}
.service-chapter:hover .service-hint { opacity: 1; transform: none; }

.project-browser {
  width: clamp(360px, 47vw, 720px);
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.12);
}
.project-browser::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
}

.brand-mark { filter: drop-shadow(0 30px 30px rgba(0,0,0,.06)); }
.brand-orbit, .brand-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.brand-orbit { border: 1px solid rgba(17,17,17,.25); }
.orbit-one { width: 66%; aspect-ratio: 1; }
.orbit-two {
  width: 43%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: spin 18s linear infinite;
}
.brand-core {
  width: 18%;
  aspect-ratio: 1;
  background: #111;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: clamp(24px, 3vw, 48px);
  letter-spacing: -.08em;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(17,17,17,.16);
  transform: translate(-50%, -50%);
}
.brand-mark::before { width: 90%; height: 1px; }
.brand-mark::after { width: 1px; height: 90%; }

.digital-frame {
  width: clamp(300px, 36vw, 560px);
  aspect-ratio: 1.55;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 22px;
  background: #e9eaec;
  box-shadow: 0 25px 70px rgba(0,0,0,.09);
}
.digital-frame img { height: 100%; object-fit: cover; filter: saturate(.8) contrast(.9) brightness(1.08); }
.digital-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.5), transparent 45%, rgba(17,17,17,.14));
}
.digital-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  color: #fff;
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.08;
  text-align: right;
  letter-spacing: -.03em;
}

.strategy-radar {
  width: clamp(250px, 28vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,104,255,.2) 0 7%, rgba(247,160,220,.18) 35%, rgba(255,255,255,0) 70%);
  filter: drop-shadow(0 30px 35px rgba(132,110,255,.13));
}
.radar-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(110,93,210,.25);
  border-radius: 50%;
}
.radar-one { width: 82%; }
.radar-two { width: 55%; }
.radar-three { width: 28%; }
.radar-sweep {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: conic-gradient(from 40deg, transparent 0 78%, rgba(109,92,205,.22) 100%);
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.contact {
  min-height: 92dvh;
  padding: clamp(100px, 14vw, 220px) var(--pad) 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact > p { margin-bottom: 30px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.contact h2 {
  margin-bottom: 36px;
  font-size: clamp(49px, 6.9vw, 113px);
  line-height: .88;
  letter-spacing: -.07em;
  font-weight: 520;
}
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.contact-link {
  display: grid;
  place-items: center;
  width: clamp(40px, 3.4vw, 48px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .2s, color .2s, border-color .2s;
}
.contact-link svg { width: 42%; height: 42%; }
.contact-link:hover, .contact-link:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.bottom-dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 25px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
body.dock-visible .bottom-dock { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.dock-pill,
.dock-icon {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(15,15,15,.94);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}
.dock-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: 4px;
  padding: 5px;
}
/* the white pill slides under the link of the section on screen */
.dock-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: #fff;
  transition: transform .55s cubic-bezier(.16,1,.3,1), width .55s cubic-bezier(.16,1,.3,1);
}
.dock-pill a {
  position: relative;
  min-width: 86px;
  padding: 12px 17px;
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  text-align: center;
  transition: color .25s ease, background .25s ease;
}
.dock-pill a:hover { color: #fff; background: rgba(255,255,255,.1); }
.dock-pill a[aria-current="true"],
.dock-pill a[aria-current="true"]:hover { color: #111; background: transparent; }
.dock-pill .dock-primary { min-width: 110px; }
/* separate contact circles beside the dock, folded until the visitor first reaches the contact section */
.dock-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 0;
  height: 50px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(.6);
  transition: width .55s cubic-bezier(.16,1,.3,1), margin .55s cubic-bezier(.16,1,.3,1), opacity .4s ease .1s, transform .55s cubic-bezier(.16,1,.3,1) .05s, visibility 0s .55s, background .25s ease, color .25s ease;
}
.dock-icon svg { width: 18px; height: 18px; flex: none; }
.dock-icon:hover, .dock-icon:focus-visible { background: #fff; color: #111; }
.bottom-dock.is-open .dock-icon { width: 50px; margin-inline: 4px; opacity: 1; visibility: visible; transform: none; transition-delay: 0s, 0s, .1s, .05s, 0s, 0s, 0s; }

.service-dialog {
  width: 100%;
  max-width: none;
  max-height: min(88dvh, 900px);
  margin: auto 0 0;
  padding: 0;
  border: 0;
  border-radius: 34px 34px 0 0;
  background: #fff;
  color: #111;
  overflow: auto;
}
.service-dialog::backdrop { background: rgba(0,0,0,.3); backdrop-filter: blur(7px); }
.service-dialog[open] { animation: sheet-in .65s cubic-bezier(.16,1,.3,1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12%); } }
.dialog-shell {
  position: relative;
  width: min(1180px, calc(100% - 2 * var(--pad)));
  min-height: 74dvh;
  margin: 0 auto;
  padding: clamp(75px, 9vw, 130px) 0 70px;
}
.dialog-close {
  position: absolute;
  right: 0;
  top: 24px;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  cursor: pointer;
}
.dialog-intro { display: grid; grid-template-columns: .42fr 1.2fr .8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.dialog-index { color: var(--muted); font-size: 10px; letter-spacing: .09em; }
.dialog-intro h2 { margin: 0; font-size: clamp(42px, 5vw, 76px); line-height: .94; letter-spacing: -.06em; font-weight: 520; }
.dialog-intro > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.5; }
.dialog-summary > p { color: var(--muted); font-size: 17px; line-height: 1.5; }
.project-visit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}
.project-visit span { transition: transform .25s ease; }
.project-visit:hover span { transform: translate(3px, -3px); }
.dialog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(70px, 10vw, 150px); border-top: 1px solid var(--line); }
.dialog-grid article { min-height: 190px; padding: 24px 28px 20px 0; border-right: 1px solid var(--line); }
.dialog-grid article + article { padding-left: 28px; }
.dialog-grid article:last-child { border-right: 0; }
.dialog-grid span { color: var(--muted); font-size: 10px; }
.dialog-grid h3 { margin: 52px 0 10px; font-size: 22px; font-weight: 520; letter-spacing: -.03em; }
.dialog-grid p { max-width: 270px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

@media (max-width: 900px) {
  .morph { height: 430dvh; }
  .profile-info {
    left: var(--pad);
    right: var(--pad);
    top: auto;
    bottom: 36px;
    width: auto;
    transform: translate3d(0, var(--profile-shift, 30px), 0);
  }
  .profile-info h1 { max-width: 580px; font-size: clamp(44px, 11vw, 68px); }
  .profile-copy { max-width: 520px; font-size: 15px; }
  .service-chapter { min-height: 85dvh; }
  .dialog-intro { grid-template-columns: 1fr; gap: 20px; }
  .dialog-intro h2 { max-width: 760px; }
  .dialog-intro > p:last-child { max-width: 560px; }
}

@media (max-width: 620px) {
  .profile-info { bottom: 24px; }
  .profile-label { margin-bottom: 14px; }
  .profile-info h1 { margin-bottom: 16px; font-size: clamp(38px, 11.5vw, 56px); }
  .profile-copy { margin-bottom: 20px; font-size: 14px; }
  .service-chapter { min-height: 76dvh; gap: 25px; }
  .service-visual { width: min(82vw, 360px); }
  .digital-frame { width: min(88vw, 430px); }
  .project-browser { width: min(92vw, 540px); border-radius: 10px; }
  .service-hint { display: none; }
  .bottom-dock { bottom: 14px; width: calc(100% - 16px); }
  .dock-pill { flex: 1; min-width: 0; margin-inline: 2px; }
  .dock-pill a { min-width: 0; flex: 1; padding-inline: 6px; }
  .dock-pill .dock-primary { min-width: 0; flex: 1.35; }
  .dock-icon { height: 40px; }
  .dock-icon svg { width: 16px; height: 16px; }
  .bottom-dock.is-open .dock-icon { width: 40px; margin-inline: 2px; }
  .service-dialog { border-radius: 24px 24px 0 0; }
  .dialog-shell { width: calc(100% - 40px); min-height: 82dvh; padding-top: 78px; }
  .dialog-intro h2 { font-size: 40px; }
  .dialog-grid { grid-template-columns: 1fr; margin-top: 60px; }
  .dialog-grid article, .dialog-grid article + article { min-height: 0; padding: 22px 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .dialog-grid h3 { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
