* {
  box-sizing: border-box;
}

:root {
  --surface: #f7f7f7;
  --line: #d4d4d4;
  --text: #909090;
  --desktop-canvas: #d9d9d9;
  --font: "Inter Tight", "Arial Narrow", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--desktop-canvas);
  color: var(--text);
  font-family: var(--font);
  font-synthesis: none;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.has-custom-cursor,
.has-custom-cursor * {
  cursor: none;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: #111111;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition:
    opacity 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.has-custom-cursor .cursor-dot.is-visible {
  opacity: 1;
}

.has-custom-cursor .cursor-dot.is-pressed {
  transform: translate3d(-50%, -50%, 0) scale(0.72);
}

.ambient-grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

p,
h1,
h2,
ul {
  margin: 0;
}

address {
  font-style: normal;
}

.home-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-link:focus-visible,
.privacy-link:focus-visible,
.contact-copy a:focus-visible,
.privacy-content a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 0.3125rem;
}

.mobile-frame {
  display: none;
}

.desktop-frame {
  display: flex;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--desktop-canvas);
}

.privacy-page {
  background: var(--desktop-canvas);
}

.desktop-copy-panel,
.desktop-brand-panel,
.mobile-main-panel,
.mobile-footer,
.privacy-brand-panel,
.privacy-content {
  position: relative;
  isolation: isolate;
}

.desktop-copy-panel,
.desktop-brand-panel,
.mobile-main-panel,
.mobile-footer {
  background: var(--surface);
  overflow: hidden;
}

.desktop-copy-panel {
  display: flex;
  flex: 0 0 39.7395833333vw;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.8229166667vw;
  border-right: 1px solid var(--line);
}

.desktop-brand-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
  padding: 1.8229166667vw;
}

.copy-block {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.desktop-frame .copy-block {
  gap: 7.4479166667vw;
}

h1 {
  width: 100%;
  font-weight: 300;
  color: var(--text);
}

.desktop-frame h1 {
  font-size: 1.8833333333vw;
  line-height: 1.27;
  letter-spacing: -0.0376666667vw;
}

.body-copy {
  width: 100%;
  font-weight: 500;
  color: var(--text);
}

.message-stack {
  display: flex;
  flex-direction: column;
  gap: 2.0833333333vw;
  width: 100%;
}

.desktop-frame .body-copy {
  font-size: 1.4583333333vw;
  line-height: 1.2;
  letter-spacing: -0.0291666667vw;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5208333333vw;
  width: 100%;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 0.5208333333vw 0.78125vw;
  overflow: clip;
  border-radius: 999px;
  background: #e1e1e1;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375vw;
  line-height: 0.75;
  letter-spacing: -0.006em;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgb(144 144 144 / 0);
  transform: translateZ(0);
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    letter-spacing 240ms var(--ease-out),
    transform 240ms var(--ease-out);
}

.keyword-list li::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0.2);
  transition:
    opacity 180ms var(--ease-out),
    transform 360ms var(--ease-soft);
}

.keyword-list li:hover {
  background: #dedede;
  color: #858585;
  box-shadow: inset 0 0 0 1px rgb(144 144 144 / 0.18);
  letter-spacing: 0.004em;
  transform: translateY(-1px);
}

.keyword-list li:hover::before {
  opacity: 0.34;
  transform: scaleX(0.72);
}

.keyword-list li:active {
  transform: translateY(0);
}


.contact-copy {
  flex: 0 0 auto;
  font-weight: 500;
  color: var(--text);
}

.desktop-frame .contact-copy {
  width: 100%;
  font-size: 1.3541666667vw;
  line-height: 1.27;
  letter-spacing: -0.0270833333vw;
}

.contact-copy a {
  text-decoration-line: underline;
  text-decoration-skip-ink: none;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.5208333333vw 0.78125vw;
  border-radius: 999px;
  background: var(--line);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375vw;
  line-height: 0.75;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.privacy-link:hover {
  background: #cacaca;
  transform: scale(0.975);
}

.privacy-link:active {
  transform: scale(0.94);
}

.logo-field {
  --spot-x: 50%;
  --spot-y: 50%;
  --logo-mask: none;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --logo-depth: 0px;
  display: block;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  overflow: visible;
  perspective: 900px;
  transform-style: preserve-3d;
}

.logo-field--desktop {
  --logo-mask: url("./assets/momos-vector-desktop.svg");
}

.logo-field--mobile {
  --logo-mask: url("./assets/momos-vector-mobile.svg");
}

.logo-field--privacy {
  --logo-mask: url("./assets/momos-vector-privacy.svg");
}

.logo-field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at var(--spot-x) var(--spot-y),
    rgb(255 255 255 / 0.78),
    rgb(144 144 144 / 0.2) 24%,
    transparent 52%
  );
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
    translateZ(calc(var(--logo-depth) + 1px));
  transform-origin: 50% 62%;
  -webkit-mask-image: var(--logo-mask);
  mask-image: var(--logo-mask);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition:
    opacity 260ms var(--ease-out),
    filter 360ms var(--ease-soft);
}

.logo-field.is-lit::before,
.logo-field:hover::before {
  opacity: 0.68;
}

.brand-logo,
.privacy-logo {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  transform-origin: 50% 62%;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
    translateZ(var(--logo-depth));
  transform-style: preserve-3d;
  will-change: transform, filter;
  transition:
    opacity 600ms var(--ease-soft),
    transform 600ms var(--ease-soft),
    filter 600ms var(--ease-soft);
}

.logo-field:hover .brand-logo,
.logo-field:hover .privacy-logo {
  filter: contrast(1.035) drop-shadow(0 1.125rem 1.5rem rgb(144 144 144 / 0.18));
}

.logo-field.is-lit .brand-logo,
.logo-field.is-lit .privacy-logo {
  transition-duration: 600ms, 90ms, 220ms;
}

.privacy-frame {
  display: flex;
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--desktop-canvas);
}

.privacy-brand-panel {
  display: flex;
  flex: 0 0 39.7395833333vw;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.8229166667vw;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.privacy-brand-panel h1 {
  font-size: 1.8833333333vw;
  line-height: 1.27;
  letter-spacing: -0.0376666667vw;
  transition:
    transform 220ms var(--ease-out),
    color 220ms var(--ease-out);
}

.privacy-home-title:hover h1 {
  transform: translateX(0.2083333333vw);
  color: #868686;
}

.privacy-content {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 1.8229166667vw;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375vw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01875vw;
  scrollbar-width: none;
}

.scroll-progress {
  position: absolute;
  top: 1.8229166667vw;
  right: 1.0416666667vw;
  bottom: 1.8229166667vw;
  z-index: 3;
  width: 1px;
  overflow: hidden;
  background: rgb(212 212 212 / 0.34);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: calc(var(--scroll-progress, 0) * 100%);
  min-height: 1.75rem;
  background: var(--text);
  opacity: 0.42;
  transform-origin: top;
}

.privacy-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.privacy-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--line);
}

.privacy-content h2 {
  font: inherit;
}

.privacy-content > p,
.privacy-content section {
  margin-bottom: 1.875vw;
}

.privacy-content section p,
.privacy-content section ul {
  margin-bottom: 0;
}

.privacy-content section p + ul {
  margin-top: 1.125vw;
}

.privacy-content ul {
  padding-left: 0;
  list-style: none;
}

.privacy-content li::before {
  content: "• ";
}

.privacy-content a {
  text-decoration-line: underline;
  text-decoration-skip-ink: none;
}

.desktop-copy-panel::after,
.desktop-brand-panel::after,
.privacy-brand-panel::after,
.privacy-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(212 212 212 / 0.18),
    transparent
  );
  pointer-events: none;
  transform: translateX(-115%);
}

.desktop-brand-panel::after,
.privacy-content::after {
  transform: translateX(115%);
}

.copy-block h1,
.body-copy,
.keyword-list,
.contact-copy,
.privacy-link,
.brand-logo,
.privacy-home-title,
.privacy-logo,
.privacy-content > * {
  animation: drift-in 760ms var(--ease-soft) both;
}

.body-copy,
.keyword-list,
.privacy-link,
.privacy-logo,
.privacy-content > *:nth-child(2) {
  animation-delay: 80ms;
}

.contact-copy,
.brand-logo,
.privacy-content > *:nth-child(3) {
  animation-delay: 150ms;
}

.desktop-copy-panel::after,
.privacy-brand-panel::after {
  animation: panel-light-left 980ms var(--ease-soft) 120ms both;
}

.desktop-brand-panel::after,
.privacy-content::after {
  animation: panel-light-right 980ms var(--ease-soft) 120ms both;
}

.brand-logo,
.privacy-logo {
  animation-name: ink-settle;
}

@keyframes drift-in {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ink-settle {
  from {
    opacity: 0;
    filter: blur(0.125rem);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes panel-light-left {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(115%);
  }
}

@keyframes panel-light-right {
  from {
    transform: translateX(115%);
  }

  to {
    transform: translateX(-115%);
  }
}

@media (orientation: portrait), (max-width: 767px) {
  body {
    background: #ffffff;
  }

  .desktop-frame {
    display: none;
  }

  .mobile-frame {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    background: #ffffff;
  }

  .mobile-main-panel {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    width: 100%;
    padding: 3.2407407407vw;
    border-right: 1px solid var(--line);
  }

  .mobile-frame .copy-block {
    gap: 13.2407407407vw;
  }

  .mobile-frame h1 {
    font-size: 6.1259259259vw;
    line-height: 1.1;
    letter-spacing: -0.1225185185vw;
  }

  .mobile-frame .body-copy {
    font-size: 3.9814814815vw;
    line-height: 1.2;
    letter-spacing: -0.0796296296vw;
  }

  .mobile-frame .message-stack {
    gap: 5.5555555556vw;
  }

  .mobile-frame .keyword-list {
    gap: 1.3888888889vw;
  }

  .mobile-frame .keyword-list li {
    min-height: 6.1111111111vw;
    padding: 1.2962962963vw 2.1296296296vw;
    font-size: clamp(14px, 2.4074074074vw, 26px);
    line-height: 1;
  }

  .mobile-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.9259259259vw;
    width: 100%;
    padding: 3.2407407407vw;
    border-top: 1px solid var(--line);
  }

  .mobile-frame .contact-copy {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 2.4074074074vw;
    line-height: 1.27;
    letter-spacing: -0.0481481481vw;
  }

  .mobile-frame .privacy-link {
    padding: 0.9259259259vw 1.3888888889vw;
    border-radius: 999px;
    font-size: 1.6666666667vw;
    line-height: 0.75;
  }

  .privacy-page {
    overflow: auto;
  }

  .privacy-frame {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    background: #ffffff;
  }

  .privacy-brand-panel {
    flex: 0 0 auto;
    width: 100%;
    height: 53.3333333333vw;
    padding: 3.2407407407vw;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .privacy-brand-panel h1 {
    font-size: 6.1259259259vw;
    line-height: 1.1;
    letter-spacing: -0.1225185185vw;
  }

  .privacy-logo {
    width: 64.1666666667vw;
  }

  .privacy-content {
    height: auto;
    padding: 3.2407407407vw;
    overflow: visible;
    font-size: 3.3333333333vw;
    letter-spacing: -0.0666666667vw;
  }

  .privacy-home-title:hover h1 {
    transform: translateX(0.7407407407vw);
  }

  .scroll-progress {
    display: none;
  }

  .privacy-content > p,
  .privacy-content section {
    margin-bottom: 6.6666666667vw;
  }

  .privacy-content section p + ul {
    margin-top: 4vw;
  }
}

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

  .ambient-grain,
  .logo-field::before,
  .cursor-dot {
    display: none;
  }
}
